Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.0-RC3
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
I created FormTagLib.groovy in my application's grails-app/taglib directory. The contents are:
class FormTagLib {}
Now, when running my application and going to a view that uses the <g:form> tag, I get:
Message: Tag [form] does not exist. No tag library found for namespace: g
Caused by: Tag [form] does not exist. No tag library found for namespace: g
I'm guessing that FormTagLib is a name used by an internal Grails tag library file and it's getting shadowed by my tag library. This shouldn't happen - I should be able to call my tag library classes whatever I want without interfering with the default tags. Or, if this shadowing is intentional, the names of the internal tag libraries (and which tags are in which library) should be documented.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.1.1 [ 15088 ] |
| Assignee | Graeme Rocher [ graemerocher ] |
| Project Import | Thu Mar 24 21:22:24 CDT 2011 [ 1301019744151 ] |
| Workflow | jira [ 34424 ] | Grails [ 40816 ] |
| Workflow | Grails [ 40816 ] | Copy of Grails [ 48246 ] |
| Workflow | Copy of Grails [ 48246 ] | Grails [ 55656 ] |
| Workflow | Grails [ 55656 ] | Grails2 [ 63203 ] |
| Workflow | Grails2 [ 63203 ] | jira [ 77569 ] |
| Workflow | jira [ 77569 ] | Grails2 [ 85946 ] |
| Last Reviewed | 01/Jan/10 |
| Workflow | Grails2 [ 85946 ] | jira [ 87410 ] |
| Workflow | jira [ 87410 ] | Grails2 [ 95565 ] |
I think this is still issue, because even when custom namespace is defined in FormTagLib it still overrides original Grails tags.