You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shale.apache.org by Tyler Zale <ty...@jjpeople.com> on 2008/06/15 09:23:41 UTC

Help with tld2claycfg for ajaxanywhere 1.2.1

Hi,


I have been trying to integrate ajaxanywhere 1.2.1 with shale using clay 
html views.
As I understand it so far, the only way to achieve this is to have clay 
components defined (I am unaware of a simple include taglib directive in 
html views).

So I downloaded tld2claycfg from the svn and got it working (converted 
tomahawk 1.1.6 ok) but the clay config that gets generated for 
ajaxanywhere is blank (just results in: <view/>).
I know it is finding the dependency.

Here is the tld section from the pom.xml in the 
"\maven\trunk\tld2claycfg\test\target\classes\META-INF" folder:

            <tld implementation="org.apache.shale.Tld">
              <name>META-INF/tlds/ajaxanywhere.tld</name>
              <version>1.2.1</version>

              
<mbFilter>(?i).*Listener.*,(?i).*Validate.*,(?i).*Convert.*</mbFilter>
              
<acFilter>(?i).*Listener.*,(?i).*Validate.*,(?i).*Convert.*</acFilter>
            </tld>

            <tld implementation="org.apache.shale.Tld">
              <name>META-INF/tomahawk.tld</name>
              <version>1.1.6</version>

              
<mbFilter>(?i).*Listener.*,(?i).*Validate.*,(?i).*Convert.*</mbFilter>
              
<acFilter>(?i).*Listener.*,(?i).*Validate.*,(?i).*Convert.*</acFilter>
            </tld>


Can someone let me know if I am on the right track or going about this 
completely the wrong way?

Also, I have no idea about the mb/ac Filters, can anyone enlighten me?


Thanks,
TZ