i wrote a portlet,and insert a form data and then i
want to go to the normal,original screen of the
portlet.

the form is like:
<form action="$jlink">
  ......
  <input type="submit" name="eventSubmit_doInsert()">
</form>

in my action.java,
......
protected void buildNormalContext(VelocityPortlet
portlet, Context context, RunData rundata) {
...
}

protected void doInsert(VelocityPortlet portlet,
Context context, RunData rundata) {
...
}

after the action run doInsert() method,the porlet
doesn't go to buildNormalContext() method,

and i add the sentence:
   setTemplate(data,"buildnorml.vm");
in doInsert() method,but it cant run yet!buildnormal 
is default vm of the portlet and is the default screen
which is loaded in buildNormalContext() method.

what can i do?





__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to