This content has been marked as final.
Show 4 replies
-
1. Re: How not to interpolate EL in XHTML
sjmenden Aug 22, 2008 5:42 AM (in response to terryb)Put a backslash before the el like so \#{addTag('tag name')}
-
2. Re: How not to interpolate EL in XHTML
terryb Aug 22, 2008 6:02 AM (in response to terryb)it stops it being interplated but then it shows slash too. anyway way not to show \?
I wanted el in input box allowing user to easily copy the expression. -
3. Re: How not to interpolate EL in XHTML
sjmenden Aug 22, 2008 2:17 PM (in response to terryb)Can you post code, it works as expected for me: <input value="\#{notInterpreted}" /> displays #{notInterpreted} on the page.
-
4. Re: How not to interpolate EL in XHTML
terryb Aug 22, 2008 4:22 PM (in response to terryb)Samuel thanks it works now. I had <h:inputText value="\#{notInterpreted}" /> instead of <input.../>.