Just FYI, in case you need to know whether your client supports JavaScript, can be determined with:
((WebClientInfo)getSession().getClientInfo()).getProperties().isJavaEnabled() which works (best) when you do: getRequestCycleSettings().setGatherExtendedBrowserInfo(true); in your application's init method. Eelco On 1/30/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > you say you want it to work even if javascript is disabled, but then you > cannot submit the form using a link! so you have to user a button to submit > it, and that is easy then, just look at the sourcecode from AjaxFallbackLink > and add the ajax behavior to a button instead of a link. > > -igor > > > > On 1/30/07, Flavia Paganelli <[EMAIL PROTECTED]> wrote: > > Hi! > > > > I'm working on a page that provides ajax behavior but also supports > > simple request-response without javascript. > > I realized I need a component that provides the behavior of both > > AjaxFallbackLink and AjaxSubmitLink at the same time. On one hand I need > > it to be a submit link, because on click it has to access the data > > entered by the user. And on the other hand I also would like that my > > form worked even when javascript is not enabled. > > > > Both requirements don't seem so odd, so I wonder if someone already had > > the same problem and found a solution for it. I've been looking at the > > classes to try to implement a new component with this characteristics, > > but I got lost. > > > > Maybe there is an alternative solution that I'm not seeing... > > > > Any help will be very much appreciated. > > > > saludos, > > > > Flavia > > > > -- > > Flavia Paganelli > > Func. Internet Integration > > W http://www.func.nl > > T +31 20 4230000 > > F +31 20 4223500 > > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys - and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
