Hi,
I really like to create my own form tags using (JSP 2.0) custom tag
files. This gives me the possibility to create reusable form components
(w/ labels, special layout or e.g. date widgets, password and repeat
password, special select boxes or even AJAX-autocompletions etc.)
For example:
WEB-INF/tags/text.tag
=====================
<%@ include file="/taglibs.jsp" %>
<%@ attribute name="property" required="true"%>
<label for="${property}"><fmt:message key="${property}"
/>:</label><stripes:text name="${property}" /><br />
and in your JSP:
<%@ taglib tagdir="/WEB-INF/tags" prefix="tags"%>
<tags:text property="foo.name" />
Unfortunately, the Stripes tags are not usable in this context: The
taglib validator (TagLibraryValidator) and the runtime check
(InputTagSupport.getParentFormTag()) fail (because the retrieval of the
tags' parent is not working correctly w/ tag files, AFAICS).
This is almost a show-stopper for stripes (in my case) and I think we
urgently need a solution for this problem.
Sebstian
--
Sebastian Beigel // Software Architekt
(F) Die Firma GmbH // Innovative Kommunikation
Schwalbacher Straße 74 // D-65183 Wiesbaden
T +49.6 11.2 38 50.24 // F +49.6 11.2 38 50.11
mailto:hidden //
http://www.diefirma.de
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Stripes-users mailing list
hidden
https://lists.sourceforge.net/lists/listinfo/stripes-users