[
http://www.stripesframework.org/jira/browse/STS-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11183#action_11183
]
John Newman commented on STS-306:
---------------------------------
this is freemarker, but i know you can translate it to jsp with no differences
besides slightly more verbose syntax
[#list actionBean.formA.formBList as formB]
[#list formB.formCList as formC]
[#assign propExp = "formA.formBList[formB_index].formCList[formC_index]"
/]
[EMAIL PROTECTED] name="${propExp}.attr1" /]
[EMAIL PROTECTED] name="${propExp}.attr2" /]
[EMAIL PROTECTED] name="${propExp}.attr3 /]
[/#list]
[/#list]
So I would agree with Tim - there really is no need for extra tags when a for
each construct does fine and is already there.
> Need an equivalent of the Struts Nested taglib
> ----------------------------------------------
>
> Key: STS-306
> URL: http://www.stripesframework.org/jira/browse/STS-306
> Project: Stripes
> Issue Type: New Feature
> Reporter: Frank Das
> Assignee: Tim Fennell
>
> IMO, a major flaw in JSTL is how unnecessarily complicated nested forms are
> to deal with. Given it isn't going to happen in JSTL in a hurry or maybe
> ever, an equivalent of the Struts nested taglib would go well in Stripes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development