Timeline for Redirecting to a page?
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 20, 2013 at 21:34 | comment | added | Matt Lacey♦ | @Geek I think you're going to need to post the code. Have you checked your browser debugging tools to see if it is changing to the other page? Perhaps it's just not rendering anything? | |
Feb 20, 2013 at 15:40 | comment | added | joshbirk | setRedirect(false) is the solution to "holding" the viewstate, so to speak. However, since it was not getting any redirect and there is no other error being shown, I think the problem has to be somewhere else. Is there more pertinent code you can show? | |
Feb 20, 2013 at 11:45 | comment | added | Geek | @LaceySnr No Change :(....I have same page for both ( in that for 1st page hiding pageblock for table data and for 2nd page hiding outputpanel to hide picklist values and buttons )....want me to post the skeleton of both page and controller? | |
Feb 20, 2013 at 11:06 | comment | added | Matt Lacey♦ |
@Geek out of interest, if you remove the renderAs="pdf" from the <apex:page> tag on the second page does it change anything?
|
|
Feb 20, 2013 at 7:19 | comment | added | Geek | @laceysnr Exactly!!! As per the documentation...I am taking care of that also....i'm not sure of the root-cause...In debug log it seems that query is return the value and its seems to invoke the page after that its stops. | |
Feb 20, 2013 at 5:32 | history | edited | Matt Lacey♦ | CC BY-SA 3.0 |
Corrected bad information
|
Feb 19, 2013 at 5:41 | comment | added | Geek | @metadaddy Appreciate your time for the reply. Your solution will work but i don't want to create an custom object to keep track of that. or is there any other better way to achieve this? I'm looking for something like this salesforce.com/us/developer/docs/pages/Content/… In the example, page is getting changed ( may not be a URL ), user will be able to navigate to next page and retain the values of the varibles. I have done something like this but somehow its not happening. | |
Feb 19, 2013 at 5:20 | comment | added | metadaddy | One possibility is to create a custom object for the parameters, creating a record on the button press from the first page, passing the record id as a query parameter, and loading (and ultimately deleting) the record in the second page. | |
Feb 19, 2013 at 4:48 | history | edited | Matt Lacey♦ | CC BY-SA 3.0 |
added more information on view states.
|
Feb 19, 2013 at 4:45 | comment | added | Geek | Thanks for the reply. That i have done and its working fine. But as of know i have very few parameters to send so it won't bother me much, but i'm trying to figure if i am ever to send list of objects itself as parameter. In that case it won't be feasible. | |
Feb 19, 2013 at 4:31 | history | edited | Matt Lacey♦ | CC BY-SA 3.0 |
added 368 characters in body
|
Feb 19, 2013 at 4:25 | comment | added | Geek | If i do the latter one it'll be like a Client Side Redirect so i would be losing all the values ( in the list). I need to retain those values so that i can populate the data in the 2nd page and render it as pdf. | |
Feb 19, 2013 at 4:22 | history | answered | Matt Lacey♦ | CC BY-SA 3.0 |