Re: springdoclet issue!

Haroon Rafique <[email protected]> Wed, 10 Oct 2007 18:49:12 -0400 (EDT)
Newsgroups gmane.comp.java.xdoclet.user
Message-ID <[email protected]>
On Today at 5:18pm, HR=>Haroon Rafique <[email protected]> wrote:

HR> 
HR>   <XDtClass:ifHasClassTag tagName="spring.bean" paramName="singleton">
HR>       singleton="<XDtClass:classTagValue tagName="spring:bean" 
HR> paramName="singleton" values="true,false" default="true"/>"
HR>   </XDtClass:ifHasClassTag>
HR> 
HR> I don't have enough brain cells left for the day to figure out how the 
HR> corresponding scope attribute should be specified.
HR> 
HR> Hope that helps.
HR> 
HR> Cheers,

Replacing above with:

  <XDtClass:ifHasClassTag tagName="spring.bean" paramName="singleton" >
    <XDtClass:ifClassTagValueEquals tagName="spring.bean" 
paramName="singleton" value="false">
      scope="prototype"
    </XDtClass:ifClassTagValueEquals>
    <XDtClass:ifClassTagValueEquals tagName="spring.bean" 
paramName="singleton" value="true">
      scope="singleton"
    </XDtClass:ifClassTagValueEquals>
  </XDtClass:ifHasClassTag>
  <XDtClass:ifHasClassTag tagName="spring.bean" paramName="scope">
      scope="<XDtClass:classTagValue tagName="spring.bean" 
paramName="scope" 
values="globalSession,session,request,singleton,prototype" 
default="prototype"/>"
  </XDtClass:ifHasClassTag>

should work

--
Haroon Rafique
<[email protected]>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/