How to get iterator used on jsff from button clicked on jspx
Hi All,
I am using jdeveloper 11.1.1.5.
I have a bounded task flow and inside that I have a jsff and I have added one iterator in its bindings. Now I have dragged that jsff on my jspx page as a region.
I have a button on my jspx page I want to find the iterator of the jsff on button click.
How to find it.
Please help.
-- NavinK
Thanks Timo for your reply.
Does that mean We have to add the same iterator in the bindings of jspx as well ?
In my case I have added the iterator to my jspx page but I am getting the error described in InputText value is not getting updated in Iterator
Please help.
--NavinK
Similar Messages
-
Hello All,
I have custom ribbon button on editform/dispform in my list. I want to display current list name on button click of this custom ribbon button. How to achieve it??
Thanks in advance..!!Hey,
Did you ever tried this variables?
Anyways variable _spPageContextInfo.pageListId' works for me. It will give list GUID on listforms.
<CommandUIHandler Command="EditFormButtonCommand" CommandAction="javascript:window.open(L_Menu_BaseUrl + '/_layouts/incitemkt/downloadallattachments.aspx?ID=' + {ItemId} + '&source=' + _spPageContextInfo.pageListId);" />
Thanks. -
How to get total number of pages from .doc file without using Office interop?
Hi,
Kindly help me in getting the total number of pages from a .doc file not .docx file using C#. I know how to get by using Office interop but I do not want to use Office interop.
So, without office automation in C# let me know how to get the total number of pages from a .doc file.
Regards,
AshokHi Ashok,
>> I know how to get by using Office interop but I do not want to use Office interop
Could you tell us why you don't want to use Office interop?
As far as I know, this is the easiest way to achieve.Hmmm,this is my answer
http://msdn.microsoft.com/en-us/library/microsoft.office.interop.word.pagenumbers.startingnumber(v=office.14).aspx
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP server
In 9iAS 9.0.2 Oracle HTTP Server (OHS) is pre-configured to assign requests to the Home OC4J instance via the URL-prefix "/j2ee"/
For example, the TEST servlet under OC4J would be passed through OHS using:
http://urmachine:urApachePort/j2ee/TEST
whereas in the standlone OC4J version, this URL works:
http://urmachine:urOC4JPort/TEST
How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP Server?It is getting the url prefix from mod_oc4j.conf
under /ora9ias/Apache/Apache/conf
You can read more on this at
http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a92173/confmods.htm#1008977
-Prasad -
I broke my iPhone 5 now using a 4 but don't know if or how to get my photos ect..from the 5 to the 4.can I do this and how plse help
Restore the backup of your iPhone 5 to your iPhone 4. It will contain your camera roll photos.
To do this, first make sure the iPhone 4 is running the same or higher version of iOS as your iPhone 5 was. If it isn't, you'll need to update it first. Then, to restore the iCloud backup, you'll have to begin by erasing the iPhone 4. If you have any newer data on the iPhone 4 that is not contained in the iPhone 5 backup, you'll need to save that first. When you're ready, go to Settings>General>Reset, tap Erase All Content and Settings, then go through the set screens on the iPhone 4 and when given the option, choose Restore from iCloud backup and follow the prompt, choosing the backup of your iPhone 5 to restore to. Be sure it is connected to wifi and your charger as it is restoring the backup. -
How to get the default selection color from JTable
Hi, there,
I have a question for how to get the default selection color from JTable. I am currently implementing the customized table cell renderer, but I do want to set the selection color in the table exactly the same of default table cell renderer. The JTable.getSelectionBackgroup() did not works for me, it returned dark blue which made the text in the table unreadable. Anyone know how to get the window's default selection color?
Thanks,
-JennyThe windows default selection color is dark blue. Try selecting any text on this page. The difference is that the text gets changed to a white font so you can actually see the text.
If you don't like the default colors that Java uses then use the UIManager to change the defaults. The following program shows all the properties controlled by the UIManager:
http://www.discoverteenergy.com/files/ShowUIDefaults.java
Any of the properties can be changed for the entire application by using:
UIManager.put( "propertyName", value ); -
How to get password as string back from encrypted password byte array.
Hi All,
I am storing encrypted password and enc key in the database.(Code included encryptPassword method for encryption and validatePassword method for validating of password). Problem is that for some reason i need to show user's password to the user as a string as he/she entered. But i am not able to convert the encrypted password from D/B to original String.
Tell me if any body know how to get the string password back from the encrypted password byte array after seeing my existing encryption code.
//********* Code
private Vector encryptPassword(byte[] arrPwd)
try
// parameter arrPwd is the password as entered by the user and to be encrypted.
byte[] encPwd = null;
byte[] key = null;
/* Generate a key pair */
KeyPairGenerator keyGen = KeyPairGenerator.getInstance("DSA", "SUN");
SecureRandom random = SecureRandom.getInstance("SHA1PRNG", "SUN");
keyGen.initialize(1024, random);
KeyPair pair = keyGen.generateKeyPair();
PrivateKey priv = pair.getPrivate();
PublicKey pub = pair.getPublic();
/* Create a Signature object and initialize it with the private key */
Signature dsa = Signature.getInstance("SHA1withDSA", "SUN");
dsa.initSign(priv);
/* Update and sign the data */
dsa.update(arrPwd, 0, 12);
/* Now that all the data to be signed has been read in, generate a signature for it */
encPwd = dsa.sign();
/* Now realSig has the signed password*/
key = pub.getEncoded();
Vector vtrPwd = new Vector(2);
vtrPwd.add(encPwd);
vtrPwd.add(key);
return vtrPwd;
catch (Exception e)
private boolean validatePassword(byte[] arrPwd,byte[] encPwd,byte[] key) throws RemoteException
try
// arrPwd is the byte array of password entered by user.
// encPwd is the encrypted password retreived from D/B
// key is the array of key through which the password was encrypted and stored.
X509EncodedKeySpec KeySpec = new X509EncodedKeySpec(key);
KeyFactory keyFactory = KeyFactory.getInstance("DSA", "SUN");
PublicKey pubKey = keyFactory.generatePublic(KeySpec);
/* Encrypt the user-entered password using the key*/
Signature sig = Signature.getInstance("SHA1withDSA", "SUN");
sig.initVerify(pubKey);
/* Update and sign the password*/
sig.update(arrPwd, 0, 12);
return sig.verify(encPwd);
catch (Exception e)
Help upto any extent would be appreciated.
Thanx
Moti SinghHi All,
I am storing encrypted password and enc key in the
database.(Code included encryptPassword method for
encryption and validatePassword method for validating
of password). Problem is that for some reason i need
to show user's password to the user as a string as
he/she entered. But i am not able to convert the
encrypted password from D/B to original String.No, you are not encrypting the password in your code, you are merely signing it.
Tell me if any body know how to get the string
password back from the encrypted password byte array
after seeing my existing encryption code.It is impossible to retrieve the original text out of a signature.
You should read up on some encryption basics in order to understand the difference between signing and encrypting. Then you can find examples of how to encrypt something here: http://java.sun.com/j2se/1.4/docs/guide/security/jce/JCERefGuide.html.
Actually there is one class specifically for keeping keys secure, KeyStore http://java.sun.com/j2se/1.4/docs/api/java/security/KeyStore.html
- Daniel -
How to get list of file names from a directory?
How to get list of file names from a directory?
Please helpIn addition, this:
String filename = files;Should be this:
String filename = files;
That's just because he didn't use the "code" tags, so [ i ] made everything following it become italicized. -
How to get current/present version guid from CRMD_ORDERADM_H ?
Hi,
Can any one tell me how to get the current version guid value from CRMD_ORDERADM_H table for Business Object type 'BUS2000113' .
For example for one contract if we have more than one version then how to get the latest version guid from this table?
If I use FM ' BBP_PD_CTR_GETDETAIL' and in version table how to know which one is the latest/current version?
Need information for versions.
Thanks a lot.
Kevin.Hello Kevin,
In FM <b>' BBP_PD_CTR_GETDETAIL'</b> look at version table <b>E_VERSION</b> - Here you can check 'VERSION_' or there is another field 'CREATED_AT' - by using these you will get latest version.
Regards,
Shiv -
How to get InputStream of uploaded file from request?
The situation:
Client is uploading xml file to server.
<form METHOD=POST ENCTYPE = "multipart/form-data" action="SendFile" accept="text/xml">
<input type="file" name="SentFile" />
<input type="submit" value="go"/>
</form>Then I need to parse data from file.
I want to use method javax.xml.parsers.DocumentBuilder.parse(InputStream is)
But, how to get InputStream of uploaded file from request?You cannot get the InputStream of the uploaded file directly. The InputStream you can obtain from request.getInputStream() contains a lot of other data as well as the uploaded file. You will have to parse the data in the InputStream to find the data that belongs to the file.
A short cut is to use the HTTP Multipart File Upload available from www.jenkov.com. It simplifies file upload and makes it easy to obtain an InputStream for only the uploaded file. It also handles upload of multiple files. It is free, open source, Apache license, so if it doesn't fit your needs, you can always read the code and see how it works. Then write your own upload servlet. -
How much data is used uploading photos from element 12 to adobe revel
how much data is used uploading photos from element 12 to adobe revel
Rixonruss,
The size of your photos and videos you mark in Elements for upload depicts how much data is being uploaded. However for download, only small size previews get downloaded first unless you download the originals from Elements whenever needed in any Elements workflows.
If you have any Revel related queries, they may be answered at the FAQ link http://www.adobe.com/in/products/revel/faq.html
~V -
How i get data in matrix grid from A/P Invoice
How i get data in matrix grid from A/P Invoice before click add button
Hi,
Are you trying to read the data in the matrix of a system form? Then you only have to look for the matrix with the ID you can see by visualising the System Information in B1 and then directly read from the matrix cells (using columns element in matrix), the DBDataSources are not filled in until the document has been added to the database.
There are many messages in this forum talking about how to read information in matrix item, just make a search for it.
Hope it helps
Trinidad. -
How to get Driver and url names from a connection pool
Hi,
How to get the DriverName and URL from an existing pool, If I know the name of
connection pool ? Is it possible to know the name of related pool , if I know
the name of datasource?
Thx
Manishhi
there are 2 ways:
url must be: jdbc:weblogic:pool[:connectionPoolID]
or
jdbc:weblogic:jts[:connectionPoolID] (if you want to use jts with your JDBC connection.)
see http://e-docs.bea.com/wls/docs60//javadocs/weblogic/jdbc/pool/Driver.html
However, I think it is safer to configure and use DataSource to get connection.
Nicolas
"kumar" <[email protected]> wrote:
>
Hi,
How to get the DriverName and URL from an existing pool, If I know the name
of
connection pool ? Is it possible to know the name of related pool , if I
know
the name of datasource?
Thx
Manish -
How to get "Layer Mask Hides Effects" from Photoshop Plug-in
How to get "Layer Mask Hides Effects" from Photoshop Plug-in.
I don't think there's enough information here to give an answer. Is this a Plug-in that you're writing or intend to write? If so, what type of Plug-in is it?
If you are writing your own plug-in, the header files included in the Photoshop SDK/API have a bunch of defines for the proper codes to use.
PITerminology.h has a large amount of keys that can be used to query for information. PIUGetInfo is probably the function that you want to call to determine what you need to know.
If you're looking for information about a specific layer, you will want to make a new PIActionDescriptor, call sPSActionDescriptor->Make(*PIActionDescriptor), and then call GetLayerInfo on the layer that you're querying information about.
You can then call sPSActionDescriptor->Get<datatype> on the layer while passing in the key of the data that you want. -
How to get the Portal Page name from PLSQL?
Can anyone tell me how to get the portal page name from my dynamic page using plsql?
Apparently you can get the page id and work it out from there, but my calls to get the page id are not returning any values anyway.
My code for attempting to get the page id is below.
<oracle>
declare
v_pageid varchar2(30);
begin
v_pageid := wwpro_api_parameters.get_value('_pageid', '/pls/portal30');
htp.print('Page is '|| v_pageid);
end;
</oracle>
Ideally I'd actually just like to get the page name. Is there a straightforward way to do this?
Thanks in advance!
SarahFew clarifications -
1. wwpro_api_parameters cannot be used to get default portal
page parameters such as '_pageid', '_dad', '_schema' etc.,
2. Page information can be obtained through any components which
are available in that particular page. For example, in case of
dynamic page, we need to publish it as a portlet and add it to the
page. This process creates necessary packages in the DB, but we
will not have access to the portlet methods.
So, I would prefer creating a simple DB provider & portlet and access
page title from its show method as follows -
//Declare local variable l_page_id, l_page_title as varchar2
select page_id into l_page_id from wwpob_portlet_instance$ where
portlet_id = p_portlet_record.portlet_id and
provider_id = p_portlet_record.provider_id;
select name into l_page_title from wwpob_page$ where id=l_page_id;
More information on DB provider can be found at
http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/understanding.database.providers.html
Secondly, usage of wwpro_api_parameters.get_value method is
incorrect. This method expects two arguments -
<ul>
<li><b>p_name : </b> The name of the parameter to be returned.</li>
<li><b>p_reference_path : </b> An unique identifier for a portlet instance on the current page.</li>
</ul>
p_reference_path would be something like 99_SNOOP_PORTLET_76535103 and not some type of path as its name suggests.
The following code fragment fetches all parameters available
for a portlet.
Note : Copy this code into 'show' method of your portlet.
//Declare l_names, l_values as owa.vc_arr
* Retreive all of the names of parameters for this portlet
l_names := wwpro_api_parameters.get_names(
p_reference_path=>p_portlet_record.reference_path);
* Retreive all of the values of parameters for this portlet
l_values := wwpro_api_parameters.get_values(p_names=>l_names,
p_reference_path=>p_portlet_record.reference_path);
//Loop through these arrays to get parameter information
htp.p('<center><table BORDER COLS=2 WIDTH="90%" >');
htp.p('<tr ALIGN=LEFT VALIGN=TOP>');
htp.tableData(wwui_api_portlet.portlet_heading('Name',1));
htp.tableData(wwui_api_portlet.portlet_heading('Value',1));
htp.tableRowClose;
if l_names.count = 0 then
htp.p('<tr ALIGN=LEFT VALIGN=TOP>');
htp.p('<td COLSPAN="2">'
||wwui_api_portlet.portlet_text(
'No portlet parameters were passed on the URL.',1)
||'</td>');
htp.tableRowClose;
else
for i in 1..l_names.count loop
htp.p('<tr ALIGN=LEFT VALIGN=TOP>');
htp.tableData(l_names(i));
htp.tableData(l_values(i));
htp.tableRowClose;
end loop;
end if;
htp.p('</table></center>');
Hope it helps...
-aMJAD.
Maybe you are looking for
-
Indexes not getting used in schema having chinese data
I have a database with chinese data in it. When i execute few queries in that schema it does not use the available indexes of that table. Query takes long time to execute and the temp tablespace gets full. But when i execute the same query in another
-
When i try to switch on my macbook nothing happens ans when i plug in my charger it has a faint green light. I have never had this problem before but i have tried many troubleshoots and none would work Please help.
-
I've been trying to update my Iphoto, Imovie and my Moutain Lion software to 10.8 for months. I keep getting a message to log into you account you purchase it with. THe software came with my computer therefore where do I go from here bc it will not u
-
DB-Java - multi language support problem
hello guys, miss u well, finally I stucked in project which needs to support arabic, I have, I am getting ????? when getString for the ResultSet, I tried Reader and InputStream and finally i tried this try { title = new String(title.getBytes("ISO8859
-
Why won't my iTunes open after updating it?
I updated my itunes and it won't open, the icon jumps up once when I click on it but doesn't open. I'm using a Mac. I recently baought heaps of music at the itunes store so I don't won't to delete it and loose all my files