Why not? It should. Have you set a breakpoint in the backing bean getter, or
used a system.out to ensure that your value is correct? What do you see in
the generated HTML?
-Andrew
On Jan 22, 2008 9:15 AM, Wolfgang <[EMAIL PROTECTED]> wrote:
> Hi,
>
> yes this is exactly what I want to achieve...but it is not working..
>
>
> Andrew Robinson schrieb:
> > Is this what you want to do?
> >
> > <h:panelGroup style="float:right; position:relative; top:2px;
> > left:#{bean.left}px";>
> >
> >
> >
> > On Jan 22, 2008 5:05 AM, Wolfgang < [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> > Hi,
> >
> > I have a h:panelGroup with style attributes and I want
> > to get the pixel size for the left: attribute via getter from the
> > Bean. But since the left: attribute uses a colon instead of a
> > ="..." like a
> > simple value attrbiute the ="#{bean.getter} does not work. I tried
> > various combinations but no success..
> >
> > <h:panelGroup style="float:right; position:relative; top:2px;
> > left:5px";>
> >
> >
> > Anny suggestions?
> > Cheers,
> > Wolfgang
> >
> >
>
>