There are many questions based on the heading I have choosed. But none of them solve my problem.
I am using JSF 1.2 (I have to. No other choice). I have an iframe. Now I cannot use EL Expressions in iframe because I get errors:
<iframe src="#{page.pageClicked}"></iframe>
gives an error
#{...} is not allowed in template text
I understand the reason. IFrames are not part of JSF 1.2 standard. That is why JSF does not parse iframes and gives the error. And this is not just for iframes. Any tag that is not supported, throws this error.
Now my question is that to evaluate the expression on the src
attribute, what are the workarounds I can do?
This is a possible workaround, but cannot be applied on my case: how can I create variable in JSF to use thro' JSP tag