<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="+1"><font face="Courier New, Courier, monospace">Hi,<br>
<br>
just found a subtle problem in the generated faces application.<br>
The backing beans carry the property "search" for form field
based dynamic query and the method search() to invoke the
selection.<br>
After adding Seam3 Faces module to the project the application
fails on "Search" because the ELResolver will take the method
search() instead of the property "search" first:<br>
<br>
Caused by: javax.el.PropertyNotFoundException:
/searchTest/search.xhtml @34,90
value="#{searchTestBean.search.name}": Target Unreachable,
'search' returned null<br>
<br>
So I see 2 possibilities for remedy:<br>
1. rename method "search()" to sth. like "doSearch()"<br>
2. rename property "search" to "example"<br>
<br>
I personally like second poss. more, because it matches the
kinda "query-by-example" mechanism and the method name
"search()" is most descriptive.<br>
<br>
Any ideas welcome!<br>
<br>
Thomas<br>
</font></font>
</body>
</html>