DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23025>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23025 setTemplate method doesn't work with JSP's (JspPortletAction or GenericMVCAction) [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Blocker |Normal Target Milestone|1.4b2 |1.4b5 ------- Additional Comments From [EMAIL PROTECTED] 2003-09-09 18:09 ------- As Scott Weaver told me: I see your problem, you have defined your action within the form, this is causing turbine to execute your action before the portlet can. This is why there is no context available, the GenericMVCPortlet creates it before invoking the action nut it never makes it there because Turbine is calling the action. Remove the action field and make sure you have your action defined at the registry level. Try this (I have removed the action field and changed your form action) <form name="form" action="<js:portletlink template="" />" method="get"> <input type="hidden" name="js_peid" value="<%=jspeid%>"/> <input type="submit" name="eventSubmit_doSearch" value="Search"> <input type="reset" value="Clear Fields"> <input type="text" name="thingieid" size="20"> </form> ------------- In fact, my mistake came from the tutorial, so maybe this bug should be assigned to the documentation component;) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
