Re: T4: creating search form and search result on one page

2007-10-19 Thread Andreas Andreou
remove public Collection list; inside search(), just do setList( getService().search(getClient()) ); On 10/19/07, Joshua Jackson [EMAIL PROTECTED] wrote: Here is the html template of search form and search result underneath it: span jwcid=@Layout form jwcid=[EMAIL PROTECTED]

Re: T4: creating search form and search result on one page

2007-10-19 Thread Andreas Andreou
Why dont you debug your getService().search() method and see what arguments it gets and what it returns ? It should help you find where and what the problem is... Joshua Jackson wrote: It stilll doesn't work. Does anyone have a complete sample code for this? thanks in advance, On

Re: T4: creating search form and search result on one page

2007-10-19 Thread Joshua Jackson
It stilll doesn't work. Does anyone have a complete sample code for this? thanks in advance, On 10/19/07, Andreas Andreou [EMAIL PROTECTED] wrote: remove public Collection list; inside search(), just do setList( getService().search(getClient()) ); -- What you want today, may not exist

RE: T4: creating search form and search result on one page

2007-10-18 Thread Jonathan Barker
Post your code. I've never had a problem. -Original Message- From: Joshua Jackson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 10:30 PM To: Tapestry users Subject: Re: T4: creating search form and search result on one page On 10/19/07, andyhot [EMAIL PROTECTED

Re: T4: creating search form and search result on one page

2007-10-18 Thread Joshua Jackson
On 10/19/07, andyhot [EMAIL PROTECTED] wrote: Of course it's possible - I usually have an If component that either shows the table or an @Insert of No results found... What's the real problem you're having? The problem is the search result is not displayed if it is on the same page with the

Re: T4: creating search form and search result on one page

2007-10-18 Thread andyhot
Of course it's possible - I usually have an If component that either shows the table or an @Insert of No results found... What's the real problem you're having? Joshua Jackson wrote: Dear all, Is it possible to create a search form and search result on one page where the search result uses

Re: T4: creating search form and search result on one page

2007-10-18 Thread Joshua Jackson
Here is the html template of search form and search result underneath it: span jwcid=@Layout form jwcid=[EMAIL PROTECTED] table width=100% tr td width=35%span jwcid=@Insert value=message:app.number //td