Re: Get pixel size from left: attribute via getter

2008-01-29 Thread Martin Marinschek
IntelliJ doesn't realize this is allowed syntax - just ignore the error message of IntelliJ in this case! It should work anyways. regards, Martin On Jan 23, 2008 9:19 AM, Wolfgang [EMAIL PROTECTED] wrote: Hi Andrew, if I try to access my int variable from the backing bean, which has

Re: Get pixel size from left: attribute via getter

2008-01-23 Thread Wolfgang
Hi Andrew, if I try to access my int variable from the backing bean, which has getter/setter, in the way as youe have described but then my editor (IntelliJ) says: invalid css property style; a term excepted; Cheers Andrew Robinson schrieb: Why not? It should. Have you set a breakpoint in

Get pixel size from left: attribute via getter

2008-01-22 Thread Wolfgang
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

Re: Get pixel size from left: attribute via getter

2008-01-22 Thread Andrew Robinson
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] wrote: Hi, I have a h:panelGroup with style attributes and I want to get the pixel size for the left: attribute via getter

Re: Get pixel size from left: attribute via getter

2008-01-22 Thread Wolfgang
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]

Re: Get pixel size from left: attribute via getter

2008-01-22 Thread Andrew Robinson
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