Re: Parameters to Actions
> Hello, i'm using this dynamic link to pass a parameters to an action: > > http://localhost:8081/deleteEvent.do?action=confirmDelete > String action = (String) request.getAttribute("action"); > Use getParameter instead of getAttribute! HTH, Heiko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Nesting
Hi Andrew, works now! Thanks > Try using the method I suggested in this message: > http://marc.theaimsgroup.com/?l=struts-user&m=104575299502257&w=2 > -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Nesting
Hi Sundar, I tried it both ways, but I _always_ get a Jsp compile error, saying that _jspx_xxx_1 is already defined, where xxx stands for the id-attribute (e.g. "element") of the inner ! > I've had luck with patterns similar to what others have suggested, but > if you have plain lists or vectors inside lists or vectors.. a better > route to go is to try > > > > > I don't happen to have my examples handy (I'm still at home :), but > hope you get the idea. > > As another person suggested if you have the inner "element" defined as > a bean property on the object bound to "row".. then you can use > name/property as well. > > The scoping gotchas of struts are plenty -- this is one of them that I > stumble across often :) > > -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Nesting
I tried it that way but I still get the same error ... > I have used the following: > > > > > > > and it works find. > You have to give in each case the property that will get the collection on > which the iteration will occur. > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Nesting
Hi all, is it possible to nest iterate-tags with Struts 1.1? I have an ArrayList rows which contains ArrayLists. I tried this in a JSP: But I always get an error, saying _jspx_field_1 is already defined in the JSP. Is there something wrong with my code or isn't this possible? TIA Heiko -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]