-
FEATURED COMPONENTS
First time here? Check out the FAQ!
What is the more simple way to mask the label phone?
<row forEach="${list.all}" context="each">
<label value="${each.name}" />
<label value="${each.phone}" />
</row>
This is not possible. Any suggestions?
<label MASK="999-9999-9999" value="${each.phone}" />
you can use a converter
<label value="@{person.birthdate, converter='de.forst....converter.DateConverter'}"
best
Stephan
Great!!! But It resolved an other problem. Can I do it with component label in forEach? <label value="${each.phone, converter='xxxxx'}" />
Hi.
I have the same question. Why it is not possible to use converter with ${each.x}. Is there any other way how to format listed data? I'm using Spring webflow and data are usually transferred with viewScope.
Like this:
<evaluate expression="daoService.getMyList(pageData)" result="viewScope.service_myList" />
@pmq
I found the feature about messageformat, you can refer to the doc here: http://books.zkoss.org/wiki/ZUML_Reference/EL_Expressions/Core_Methods/l2
Asked: 2011-04-28 14:55:41 +0800
Seen: 1,267 times
Last updated: Jul 13 '11