Chris,
the following jar files are shipped with Grails 1.0.2:
as you can see, there's no spring-javaconfig-something.jar or alike in the list and it doesn't exist on my computer at all.
...
Type: Posts; User: Injecteer; Keyword(s):
Chris,
the following jar files are shipped with Grails 1.0.2:
as you can see, there's no spring-javaconfig-something.jar or alike in the list and it doesn't exist on my computer at all.
...
Added my comment to the Jira and have my eye on it :)
I'm not using JavaConfig, but still get the exception...
No, it's not. I just didn't pasted all url-mappings here for the sake of simplicity.
Any help?
The whole namespace-config thing not working, although I could get it running using good-ol' bean context which spans for 5 screens!
hi all
given the context:
<?xml version="1.0" encoding="UTF-8"?>
<b:beans xmlns:b="http://www.springframework.org/schema/beans"
...
After moving to GSP, where all acegi tricks are really easy to use, I don't care about *faces anymore :)
Any hint on how those 200% can be gained? In which area at least?
Yes, the anonymousProcessingFilter is defined. Here's my context:
<bean id="filterChainProxy" class="org.acegisecurity.util.FilterChainProxy">
<property...
Thanks for the answer :)
Sorry, I mis-typed the word 'ROLE_ANONYMOUS' only in my post here.
This is my actual code:
<ice:menuItem action="#{menuHandler.goToRegister}"
...
I am using the solution 1', so that in the single register() method I re-use acegi's password encoder to encrypt the plain-text password:
PasswordEncoder passwordEncoder;
SaltSource salt;
...
so make batchService.commit() running in the loop in the method of that extra class I suggested.
You can leave the "Caller" class without any tx-semantics, so that each batchService.commit()...
I'd say you have 2 independent transactions here:
1. you create an element with your dao. As a result you get the newly generated Id back.
2. you let user change/re-order items. At this stage you...
In my last project I use the uuid generator, because of 2 main reasons:
1. db-independent (you mentioned it)
2. it saves 1 db operation: "select next from dual" in oracle.
I would execute those...
Doesn't hibernate update pojo's id once you called save() or persist() methods?
there were a couple of topics on this subject, and IIRC the easiest way would be to "fool" (nice wording :)) Spring in the following way:
you create an additional class, where you call those run*...
Hi
I have an app with acegi+icefaces.
In ice-faces you can write something like:
<ice:menuItem action=".." value=".." id=".." renderedOnUserRole="ROLE_USER" />
so that the item appears...
if you call your commit* methods inside run* or commit* methods of the same class, the transactionality applies to the "outer" method only:
class BatchServiceImpl implements BatchService{
...
posting a piece of your applicationContext-hibernate.xml would be helpful for us to help you :)
IMHO such self-CRUD data objects in a certain situation make sense.
Recently I wrote a system, which interacts with a web-service. Using an introduction advice I made each pojo be able to update...
Why don't you use the named queries from Hibernate?
Those can be defined in the .hbm.xml files along with the class mappings. Also there is a stron support for them in Spring's...
In my company our webapp similar to yours runs in Apache+JBoss on the production systems. In my dev. environment I use only Tomcat.
The application being deployed in both cases is the SAME .war...
from reference:
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.ProceedingJoinPoint;
@Aspect
public class AroundExample {
you need to use the @Around advice.
Ok, found the reason. It indeed depends on the generic param.
after I changed the interface to
public interface SimpleDao<T extends BaseModel> {
T load( Serializable plId ) throws...