Hi Josh,
Now this is an use case we haven't seen before: dynamic homepage... I
don't know whether this is /directly/ possible.
But to get things clear: are the arrows in your flow examples user
actions, redirects or something else?
Where does the user come into play?
Do you do a redirect in the Start page to itself? I.e. when you come
from Page3 and go to Start, do you do a redirect to the Start page in
the start page constructor?
Martijn
josh lim wrote:
Hi I am new to wicket and have been trying to prototype a simple
application together ...
Here's my problem.
I've basically have 4 WebPage currently. The HomePage is set to
Start.java. This page basically "redirects" or acts as a "branch"
based on some database information.
an example flow would be to:
1) Start -> Page1 -> Page3 -> Start
2) Start -> Page2 -> Start
3) Start -> EndPage
So In the constructor of Start.java, I had used
"redirectToInterceptPage" successfully, but when I return to Start, I
get an error
"Already redirecting to
'/idea/survey?component=4&version=0&interface=IRedirectListener'.
Cannot redirect more than once...." - But the page _does_ load ...
1. Is there a way out of this?
2. should I be doing "redirectToInter..." in the constructor?
3. in Page1 - 3 I use setResponsePage(new nextPage()) - should I reuse
the page rather than instantiate new pages?
any advise?
Thanks
Josh
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user