Don't forget the new IMarkupWriter.appendAttribute() function - which
does what the name implies.   (could possibly combine this with a
custom RenderWorker hivemind contribution)

On 8/3/07, Christian Haselbach <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 02, 2007 at 06:32:06PM -0700, kael20 wrote:
> > I have an issue where I need to create the style for a div based on the
> > properties of an object in my database.  This object contains top, left,
> > width, and height which are important to create this particular div.  Is
> > there anyway that I can apply these attributes dynamically to a div using a
> > component or something else?
>
> You mean like this?
>
> <div jwcid="@Any" style="ognl:'width:'+mywidth+';height:'+myhight>
> ...
> </div>
>
> Regards,
> Christian
> --
> Christian Haselbach - [EMAIL PROTECTED] - +49 176 2082 5804
> TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
> Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock
> Amtsgericht München, HRB 135082
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to