Ooooh that's an unfortunate problem! We can certainly change this, though. I personally like the idea of "doSearch()" because it is more descriptive than "example". WDYT?<br><br>~Lincoln<br><br><div class="gmail_quote">
On Sun, Sep 9, 2012 at 5:39 AM, Thomas Frühbeck <span dir="ltr"><<a href="mailto:fruehbeck@aon.at" target="_blank">fruehbeck@aon.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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="#{<a href="http://searchTestBean.search.name" target="_blank">searchTestBean.search.name</a>}": 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!<span class="HOEnZb"><font color="#888888"><br>
<br>
Thomas<br>
</font></span></font></font>
</div>
<br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>"Simpler is better."<br>