public ActionForward execute(
           ActionMapping mapping, ActionForm form,
           HttpServletRequest request, HttpServletResponse response)
   throws IOException, ServletException {

       SimpleForm simpleForm = (SimpleForm) form;
       String forwardName = "success";

        SearchService searchService =  getServiceLocator().getSearchService();
       SimpleView simpleView = searchService.doSearch();
       simpleForm.setSimpleView(simpleView);
       return mapping.findForward(forwardName);
   }
}

the relevant JSP code from /WEB-INF/jsp/main.jsp (commonext.def):
<html:html>
   <head>
       <title><bean:message key="application.title"/></title>
   </head>
   <body>
        <tiles:insert attribute="ext" />
   </body>
</html:html>

and relevant JSP from /WEB-INF/jsp/SingExt.jsp (SingularExt.def):

<c:set var="simple"
         scope="page"
         value="${sessionScope.SimpleForm.simpleView}" />

<ul>
<li>Person Typy: '<c:out value="${pageScope.simple.personenTypCd}" />'
</li>
</ul>

Thanks for your help.

On 10/9/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
Alex Shneyderman ha scritto:
> The SingularExt.do action gets called and I can confirm that my data
> is getting set correctly. But when inside the JSP
> /WEB-INF/jsp/SingExt.jsp I can not see my data.
>

Ok now that I've seen that it seems that there is nothing wrong with
your action mappings, I have another question: how do you set your data
and do you get them?
If you can, post Action's code and JSP code.

Ciao
Antonio

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

Reply via email to