Ah I see now ... yes in that case you are right, you have found a bug

Can you file a jira issue for it ? I will fix it asap

-- Wouter

> -----Original Message-----
> From: Matthias K�spert [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 09, 2004 1:12 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Andromda-user] Plain text in tables
> 
> Hi Wouter,
> 
> I thought it's the best to send you my model - unfortunately it's bigger
> than 40K, so I'm sending it directly to you.
> 
> The problem is in the 'Manage Artists' FrontEndView, where I want to
> show all artists.
> 
> If you generate my model without my changes, then the 'Name'-Column will
> link to the right action, but the 'Artist Id' column is empty. This
> happens because there is generated:
>  ${form.artistId}
> for the 'Artist Id' entries instead of
>  ${row.artistId}
> in the <display:column media="html"> tag in the .jsp.
> 
> 
> TIA,
> Matthias
> 
> 
> On Mon, 2004-11-08 at 23:36, Wouter Zoons wrote:
> > Hi Matthias,
> >
> > Could you send a small screenshot (<40KB or the mailing list will reject
> it,
> > or send me a picture of any size) ? I have some things in mind but I
> want to
> > make sure I understand correctly what you are saying
> >
> > (for example a link to a FrontEndView is not allowed: a FrontEndEvent
> may
> > never enter into a FrontEndView (but always exits one)
> >
> > At first sight I would say your table collection needs to have the
> > '...columns' tagged value and have 'id,name' assigned to it
> >
> > The FrontEndEvent needs to define the table link for a parameter, you
> can
> > name the parameter 'id' but the 'tablelink' tagged value needs to be the
> > name of your collection
> >
> > At this point it is not possible to to have the link on 'name' but have
> the
> > 'id' parameter transmitted, someone else requested this already .. but I
> > propose creating a jira issue for it, this is indeed a very useful
> feature,
> > and it would be nice to to need to change the jsps manually for this
> >
> > -- Wouter
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:andromda-user-
> > > [EMAIL PROTECTED] On Behalf Of Matthias K�spert
> > > Sent: Monday, November 08, 2004 8:55 PM
> > > To: andromda-user
> > > Subject: [Andromda-user] Plain text in tables
> > >
> > > Hi gurus ;-)
> > >
> > > I want to show a table with Ids and names where the names should be a
> > > hyperlink to some FrontEndView and the Id should just be shown as
> normal
> > > text for reference only. However, the Id is needed in the following
> > > action, but it either it does not show up in the table, or it's value
> > > was not available in the action call.
> > >
> > > To be able to display the Id-value in my incoming Collection as normal
> > > plain-text field AND to have it as parameter in the following action,
> I
> > > needed to change bpm4struts/StrutsJSP.vm:
> > >
> > > After:
> > >
> > > ##
> > > ##      P L A I N T E X T
> > > ##
> > > #else
> > >
> > > I replaced:
> > >
> > > #set ($plainText = "${formBeanName}.${fieldName}")
> > >
> > > with
> > >
> > > #if (${field.tableLinkColumnName} != "")
> > > #set ($plainText = "row.${field.tableLinkColumnName}")
> > > #else
> > > #set ($plainText = "${formBeanName}.${fieldName}")
> > > #end
> > >
> > > As usual: is this really a flaw/bug or did I misinterpret/overlook
> > > something?
> > > Any comments?
> > >
> > > TIA,
> > > Matthias
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > 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
> >
> >
> >
> > -------------------------------------------------------
> > 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_idU88&alloc_id065&op=click
> > _______________________________________________
> > Andromda-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/andromda-user
> >




-------------------------------------------------------
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_idU88&alloc_id065&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to