Surely it would be fine if it has a for paramater? Actually thinking about it how about resolving it in the delegate using explicit association with the labels e.g.
<label> <input type="text" name="firstname" /> First Name </label> That may work, but I had bit of trouble with the new fieldlabel element in tapestry 4, will have a look at it when I get home. On 11/11/05, Ron Piterman <[EMAIL PROTECTED]> wrote: > > Its not about css vs tables but css RTL vs HTML RTL. > if you implement RTL by html you can forget about accessibility. > Also, RTL should be supported by almost all browsers... > By the way, for which language? > > > ציטוט mike jones: > > You may think its a mistake but I suspect that most people who wanted > some > > text to follow a input element would do it. > > A css based form layout is rather tricky and why spend ages getting > right > > css that will works on all browsers when you can do something as simple > as > > putting it it a table? > > > > > > On 11/11/05, Ron Piterman <[EMAIL PROTECTED]> wrote: > > > >>ציטוט Todd Orr: > >> > >>>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. > >> > >>For checkboxes maybe, but RTL should work without changin the html > >>order. Use CSS to defign that. It is in fact a mistake implementing RTL > >>by changeing the html order. > >> > >> > >>>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] > >>>> > >>>> > >>> > >>> > >> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > > > -- > > d-_-b \m/(>_<)\m/ (9ò_ó)-o(@_o) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- d-_-b \m/(>_<)\m/ (9ò_ó)-o(@_o)
