Ah, I hadn't thought of that. Indeed, having to change code would be disastrous
;)
Seriously, though: the change is global, so if you really, really want to avoid
changing the population strategy you'll have to use a workaround. One thing I
can think of (and there probably are other ways as well) is not to use a
stripes:text (or text-field? it's been a while) and handle the population
yourself (a simple EL expression could do the trick).
Op 13 jul. 2010 om 20:44 heeft Aaron Stromas <passog...@gmail.com> het volgende
geschreven:
> Testing is not the worrying bit. What if changing the strategy indeed affects
> something else? It would have to be recoded. Is there no way of avoiding the
> global change, to restricting its scope?
>
> On 13 July 2010 14:36, Levi Hoogenberg <levihoogenb...@gmail.com> wrote:
> Yes, that's correct. Yet another reason to be disciplined when it comes to
> automated testing :)
>
> Op 13 jul. 2010 om 20:23 heeft Aaron Stromas <passog...@gmail.com> het
> volgende geschreven:
>
>> Thanks for the suggestion. I wasn't aware of if before. From what I was able
>> to gather, if I do change the population strategy, it's a global change for
>> the whole application. It might affect something else, if I do so and I'll
>> need to do regression testing, correct?
>>
>> -a
>>
>> On 13 July 2010 14:00, Levi Hoogenberg <levihoogenb...@gmail.com> wrote:
>> You can change the population strategy to bean first; then, nulling out the
>> value will work.
>>
>> On Tue, Jul 13, 2010 at 7:55 PM, Aaron Stromas <passog...@gmail.com> wrote:
>> Greetings,
>>
>> In Stripes once the validation of the value in the text field fails, the
>> value is preserved in the field. Normally it is a good thing, but I need
>> that value cleared out. I tried to set the value of the property to null but
>> it did not help, the value got repopulated with the old value. How can I
>> force the Stripes to "forget" it? TIA,
>>
>> --
>> Aaron Stromas
>> Mobile: +1 703 203 9169
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>
>>
>>
>> --
>> Aaron Stromas
>> Mobile: +1 703 203 9169
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
>
>
> --
> Aaron Stromas
> Mobile: +1 703 203 9169
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users