In ejb-body.j, local-ref (and other XML elements) get an id generated with
the XDtId:prefixedId , something like this
<ejb-local-ref <XDtId:prefixedId prefix="EJBLocalRef"/>
Now this results in sequential, increasing ids like EJBLocalRef_1, _2 etc
The problem is that the IBM XMI template ibm-ejb-jar-bnd_xmi.j needs to be
able to generate a href tag that refers to the element by id, and hence
needs to be able to re-generate the id.
Since the id was not created from a 'foreign key' I can't see how it can be
recreated in the subsequent ibm-ejb-jar-bnd_xmi.j (unless it has been stored
somewhere for later retreival ?)
One possible solution might be to use the XDtId:id template tag in
ejb-body.j to generate an id from unique information in the
ejb-ref/ejb-external-ref xdoclet tag ?
e.g. <ejb-local-ref <XDtId:id tag="ejb:ejb-ref"
paramNames="ejb-name,ref-name,view-type"/>
Sound sane ?
jmp
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user