Passing data while navigating across pages
I have a registration page across more than 6 pages.
which is splited as personal details, contact details etc...
I have to store the data as user enter details each page.
But should save the data to database after completion of last page.
How to do we maintain data enterred across pages?
Hope this clarifies. Waiting for earliest reply.
thanks
Regards
priyaps
That answer has to be one of the worst I have seen.
All the data in the request object at the end? What dreamworld do you live in?
The request parameters only last for one request. Every time you submit a page, you send a new request.
In order to retain state over multiple requests you need to use the Session.
Best way to do it is to create a java bean that will encapsulate all the data you need to enter across all the forms. Making it a session bean means that all its values will be retained on the server.
One by one, as you submit the pages, put the values entered on the form, into the bean. If you need to go back a step, you can retrieve the data from the bean to repopulate the form.
At the end, all of the data is stored in your session bean.
Then you can write a method which saves the values in your bean to the database
Similar Messages
-
Error while navigating across the pages in Weblogic portal 10.3
I'm using the content managemnt in Weblogic Portal 10.3 to display the tabs in the portal application. I have multiple pages in a book and am trying to display these pages as tabs in the application instead as a different level of menu.
I have achieved in displaying the tabs using the content management. I'm using a separate portlet for displaying the tabs alone. But while navigating across the tabs, I'm getting the following error in the console.
Can someone please help me in eliminating this.
<Error> <netuix> <BEA-423329> <More than 1,000 events were processed in the request -- not handling any more events for this request.>See the release note for issue 13371575 at
http://docs.oracle.com/cd/E26806_01/wlp.1034/e14247/relnotes.htm#i1131976
Brad -
SSO - session time out while navigating across applications
Hi,
Problem statement
Handling session time out while navigating across applications involving SSO
Current approach
Application 1
1. Create session1.
2. URL rewrite the sesssion ID1 into the link refering to App2.
Application 2
1. Create session2
2. Get the session Id of App1.
3. send the session ID of App1 in the header
4. Invalidate the session2
Application 1
Get the ID from request and invoke getSession.
I'm having a very large session timeout at App1.
Is there a better approach. Ex: Having global session which is shared across multiple
webapplications."madhav" <[email protected]> wrote:
>
Hi,
Problem statement
Handling session time out while navigating across applications involving
SSO
Current approach
Application 1
1. Create session1.
2. URL rewrite the sesssion ID1 into the link refering to App2.
Application 2
1. Create session2
2. Get the session Id of App1.
3. send the session ID of App1 in the header
4. Invalidate the session2
Application 1
Get the ID from request and invoke getSession.
I'm having a very large session timeout at App1.
Is there a better approach. Ex: Having global session which is shared
across multiple
webapplications.
I have similiar problems in my system. What do you do if the session 1 times out
during ongoing operations in App 2 ?
Thanks
Kejuan -
How to pass date parameter from one page to other in BSP application
Hello gurus,
In my BSP application i have taken an input field and made its type "date" and its value also of type date and have set showhelp .
Now once a particular date is given as an input i want to pass its value to next page. And in next page i have to fire a query based on the date entered in previous page...
Now my prb is that my date value is not getting passed to the next page.
I have used
navigation->set_parameter( name = 'BEGDA' value = BEGDA ).
to pass date parameter.....still parameter is not getting passed.
plz help me with this.....
thankx.....Hi Eddy,
By truncation i mean the entire date becomes 10 char including the ' . ' eg(06.12.2006).
so with begda being 8chars it takes my date as 06.12.200
as a result my query is not getting executed.
now i have tried to use a FM 'CONVERT_DATE_TO_INTERN_FORMAT'.
in my 1st page but still in 2nd page its giving me following error.
<b>The data that was read could not be written to the specified target field during a SELECT access. Either the conversion is not supported for the type of the target field, or the target field is too short to accept the value, or the data is not in the appropriateformat for the target field.
</b>
Regards
Swati -
Problem in passing data from one .jsp page to another .jsp page
i have a problem here
Actually i have 2 jsp pages. What im trying to do here is actually i want to pass data from the first jsp page to the second for updating
The first jsp page contains data that user wants to update in the form of table.
<td><img src = "edit.gif" alt = "edit" border="0" ><td>
<TD><%= Name %></td>
<TD><%= rs.getInt("Age") %></td>
<TD><%= rs.getString("Gender") %></td>
So this page displays the data that users wants to update plus one image button (edit button). So when user clicks this button, all the data in this page will be brought to the second .jsp page called updatePersonal for updating.
The problem here is that it is not displaying the existing data in the second .jsp page.
The second page basically contains forms
<INPUT TYPE="text" NAME="FirstName" maxlength="30" value = "<%=FirstName%>">
Can someone please help me. I really dont know what to do..How do i get the data displayed in the text field that is passed from the first .jsp page..thankx in advancePlease modify below code to:
td><img src = "edit.gif" alt = "edit" border="0" ><td>
-----------------modified code
td><a href="updatePersonal.jsp?FirstName=<%=rs.getString(FirstName")%">&LastName=<%=rs.getString("LastName")%>&Age=<%=rs.getInt("Age")%>&Gender=<%=rs.getString("Gender")%>"><img src = "edit.gif" alt = "edit" border="0" ></a><td>
I'm sure it works</a> -
While navigating the pages in Menu Not showing correct jspx
Hi ,
We develop 10 ADF Pages and attached those pages to Menu . Now while going to page A its not showing pagA.jspx in address Bar ( though its showing correct Page ) But when navigating to PageB
its showing PAgeA.jspx in ( Address Bar ) but its showing correct pageB content . Why this behave like this ...??
Edited by: [email protected] on Jul 22, 2009 9:15 AMThis is not an ADF issue - this is a core JSF way of working.
Why would your end user care about the address anyway?
You can set your navigation case to be redirect to get around this. -
Pass data between Tab Control Pages
I’d like to initiate a serial VISA session in the first page of a Tab Control to use the VISA Serial Configure.VI outputs (Visa resource name and Error cluster) in other pages or outside the tab control.
So, how can I pass those references outside the page? I used local variables, but it doesn't seem the best way to do this because I need to create several variables to capture the reference in each page of the tab control...
I created a sub-VI to initialize the VISA session, but in this case it always starts a new session every time I use the sub-VI….
Thanks in advance!
Klein
=====================================
Block Diagrams (LabVIEW 8)
Message Edited by Klein on 04-03-2007 12:56 PM
Attachments:
TabControl.vi 37 KB
TabControl - Page1.jpg 94 KB
TabControl - Page2-3.jpg 165 KBThere's no reason at all to wire the tab control to a case statement. Since you have the read and write Booleans and they can't be clicked until the user changes tab pages, no code for the tab is necessary.With the Booleans for write and read, you should just have an event structure for those. You could initialize the serial port outside the main while loop and just pass the resource name in. Of course, if you wanted a tab for the init funciton, you could do that to but put a Boolean on that page to execute it. The only time you need to wire the tab control to a case statement is if you want to run some code immediately when the page is clicked.
Attachments:
Tab_Example.vi 45 KB -
Whole Page Refreshes while Navigating between Pages
Hi ,
I am using Jdev 11.1.1.6 and I tried to implement a custom template with custom navigation in the template. Below are the details :
1) Created a Template with navigation links on the left side .
2) Added the Default Navgation links as follows :
*<af:forEach var="node" varStatus="vs"*
*items="#{navigationContext.defaultNavigationModel.listModel['startNode=/, includeStartNode=false']}">*
*<af:goLink id="pt_gl1" text="#{node.title}"*
*destination="#{node.goLinkPrettyUrl}"*
*targetFrame="#{node.attributes['Target']}"*
*inlineStyle="font-size:small;#{node.selected ? 'font-weight:bold;' : ''}"/>*
*<af:spacer id="sp1" width="20px"/>*
*</af:forEach>*
3) I was able to display the content and the links and all the links are displaying the corresponding data in the content facet .
But when I click on any of the links the whole page is refreshing. Could you please let me know how can i make only the facet to refresh instead of whole page .
Thank you,
Sashank PIt's normal that when you are using an af:goLink the entire page is refreshing. An af:goLink is just a normal hyperlink.
That is normally the recommended case for a portal where you want robots to index your portal properly.
If you really want to use PPR you have to use a commandButton instead. There is an example of that code in the normal portal template when you create a new webcenter portal application. Just copy that part and you should be fine.
Edited by: Yannick Ongena on Apr 15, 2013 9:06 AM -
POST data without navigating to page
Hi,
I need to POST some data collected in a form to an ASP page
hosted by another person.
How do I do this without navigating to that ASP page, so I
can remain within my own website ?
Thanks for the help,
MYou could have some code like:
Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP")
objXML.open "POST", "mysite.com/foo.asp", False
objXML.SetRequestHeader "Content-Type",
"application/x-www-form-urlencoded"
objXML.send(Request.Form)
Resp = objXML.responsetext
Set objXML = Nothing
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004 -
How to remove white fade while navigating between pages?
I created small web page with 4 buttons which each of them leads to other page eg., Home,Gallery, Contacts,Reviews, but when i'm navigating between them there is annoying white flash! Is it possible to remove it?
P.S. I uploaded my site to businesscatalyst Home
Thank you!That is so strange, I just tried on my OS X Safari and WIN 7 Chrome and everything just fine, but when I'm trying on same OS X Chrome it has white flash while transitioning through navigation. Thanks anyway mac_heibu!
-
Firefox 5.0 locks up while navigating on page.
Since upgrading to 5.0, when navigating on a page with my mouse, the arrow will freeze and my computer will lock up. I've tried waiting and half an hour. No change. I can only hit the reboot button.
Doesn't work. Guess I'll need to switch Internet Explorer that although I don't care for the browser at least it can print without a problem.
-
Passing date format in sys.dbms_xmlgen
hello all,
i am using following query to generate insert SQL statements
SELECT
'insert into ' || table_name || ' (' || (select rtrim(extract(xmlagg(xmlelement(e, t.column_value.getrootelement() || ',')),'//text()'),',') from table(xmlsequence(t.column_value.extract('ROW/*'))) t) || ') values (' ||
(select dbms_xmlgen.convert(rtrim(extract(xmlagg(xmlelement(e, '''' || t.column_value.extract('//text()') || ''',')),'//text()'),','),1) from table(xmlsequence(t.column_value.extract('ROW/*')))t) || ');' ins_stmt
from user_tables,
table(xmlsequence(dbms_xmlgen.getxmltype('select * from ' || a_TblName ||' WHERE MODIFIEDON >'||a_date).extract('ROWSET/ROW'))) t
where table_name in (select table_name from user_tables where table_name =a_TblName);but when i execute the procedure as
sql> exec Gen_Insert_Statement('11-jun-2009');
ORA-19202: Error occurred in XML processing
ORA-00904: "JUN": invalid identifier
ORA-06512: at "SYS.DBMS_XMLGEN", line 288
ORA-06512: at line 1
ORA-06512: at "MRILDATA17TEST.GEN_INSERT_STATEMENT", line 22
ORA-06512: at line 2 and if i do this
SQL> exec Gen_Insert_Statement('11-06-2009');
begin Gen_Insert_Statement('11-06-2009'); end;
ORA-01843: not a valid month
ORA-06512: at line 2is there any format to pass date while using XML packages??? i am also not getting in which this issue is occuring??
any suggestion will be appreciable
thanks and regards
VD
Edited by: dixit on Aug 13, 2009 6:15 AM
Edited by: dixit on Aug 13, 2009 6:21 AMThe date issue is coming from
dbms_xmlgen.getxmltype('select * from ' || a_TblName ||' WHERE MODIFIEDON >'||a_date)It is due to the implicit conversion from the internal Date object type to a String type for display. The format is based off the NLS_DATE_FORMAT so varies from system to system. When dealing with dates, it is always best to use either to_char or to_date to ensure there are no errors in converting from one format to the other. That would include adding to_date with a format mask making it part of your Select SQL statement around a_date, such as to_date(a_date, 'DD-MON-YYYY')
Also, if you have any dates in the tables that are being queried, you will run into a similar implicit conversion issue. Oracle does not format dates in the proper XML format of YYYY-MM-DD when building XML in this manner as it uses the NLS_DATE_FORMAT. So you cannot guarantee the INSERT statement will work on another DB with a different NLS_DATE_FORMAT.
As others have asked, why you are trying to build insert statements this way as there is a lot to take into consideration regarding data formats. It seems this has been discussed on the {forum:id=75} forum but that has been some time ago. -
Problem in submitting data while refresh in web application
Hi all,
I have problem in submitting data while refreshing the page.
In my application voucher number is generated automatically and as soon as number is genereated voucher detail is inserted in database for newly generated voucher number.
Both of these activity done on the same page as my client want so.
Now I have problem that while refreshing the page, the same data for incremented voucher number stored in database that should not be done.
If there is any solution for this situation other than 1) Generating number in one page and inserting on another 2) block refresh activity, then please reply me.
It's urgent. Your help will help me a lot.
regards,
DeepaleeHi
<u>You can use either of the BADIs depending on your requirement.</u>
BAdI Definition Name Description
BBP_PGRP_ASSIGN_BADI EBP Purchasing Documents: Assign Purchasing Group(s)
BBP_PGRP_FIND Shopping Cart: Determine Responsible Purchasing Group(s)
BBP_DOC_CHANGE_BADI
BAdI for Changing EBP Purchasing Documents
<b>Please read the Standard documetation available with them using SE18 transaction in SRM system.</b>
Which SRM version you are using ?
Hope this will help.
Please reward suitable points.
Regards
- Atul -
Passing Data to flex IFrame url
I am using Iframe for flex developed by Christophe Coenraets for embedding html in my flex application.Is there a way i can pass request parameters to the iframe url.Initially i was using naviagateToURL to redirect to HTML page and was passing data to the html page using UrlRequest,But due to business requirement i need to embed the html page in my application.I need to know how i can pass data to iFrame on load.I need to send data via POST method since it may be a huge data.
Regards
SiddFor small data, use the <params ...> tag in the object declaration in HTML.
For large data you need to use RemoteObject. If you use PHP you need AMFPHP to communicate with Flex for example. -
Passing data from JSP to existing iView in Portal
Hello Experts,
I'm new to EP and Web DynPro. Please provide your guidance for the following scenario:
There are 2 iViews in different pages.
iView 1(Web DynPro Java application) - its running in portal
- created by other person long time back - it takes input from user to create a support message
iView 2(JSP page)
- since iView 1 is very generic, I have to create one more iView, which is simple & specific to user request, but should pass the data to the iView 1, which in turn will create a support message.
My Question:
Is it possible to pass data from my JSP page(in iView2) to the running application in iView1?
(I don't have access to the code of the running application- so i can't use Client Data Bag or sessions)
If the above condition is possible, then is it possible to hide the iView 1, so that user doesn't need to see the iView 1 when they submit data?
Please guide me with sample code or links.
Thanks in advance,
Aruna ThamilmaniYou could have the Applet make a request to the server (via URLConnection).
Maybe you are looking for
-
IPhoto deleted, Please Help!
Hi. I accidentally deleted iPhoto off my computer and I put in the snow leopard cd and went to optional installs, but iPhoto is under the applications. Is there a way I can get this back since I am licensed to use this?
-
Error message rgd. Material Movements / Inventory Management
Hello, We have Problem to load Material Movements data in Inventory Management InfoCube. On BW-Side we had deleted Inventory Management InfoCube content completely before we started with opening stock, Material Movements. We have filled set up tables
-
Best Adobe reader plugin for Safari or firefox .
Hi Folks. I am looking for the best plugin available for safari that will give me the functionality of adobe reader when viewing pdf documents using safari. Am i doing something wrong but i download pdf's to the desktop, i ctrl+click on them and sele
-
Ok I don't know what I'm doing wrong but sure it is something. When I use the radius tool in photoshop elements to fix hair I use the refine radius tool and instead of adding the hair that was missed after using the quick selection tool it takes away
-
I have trouble on multiple websites some buttons or links that have an image file such as .ico will not load. All the appears is a square w/ 4 letters/numbers. I've looked at several questions here & have not been able to fix this issue.