Hi there! Another fun JSF related question. I want a nested el:
The output is the following:
I want exactly this output evaluated by jsf. It doesn't work when I put the result in #{} one more time. JSF prints out a warning due to wrong syntax. Has anyone else tried to nest el's? thx for help! |
I solved the problem using a ManagedBean. Concatenating the strings in the bean itself and reading it via EL-function call. I took this solution because I needed a value from the dialog-data-class and a value from the cms. This could not be solved in the JSF-Dialog due to the nested EL impossibility. ManagedBean:
JSF:
THX to Raphael Bürgin |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 26.11.2013 at 16:53
Seen: 3,675 times
Last updated: 28.11.2013 at 13:20
Nesting EL expressions is illegal syntax. You should see the #{} as one big space where variables/strings can interact with each other.
THX for the hint!