[Andromda-user] [Bpm4Struts cartridge] [NoClassDefFoundError on generated code] NoClassDefFoundError on generated code

2005-07-12 Thread thorman
Hello, I get a NoClassDefFoundError on the generated code when I try to use a normal listbox. I have added an incoming/outgoing Collection to a page and added the following dummycode: Collection labelList = new Vector(); Collection valueList = new Vector()

[Andromda-user] [Bpm4Struts cartridge] [Create login session object at login]

2005-06-30 Thread thorman
Hello, In a project I worked in before all actions inherited from an Action of our own where we could add functionality like this, could this be done here ? Add an action which is only created once and where you can add code like this. All generated actions call the base execute before conti

[Andromda-user] [Bpm4Struts cartridge] [Howto: multiple events on same fields ?] Works fine :-)

2005-06-27 Thread thorman
Thanks for your help, now it works :D I sure hadn't figured that out without your help. // Mikael _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1857#1857 Posting to http://forum.andromda.org/ is preferred ove

[Andromda-user] [Bpm4Struts cartridge] [Howto: multiple events on same fields ?] How do you do with the Controller

2005-06-25 Thread thorman
Hello & thanks for the answer. To bad it didn't work to have multiple flows from one page, while this is very common :-( How do you do with the controller class, it will give you the original form even if you change the jsp or ? And the struts config must be changed as well or, while this

[Andromda-user] [Newbie corner] [Howto: multiple events on same fields ?] Howto: multiple events on same fields ?

2005-06-24 Thread thorman
Hello, I have one page where I have several "buttons" and more than one use all or some of the fields that are displayed by the page. ex. save-button which stores all entered data. Add location button which stores the entered data in a session object while displaying an add location list

[Andromda-user] [Bpm4Struts cartridge] [Create login session object at login] Create login session object at login

2005-06-17 Thread thorman
Hello, Is there any nice way to populate a session object at login using the built in security functionality. The login validation works nice, but I do not have any controller or anything where I can populate a LoginSession object (a FrontEndSessionObject). // Mikael ___

[Andromda-user] [Hibernate cartridge] [Datetime doesn't work] Datetime doesn''t work

2005-05-27 Thread thorman
It doesn't seem as though it is possible to use Datetime, what do you suggest one should use when you are interested in both the date and time ? I get the following error: E:Devprojectstask_trackerwebtargetsrccommimantask_trackermodelcrudTaskChunkForm.java:85: incompatible types found : j

[Andromda-user] [Hibernate cartridge] [OCL problem] Thanks :-)

2005-05-27 Thread thorman
Thank you for the fast reply, now it works much better :-) So there isn't any way to check if a reference or value is null ? Is the suggestion to use andromda.hibernate.query tag instead and write your own HQL here ? Do i need to set the Stereotype to Finder or SelectMethod in this case or ?

[Andromda-user] [Hibernate cartridge] [OCL problem] OCL problem

2005-05-27 Thread thorman
Hello I copied your example from HowToModel.xmi.zip and created: context TaskChunk::findChunkBetweenDays(userId:String,fromDay:Date,toDay:Date):Collection(TaskChunk) body findChunkBetweenDays : allInstances->select(task_chunk | task_chunk.start_time < fromDay and task_chunk.owner.user_account_

[Andromda-user] [Samples] [HowToModel.xml.zip] HowToModel.xml.zip

2005-05-27 Thread thorman
Hello, I read in the forum, when looking for help concerning OCL, that one guy referred to some example code in HowToModel.xml.zip, where can I find this ? here is the link to the mailing list: http://sourceforge.net/mailarchive/message.php?msg_id=11517351 // Mikael

[Andromda-user] Local interface question

2005-01-13 Thread Mikael Thorman
Hello, I wonder if one has to do anything special to get the local interfaces to work ? I created a class with Stereotype "Service" which I am trying to call from a controller, but I get a "javax.naming.NotContextException". It seems as I have missed something here, while this shouldn't be a prob

RE: [Andromda-user] MySql script error

2005-01-13 Thread Mikael Thorman
great if this could be added to the core Maven file for Hibernate :-) // Mikael -Original Message- From: Michael Davis [mailto:[EMAIL PROTECTED] Sent: den 30 december 2004 03:42 To: Mikael Thorman Cc: andromda-user@lists.sourceforge.net Subject: Re: [Andromda-user] MySql script error On

[Andromda-user] Local interface -> NotContextException

2005-01-09 Thread Mikael Thorman
Hello, I get an NotContextException when I am trying to use the local interface, does anyone know how to get around this problem ? Using the remote interface works fine. My Code: UserManagerLocal userMgr = UserManagerUtil.getLocalHome().create(); // Mikael

RE: [Andromda-user] Hibernate serialization error

2005-01-02 Thread Mikael Thorman
-Ursprungligt meddelande- FrÃn: Chad Brandon [mailto:[EMAIL PROTECTED] Skickat: ti 2004-12-21 14:56 Till: 'Matthias Bohlen'; Mikael Thorman Kopia: andromda-user@lists.sourceforge.net Ãmne: RE: [Andromda-user]

RE: [Andromda-user] Hibernate serialization error

2004-12-27 Thread Mikael Thorman
around this problem ? // Mikael -Ursprungligt meddelande- FrÃn: Chad Brandon [mailto:[EMAIL PROTECTED] Skickat: ti 2004-12-21 14:56 Till: 'Matthias Bohlen'; Mikael Thorman Kopia: andromda-user@lists.sourceforge.net

[Andromda-user] MySql script error

2004-12-27 Thread Mikael Thorman
Hello, The generated MySql scripts doesn't have any ending ; (each line should end with a semicolon) does anyone know where these scripts are generated? // Mikael

SV: [Andromda-user] FYI: MySql error in project.properties

2004-12-19 Thread Mikael Thorman
Skickat: mà 2004-12-20 01:49 Till: Mikael Thorman; [EMAIL PROTECTED] Kopia: Ãmne: RE: [Andromda-user] FYI: MySql error in project.properties Can you be a little more descriptive, like tell us where the error is

[Andromda-user] Hibernate questions

2004-12-19 Thread Mikael Thorman
Hello, Relations between objects I wonder if there is any way to set a relation to "one-to-one", whatever I set in the relation between 2 objects I always get a "many-to-one" relation? Is there any way to get a one-way relation (indication that one of the objects doesn't have to know about th

[Andromda-user] Hibernate serialization error

2004-12-19 Thread Mikael Thorman
Hello, I couldn't use a Hibernate object as a parameter in a remote call (due to the fact that it isn't serializable). To get this to work I had to change the following to the "HibernateEntity.vsl"-file in "andromda-hibernate-cartridge-3.0M3-SNAPSHOT.jar\templates\hibernate": I added this

[Andromda-user] FYI: MySql error in project.properties

2004-12-19 Thread Mikael Thorman
I am using MySql as a Database engine and found an error in the "project.properties"-file (in the project root). Here it says: # Change this to generate to the correct MDA database mappings # For MySql use: MySql # For Hypersonic use: HypersonicSql # For Oracle9i use: Oracle9i sql.mappings=MySQL

RE: [Andromda-user] Cannot get schema2xmi task to work

2004-12-16 Thread Mikael Thorman
da.org/tiki/tiki-index.php?page=Schema2Xmi+HowTo. btw, thanks for a great product (its really impressive). // Mikael -Original Message- From: Chad Brandon [mailto:[EMAIL PROTECTED] Sent: den 15 december 2004 17:48 To: Mikael Thorman; [EMAIL PROTECTED] Subject: RE: [Andromda-user] Cannot get

RE: [Andromda-user] Cannot get schema2xmi task to work

2004-12-16 Thread Mikael Thorman
me pages, among others a page for a howto for this tool @ http://team.andromda.org/tiki/tiki-index.php?page=Schema2Xmi+HowTo. btw, thanks for a great product (its really impressive). // Mikael -----Original Message- From: Chad Brandon [mailto:[EMAIL PROTECTED] Sent: den 15 december 2004 1

[Andromda-user] Cannot get schema2xmi task to work

2004-12-15 Thread Mikael Thorman
Hello, Could anybody help me with the schema2xmi, I cannot get this to work ! I have also tried without setting all the flags, but I get the same error. I got the DatatypeMappings.xml from the code and added a few fields for it. I get the following error: -- C:\Work\T