Re: LinkSubmit not rendering class attribute
Hi Tony, Yes I am using tapestry-jquery. Switching to 2.1.1-SNAPSHOT has solved my issue. Thank you. Regards, Greg. On 9/07/2011 12:22 PM, Tony Nelson wrote: Are you by chance using tapestry5-jquery? If so, make sure you are using 2.1.1-SNAPSHOT. The behavior you describe exists in 2.1.0. Tony On Jul 8, 2011, at 8:48 PM, Taha Hafeez wrote: Can you share the code and the generated markup On Sat, Jul 9, 2011 at 6:10 AM, Greg Pagendam-Turner wrote: Taha, Strangely I'm not seeing the span despite hitting a breakpoint in the code for linksubmit that creates the span Regards, Greg On 09/07/2011, at 10:07 AM, Taha Hafeez wrote: Hi LinkSubmit is rendered as a span around the element you have specified as linkSubmit. So my guess is that the class attribute will be present in the span around the anchor link. regards Taha On Sat, Jul 9, 2011 at 5:30 AM, Greg Pagendam-Turner wrote: Hi, I have a submit component that uses LinkSubmit. I want to set the class attribute on the generated link. t:context="${value}">${value}<** /a> But when the link is rendered I only get: What happened to the class attribute? The documentation states that LinkSubmit supports informal parameters. I'm using Tapestry 5.2.6 Regards, Greg. --**--**- To unsubscribe, e-mail: users-unsubscribe@tapestry.**apache.org< users-unsubscr...@tapestry.apache.org> For additional commands, e-mail: users-h...@tapestry.apache.org -- regards Tawus tawus.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- regards Tawus tawus.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: LinkSubmit not rendering class attribute
Are you by chance using tapestry5-jquery? If so, make sure you are using 2.1.1-SNAPSHOT. The behavior you describe exists in 2.1.0. Tony On Jul 8, 2011, at 8:48 PM, Taha Hafeez wrote: > Can you share the code and the generated markup > > > > On Sat, Jul 9, 2011 at 6:10 AM, Greg Pagendam-Turner > wrote: > >> Taha, >> >> Strangely I'm not seeing the span despite hitting a breakpoint in the code >> for linksubmit that creates the span >> >> >> Regards, >> >> Greg >> >> >> On 09/07/2011, at 10:07 AM, Taha Hafeez wrote: >> >>> Hi >>> >>> LinkSubmit is rendered as a span around the element you have specified as >>> linkSubmit. So my guess is that the class attribute will be present in >> the >>> span around the anchor link. >>> >>> regards >>> Taha >>> >>> >>> On Sat, Jul 9, 2011 at 5:30 AM, Greg Pagendam-Turner >>> wrote: >>> Hi, I have a submit component that uses LinkSubmit. I want to set the class attribute on the generated link. > t:context="${value}">${value}<** /a> But when the link is rendered I only get: What happened to the class attribute? The documentation states that LinkSubmit supports informal parameters. I'm using Tapestry 5.2.6 Regards, Greg. >> --**--**- To unsubscribe, e-mail: users-unsubscribe@tapestry.**apache.org< >> users-unsubscr...@tapestry.apache.org> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >>> -- >>> regards >>> Tawus >>> tawus.wordpress.com >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > -- > regards > Tawus > tawus.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: LinkSubmit not rendering class attribute
Can you share the code and the generated markup On Sat, Jul 9, 2011 at 6:10 AM, Greg Pagendam-Turner wrote: > Taha, > > Strangely I'm not seeing the span despite hitting a breakpoint in the code > for linksubmit that creates the span > > > Regards, > > Greg > > > On 09/07/2011, at 10:07 AM, Taha Hafeez wrote: > > > Hi > > > > LinkSubmit is rendered as a span around the element you have specified as > > linkSubmit. So my guess is that the class attribute will be present in > the > > span around the anchor link. > > > > regards > > Taha > > > > > > On Sat, Jul 9, 2011 at 5:30 AM, Greg Pagendam-Turner > > wrote: > > > >> Hi, > >> > >> I have a submit component that uses LinkSubmit. > >> > >> I want to set the class attribute on the generated link. > >> > >> t:context="${value}">${value}<** > >> /a> > >> > >> But when the link is rendered I only get: > >> > >> > >> > >> What happened to the class attribute? > >> > >> The documentation states that LinkSubmit supports informal parameters. > >> > >> I'm using Tapestry 5.2.6 > >> > >> > >> Regards, > >> > >> Greg. > >> > >> > >> > --**--**- > >> To unsubscribe, e-mail: users-unsubscribe@tapestry.**apache.org< > users-unsubscr...@tapestry.apache.org> > >> For additional commands, e-mail: users-h...@tapestry.apache.org > >> > >> > > > > > > -- > > regards > > Tawus > > tawus.wordpress.com > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- regards Tawus tawus.wordpress.com
Re: LinkSubmit not rendering class attribute
Taha, Strangely I'm not seeing the span despite hitting a breakpoint in the code for linksubmit that creates the span Regards, Greg On 09/07/2011, at 10:07 AM, Taha Hafeez wrote: > Hi > > LinkSubmit is rendered as a span around the element you have specified as > linkSubmit. So my guess is that the class attribute will be present in the > span around the anchor link. > > regards > Taha > > > On Sat, Jul 9, 2011 at 5:30 AM, Greg Pagendam-Turner > wrote: > >> Hi, >> >> I have a submit component that uses LinkSubmit. >> >> I want to set the class attribute on the generated link. >> >> ${value}<** >> /a> >> >> But when the link is rendered I only get: >> >> >> >> What happened to the class attribute? >> >> The documentation states that LinkSubmit supports informal parameters. >> >> I'm using Tapestry 5.2.6 >> >> >> Regards, >> >> Greg. >> >> >> --**--**- >> To unsubscribe, e-mail: >> users-unsubscribe@tapestry.**apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > -- > regards > Tawus > tawus.wordpress.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: LinkSubmit not rendering class attribute
Hi LinkSubmit is rendered as a span around the element you have specified as linkSubmit. So my guess is that the class attribute will be present in the span around the anchor link. regards Taha On Sat, Jul 9, 2011 at 5:30 AM, Greg Pagendam-Turner wrote: > Hi, > > I have a submit component that uses LinkSubmit. > > I want to set the class attribute on the generated link. > > ${value}<** > /a> > > But when the link is rendered I only get: > > > > What happened to the class attribute? > > The documentation states that LinkSubmit supports informal parameters. > > I'm using Tapestry 5.2.6 > > > Regards, > > Greg. > > > --**--**- > To unsubscribe, e-mail: > users-unsubscribe@tapestry.**apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- regards Tawus tawus.wordpress.com
LinkSubmit not rendering class attribute
Hi, I have a submit component that uses LinkSubmit. I want to set the class attribute on the generated link. ${value} But when the link is rendered I only get: What happened to the class attribute? The documentation states that LinkSubmit supports informal parameters. I'm using Tapestry 5.2.6 Regards, Greg. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org