开发者

Using JSP tags in grails

I'm still new to grails and i kind of stuck in a problem where i can't use the Jsp tags that i put in the /WEB-INF/tags

if i create a tag file called text.tag and put开发者_Python百科 in it the normal HTML input text tag and i go to the GSP and make the taglib < %@ taglib prefix="myTags" tagdir="/WEB-INF/tags"%> then trying to call it by < myTags:text/> it gives me nothing.. in fact if i checked the html source i find < mytags:text/> is there special way for that cause i need that in more sophisticated tags.


I would recommend writing the tags as grails tags

http://grails.org/Dynamic%20Tag%20Libraries

those tags are easier to write, but the answer to your original question is also documented at the link above

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜