This problem is probably very important for those of us that localize our pages for languages that read from right to left, or checkboxes that sometimes look more aesthetically pleasing when they appear before the label.
On 11/10/05, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > Getting the FieldLabel to work with the various field components > (TextField, etc.) is problematic, and only works if the FieldLabel > precedes the field itself. I'm not certain this can be properly fixed. > > On 11/10/05, mike jones <[EMAIL PROTECTED]> wrote: > > Hi > > I have the following in one of my html files. > > > > <span jwcid="@FieldLabel" field="component:title" /> > > <input jwcid="[EMAIL PROTECTED]" validators="validators:required" > > displayName="Title" value="ognl:post.title" type="text" class="textbox" > /> > > > > <br/> > > <textarea jwcid="[EMAIL PROTECTED]" validators="validators:required" > > displayName="Text" value="ognl:post.text"></textarea> > > <span jwcid="@FieldLabel" field="component:text" displayName="Text" /> > > > > When both fields are not filled in I get the following messages from the > > validation delegate when I loop through the formerrors > > > > - You must enter a value for Title. > > - You must enter a value for Text. > > - You must enter a value for Text. > > > > Infact the same occurs whenever the field label follows the component it > > references. > > > > I searched throught the bug list but I couldnt find anything relating to > it. > > > > Any help would be appreciated > > Cheers > > Mike > > > > -- > > d-_-b \m/(>_<)\m/ (9ò_ó)-o(@_o) > > > > > > > -- > Howard M. Lewis Ship > Independent J2EE / Open-Source Java Consultant > Creator, Jakarta Tapestry > Creator, Jakarta HiveMind > > Professional Tapestry training, mentoring, support > and project work. http://howardlewisship.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
