The client side only knows what the server side tells it. You must pass
this down to the client in some way. Modern thinking is to write data-
attributes into the element.

On Monday, December 17, 2012, nhhockeyplayer nashua wrote:

>
> Hi Folks,
>
> I have this component... TransparentTextImage
>
> BlahBlah.tml
> <img t:type="transparentTextImage" t:id="transparentTextImageComponentId"
> id="transparentTextImageComponentId"
>     src="${photoLink}" alt="${currentObject}" width="200" height="160"
>     title="${currentObject.photo.fileName}"
>     model="currentObject"
>     image="${photoLink}"
>          topLeftText="${currentObject}.transparentText"
>          topRightText="topRightText"
>          bottomLeftText="bottomLeftText"
>          bottomRightText="bottomRightText"
>          centerText="centerText"
> />
>
> I am attempting to operate some integrated JAVASCRIPT and inside the
> javascript I want to setup local var for these...
>          topLeftText
>          topRightText
>          bottomLeftText
>          bottomRightText
>          centerText
>
> Does anyone know how to get these from within the javascript?
>
> Thanks
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

Reply via email to