Apologies for the double post, but I just saw that the
getOverrideValueOrValues method delegates to the PopulationStrategy. So it
would probably be a better choice to configure your own population strategy
that (for hidden tags) checks getValueFromTag before
getValueFromRequest/getValueFromActionBean.

On Thu, Sep 17, 2009 at 11:03 AM, M.C.S. <[email protected]> wrote:

> Hi Levi,
>
> using the regular HTML tag results in losing encrypted fields. I would
> be glad if there was a way to use the <s:hidden> field like a regular
> tag (value over bean field) - to be able to use the encryption support.
>
> Marcus
>
>
> Levi Hoogenberg schrieb:
> > I don't see why a body would be more important than an attribute; do
> > you have an example of a tag for which this is the case?
> >
> > What you could do is use a regular HTML input tag; that way, you can
> > be certain that Stripes won't change its value.
> >
> >    Levi
> >
> > Op 17 sep 2009 om 05:09 heeft Brandon Atkinson <
> [email protected]
> >  > het volgende geschreven:\
> >
> >
> >> Hi all,
> >>
> >> I'm trying to understand the reasoning for the hidden tag's property
> >> binding order.
> >>
> >> I understand why the HSR and ActionBean override the default value
> >> set in the stripes:hidden tag, but shouldn't the body override all
> >> of these?
> >>
> >> To illustrate, assume there is a boolean property called 'confirmed'
> >> that has a false value on the ActionBean.
> >>
> >> Given this code:
> >>
> >> <stripes:hidden name="confirmed">true</stripes:hidden>
> >>
> >> I would expect that confirmed would be set to true in the hidden
> >> field, since I've explicitly set the value in the tag body.  To me,
> >> setting the tag body is the ultimate override.  If I wanted to set a
> >> default value, I'd use this:
> >>
> >> <stripes:hidden name="confirmed" value="true"></stripes:hidden>
> >>
> >> Can anyone explain why tag body doesn't override values in HSR and
> >> ActionBean in this case?
> >>
> >> -Brandon Atkinson
> >> ---
> >> ---
> >> ---
> >> ---------------------------------------------------------------------
> >> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> >> is the only developer event you need to attend this year. Jumpstart
> >> your
> >> developing skills, take BlackBerry mobile applications to market and
> >> stay
> >> ahead of the curve. Join us from November 9&#45;12, 2009. Register
> >> now&#33;
> >> http://p.sf.net/sfu/devconf
> >> _______________________________________________
> >> Stripes-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/stripes-users
> >>
> >
> >
> ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
> > ahead of the curve. Join us from November 9&#45;12, 2009. Register
> now&#33;
> > http://p.sf.net/sfu/devconf
> > _______________________________________________
> > Stripes-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/stripes-users
> >
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to