Support custom namespace when invoking TagLib of GroovyPage
rainboyan opened this issue · 0 comments
rainboyan commented
Feature Request
Currently, GSP only support custom namespace like <tmp:person
<link:mapping
,
have not support this feature in Grails Plugins.
In my new plugin grails-plugin-view-components
, I want to implement this feature, support dynamic tags like below:
<vc:button type="button" name="Icon Button" cssClasses="btn-primary" icon="box" />
<vc:card title="My First Component" content="This is the first Card" />
<vc:icon name="alarm" />
<vc:icon name="apple" />
<vc:icon name="bag" />
<vc:icon name="bank" />
<vc:icon name="box" />
I read the source code of GroovyPage
, the hard-coded part is below:
If you find it useful, I can submit the relevant code implementation, and I really hope that the framework will support this feature.
Thank you~