TagLibs, Dependent TagLibs and GroovyPagesTestCase

View: New views
3 Messages — Rating Filter:   Alert me  

TagLibs, Dependent TagLibs and GroovyPagesTestCase

by wombat :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Again!

GroovyPagesTestCase is a great way to test a standalone TagLib.

However, we have a couple of TagLibs which make use of tags in other taglibs, some of our own, some standard Grails (like 'createLink').

Using the GroovyPagesTestCase, the referenced taglibs, (like 'createLink') are never resolved properly, yielding a 'No signature of method: com.mycom.mypkg.MyTagLib.createLink() is applicable...'

How do I get the default TagLibs as well as our other Custom TagLibs to be visible for this integration test?

Thanks!

Ken

Re: TagLibs, Dependent TagLibs and GroovyPagesTestCase

by Graeme Rocher-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

They should resolve, can you provide an example in a JIRA

Cheers

On Tue, Jul 22, 2008 at 4:25 PM, wombat <j.kenneth.gentle@...> wrote:

>
> Hello Again!
>
> GroovyPagesTestCase is a great way to test a standalone TagLib.
>
> However, we have a couple of TagLibs which make use of tags in other
> taglibs, some of our own, some standard Grails (like 'createLink').
>
> Using the GroovyPagesTestCase, the referenced taglibs, (like 'createLink')
> are never resolved properly, yielding a 'No signature of method:
> com.mycom.mypkg.MyTagLib.createLink() is applicable...'
>
> How do I get the default TagLibs as well as our other Custom TagLibs to be
> visible for this integration test?
>
> Thanks!
>
> Ken
>
> --
> View this message in context: http://www.nabble.com/TagLibs%2C-Dependent-TagLibs-and-GroovyPagesTestCase-tp18591932p18591932.html
> Sent from the grails - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>



--
Graeme Rocher
Grails Project Lead
G2One, Inc. Chief Technology Officer
http://www.g2one.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: TagLibs, Dependent TagLibs and GroovyPagesTestCase

by wombat :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Will do
Graeme Rocher-2 wrote:
They should resolve, can you provide an example in a JIRA

Cheers


--
Graeme Rocher
Grails Project Lead
G2One, Inc. Chief Technology Officer
http://www.g2one.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

LightInTheBox - Buy quality products at wholesale price!