-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a situation where i am getting String in ZUl page and in same zul page i will want to check if this String contains some Sub String Display that otherwise do not display it how can i achieve it?
Eg. We can do like this
<zk if="${each eq 'Paid'}">
<headerpanel status="Paid"></headerpanel>
</zk>
<zk if="${each != '' || 'Paid' || 'Cancelled'}">
<label value="${each}"></label>
</zk>
Now how can i check the Contains with this each?
Hello sjoshi,
You could implement your functionality using taglibs.
Please refer to the following url for more information:
http://books.zkoss.org/wiki/ZUMLReference/ZUML/ProcessingInstructions/taglib
Best Regards,
Darksu