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 2003/07/14 19:31:02 UTC
DO NOT REPLY [Bug 21409] -
document how to use html:link in html:error text
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=21409>.
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=21409
document how to use html:link in html:error text
hauser@acm.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yannc76@yahoo.de
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From hauser@acm.org 2003-07-14 17:31 -------
we fixed it ourselves by writing a new tag
<my:showErrors name="errors" />
in WEB-INF/tlds, we put "our.tld"
<shortname>mytaglib</shortname>
<tag>
<name>showErrors</name>
<tagclass>com.domain.project.control.taglib.ShowErrorsWithLinksTag</tagclass>
in our build.xml, we use http://sourceforge.net/projects/fmpp
<target name="fmppFtd" depends="setEnv" description="fmppFtd">
<fmpp expert="true"
sourceroot="${basedir}/fmpp"
outputroot="${basedir}/fmpp"
includes="*.ftd"
logfile="${ftl_log_file}"
skipUnchanged="none"
quiet="true"
>
<data expandProperties="true">
lastGenerated: now({pattern:'EEE, MMM d, yyyy HH:mm:ss z'}) +
antProperties(CodeDebug)
</data>
</fmpp>
<move file="${ftl_dir}/ErrorConstants.java"
tofile="${src.util.dir}/ErrorConstants.java" />
<move file="${ftl_dir}/ShowErrorsWithLinksTag.java"
todir="${src.taglib.dir}" />
</target>
to create two java files out of the two files attached next.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org