Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    14,902

    Hi, I am facing a similar problem: I want to...

    Hi,

    I am facing a similar problem:
    I want to use a bulk edit for serveral items of the same kind, but my view always throws an error ...

    Let's have a look at the coding:

    I retrieve a list...
  2. How to bring iteration and form context together?

    Hi,

    I am facing the following:

    I have a list list1 of items I would like to iterate with a forEach loop.


    <c:forEach items="${list1}" var="item">
  3. Hi, try to correct ...

    Hi,

    try to correct <form:select path="state"> to <form:select path="state.id">

    this should fix your problem.
  4. Spring uses a default scheme for database...

    Spring uses a default scheme for database authorization (see below), therefore you have to map your scheme...

    For spring security try something like this (but modifiy the SQL statement concerning...
  5. Thx and yes, I already thought about incompatible...

    Thx and yes, I already thought about incompatible versions but I could not figure it out.
    Furthermore I was investigating heavily with google and co ;-) but it seems that I wasn't using the right...
  6. It seemed to be a caching problem concerning my...

    It seemed to be a caching problem concerning my applicationContext file. Since I removed my whole application and deployed everything new the applicationContext runs at least every part of the...
  7. I ran into another problem ... Spring security...

    I ran into another problem ...

    Spring security is absolutely ignoring the

    users-by-username-query
    authorities-by-username-query

    attributes.

    I always get bad credentials exceptions or sql...
  8. I used the wrong version of spring security ;-) ...

    I used the wrong version of spring security ;-)

    Now it seems to work ... (still testing).

    THX
  9. Thx so far, but... know I run into the next...

    Thx so far, but... know I run into the next wildcard error with the http element!?


    Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c:
    The matching wildcard is strict, but no...
  10. Attribute 'users-by-username-query' is not allowed to appear

    Hi,

    I am trying to migrate from acegi to spring security and get this error (and cannot figure it out) ...



    Context initialization failed...
  11. Replies
    8
    Views
    13,940

    Am I able to individualize those...

    Am I able to individualize those SessionAttributes to distinguish different requests (with same type, but different instances (e.g. User - id 23, id 12)) in the same controller?
  12. Replies
    3
    Views
    1,627

    It seems that you did not qualify your HashItems...

    It seems that you did not qualify your HashItems setter/getter properly so Spring is not able to retrieve the values.

    As you need some login mechanism why not use spring security(acegi) easy to...
  13. Replies
    8
    Views
    13,940

    As far as I understand ;) whenever you use ...

    As far as I understand ;)

    whenever you use


    status.setComplete();


    you delete your last requested object from your SessionAttributes - so it cannot be accessed twice without reloading it...
  14. Thread: Basic login

    by nOiDStaRr
    Replies
    5
    Views
    924

    Search for the ACEGI framework, this is exactly...

    Search for the ACEGI framework, this is exactly what you are looking for.

    ACEGI = Spring security ;-)
  15. Replies
    4
    Views
    1,273

    So far I am using one controller for several...

    So far I am using one controller for several basic methods like view(GET), create(GET), edit(POST), list, delete. My controllers are currently written in annotation-style, therefore they can be...
  16. Replies
    6
    Views
    1,024

    I would say: 1. Create the controller and the...

    I would say:

    1. Create the controller and the method, return the populated ModelAndView
    - it should pass results and form data to the site
    - form data: check weather you need a clean object...
  17. Yes thats the way I am doing currently but there...

    Yes thats the way I am doing currently but there must be slight differentiations between both approaches.

    When do you use domain objects and when do form beans suit better.
    e.g.
    -If I am lazy...
  18. Replies
    6
    Views
    1,024

    When you include your jsp pages make sure you are...

    When you include your jsp pages make sure you are leaving correct html behind (maybe check with a HTML Parser).

    Furthermore I also would use the include option to bundle both sites together and...
  19. Forms: use domain objects or form beans there?

    Hi,

    just a simple design question I am not pretty sure about...

    Do you rather use your domain objects for the form backing objects or do you implement own form beans and push the data through...
  20. Annotation based controller and concurrent request (synchronization)

    Hi there,

    as I am changing my application from XML to annotation style (component scanning) I need further knowlege about how to get a AT-Controller (thread-) save.

    I've got one controller...
Results 1 to 20 of 20