Use actions and/or action events.1) I suppose that I will have to use a form on each page to submit the responses from the user. What is the action URL of the form on each page? If I wasn't using jetspeed I probably would just have one boss servlet sit there and process the incoming requests and fire back a jsp with each question with the action of the URL pointing to that boss servlet. Do I treat the portlet java file as the same thing as my servlet?
http://jakarta.apache.org/turbine/turbine-2/howto/action-event-howto.html
Thank you for your suggestion. I did read up on this and made some progress, though I still am having an issue. I have made a class that should handle this action. In it I have a method called doNext. Then in my HTML I reference the doNext using the proper syntax
<input type="submit" name="eventSubmit_doNext" value="Next >>">
Now I press the button and the doNext method is never called in my class. I know that I need to have a <form action="?"> </form> that surrounds my form elements. What is the action of the form so that it calls my class correctly? Thanks!!!
You can't. The entire pane is refreshed as it is on single html page. You could use2) Once the information is submitted, how do I guarantee that only the portlet's small screen area will get repainted in the context of the rest of the portal?
an IFRAME, but IMOHO, that is not a very elegant solution.
3) How can I store information in the session from within a portlet?
RunData.getUser().setTemp("key", value)
Or you can use the servlet session directly
RunData.getSession()
Or Persist it in the in the PortletInstance
Portlet.setAttribute();
AFAIK, no there is not.4) Is there some kind of standard next/previous button mechanism that ships with Jetspeed that I could plug into my wizard?
hth,
Scott
_________________________________________________________________
Get a speedy connection with MSN Broadband.� Join now! http://resourcecenter.msn.com/access/plans/freeactivation.asp
--
To unsubscribe, e-mail: <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>
