Hi Haroon,
hmm I didnt get that singleton exception like you mentioned. As mentioned I
just copied the orginal xdt definiton and replace the header with the
definition with what I want and it worked.
here is what I did:
<springxml
templateFile="${basedir}/src/main/webapp/WEB-INF/template/abc-servlet-template.xdt"
destinationfile="abc-servlet.xml" />
so I am not sure how you got that excpetion?
Cheers,
Subu
Haroon Rafique wrote:
>
> 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/
> _______________________________________________
> xdoclet-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
>
--
View this message in context:
http://www.nabble.com/springdoclet-issue%21-tf4597610.html#a13146895
Sent from the xdoclet-user mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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/
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user