Hi,

MySearchResuls can be directly called by:

http://localhost:8080/mysearchresults?type=1&group=2

thus need to find a way to activate those page in another class with query
string approach.


Harald Geritzer-2 wrote:
> 
> 
> you could inject the mysearchresults page:
> 
> @Inject
> private MySearchResults mySearchResults;
> 
> Object onSuccessFromMySearchForm() {
>       mySearchResults.setPropertyXXX('12345');
>       return mySearchResults;
> }
> 
> Angelo Chen schrieb:
>> Hi,
>> 
>> following code redirects to a results page under mysearch:
>> 
>> Object onSuccessFromMySearchForm() {
>>      return "mysearch/results";
>> }
>> 
>> now I need to append a query string after the page name:
>> 
>> return "mysearch/results?12345";
>> 
>> this will trigger an exception:
>> 
>> Unable to resolve 'mysearch/results?12345' to a known page name. 
>> 
>> question: how to append a query string to a page name? Thanks,
>> 
>> Angelo
>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/t5%3A-appending-a-query-string-to-a-page-name--tp23332958p23341668.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to