Categories
Code

Odd JSTL error & solution

So I’m coding a Liferay portlet that will display one of two forms on it, depending on the type of customer that is viewing the page. In order to implement this, I decided to that the JSTL ‘choose’ tag would be perfect for what I need. <c:choose> <c:when test='<%= displayForm.equals(“Form1”) %>’> …code for form 1… […]