Cool thanks...should we have a constraint for this?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wouter
Zoons
Sent: Wednesday, December 15, 2004 10:11 AM
To: [EMAIL PROTECTED]
Subject: [Andromda-devel] Re: Bpm4struts + select type for fields

Hi Chad,

In order to properly make use of "select" you should always preload the
list data in the controller, the way to do this is to defer to a
controller operation right before you enter the page containing the
"select", the operation MUST have a parameter with the exact same name and
type as the one you have flagged as "select".

Doing this will generate accessors for the selected value and
corresponding backing list in the operation form interface as well as the
actual action form

-- Wouter

________________________________________
From: Chad Brandon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 15, 2004 4:10 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Bpm4struts + select type for fields

Hey Wouter,

I'm trying to define a parameter of type "select" for a field (it's a non
collection type parameter), so I specify the tagged value
@andromda.struts.view.field.type with a type of "select" but the code that
is generated is uncompilable, it basically says my action form doesn't
implement the backing list for this field.  Is there something else I need
to set?

Thanks,

Chad




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to