________________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dr. Stefan
Reisner
Sent: Tuesday, March 08, 2005 1:59 PM
To: [EMAIL PROTECTED]; [email protected]
Subject: [Norton AntiSpam] AW: [Andromda-user] bpm4struts: form bean not
instantiated?

Hi Wouter,
�
I am using 3.0M3. By the way, I tried 3.0-RC1 a few days ago. However, I
couldn't find�some of the bpm4struts stereotypes in the andromda profile, so
I went back to 3.0M3. I would like to explore the areas of bpm4struts,
hibernate and web services. What version do you recommend?
�
[CB] Definitly go to 3.0-RC1-SNAPSHOT (the nightly build).  Also the reason
the stereotypes are gone is because they are no longer required (we now
allow property based metafacade mapping...meaning we can map metafacades to
the underlying meta model based on certain conditions in the model,
therefore stereotypes aren't always required).

But meanwhile I found the cause of my problem: apparently the villain was
the capital letter in my signal parameter name "Input1". I feel that this is
a bug, but it is easy to work around it, since bpm4struts�creates nice upper
case form labels even if the parameter names are lower case.
�
And I cannot explain why it *looked* to me like the form reference was null.
At least currently it is not null (and I hope it never was, because that
would mean that struts was broken).
�
Best regards,
Stefan
-----Urspr�ngliche Nachricht-----
Von: Wouter Zoons [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 7. M�rz 2005 21:50
An: 'Dr. Stefan Reisner'; [email protected]
Betreff: RE: [Andromda-user] bpm4struts: form bean not instantiated?
Hi Stefan,

Which AndroMDA version are you using ? Did you switch off model validation ?
AndroMDA typically stops and complains after code generation instead of
generating a faulty application �
Did you manually edit the jsp page ?

I would expect the form *never* to be null

-- Wouter

________________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dr. Stefan
Reisner
Sent: Monday, March 07, 2005 1:06 PM
To: [email protected]
Subject: [Andromda-user] bpm4struts: form bean not instantiated?

I have created a very simple use case consisting of just the following flow:

Start --> "prompt" --> <<FrontEndView>> "enter" --> "process inputs" --> End

I have not added any code manually; the <<FrontEndController>> class has no
operations. 
This works fine as long as I don't add parameters to the transition from
"enter" to "process inputs". 
When I add a parameter Input1 : datatype::String, I get the following error
when running the web application: 
javax.servlet.ServletException: ServletException in
'/mda/testproject/enter-ok.jsp': No getter method for property Input1 of
bean form
The execute method of the use case action is passed a null reference for
parameter form and it just sets the "form" session attribute to that null
reference. It seems to me that before the use case forwards to the JSP for
the first time, it should instantiate the form class.
Where did I go wrong? 
Best regards, 
Stefan 




-------------------------------------------------------
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://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to