On 3/1/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
> If the thing stored under attribute "states" in application scope is, in
> fact, a List of beans, you won't need the "property" attribute at all.
> Specifying a "name" but not a "property" tells the tag to use the attribute
> value itself.
On 3/1/06, Chris Cheshire <[EMAIL PROTECTED]> wrote:
>
> You lost me with that page too. The use of the word widget threw me
> completely because I am used to seeing it reference to a concrete
> component :)
>
> I understand how to write the struts tag. Let's step back a bit. I'll
> see if I can ex
I see. What if you wrap your list into another bean, say StateHolder.
Then you stick StateHolder in the application context under name
"stateHolder". Then you use something like this:
On 3/1/06, Chris Cheshire <[EMAIL PROTECTED]> wrote:
> You lost me with that page too. The use of the word widge
You lost me with that page too. The use of the word widget threw me
completely because I am used to seeing it reference to a concrete
component :)
I understand how to write the struts tag. Let's step back a bit. I'll
see if I can explain this better.
My question is how do I reference the collecti
On 3/1/06, Chris Cheshire <[EMAIL PROTECTED]> wrote:
> Michael,
>
> Thanks for the reference, but it doesn't explain very much.
>
> Yes the widget looks like what I want, but is it something I download?
You lost me.
> Is it something that exists in the struts tag libraries? Does the
> states coll
Michael,
Thanks for the reference, but it doesn't explain very much.
Yes the widget looks like what I want, but is it something I download?
Is it something that exists in the struts tag libraries? Does the
states collection exist there? What happens if I wanted to do states
for Australia for inst
On 3/1/06, Chris Cheshire <[EMAIL PROTECTED]> wrote:
> I am building a select list to select a state for an address and since
> it will be used in a few forms throughout the application I want to
> make this as centralised as possible.
>
> I have built a bean with getValue(), getLabel() attributes
I am building a select list to select a state for an address and since
it will be used in a few forms throughout the application I want to
make this as centralised as possible.
I have built a bean with getValue(), getLabel() attributes and created
a collection of them and placed as an attribute in
8 matches
Mail list logo