Perfect. Thanks. For some reason I was under the impression that any ognl expression would be evaluated.
On 3/7/06, Prince John, Bedag <[EMAIL PROTECTED]> wrote: > > You need to declare the div as a Tapestry element: > > <div class="ognl:homeLinkClass" jwcid="@Any" element="div">... > > Otherwise Tapestry will ignore it. It looks for jwcid attributes, not > ognl: or anything else. > > Best wishes > > John > > -----Original Message----- > From: Steven Bell [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 07, 2006 6:31 PM > To: Tapestry users > Subject: OGNL and class Question > > I'm experimenting with doing css layouts with Tapestry and I have the > following line in one of my html templates. > > <div class="ognl:homeLinkClass"><a jwcid="home">Home</a></div> > > The reason for the outer div is for consistent size of background color > among several links. > > My problem is the ognl expression is not evaluated and the class in the > displayed page is "ognl:homeLinkClass" > > Am I doing something wrong here? > > -- > Regards, > > Steven Bell > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Regards, Steven Bell
