You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/09/22 21:39:34 UTC
DO NOT REPLY [Bug 18015] -
New custom tag to write forms' properties
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=18015>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=18015
New <html:label> custom tag to write forms' properties
------- Additional Comments From aldo_gg@yahoo.com 2004-09-22 19:39 -------
I think we don't need a <html:label> tag
for write a forms (ActionForm) value i simply used the <c:out> tag from de the
JSTL core tags library (I tested this with JDeveloper 10g Struts + JSTL)
Example for a DynaActionForm :
<c:out value="${revertion_consult.map.year}" />
for a ActionForm (no Dyna)
<c:out value="${revertion_consult.year}" />
You don't need to specify the scope where the bean (ActionForm) is
I supose you can do the same with the <bean:write> tag (i never used it)
However it will be very useful if DynaActionForm implements the
java.util.Map interface because in that way you can use
<c:out value="${revertion_consult.year}" /> for both ActionForm
and DynaActionForm
I don't see any problem to tie the JSP to the form's name.
Sorry for my ugly English
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org