Like the topic says; How do I include ordinary jsp code in tags? (In my case liferay tags, but it could as well be html-tags)
Example:
<liferay-ui:panel id="panel-c4" title="Service Bulletins" collapsible="true"
extended="<% if (noService==false) {
out.print("false");
}
%>">
Test panel
</liferay-ui:panel>
In the example i just want to insert “false” so the expression looks like the following:
<liferay-ui:panel id="panel-c4" title="Service Bulletins" collapsible="true"
extended="false">
Test panel
</liferay-ui:panel>
This gives me a jasperException.. I´m used to PHP where this kind of code-includes are daily meat.
Can someone please point me in the right direction?
Thanks in advance!
noServicemust be set in request e.g.:java: