[
https://issues.apache.org/struts/browse/STR-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42357
]
Ralf Hauser commented on STR-1305:
----------------------------------
a work-around already available with current tags (in particular if the
"required" validator fails and thus the field is empty) is to use a 50%
transparent backgound image.
This way, even if you have a input-"cell"-background color as "focus" style,
you still can see if an empty fields is in error
see also: http://www.niallp.pwp.blueyonder.co.uk/strutshighlight.html and
http://mail-archives.apache.org/mod_mbox/struts-dev/200306.mbox/[EMAIL
PROTECTED]
Furthermore, in presence of errors, the focus better is with an erroneous
fields ==> see STR-3104
> Add <html:label> tag to output HTML label
> -----------------------------------------
>
> Key: STR-1305
> URL: https://issues.apache.org/struts/browse/STR-1305
> Project: Struts 1
> Issue Type: New Feature
> Components: Taglibs
> Environment: Operating System: All
> Platform: All
> Reporter: Leonardo Quijano
> Assignee: Paul Benedict
> Fix For: 1.4.0
>
>
> It would be useful to have a tag that just writes a form's value.
> We already have one:
> <html:hidden property="foo" write="true" />
> The problem is that it generates a HTML INPUT in addittion to the text. That
> INPUT could interfere with the form's submission, and it adds bloat to the
> page.It would be nice to have a custom tag just to generate the form's text.
> I know i could also expose the form as a bean (I guess it would be
> <bean:struts
> ... />). But that could tie the JSP to the form's name, and that's not a good
> think.
> Maybe the tag could be something like:
> <html:label property="foo" />
> And it would get property "foo" from the form and write it like a bean:write.
> It
> could be even:
> <html:label property="foo.x.y.z" />
> Leonardo
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.