Message:

   The following issue has been closed.

   Resolver: Matthias Germann
       Date: Fri, 4 Feb 2005 11:36 AM

@ejb.ejb-ref has no "link" parameter
---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-599

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-599
    Summary: ejb-ref.xdt does not set ejb references properly.
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: WON'T FIX

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module
   Fix Fors:
             1.3
   Versions:
             1.2 Beta 3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Ivo Mägi

    Created: Mon, 11 Aug 2003 2:06 AM
    Updated: Fri, 4 Feb 2005 11:36 AM
Environment: Ant 1.5.2, MS Win 2000 SP4

Description:
EJB local references set by xdoclet do not set the ejb-link properly.

Following is the fixed snippet to replace at the end of your ejb-ref.xdt file.

   <XDtEjbRef:forAllEjbRefs>
       <XDtClass:ifClassTagValueEquals tagName="ejb:ejb-ref" 
paramName="view-type" value="local">
         <ejb-local-ref <XDtId:prefixedId prefix="EJBLocalRef"/>>
            <ejb-ref-name><XDtEjb:ejbRefName/></ejb-ref-name>
            <ejb-ref-type><XDtEjb:beanType/></ejb-ref-type>
            <local-home><XDtEjbHome:homeInterface type="local"/></local-home>
            <local><XDtEjbIntf:componentInterface type="local"/></local>
            <XDtClass:ifHasClassTag tagName="ejb:ejb-ref" paramName="link">
              <ejb-link><XDtClass:classTagValue tagName="ejb:ejb-ref" 
paramName="link"/></ejb-link>
            </XDtClass:ifHasClassTag>
            <XDtClass:ifDoesntHaveClassTag tagName="ejb:ejb-ref" 
paramName="link">
              <ejb-link><XDtClass:classTagValue tagName="ejb:ejb-ref" 
paramName="ejb-name"/></ejb-link>         
            </XDtClass:ifDoesntHaveClassTag>
         </ejb-local-ref>
       </XDtClass:ifClassTagValueEquals>
    </XDtEjbRef:forAllEjbRefs>


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to