How to pass arraylist through URL ?
Hi,
Can we pass arraylist through URL using params.put ?
If so then how to access each value?..because pageContext.getParameter with return string...
Any other method can we use ?
Thanks
You should store in on the session or transaction depending on the scope.
Similar Messages
-
How to pass parameter through URL to bounded task flow with page fragment
I want to pass parameter to Bounded Task Flow With Page Fragment trough URL
as I start this taks flow with router and according to this Param I will rout the user.
I added input param to taks flow named direction and make the task flow called URL invoke url-invoke-allowed
<input-parameter-definition id="__41">
<name id="__42">direction</name>
<value>#{pageFlowScope.direction}</value>
<class>java.lang.String</class>
</input-parameter-definition>but I don't know how to add this to the JSPX that I will add the bounded task flow Inside.
and How to pass this from URLHi,
url-invoke-allowed is only required if the task flow itself is directly accessible from a browser (which is not the case at all if the task flow uses page fragments). To pass input parameters to a task flow that is embedded in a region and that has input parameters, you define the input parameters on the taskFlow Id that is created in the PageDef file of the containing page. To learn ADF task flows, have a look at the videos below. They also contain a sample for passing parameters to a region
http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/taskflow-overview-p1/taskflow-overview-p1.html
http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/taskflow-overview-p2/taskflow-overview-p2.html
Frank -
Passing parameter through url to report
Hi
I'm sorry if this question already exist anywhere in forum i didnt found it.
so my question is:
CAN I PASS PARAMETER VIA URL TO REPORT USING WEBFORM
i don have RAS(Because in beta version of 2008 is this not included)
I tried
http://localhost/CRWEB/Default.aspx?param0="value" ->here i'm prompt for value instead of showing report with set value
and
http://localhost/CRWEB/DocumentDoc.rpt?param0=krneki&init=html_page -> here i prompt to save rpt file
so But both doesnt work!
OR it is necessery to have RAS to pass parameters through url
thanks for quick answerURL reporting and RAS are not available with CR2008. To view reports over the web you will need to use the Crsytal Reports for .NET runtime engine inside a .NET app. This engine is licensed with CR 2008.
Rob Horne<br /><a href="/blog/10">Rob's blog - http://diamond.businessobjects.com/robhorne</a> -
I need to pass double byte character such as Japanese as value in the name value pair through URL to another page. Are there a way to encode the double byte characters in the URL , then decode in the following page.
You help is highly appreciated.
HelpseekerSee the Japanese Character Encoding for Internet Messages,
http://www.faqs.org/rfcs/rfc2237.html
good luck! -
How to pass parameters through POST
Hi,
Can any one help me how to pass the parameters and read it using POST method in webdynpro java.Use the following code to read URL parameters inside WDJ
// Check for URL parameters
IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
IWDRequest request = protocolAdapter.getRequestObject();
String text = request.getParameter("url_parameter");
Hope this helps. -
How to pass Tables through program line.
Hi All,
I have requirment in smart forms.
I need to execute smartforms in form itself. means no chance to run with driver program.
So i created program line which where write our logic for internal table. My question is how to pass created internal table from program line. i need to display the internal table data using loop.
Thanks,
SubbuHi,
Try this :
code
REPORT report2.
DATA: text TYPE c LENGTH 10,
rspar_tab TYPE TABLE OF rsparams,
rspar_line LIKE LINE OF rspar_tab,
range_tab LIKE RANGE OF text,
range_line LIKE LINE OF range_tab.
rspar_line-selname = 'SELCRIT1'.
rspar_line-kind = 'S'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = 'ABAP'.
APPEND rspar_line TO rspar_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'H'.
APPEND range_line TO range_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'K'.
APPEND range_line TO range_tab.
SUBMIT report1 USING SELECTION-SCREEN '1100'
WITH SELECTION-TABLE rspar_tab
WITH selcrit2 BETWEEN 'H' AND 'K'
WITH selcrit2 IN range_tab
AND RETURN.
[/code]
Reward points if found helpful.....
Cheers,
Chandra Sekhar. -
hi Andrew Thompson,
I have problem to launch jar (swing application) through url.I know that i can do it with the help of jnlp but i m unable to find out the procedure to create jnlp. I tried hard to sign the jar which is the step of creating jnlp but i got exception and keystroke file is not created so plz help me so that i launch my jar file by clicking on url.
Thanks in advance
DeeptiDeepti_MCA wrote:
hi Andrew Thompson, ..Umm. OK..
Why did you start your message with saying hello to a particular person? That is not helpful to getting the best answers, since some people will be offended by the use of a 'public forum' for what seems like a 'private message'.
Further, though I know a lot about webstart, I don't know everything about it. Also there are many others who are capable of answering the basic questions.
I have problem to launch jar (swing application) through url.I know that i can do it with the help of jnlp but i m unable to find out the procedure to create jnlp. I tried hard to sign the jar which is the step of creating jnlp but i got exception What exception? Always be sure to [copy/paste error messages|http://pscode.org/javafaq.html#exact].
As an aside, here is an example of a sand-boxed [app. that can open & save files|http://pscode.org/jws/filetest-sandbox.jnlp]. My point is that not every JWS app. needs extended permissions, and if so, the code does not need to be digitally signed.
..and keystroke file is not created..What does that mean? Did you mean 'the keystore file'?
Note that programming is a precise business, it is important to use words precisely. Further, attempting to debug things over the net on international forums makes the precision of words an order of magnitude more important.
.. so plz help me so that i launch my jar file by clicking on url.When I see the spelling 'plz' it makes my teeth grind. If you do not use the effort needed to spell all 6 letters of the word 'please', I (usually) cannot find the motivation to reply. Take that as a warning for future posts.
Since you seem to be making efforts to use language correctly, you might want to know that the word "I" should always be upper case, no matter where it appears in a sentence. The 'always upper case' rule also applies to concatenated words starting with I - like "I'm".
Don't ask me why that is, because I don't know. Hey, I just speak English - I don't study it! -
How to pass parameters in url templates
hi all,
i've created an iview which calls yahoomail url,i need to pass user-id and password through parameters, such that i can personalize my id and password using personalize option to see my yahoo mail box in the iview.so, plzz give me a solution for the above problem,Hi Gnanadeva
It is more simpler to use the App integrator to integrate web applications into the Portal than create a URL iView and the pass the parameter. Because in case of a URL iView you will need to define an HTTP System to Pass your parameters but then it doesnt seem to work even if the URL paarmeters are specified.
You will find the .PAR file that can be used as thesystem template as well as the document for using the App Integrator from the link provided by Praveen.
Download the File and import the .PAR file into your portal (go to System Administration -> Support -> Portal Runtime -> Administration Console -> Archive Uploader and upload the .PAR file). Create a system based on this template as mentioned in the Document and create the iView based on this System.
Hope that helps
Best Regards
Priya -
Passing parameters through URL in ADF Application with UIShell
Hi,
JDeveloper Studio Edition Version 11.1.1.6.0
The UI in our application is developed with UIShell pageTemplate.
We have a Home page created with PageTemplace "UIShell.jspx" and this page is placed as a view in adfc-config.xml (the Unbounded Task Flow).
The other pages for our application are created using Page Fragments and these pages are called from Home_taskmenu.xml through Bounded task flows.
With this setting, the URL(after SignIn) will look like,
http://localhost:7101/OperationalPlanning/faces/Home?_afrWindowMode=0&_adf.no-new-window-redirect=true&_afrLoop=6811862222491857&_adf.ctrl-state=29wus7giw_19
We have a requirement to build the URL which should open a Page Fragment directly after Signing In to the application. And we have a id to be passed as a parameter, so it should open the page fragment with the details based on the id value that we pass.
The parameters are already registered in the Bounded Task Flow(which has the page fragment) and I could open in the "localArea" using a link in the Home Page.
Now, I want to directly launch the Bounded task flow by passing a parameter, so that it opens the Page Fragment as a tab once we signIn.
Let me know if there is any solution for this requirement.
If there is any document to follow for this kind of requirement in an application which is created using the UIShell, please let me know.
Thanks,
Tamilhi Frank,
Thanks for the response. We followed your suggestion and managed to capture URL parameters in afterPhase(LifeCycle.PREPARE_MODEL) and save parameters to ViewScope.
Then in beforePhase(LifeCycle.PREPARE_RENDER), we retrieve parameters back and invoke FndUIController.openMainTask method to launch the correponding taskflow but nothing happens.
public static void openTaskflowOnNewTab(String taskflowId) {
try {
FacesContext fc = FacesContext.getCurrentInstance();
ELContext elc = fc.getELContext();
ExpressionFactory ef = fc.getApplication().getExpressionFactory();
ValueExpression valExp = ef.createValueExpression(elc,"#{bindings.openMainTask}",Object.class);
JUCtrlActionBinding methodBinding = (JUCtrlActionBinding)valExp.getValue(elc);
Map params = methodBinding.getParamsMap();
params.put("label", "Some Title");
params.put("taskFlowId", taskflowId);
params.put("reuseInstance", true);
methodBinding.invoke();
} catch (Exception e) {
e.printStackTrace();
To prove that this method works, we create a UI button on the page (which binds this method in PageDef.xml), and associate this method to onclick event. At runtime after page is opened, clicking on the button does launch the taskflow on new tab successfully.
Do you happen to know what I do wrong in the beforePhase() method?
Thanks
-Phi -
How to pass the dynamic URL of web services in JAVASCRIPT in ADOBE
Hi,
In the below scenario how do i pass the URL dynamically from context's importing parameters instead of hard coding.
var cURL = "http://................" ;
var service = SOAP.connect(cURL);
xfa.connectionSet.connectionname.execute(0);
B'coz the URL is going to be different in Dev, Test, Prod system. In this case i can't hardcode the URL as explained in previous treads. Or please provide the possible alternatives.
Any help is highly appreciated.
Regards,
SathishHi,
Got the solution for
var cURL = "http://................" ;
var service = SOAP.connect(cURL);
xfa.connectionSet.connectionname.execute(0);
I tried with
var cURL = xfa.form.data.PAGE2.SubFormPage.IM_URL.rawValue ;
var service = SOAP.connect(cURL);
xfa.connectionSet.connectionname.execute(0);
xfa - Root Node
form - Model
data - Form Design Root Node
PAGE2 - Page Name
SubFormPage - Sub Form inside the page
IM_URL.rawValue - Importing field to Adobe{ which i dragged from Data view into sub form(SubFormPage) & set the field as invisible so that it won't be available to user}
Working as expected.
Thanks,
Sathish -
How to pass arraylist of object from action class to jsp and display in jsp
I need to do the following using struts
I have input jsp, action class and action form associated to that. In the action class I will generate the sql based on the input from jsp page/action form, create a result set. The result set is stored as java objects in a ArrayList object.
Now I need to pass the arraylist object to another jsp to display. Can I put the ArrayList object in the request object and pass to the success page defined for the action? If this approach is not apprpriate, please let me know correct approach.
if this method is okay, how can I access the objects from arraylist in jsp and display their property in jsp. This java object is a java bean ( getter and setter methods on it).
( need jsp code)
Can I do like this:
<% ArrayList objList = (ArrayList)request.getattribute("lookupdata"): %> in jsp
(***I have done request.setattribute("lookupdata", arraylistobj); in action class. ***)
Assuming the java object has two properties, can I do the following
<% for (iint i=0. i<objList.size;I++){ %>
<td> what should i do here to get the first property of the object </td>
<td> what should i do here to get the first property of the object </td>
<% }
%>
if this approach is not proper, how can I pass the list of objects and parse in jsp?
I am not sure what will be the name of the object. I can find out how many are there but i am not sure I can find out the name
thanks a lotDouble post:
http://forum.java.sun.com/thread.jspa?threadID=5233144&tstart=0 -
Pass value through URL without setting local page item
Folks,
I have a table where I have created a dummy column with a hyperlink on it to go to another page in the application which runs a report passing through columns on the table
As I am doing this several times (for different pages in my application) - Is there a way of passing a variable through a URL to a report without setting a local variable
i.e.
Click Here
Here I am assigning a local variable on Page 25 which is hidden called P25_TEST1
What I would like to do is pass the value straight to page 25 (which runs the report) without the need to create hidden items on the report pages all the while
Thanks
GarethYou have a plain HTML page that loads with a url with something like ?field=value
And you want "value" to show on your page, correct?
<html>
<body>
<script>
var qsParm = new Array();
function qs() {
var query = window.location.search.substring(1);
var parms = query.split('&');
for (var i=0; i<parms.length; i++) {
var pos = parms<i>.indexOf('=');
if (pos > 0) {
var key = parms<i>.substring(0,pos);
var val = parms<i>.substring(pos+1);
qsParm[key] = val;
qsParm['field'] = null;
qs();
if (qsParm['field'])
document.write('You selected ' + qsParm['field'] );
</script>
</body>
</html>
Call that as test.html?field=Hello
Here's a nice link that explains it in detail: http://www.eggheadcafe.com/articles/20020107.asp -
Pass Okcode through URL in ITSmobile service
Hi all ,
we have 2 itsmobile services serA and serB
SerA calls serB using redirect URL (in specified path below) at some action.
SICF->service ->errorpage->LOGOFFpage-> RedirectURL.
SerB have a transaction code which holds a screen and a pushbutton in the screen.
While calling serB i want to press the push button , by passing the okcode with the URL.
I tried by passing ( http://splhrd398.com:8035/sap/bc/gui/sap/its/zserB?sap-client=100&~okcode=enter)
it doesn't work .
Please throw some lights.You have a plain HTML page that loads with a url with something like ?field=value
And you want "value" to show on your page, correct?
<html>
<body>
<script>
var qsParm = new Array();
function qs() {
var query = window.location.search.substring(1);
var parms = query.split('&');
for (var i=0; i<parms.length; i++) {
var pos = parms<i>.indexOf('=');
if (pos > 0) {
var key = parms<i>.substring(0,pos);
var val = parms<i>.substring(pos+1);
qsParm[key] = val;
qsParm['field'] = null;
qs();
if (qsParm['field'])
document.write('You selected ' + qsParm['field'] );
</script>
</body>
</html>
Call that as test.html?field=Hello
Here's a nice link that explains it in detail: http://www.eggheadcafe.com/articles/20020107.asp -
How to user Drill through URL ?!
Dear All ,
We are on EPM 11.1.2.1 3 tiers production servers .
We applied ERPi path 11.1.2.1.501 with ODI 11.1.1.5 . Integration between ERPi , Hyperion planning and EBS R12
Everything is working OK . When I loaded data and enabled drill thought .
When I navigate to data form to drill through loaded data , Drill though url is empty !!!!!
I read something at ERPi document that Drill though url must not be in this format http://<servername><port>
Do you have any solution for my problem ?!!!!Dear Bala ,
I check Dataload workbench , I successfully can drill through EBS when I click on PTD column , But I am still can't in planning workspace
But when I am logged to EBS , I get this error
The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: KeyFlexfieldDefinitionFactory.getStructureNumber could not find the structure definition for the flexfield specified by Application = SQLGL, Code = GL# and Structure number =
GL_DAS_NO_LEDGER_ACCESS -
How to call report through URL(without displaying userid info) ?
I want to call report in my APEX application.
I can get it run like this :
http://hostname:port/reports/rwservlet?module=invoice.rdf&userid=oe/oe@tnsalias&destype=cache&desformat=pdf But showing the userid in the url would have serious security problem.
How could I configure the report to set the default userid, so that I don't need to define that in the url ?
And is there any way to integrate this authorization with my APEX application ?frank1018 wrote:
I want to call report in my APEX application.
I can get it run like this :
http://hostname:port/reports/rwservlet?module=invoice.rdf&userid=oe/oe@tnsalias&destype=cache&desformat=pdf But showing the userid in the url would have serious security problem.
How could I configure the report to set the default userid, so that I don't need to define that in the url ?
And is there any way to integrate this authorization with my APEX application ?Hi frank
Check this http://docs.oracle.com/cd/E12839_01/bi.1111/b32121/pbr_run013.htm
Hope this helps
Maybe you are looking for
-
My iPod touch is no longer recording voice memos. It worked for a while, then I synced it with my computer. Now it no longer works. I bought this for the main purpose of recording, and it no longer does this. It responds like it is recording, i.e. th
-
Get action or value change listener to be invoked from phaseEvent
Hi, Does a PhaseEvent object has information for which action or value change listener is to be invoked? I have implemented a common logging method which has to be called on any action or value change event. The method requires the name of the method
-
How do you get 32-bit float effects to work with an alpha channel?
I make a few bugs and lower thirds, but I'm having a lot of trouble getting 32-bit float effects to correctly export with transparency. When I make semitransparent animations with bright lighting effects, they look great in AE but I can't seem to fin
-
Dear Developers I need one help from you. I have developed one application in Form 6i using patch 13. Whenever user is opening that application and start working it work very fine. But Problems come when he open some other application like word excel
-
I have to reboot my BTinfinity router to enable me to link my ipod or my iphone to Airport express. When it is connected it works perfectly, I use it to play music through my BOSE soundwave, but it is getting a bind to have to keep switching the rout