Re: introducing wicket:for attribute
sweet, i will give that a go in the future. thanks. -igor On Thu, Jul 14, 2011 at 3:05 AM, Erik van Oosten wrote: > Its not @literal that removes the linebreaks. If you combine it with > it works. (No need to add as well.) > > *{@literal > * > * Name: > * > * > * } > * > > Regards, > Erik. > > > Op 13-07-11 17:55, Igor Vaynberg schreef: >> >> sweet, too bad @literal does not preserve linebreaks. what we really >> need is a CDATA like javadoc tag. >> >> -igor >> >> On Wed, Jul 13, 2011 at 4:12 AM, Erik van Oosten >> wrote: >>> >>> Amazing stuff! >>> >>> You can write straight html in javadoc with the {@literal} syntax. E.g.: >>> >>> * >>> * Given markup like this: >>> * >>> *{@literal >>> *>> class="label-text">Name:>> type="text"/> >>> * } >>> * >>> * If the {@code name} component has its label set to 'First Name' the >>> resulting output will be: >>> *{@literal >>> *First >>> Name: >>> * } >>> >>> Regards, >>> Erik. >>> >>> >>> Op 13-07-11 01:50, Igor Vaynberg wrote: based on some feedback i changed the class name of the inner span from "text" to "label-text" to reduce chance of css collisions -igor On Fri, Jul 8, 2011 at 9:22 PM, Igor Vaynberg wrote: > > just implemented the wicket:for attribute. check out the javadoc here: > > > > http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/AutoLabelResolver.java?view=markup&pathrev=1144589 > > 1.4.x only for now, still needs to be forward-ported to trunk. > > feedback? > > -igor >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: introducing wicket:for attribute
Its not @literal that removes the linebreaks. If you combine it with it works. (No need to add as well.) *{@literal * * Name: * * * } * Regards, Erik. Op 13-07-11 17:55, Igor Vaynberg schreef: sweet, too bad @literal does not preserve linebreaks. what we really need is a CDATA like javadoc tag. -igor On Wed, Jul 13, 2011 at 4:12 AM, Erik van Oosten wrote: Amazing stuff! You can write straight html in javadoc with the {@literal} syntax. E.g.: * * Given markup like this: * *{@literal *Name: * } * * If the {@code name} component has its label set to 'First Name' the resulting output will be: *{@literal *First Name: * } Regards, Erik. Op 13-07-11 01:50, Igor Vaynberg wrote: based on some feedback i changed the class name of the inner span from "text" to "label-text" to reduce chance of css collisions -igor On Fri, Jul 8, 2011 at 9:22 PM, Igor Vaynberg wrote: just implemented the wicket:for attribute. check out the javadoc here: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/AutoLabelResolver.java?view=markup&pathrev=1144589 1.4.x only for now, still needs to be forward-ported to trunk. feedback? -igor - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: introducing wicket:for attribute
right, we use and but the escaping of html sux -igor On Wed, Jul 13, 2011 at 12:36 PM, Zilvinas Vilutis wrote: > You can use in javadocs, and still you'd need to escape html > entities ( ">" to ">", & etc ) > > Žilvinas Vilutis > > Mobile: (+1) 623 330 6048 > E-mail: cika...@gmail.com > > > > On Wed, Jul 13, 2011 at 8:55 AM, Igor Vaynberg > wrote: >> sweet, too bad @literal does not preserve linebreaks. what we really >> need is a CDATA like javadoc tag. >> >> -igor >> >> On Wed, Jul 13, 2011 at 4:12 AM, Erik van Oosten >> wrote: >>> Amazing stuff! >>> >>> You can write straight html in javadoc with the {@literal} syntax. E.g.: >>> >>> * >>> * Given markup like this: >>> * >>> *{@literal >>> *>> class="label-text">Name: >>> * } >>> * >>> * If the {@code name} component has its label set to 'First Name' the >>> resulting output will be: >>> *{@literal >>> *First >>> Name: >>> * } >>> >>> Regards, >>> Erik. >>> >>> >>> Op 13-07-11 01:50, Igor Vaynberg wrote: based on some feedback i changed the class name of the inner span from "text" to "label-text" to reduce chance of css collisions -igor On Fri, Jul 8, 2011 at 9:22 PM, Igor Vaynberg wrote: > > just implemented the wicket:for attribute. check out the javadoc here: > > > http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/AutoLabelResolver.java?view=markup&pathrev=1144589 > > 1.4.x only for now, still needs to be forward-ported to trunk. > > feedback? > > -igor >>> >>> -- >>> Erik van Oosten >>> http://www.day-to-day-stuff.blogspot.com/ >>> >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: introducing wicket:for attribute
You can use in javadocs, and still you'd need to escape html entities ( ">" to ">", & etc ) Žilvinas Vilutis Mobile: (+1) 623 330 6048 E-mail: cika...@gmail.com On Wed, Jul 13, 2011 at 8:55 AM, Igor Vaynberg wrote: > sweet, too bad @literal does not preserve linebreaks. what we really > need is a CDATA like javadoc tag. > > -igor > > On Wed, Jul 13, 2011 at 4:12 AM, Erik van Oosten wrote: >> Amazing stuff! >> >> You can write straight html in javadoc with the {@literal} syntax. E.g.: >> >> * >> * Given markup like this: >> * >> *{@literal >> *> class="label-text">Name: >> * } >> * >> * If the {@code name} component has its label set to 'First Name' the >> resulting output will be: >> *{@literal >> *First >> Name: >> * } >> >> Regards, >> Erik. >> >> >> Op 13-07-11 01:50, Igor Vaynberg wrote: >>> >>> based on some feedback i changed the class name of the inner span from >>> "text" to "label-text" to reduce chance of css collisions >>> >>> -igor >>> >>> On Fri, Jul 8, 2011 at 9:22 PM, Igor Vaynberg >>> wrote: just implemented the wicket:for attribute. check out the javadoc here: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/AutoLabelResolver.java?view=markup&pathrev=1144589 1.4.x only for now, still needs to be forward-ported to trunk. feedback? -igor >>> >> >> -- >> Erik van Oosten >> http://www.day-to-day-stuff.blogspot.com/ >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: introducing wicket:for attribute
sweet, too bad @literal does not preserve linebreaks. what we really need is a CDATA like javadoc tag. -igor On Wed, Jul 13, 2011 at 4:12 AM, Erik van Oosten wrote: > Amazing stuff! > > You can write straight html in javadoc with the {@literal} syntax. E.g.: > > * > * Given markup like this: > * > *{@literal > * class="label-text">Name: > * } > * > * If the {@code name} component has its label set to 'First Name' the > resulting output will be: > *{@literal > *First > Name: > * } > > Regards, > Erik. > > > Op 13-07-11 01:50, Igor Vaynberg wrote: >> >> based on some feedback i changed the class name of the inner span from >> "text" to "label-text" to reduce chance of css collisions >> >> -igor >> >> On Fri, Jul 8, 2011 at 9:22 PM, Igor Vaynberg >> wrote: >>> >>> just implemented the wicket:for attribute. check out the javadoc here: >>> >>> >>> http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/AutoLabelResolver.java?view=markup&pathrev=1144589 >>> >>> 1.4.x only for now, still needs to be forward-ported to trunk. >>> >>> feedback? >>> >>> -igor >> > > -- > Erik van Oosten > http://www.day-to-day-stuff.blogspot.com/ > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: introducing wicket:for attribute
Amazing stuff! You can write straight html in javadoc with the {@literal} syntax. E.g.: * * Given markup like this: * *{@literal *Name: * } * * If the {@code name} component has its label set to 'First Name' the resulting output will be: *{@literal *First Name: * } Regards, Erik. Op 13-07-11 01:50, Igor Vaynberg wrote: based on some feedback i changed the class name of the inner span from "text" to "label-text" to reduce chance of css collisions -igor On Fri, Jul 8, 2011 at 9:22 PM, Igor Vaynberg wrote: just implemented the wicket:for attribute. check out the javadoc here: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/AutoLabelResolver.java?view=markup&pathrev=1144589 1.4.x only for now, still needs to be forward-ported to trunk. feedback? -igor -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: introducing wicket:for attribute
based on some feedback i changed the class name of the inner span from "text" to "label-text" to reduce chance of css collisions -igor On Fri, Jul 8, 2011 at 9:22 PM, Igor Vaynberg wrote: > just implemented the wicket:for attribute. check out the javadoc here: > > http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/AutoLabelResolver.java?view=markup&pathrev=1144589 > > 1.4.x only for now, still needs to be forward-ported to trunk. > > feedback? > > -igor > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: introducing wicket:for attribute
Looks very nifty indeed. Thank you for this addition. Btw, minor mistake in the javadoc, at line 43 the term 'a path' is doubled ;-) Am 09.07.2011 07:46, schrieb Steve Swinsburg: This is excellent Igor, our accessibility people will be very thankful! Please leave it in 1.4.x! cheers, Steve On 09/07/2011, at 2:22 PM, Igor Vaynberg wrote: just implemented the wicket:for attribute. check out the javadoc here: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/AutoLabelResolver.java?view=markup&pathrev=1144589 1.4.x only for now, still needs to be forward-ported to trunk. feedback? -igor - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: introducing wicket:for attribute
On Sat, Jul 9, 2011 at 12:25 AM, Igor Vaynberg wrote: > ported to trunk > > -igor > > On Fri, Jul 8, 2011 at 10:42 PM, robert.mcguinness > wrote: >> this is going to cleanup a lot of code. much obliged. please let us know >> when in 1.5.x branch. >> >> -- >> View this message in context: >> http://apache-wicket.1842946.n4.nabble.com/introducing-wicket-for-attribute-tp3655611p3655660.html >> Sent from the Users forum mailing list archive at Nabble.com. >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: introducing wicket:for attribute
ported to trunk -igor On Fri, Jul 8, 2011 at 10:42 PM, robert.mcguinness wrote: > this is going to cleanup a lot of code. much obliged. please let us know > when in 1.5.x branch. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/introducing-wicket-for-attribute-tp3655611p3655660.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: introducing wicket:for attribute
This is excellent Igor, our accessibility people will be very thankful! Please leave it in 1.4.x! cheers, Steve On 09/07/2011, at 2:22 PM, Igor Vaynberg wrote: > just implemented the wicket:for attribute. check out the javadoc here: > > http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/AutoLabelResolver.java?view=markup&pathrev=1144589 > > 1.4.x only for now, still needs to be forward-ported to trunk. > > feedback? > > -igor > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: introducing wicket:for attribute
this is going to cleanup a lot of code. much obliged. please let us know when in 1.5.x branch. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/introducing-wicket-for-attribute-tp3655611p3655660.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: introducing wicket:for attribute
Great! Thanks for doing this! On Fri, Jul 8, 2011 at 11:22 PM, Igor Vaynberg wrote: > just implemented the wicket:for attribute. check out the javadoc here: > > > http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/AutoLabelResolver.java?view=markup&pathrev=1144589 > > 1.4.x only for now, still needs to be forward-ported to trunk. > > feedback? > > -igor > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >