I don't think you are misunderstanding.

There are two possibilities I can think of.
1. the custom population strategy is not detected by Stripes.
2. you don't annotate the right action bean(s).

Both sounds unlikely, I know, but further investigation would require 
detailed debugging and be difficult without the actual source code.

// Iwao

Aaron Stromas wrote on 10/08/13 12:07:
> I have a text field to type in the CAPTCHA text. When the text is
> entered incorrectly, I redisplay the form having cleared out the field
> in the event handler. When configured globally, the field is redisplayed
> empty. I was hoping for the same using this extension. Am I
> misunderstanding something?
>
> -a
>
> On 12 August 2010 22:57, Iwao AVE! <haraw...@gmail.com
> <mailto:haraw...@gmail.com>> wrote:
>
>     I think that's all.
>     Just wondering does the behavior change as you expect if you configure
>     Stripes to use BeanFirstPopulationStrategy globally ?
>
>     // Iwao
>
>     Aaron Stromas wrote on 10/08/13 11:22:
>      > On 12 August 2010 21:43, Iwao AVE! <haraw...@gmail.com
>     <mailto:haraw...@gmail.com>
>      > <mailto:haraw...@gmail.com <mailto:haraw...@gmail.com>>> wrote:
>      >
>      >     Which do you mean by 'does not work' ?
>      >
>      >     a) the custom population strategy does not change the population
>      >     strategy for the action bean.
>      >
>      >
>      > This. I annotated class with
>      > @CustomPopulationStrategy(BeanFirstPopulationStrategy.class)
>      >   yet I observe the default behavior.
>      > Before you ask, I Strategy in the extension package. Is there
>     anything
>      > else that needs to be done? TIA
>      >
>      > -a
>      >
>      >     or
>      >     b) changing population strategy does not do what you want.
>      >
>      >     // Iwao
>      >
>      >     Aaron Stromas wrote on 10/08/13 5:04:
>      > > I only now got round to try it out and it does not seem to work
>      >     for me :-(
>      > >
>      > > -a
>      > >
>      > > On 16 July 2010 12:59, Iwao AVE! <haraw...@gmail.com
>     <mailto:haraw...@gmail.com>
>      > <mailto:haraw...@gmail.com <mailto:haraw...@gmail.com>>
>      > > <mailto:haraw...@gmail.com <mailto:haraw...@gmail.com>
>     <mailto:haraw...@gmail.com <mailto:haraw...@gmail.com>>>> wrote:
>      > >
>      > >     Glad it helps :-)
>      > >     Here's the new wiki entry as suggested:
>      > >
>      > >
>      >
>     
> http://www.stripesframework.org/display/stripes/Overriding+PopulationStrategy+per+ActionBean
>      > >
>      > >     Corrections and/or improvements appreciated.
>      > >
>      > >     // Iwao
>      > >
>      > >     on 10/07/14 22:54 Aaron Stromas said the following:
>      > > > This is great, Iwan! Thank you much. I would like to suggest
>     adding
>      > > > it to the Stripes Wiki
>      > > >
>      > > > -a

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to