--- Alan She <[EMAIL PROTECTED]> wrote:

> Thanks a lot, following your instructions, I get
> @hibernate.filter works.

Please cut a patch from it, and attach to JIRA issue
;)
( if you also provide a testcase to cover it, this
would be really cool ;) )

> But I can't make @hibernate.filter-def apply to
> every class by this
> approach.
> In HibernateMappingPlugin.jelly, I add "true" to the
> getTagsByName method.
> But it is not work.
> 
>         <!-- process filter-def -->
>         <j:forEach var="filterdefTag"
> items="${rootClass.getTagsByName('
> hibernate.filter-def',true)}">
>             <filter-def name="${filterdefTag.name_}"
> condition="${
> filterdefTag.condition}">
>                 <j:forEach var="paramTag"
> items="${plugin.getFilterdefParams(rootClass,
> filterdefTag.name_)}">
>                     <filter-param
> name="${paramTag.name_}" type="${
> paramTag.type}"/>
>                 </j:forEach>
>             </filter-def>
>         </j:forEach>
> 
> Would you mind checking this for me?
> Thanks a lot.

what exactly happened?  usually features new
features are added by means of test-first
( write failing unit test, and cover it ) 

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to