Author |
Message |
01/11/2013 12:56:03
|
slist
Power User
Joined: 20/03/2013 14:13:15
Messages: 37
Location: Berlin
Offline
|
Hi,
is it possible for the attribute image of a tabbedpanetab to support Java Expression Language? I want to display an error icon when an error occured within that tab.
Thanks + BR
|
|
|
03/11/2013 16:06:05
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi,
this is already possible...
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
11/11/2013 16:15:41
|
slist
Power User
Joined: 20/03/2013 14:13:15
Messages: 37
Location: Berlin
Offline
|
Hi,
for completeness:
I had a rather complex EL Expression (#{not empty d.bean.map ? "/pathA.png" : "/pathB.png"}) in a dynamic content setting. Since I was not getting this to work, I introduced a new "phantom" getter returning the path. This work-around works as expected.
BR
|
|
|
12/11/2013 06:16:05
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi,
please use simple expressions (NOT containing any logic) only.
Background: the PageBean management is built on top of expression replacement:
Example: a PageBean-jsp has an expresison #{d.Address.firstName}. The page beans itself is used within an other page (ROWPAGEBEANDINCLUDE), there referenced as "#{d.Customer.address}".
At runtime the address-expressions are replaced to fit to the object situation: all "#{d.Address." are replaced by "#{d.Customer.address.".
So, some logic at the end of an expression will survive the replacement, but logic before will not be properly "translated"...
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
|