How to get the value on a model that is defined in the java code in email
Hello
I created a custom code and send email as well to custom component. I can send emails using the method:
InternetFunctions.sendMailTo (EmailID, EmailTemplate, subject, cxt);
But my problem is that I have to get a value in the model of "EmailTemplate" which are defined from java code. but I don't know how to get the value.
I will highlight in the java code by using this code: binder.putLocal ("ErrorApproveRejectMsg", massegeBody);
I'm trying to enhance the model using the code below, but not able to get.
1 < $exec getValue ("#active", "ErrorApproveRejectMsg") $ >
2 < $exec getValue ("#active", ErrorApproveRejectMsg) $ >
3 < getValue ("ErrorApproveRejectMsg") $exec $ >
4 < $exec getValue (ErrorApproveRejectMsg) $ >
5 < getValue ("#local", ErrorApproveRejectMsg) $exec $ >
6 < getValue ("#local", "ErrorApproveRejectMsg") $exec $ >
7 < $ErrorApproveRejectMsg$ >
8 < $exec ErrorApproveRejectMsg$ >
Assuming that cxt will be your Service or execution context object
You can do something like this
DB. PutLocal ("ErrorApproveRejectMsg", "Error");
cxt.setCachedObject ("DataBinder", db);
PageMerger h = new PageMerger (db, cxt);
cxt.setCachedObject ("PageMerger", h);
InternetFunctions.sendMailTo (usersEmail, emailTemplate, emailSubject, cxt);
where db is current databinder object, and you can put any variable custom in the workbook by using the putLocal method.
Thank you
Vikram
Tags: Fusion Middleware
Similar Questions
-
How to get the source code of the UIShell model
Hello
We use the UiShell model in our project. The version of the UIShell model is the one coming with JDeveloper 11.1.1.6.
We need the source code for this particular version to customize.
My questions are:
1. where to find the source code for this particular version (No newer or older)
2 how get it (do we need to sign anything, for example?)
Thank youHello
the SR may be presented by any person in your company who has a metalink account.
Only the NDA must be signed by the person who has the legal responsibility to do so.concerning
Peter -
How to get the Java instance variable in JSP custom
Hello
I decided to list some simple Java classes to use as instance variables. This should make it easier to do things with them in a JSP page since I know exactly what kind they are.
My question is how to get my Java instance in the JSP page variable - I a screenflow with an Interactive component in what I would normally choose BPM interactive object call, but this allows BPM object instance variables not Java ones. So how can I associate my JSP custom?
Thank you
NeilIn my view, that there must be a BPMObject that is passed into a JSP page. My suggestion would be to build a BPMObject as a "viewObject" with only the values you need and in the BPMObject constructor, load the java class data. And then possibly have a 'storeToJavaObj' method, you call after the JSP, which then stores the data to your java class if you wish.
HTH...
-Kevin -
How to get the default BlackBerry smartphone email address?
Hi all
How can I get the BlackBerry default email address?
Thank you
Sumit
Thanks Pierre.
Here's the post that says abt the same question.
-
PIN messages - how to get the PIN code device
How can I get the alphanumeric ID pin the device uses to send pin messages? I got no refrence to it in the documentation of the api.
DeviceInfo.getDeviceId)
-
How to get an access code
Hello
We do not understand your question you have forgotten your access code?
We need more information to help you?
See you soon
Brian
-
BlackBerry smartphones is there an App or how to get the MEP code
just wondering if it is possible to get the MEP without communicating with service providers and pay a Web site. I'm pretty skeptical with Online purchases & did not in the past also. is there any application too. My service providers, you answer is not here in India (Vodafone), Pls help.
If you cannot get it for free with the carrier brand on the device, you must buy it.
A seller who I know is trustworthy and of good reputation is HorizonWireless, see the link below.
-
How to get the authorization Code for Photoshop CS
I have uninstall Photoshop CS from old computer (Windows XP). Now install Photoshop CS to new computer (Windows 7) of entry can not get the serial number to activate the authorization Code.
See the following as it also applies to CS:
CS2: Error: unavailable activation server | CS2, Acrobat 7, hearing 3 -.
l http://helpx.adobe.com/x-productkb/Policy-Pricing/Creative-Suite-2-activation-end-Life.htm
https://helpx.Adobe.com/Creative-Suite/KB/CS2-product-downloads.html
-
How to get the redemption code?
my cc of dreamweaver has expired. I want the redemption code...
Redemption Code http://helpx.adobe.com/x-productkb/global/redemption-code-help.html
-
How to give a value to a variable that is defined by the user for the use in my statement
Hai All
I declared a variable
declare
In_time varchar2 (25);
out_time varchar2 (25);
then I wrote a so other logic and this is my encoding
Start
go_block ('TEST_SRI');
PREMIER_ENREGISTREMENT;
LOOP
If: bartime between 0145 and then 0630
Update dail_att set = outtime: bartime where barcode =: bar code
and ATTEND_DATE =: BARDATE-1 and in_time is set to null and out_time is not null;
elsif: bartime between 0630 and 0900 or: bartime between 1130 and 1230 or
: bartime between 1700 and 1800 and in_time is null then
insert into dail_att(barcode,intime,attend_date)
values(:Barcode,:Bartime,:bardate);
elsif: bartime > 1645 and t_in is not null and out_time is null then
Update dail_att set = outtime: bartime where barcode =: bar code
and ATTEND_DATE =: BARDATE and respondent are not null and outtime has the value null.
I need to know how can I give the values of these variables if I use the variable in my statement
If it is possible by using the slider Pls tell me the steps to solve my problem
and while I will carry out my loop it get only half of my files what is wrong.
Concerning
Srikkanth.MYour question seems to relate to Oracle Forms, which has its own forum of OTN.
But as it comes to PL/SQL I will make a comment... Unfortunately this comment is that in reading your post, I don't know what you're asking.
You wrote: "I need to know how can I give the values of these variables if I use the variable in my statement.
What variable? Why don't you use a duty with: = as you obviously already know how to do?
An example would be very useful.
PS: Always display product names and version numbers.
-
How to get the authorization code pour photoshop?
I just reinstalled my Photoshop CS. Asks me an authorization code. How and where to get
Thanks for your replies
Hello
If you have photoshop cs to 2003, adobe has taken down the activation servers
for cs and cs2, then you will need to download no activation of photoshop cs2 version for
Replace your photoshop cs.
Use the serial number on the download page of cs2.
Activation server stops for Creative Suite 2 and Acrobat 7 product Macromedia
Error: "Activation Server is not available. CS2, Acrobat 7, pass a hearing 3
-
I'm on my last day of a trial of Photoshop/Lightroom. Earlier, joined the program of photography photoshop (monthly fees). Photoshop looks very good and is listed in my account of creative cloud, but Lightroom is not listed and my application previously downloaded Lightroom is now telling me that he needs a license code. How to do this?
You have to uninstall your copy of 'stand-alone' of Lightroom - you should then be able to install it via creative cloud Office.
-
How to get the internal values of Photoshop one ID assigned
I have difficulties to obtain values for the internal settings. It's less hard to set, you can use the Listener Script to get the code to use. Presumably, you use executeActionGet() with an ActionReference. The problem is to know how to build the ActionReference. It doesn't seem to be a lot of documentation on that.
My immediate problem is how to get the parameters of the 3D camera. I know this requires Photoshop Extended, but the principle must be the same. This code sucessfully defines these parameters:
< code >
function setPhotoshopCamera (angleX, angleY, angleZ, posX, posY, posZ) {}
Camera
var idGet3DCamera = stringIDToTypeID ("get3DCamera");
var idSet3DCamera = stringIDToTypeID ("set3DCamera");
var descCamera = new ActionDescriptor();
Camera position
var idKey3DCurrentCameraPosition =
stringIDToTypeID ("key3DCurrentCameraPosition");
var descCameraPosition = new ActionDescriptor();
var idkeythreeDXPos = stringIDToTypeID ("key3DXPos");
descCameraPosition.putDouble (idkeythreeDXPos, posX);
var idkeythreeDYPos = stringIDToTypeID ("key3DYPos");
descCameraPosition.putDouble (idkeythreeDYPos, posY);
var idkeythreeDZPos = stringIDToTypeID ("key3DZPos");
descCameraPosition.putDouble (idkeythreeDZPos, posZ);
var idkeythreeDXAngle = stringIDToTypeID ("key3DXAngle");
descCameraPosition.putDouble (idkeythreeDXAngle, angleX);
var idkeythreeDYAngle = stringIDToTypeID ("key3DYAngle");
descCameraPosition.putDouble (idkeythreeDYAngle, angleY);
var idkeythreeDZAngle = stringIDToTypeID ("key3DZAngle");
descCameraPosition.putDouble (idkeythreeDZAngle, angleZ);
descCamera.putObject (idKey3DCurrentCameraPosition,
(idKey3DCurrentCameraPosition, descCameraPosition);
These must be defined in the ActionDescriptor to make it work,// , but we do not have them
var idkeythreeDCurrentFStop = stringIDToTypeID ("key3DCurrentFStop");
descCamera.putDouble (idkeythreeDCurrentFStop, 0.000000);
var idkeythreeDCurrentFDist = stringIDToTypeID ("key3DCurrentFDist");
descCamera.putDouble (idkeythreeDCurrentFDist, 0.500000);
var idkeythreeDCurrentFocalPointX = stringIDToTypeID ("key3DCurrentFocalPointX");
descCamera.putDouble (idkeythreeDCurrentFocalPointX, 0.500000);
var idkeythreeDCurrentFocalPointY = stringIDToTypeID ("key3DCurrentFocalPointY");
descCamera.putDouble (idkeythreeDCurrentFocalPointY, 0.500000);
var idkeythreeDCurrentFOV = stringIDToTypeID ("key3DCurrentFOV");
descCamera.putDouble (idkeythreeDCurrentFOV, 30.000000);
var idkeythreeDOrthographic = stringIDToTypeID ("key3DOrthographic");
descCamera.putBoolean (idkeythreeDOrthographic, false);
var idkeythreeDOrthographicScale = stringIDToTypeID ("key3DOrthographicScale");
descCamera.putDouble (idkeythreeDOrthographicScale, 6.928203);
var idkeythreeDViewIndexString = stringIDToTypeID ("key3DViewIndexString");
descCamera.putString (idkeythreeDViewIndexString, "");var / / desc = executeAction (idSet3DCamera, descCamera, DialogModes.ALL);
return of ESCR;
}< code >
The problem is that it does not work unless you also set the lower elements. I want to leave what they are currently defined, but I don't know how to get these values. Apart from that, I'll get the values of position of camera beforehand. 9 ID, string or otherwise, this should be necessary are known from the top.
I assume you are using something like:
< code >
Var ref = new ActionReference();
ref.putIndex (idkeythreeDCurrentFStop, idkeythreeDCurrentFStop);
var / / desc = executeActionGet (ref);
< code >However, I was unable to get something to work. I am not sure
- That of the putXXX method to use.
- What to use for the desiredClass, which is the first argument.
Any help would be appreciated.
That you will get the 3DCurrentCameraPositon
var ref = new ActionReference(); ref.putEnumerated( zTID("Lyr "), zTID("Ordn"), zTID("Trgt") ); var desc = executeActionGet(ref).getObjectValue(stringIDToTypeID('layer3D')).getObjectValue(stringIDToTypeID('key3DState')).getObjectValue(stringIDToTypeID('key3DCurrentCameraPosition'));
Which returns a descriptor with the following keys.
Key 0 = key3DXPos: DescValueType.DOUBLETYPE
1 key = key3DYPos: DescValueType.DOUBLETYPE
2 = key3DZPos key: DescValueType.DOUBLETYPE
3 = key3DXAngle key: DescValueType.DOUBLETYPE
Key 4 = key3DYAngle: DescValueType.DOUBLETYPE
5 = key3DZAngle key: DescValueType.DOUBLETYPEAt least with my sample 3D layer. I don't really do a lot with the 3D, so there may be other keys.
-
OfficeJet HP6500A more: can't stop e-Print to get the claim Code
HP support says "disable e-print and deliver on the clain code obtaion" I can't disable e-print! When I try I get a message saying 'the printer could not connect to server' error 'you can connect the printer to a proxy through the internet' "to do so enter the proxy server and enter the details when you are prompted" MY QUESTION: WHAT PROXY SERVER? Where can I find the so-called proxy server. I can not turn off the e-print without mysterious proxy server. Nobody at HP Support knows, they want to come on my computer. HOW THAT WILL HELP, IF I HAVE TO GO IN THROUGH THE PRINTER? I'm not let someone remote my computer! I've done it before and all they do is look around where they don't belong, then tell me "I have a friend who can fix it for $200.00" BS! I just want to know how to get the claim code so I can use e-print. This may not be such a mystery that emit a person cannot tell me by phone or e-mail, how can I recover the claim code. OR, where I can find this mysterious Proxy Server turns off e-print, so I can turn it on the recovery of the claim code. PLEASE DO NOT SEND ME LINKS OF WHERE ALL THE ANSWER OF WHAT IS CALLED, IT IS HERE, I HAVE ALREADY DID NOT RESEARCH DAYS, JUST GIVE ME ANSWERS TO MY QUESTION *.
WHAT PROXY SERVER? Where can I find this so-called proxy server!
Hello
First download and install the latest firmware below, then check for the difference:
http://ftp.HP.com/pub/softlib/software13/Printers/oj6500/OJ6500_E710n-z_R1621A.exe
Once the latest firmware has been installed check for the difference once the HP ePrint menu.
If the same error persists, press the right arrow and press Setup, then Web Services configuration tab.
Tap on delete Web Services and follow the steps to the web services of devil.
Then enter the menu of Web Services again and follow the instructions on the screen to reactivate the service and check for the difference.
-
DVT:pivotFilterBar - how to get the selected values of the filter
Hi all
I have a question: how to get the selected values from the pivot table filter bar programmatically?
I tried to use
but to the edge of the side DATA INCORRECTESdeclarations page, it seems that it will return the cached values.pivotTable.getDataModel().getDataAccess().getValueQDR(startRow, startCol, DataAccess.QDR_WITH_PAGE);
Environment: JDev 11.1.1.3.0 without tasks.
Thank you
MiroslawHello
You can retrieve the value selected in the PivotFilterBar through the PivotFilterBar model, instead of dataaccess:
Download the template of the bar pivot filter instance
QueryDescriptior queryDescriptor = (QueryDescriptor) pivotFilterBar.getValue ();retrieve a list of criterion, each of them is used to fill each lov in the pivot filter bar
ConjunctionCriterion conjunctionCriterion = queryDescriptor.getConjunctionCriterion ();
ListcriterionList = conjunctionCriterion.getCriterionList ();
for (int i = 0; i)<_criterionList.size(); i++)="">
AttributeCriterion = (AttributeCriterion) criterionList.get (i) criterion._selected is the currently selected value
Selected object = criterion.getValues () .get (0);System.out.println (_selected);
}Hope that helps,
Chadwick
Maybe you are looking for
-
Portege A600 - multiple problems (windows 7, wifi, mouse pads)
My computer toshiba laptop came with absolutely no record whatsoever, is this normal? Wifi can find networks, but when I try to connect I get a message saying invalid network key (or soemthing like that) een when I put the password several times. And
-
This just started recently.
-
I can't print emails in Outlook Express
OS Win XP Ver 5.1 (Build 2600.xpsp_sp3_gdr.120821: Service Pack 3) Internet Explorer Version: 8.0.6001.18702 Exit Express 6.00.2900.5512 Version 6 (xpsp.080413 - 2105) When I try to print an email I get the following dialog box: Explorer Internet Scr
-
I bought a printer AIO 948 Dell, among the many things I've bought from them. The thing has rarely worked since, is not being able to connect to, or he tells me after installing ink cartridge dear and printing 4 pages that the ink is low. Now, tonigh
-
How to access the old iomega 100 files on Windows 7?
I guess I need a current and relevant driver to allow my old drive 100 iomega to work when I plug it into my Windows 7 computer. But - Is it true? Are there? Will it work at all? What other issues should I know? I don't remember the OS, I got when I