Details
Description
Try the following inside a gsp:
<g:set var="variable" value="Value" />
{{<g:remoteLink action="theAction" params="someParams" update="success" onComplete="doSomething();" title="A title with a $
</g:remoteLink>}}
<br />
{{<%= remoteLink( action:'theAction', params:"someParams", update:'success', onComplete:"doSomething();", title:"A title with a $
{variable}", class:"hoverLT") { "${variable}" } %>}}
The first Link, generated by the remoteLink-tag has got a hover-text / title, which looks like this: "A title with aValue". The space between "...aValue" is stripped.
The second Link rendered by <%= remoteLink(... has a correct hover-text / title, which looks like "A title with a Value".
The error occures whenever a $
{variable}is used inside the remoteLink title-attribute, followed by a space, or following a space.
Activity
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | master | 953c8db... | 2009-06-11 11:53:50 -0700 | Jeff Brown / Jeff Brown | |
| Files Changed | |||||
|
MODIFY
src/web/org/codehaus/groovy/grails/web/pages/GroovyPageParser.java
MODIFY test/groovy/org/codehaus/groovy/grails/web/taglib/JavascriptTagLibTests.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | cli-improvements | 953c8db... | 2009-06-11 11:53:50 -0700 | Jeff Brown / Jeff Brown | |
| Files Changed | |||||
|
MODIFY
src/web/org/codehaus/groovy/grails/web/pages/GroovyPageParser.java
MODIFY test/groovy/org/codehaus/groovy/grails/web/taglib/JavascriptTagLibTests.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.0.x | 953c8db... | 2009-06-11 11:53:50 -0700 | Jeff Brown / Jeff Brown | |
| Files Changed | |||||
|
MODIFY
src/web/org/codehaus/groovy/grails/web/pages/GroovyPageParser.java
MODIFY test/groovy/org/codehaus/groovy/grails/web/taglib/JavascriptTagLibTests.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | hibernate4 | 953c8db... | 2009-06-11 11:53:50 -0700 | Jeff Brown / Jeff Brown | |
| Files Changed | |||||
|
MODIFY
src/web/org/codehaus/groovy/grails/web/pages/GroovyPageParser.java
MODIFY test/groovy/org/codehaus/groovy/grails/web/taglib/JavascriptTagLibTests.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.1.x | 953c8db... | 2009-06-11 11:53:50 -0700 | Jeff Brown / Jeff Brown | |
| Files Changed | |||||
|
MODIFY
src/web/org/codehaus/groovy/grails/web/pages/GroovyPageParser.java
MODIFY test/groovy/org/codehaus/groovy/grails/web/taglib/JavascriptTagLibTests.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.2.x | 953c8db... | 2009-06-11 11:53:50 -0700 | Jeff Brown / Jeff Brown | |
| Files Changed | |||||
|
MODIFY
src/web/org/codehaus/groovy/grails/web/pages/GroovyPageParser.java
MODIFY test/groovy/org/codehaus/groovy/grails/web/taglib/JavascriptTagLibTests.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | master | bfd8ac4... | 2009-06-11 13:31:44 -0700 | Jeff Brown / Jeff Brown | |
| Files Changed | |||||
|
MODIFY
src/web/org/codehaus/groovy/grails/web/pages/GroovyPageParser.java
MODIFY test/groovy/org/codehaus/groovy/grails/web/taglib/JavascriptTagLibTests.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | cli-improvements | bfd8ac4... | 2009-06-11 13:31:44 -0700 | Jeff Brown / Jeff Brown | |
| Files Changed | |||||
|
MODIFY
src/web/org/codehaus/groovy/grails/web/pages/GroovyPageParser.java
MODIFY test/groovy/org/codehaus/groovy/grails/web/taglib/JavascriptTagLibTests.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.0.x | bfd8ac4... | 2009-06-11 13:31:44 -0700 | Jeff Brown / Jeff Brown | |
| Files Changed | |||||
|
MODIFY
src/web/org/codehaus/groovy/grails/web/pages/GroovyPageParser.java
MODIFY test/groovy/org/codehaus/groovy/grails/web/taglib/JavascriptTagLibTests.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | hibernate4 | bfd8ac4... | 2009-06-11 13:31:44 -0700 | Jeff Brown / Jeff Brown | |
| Files Changed | |||||
|
MODIFY
src/web/org/codehaus/groovy/grails/web/pages/GroovyPageParser.java
MODIFY test/groovy/org/codehaus/groovy/grails/web/taglib/JavascriptTagLibTests.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.1.x | bfd8ac4... | 2009-06-11 13:31:44 -0700 | Jeff Brown / Jeff Brown | |
| Files Changed | |||||
|
MODIFY
src/web/org/codehaus/groovy/grails/web/pages/GroovyPageParser.java
MODIFY test/groovy/org/codehaus/groovy/grails/web/taglib/JavascriptTagLibTests.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Core | 2.2.x | bfd8ac4... | 2009-06-11 13:31:44 -0700 | Jeff Brown / Jeff Brown | |
| Files Changed | |||||
|
MODIFY
src/web/org/codehaus/groovy/grails/web/pages/GroovyPageParser.java
MODIFY test/groovy/org/codehaus/groovy/grails/web/taglib/JavascriptTagLibTests.groovy |
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Graeme Rocher [ graemerocher ] | Jeff Brown [ brownj ] |
| Status | Open [ 1 ] | In Progress [ 3 ] |
| Resolution | Fixed [ 1 ] | |
| Fix Version/s | 1.2 [ 14155 ] | |
| Status | In Progress [ 3 ] | Closed [ 6 ] |
| Project Import | Thu Mar 24 21:22:24 CDT 2011 [ 1301019744151 ] |
| Workflow | jira [ 28893 ] | Grails [ 42055 ] |
| Workflow | Grails [ 42055 ] | Copy of Grails [ 49508 ] |
| Workflow | Copy of Grails [ 49508 ] | Grails [ 56918 ] |
| Workflow | Grails [ 56918 ] | Grails2 [ 64496 ] |
| Workflow | Grails2 [ 64496 ] | jira [ 72020 ] |
| Workflow | jira [ 72020 ] | Grails2 [ 80935 ] |
| Workflow | Grails2 [ 80935 ] | jira [ 89425 ] |
| Workflow | jira [ 89425 ] | Grails2 [ 97655 ] |
A scenario like title="the value is $
{value}" now retains the space between "is" and "${value}"