|
Hi, First of all, just for the record, AndroMDA
does not magically generate applications. For customizations you’ll sometimes
need to go into the templates, or the generated code. Secondly, I am assuming you mean
bpm4struts, not bpm2struts J (1) You can remove the line of code in the generated
JSP that prints the ‘badly formatted text’ ..
alternatively you can mark the collection to be
displayed in a table (that way you’ll get something like this: http://team.andromda.org:8080/OnlineStore/PurchaseItems/EnterNameAndPasswordProceed.do
(table at the bottom of the page) But if you want a configurable view you
need to update the JSP or the templates (2) if you want radiobuttons you need to do this keep the incoming collection, but remove the line that prints it on the
page
what is a number field in the form ? hth -- Wouter -----Original Message----- Hi, I'm just preparing the AndroMDA workshop for my company. I'd
like to implement the following usecase: (1) Send some Collection of JavaBeans to the JSP (display
them in the configurable manner). (2) Allow the user to choose one of them (ideally using
radiobuttons). I've gone through it but: (1) I can only display badly formatted Text as a result
of the toString() method of the JavaBean encapsulating the collection. I would
like to have a nice configurable view. How to do achieve it? (2) I can only use the number field in the form instead of
using radiobutton. Could you provide me with the info wheather what I'd like to
achieve is already possible with the standard and how? If not, please give me a hint what should be changed in the
cartrigde to allow such a flexibility. Best Regards, |
- [Andromda-user] Flexibility of bpm2struts Andrzej Dmoch
- Re: [Andromda-user] Flexibility of bpm2struts Wouter Zoons
- Re: [Andromda-user] Flexibility of bpm2struts Andrzej Dmoch
- RE: [Andromda-user] Flexibility of bpm2struts Wouter Zoons
