Recapitulation:
Expression works in intercept-url but not in gsp pages:
this work correctly:
<http auto-config="true" use-expressions="true">
<intercept-url pattern="/index.gsp"...
Type: Posts; User: martinppp; Keyword(s):
Recapitulation:
Expression works in intercept-url but not in gsp pages:
this work correctly:
<http auto-config="true" use-expressions="true">
<intercept-url pattern="/index.gsp"...
Dosen't work in Grails 1.2.1
Martin
changing
<intercept-url pattern="/dosomething/**" access="ROLE_AGENT"/>
to
<intercept-url pattern="/salevmoney/**" access="hasRole('ROLE_AGENT')"/>
After configuring and make sure some part of my config work, i decided to add taglib in my gsp using jsp taglib:
if I used this
<http auto-config="false">
<intercept-url...
After copying my file to scr/main/java directory, grails find it.
I have the same problem and try to follow your solution:
in web.xml
<context-param>
<param-name>contextConfigLocation</param-name>
...
We have a big project where we have multiple Eclipse projects depending on one another. One of this project is a Grails project.
1- Domain-project // used by multiple projects
2-...
When I have the sub package view in my expression for pointcut, the pointcut is not call.
Here my config:
<?xml version="1.0" encoding="UTF-8"?>
<beans...
I use simpleJdbcTemplate to do an insert and retrieve the new key. I used postgres 8.3 with the latest jdbc4 postgres driver. The problem look like that the metadata is unable to be extracted from...