Re: springdoclet issue!

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

HR> Let me know how it works out.
HR> 

Problems already. You will run into the problem that the singleton 
attribute is not allowed on the <bean> tag in the 2.0 xsd (it was allowed 
in the DTD). So, you will be mucking around with XDt template language to 
change the singleton attribute to a scope attribute instead. The snippet 
that needs to be changed in the .xdt file is:

  <XDtClass:ifHasClassTag tagName="spring.bean" paramName="singleton">
      singleton="<XDtClass:classTagValue tagName="spring:bean" 
paramName="singleton" values="true,false" default="true"/>"
  </XDtClass:ifHasClassTag>

I don't have enough brain cells left for the day to figure out how the 
corresponding scope attribute should be specified.

Hope that helps.

Cheers,
--
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/