Please reply to the mailing list too ... > -----Original Message----- > From: Frederic Chapuis [mailto:[EMAIL PROTECTED] > Sent: Monday, November 01, 2004 4:10 PM > To: [EMAIL PROTECTED] > Subject: Re: [Andromda-user] Validation Error: One Use-Case per package... > > Well I think I get the point. This is because I modelled an 'idUser' as > the > primary-key instead of > letting Hibernate handle the primary-key with an 'id' attribute. Is that > it > ? > [WZ> ] the id attribute should NOT be the primary key, just something that identifies your entity in your business
> Around this, I was wondering if it was possible to render the hyperlink > generated by the tablelink > tagged value on any other attribute than the one used as the link (in > general the 'id' attribute) > thus not having the 'id' displayed in the page (for exemple having the > hyperlink which uses the 'id' > attribute rendered on the 'name' attribute). Am I clear ? > [WZ> ] yes, this is possible ... if the table is a collection called 'itemList' then simply put the tablelink tagged value on the 'id' action parameter and give it value 'itemList.name' (by default 'itemList.id' will be assumed when you only enter 'itemList' on the 'id' parameter) -- Wouter ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
