On 04-09-2008 at 13:45, Stripes-payal wrote:
> 
> i have a page in which --when the page comes for the first time i need to
> show result based on current date(todays date) ,So what method or annotation
> should be used for this??Also next time when user enter some date in the
> date field which is there on jsp page result should come according to that
> date.
> So How can be this done using stripes???

Personally, I use a @DefaultHandler for that. THe main reason is that it
allows the most easy (IMHO) use of showing results based on any input.

Usually, this means input from a user. But I can also use sensible default
values to search with (like today's date, or the previous full month, etc).


Oscar

-- 
   ,-_   Blessed is the man, who having nothing to say, abstains from
  /() )  giving wordy evidence of the fact.
 (__ (    -- George Eliot (1819-1880)
=/  ()

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to