Thanks for your reply,

it was very helpfull!

Paul


Ingram Chen (09/13/2005 16:58):
>On 13 Sep 2005 16:20:00 +0200, Voors Paul <[EMAIL PROTECTED]> wrote:
>> 
>> Let me give an example:
>> A user can add search values in a textbox Much like google.
>> Depending on the results of the search with the user values. I wat to show 
>> different pages (pagetype 1).
>> If there are no results, the user will get an 'advanced search' page with 
>> more explicit search options.
>> If the results is specific topic. The user will get specific page designed 
>> for this topic (pagetype 2).
>> Finally there is a default page, which show the search results (pagetype 
>> 3).
>> 
>> Hopefully this is more clear for you.
>> 
>> Paul
>> 
>> -------------------------------------------------------
>> SF.Net email is Sponsored by the Better Software Conference & EXPO
>> September 19-22, 2005 * San Francisco, CA * Development Lifecycle 
>> Practices
>> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
>> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>> 
>
>new Form("search") {
>protected void onSubmit() {
>Result reslult = searcher.search(...) ;
>if( result == null ) {
>setResponsePage( AdvanceSearchPage.class) ;
>} else if (result.getType() == Result.SPECIFIC ){
>setResponsePage( pageSelector.getPageByTopic( result )) ;
>} else {
>setResponsePage( DefaultPage.class) ;
>}
>}
>}
>
>maybe you can incorporate all conditions into pageSelector.getPage(result) ;
>
>
>-- 
>Ingram Chen
>Java [EMAIL PROTECTED]
>Institue of BioMedical Sciences Academia Sinica Taiwan
>blog: http://www.javaworld.com.tw/roller/page/ingramchen
>

Met vriendelijke groet,

Paul Voors

function: Java Web Developer
department: Webdevelopment
Company:
ATP - The Advanced Travel Partner
Beechavenue 101 | 1119 RB Schiphol-Rijk | The Netherlands
P.O. Box 75672 | 1118 ZS  Schiphol-Rijk | The Netherlands
T +31 20 2011363 | F +31 20 2011362
e-mail: [EMAIL PROTECTED]
www: www.atp.nl



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to