tehackio
21 2

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}" />

delete retag edit

## 7 Replies

9393 3 7 16
http://www.oxitec.de/

Have a look on the form effects.

best
Stephan

tehackio
21 2

I've already seen this. Can I do it with component label?

9393 3 7 16
http://www.oxitec.de/

you can use a converter

<label value="@{person.birthdate, converter='de.forst....converter.DateConverter'}"
best
Stephan

tehackio
21 2

Great!!! But It resolved an other problem. Can I do it with component label in forEach? <label value="${each.phone, converter='xxxxx'}" /> answered 2011-07-09 14:12:13 +0800 pmq 27 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" />

matthewgo
375

Hi
Converter is default used in databinder ,
more detail refer here

matthewgo
375

@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

[hide preview]