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=22215>. 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=22215 New custom tag to print LabelValueBean label Summary: New custom tag to print LabelValueBean label Product: Struts Version: Unknown Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In some cases I need to show a form bean on a JSP without any <html:form ..> and <html:select ..> + <html:optionsCollection ..> batch (for example transaction approving, data printing in reports, etc), for that purposes I can use code like the following: <c:forEach var="it" items="{applicaitonScope.countryArr}"> <c:if test="${it.value==addr.countryId}"><c:out value='${it.label}' /></c:if> </c:forEach> But it is clearer to use a custom tag for this purpose: <websms:lvref bean="addr" property="countryId" items="countryArr" itemsScope="application" /> I think that a custom tag with described functionality should be a part of Struts release. In addition, I think that implementing this enchancement request and 10552 introduce some kind of new Struts entities, I call them "form constants". I have an implemetation of that custom tag (lvref -- LabelValueReferenceTag), if someone decide that he need it, I am ready to share it, with examples and docs. PS And sorry for English :) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]