mount your page using QueryStringUrlCodingStrategy. create a constructor that takes PageParameters instance - this is where the query string will be.
since you know the mount, et "/mysearch" use that to construct the url in the external app. -igor On Thu, Jan 28, 2010 at 5:38 PM, Ashika Umanga Umagiliya <[email protected]> wrote: > Greetings, > > In application I am developing,client want to open the wicket 'SeachPage' > from external page. > > My search page is like: > > public SearchPage extends WebPage{ > private String queryString; > public SearchPage(String queryString){ > this.queryString=queryString; > . > . > } > > } > > and from other Pages I open it as: > > > protected void onSubmit() { SearchResultsPage > p=new SearchResultsPage(""+queryText.getModel().getObject()); > setResponsePage(p); > } > > > How can I pass this 'queryString' from an external app ? How to resolve the > wicket URL pattern > (http://localhost:8080/nihonbare-web/?wicket:interface=:11::::) for > parameter passing ? > > > Thanks in advance > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
