You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Geoff Longman <gl...@gmail.com> on 2005/04/14 18:07:29 UTC

Re: How to implement dynamic table background using ognl expression inside style

use the Any component in the table tag

On 4/14/05, Patrick Yip <yi...@icg.com> wrote:
> Is possible to use ognl expression in the table's style. Here is what I
> have in mind to get my login banner and background dynamically from
> database...but it does not work.
> 
> <div id="login"></div>
> <table border="0" cellpadding="0" cellspacing="0" width="100%"
> height="25" style="ognl:global.topLogoBannerBackgroundSrc">
> <tr>
> 
>   <td width="100%" rowspan="2"><a href="http://www.icg.com" >
>     <img jwcid="@Image" alt="ognl:global.corporateName"
>          image="ognl:global.topLogoBannerImageAsset"
>          src="images/demo_company_logo.gif"/>
>  </td>
> </tr>
> </table>
> 
> How do I get the ognl expression to be evaluated?  Or I should use
> different approach? Any suggestion is greatly appreciated.
> -Patrick
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org