Hi list,
I try to use Regular Expressions in a OneClick Customization to change a
Submenu.
After some tries I found an expression, which should work:
<content>
<attribute>0xfff00018</attribute>
<expression>
value().toString().matches("<RegEX> ")
</expression>
The problem with the .matches expression is that the statement always returns
"false". If I use the expression with .matches(".*") the statement returns a
false also.
Does anybody uses the matches - expression successfully and has a hint for me? J
I also use the .contains expression successfully:
<content>
<attribute>0xfff00018</attribute>
<expression>
value().toString().contains("<SubString> ") ?
<Output if true> : <Output if false>
</expression>
If I change the If-statement to a matches, the clause always returns false and
isn't useable. The version with contains works.
Thanks for hints.
Regards
Christoph
amasol Kundentag
<http://www.amasol.de/index.php?tpl=welcome&cID=0&t1=0&t2=0&t3=0&mn2=&mn1=999&ttl=73&detail=221>
: Am 17. Juni 2010 in Berlin. Jetzt anmelden <http://www.amasol.de/23.event> .
--
Christoph Keßler E-Mail: [email protected]
<mailto:[email protected]>
amasol AG, Elsenheimerstraße 7, 80687 München, Germany
Phone: +49 89 1894743-24 Fax: +49 89 1894743-99
amasol Aktiengesellschaft für Informations- und Kommunikationstechnologie
Aufsichtsrat: Prof. Dr. Stephan Kaiser (Vorsitzender)
Vorstand: Wolfgang Bachmann, Stefan Deml, Thomas Dirsch, Johann Maurer
Amtsgericht München HRB 128327, Sitz der Gesellschaft München
---
To unsubscribe from spectrum, send email to [email protected] with the body:
unsubscribe spectrum [email protected]