Search:

Type: Posts; User: Injecteer; Keyword(s):

Page 1 of 11 1 2 3 4

Search: Search took 0.03 seconds.

  1. Chris, the following jar files are shipped...

    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.
    ...
  2. Added my comment to the Jira and have my eye on...

    Added my comment to the Jira and have my eye on it :)
  3. I'm not using JavaConfig, but still get the...

    I'm not using JavaConfig, but still get the exception...
  4. No, it's not. I just didn't pasted all...

    No, it's not. I just didn't pasted all url-mappings here for the sake of simplicity.
  5. Any help? The whole namespace-config thing not...

    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!
  6. SS2.0: No bean named '_exceptionTranslationFilter' is defined

    hi all


    given the context:


    <?xml version="1.0" encoding="UTF-8"?>
    <b:beans xmlns:b="http://www.springframework.org/schema/beans"
    ...
  7. Replies
    11
    Views
    4,887

    After moving to GSP, where all acegi tricks are...

    After moving to GSP, where all acegi tricks are really easy to use, I don't care about *faces anymore :)
  8. Replies
    13
    Views
    2,278

    Any hint on how those 200% can be gained? In...

    Any hint on how those 200% can be gained? In which area at least?
  9. Replies
    11
    Views
    4,887

    Yes, the anonymousProcessingFilter is defined....

    Yes, the anonymousProcessingFilter is defined. Here's my context:


    <bean id="filterChainProxy" class="org.acegisecurity.util.FilterChainProxy">
    <property...
  10. Replies
    11
    Views
    4,887

    Thanks for the answer :) Sorry, I mis-typed the...

    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}"
    ...
  11. I am using the solution 1', so that in the single...

    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;
    ...
  12. so make batchService.commit() running in the loop...

    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()...
  13. I'd say you have 2 independent transactions here:...

    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...
  14. In my last project I use the uuid generator,...

    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...
  15. Replies
    4
    Views
    834

    Doesn't hibernate update pojo's id once you...

    Doesn't hibernate update pojo's id once you called save() or persist() methods?
  16. there were a couple of topics on this subject,...

    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*...
  17. Replies
    11
    Views
    4,887

    Acegi with icefaces's renderedOnUserRole

    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...
  18. if you call your commit* methods inside run* or...

    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{
    ...
  19. posting a piece of your...

    posting a piece of your applicationContext-hibernate.xml would be helpful for us to help you :)
  20. IMHO such self-CRUD data objects in a certain...

    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...
  21. Why don't you use the named queries from...

    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...
  22. Replies
    2
    Views
    825

    In my company our webapp similar to yours runs in...

    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...
  23. from reference...

    from reference:


    import org.aspectj.lang.annotation.Aspect;
    import org.aspectj.lang.annotation.Around;
    import org.aspectj.lang.ProceedingJoinPoint;

    @Aspect
    public class AroundExample {
  24. you need to use the @Around advice.

    you need to use the @Around advice.
  25. Ok, found the reason. It indeed depends on the...

    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...
Results 1 to 25 of 270
Page 1 of 11 1 2 3 4