You need to set the label with the "label" attribute, just like the other
Struts tags.

regards
musachy

On 6/20/07, Roberto Nunnari <[EMAIL PROTECTED]> wrote:

Very nice! Thank you Musachy!

Just one question: The label for the date field is empty..


the JSP:
...
<[EMAIL PROTECTED] prefix="yui" uri="/struts-yui-tags"%>
<yui:head datepicker="true"/>
<yui:datepicker id="toDate" name="toDate" value="%{'2006-10-20'}" />
...

the generated HTML:
...
<tr>
     <td class="tdLabel"></td>
     <td
><input type="hidden" name="toDate" id="toDateInput" value="2006-10-20">
      <input name="dojo.toDate" id="toDateInputVisible"
      >

   <img id="toDateImg" style="vertical-align: middle;"
          src="/iopinion_hibernate00/struts/dateIcon.gif"
    >
<br />
<div id="toDateContainer"
style="display:none"
></div>
...

--
Robi


Musachy Barroso wrote:
> I'd like to announce the alpha release of the YUI plugin.
>
> Home Page & Doc:
> http://cwiki.apache.org/confluence/display/S2PLUGINS/YUI+Plugin
> Downloads: http://code.google.com/p/struts2yuiplugin/downloads/list
> Comments/Complaints/Request/etc :) :
> http://code.google.com/p/struts2yuiplugin/issues/list
>
> There are only two tags on this release "head", and "datepicker".
>
> regards
> musachy



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Reply via email to