Search:

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

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    999

    i just came across your post trying to get the...

    i just came across your post trying to get the same thing working - you need to declare the result set first and then everything should work ok. ie:



    public SelectByProximity(DataSource...
  2. Replies
    7
    Views
    5,597

    i need to do the same thing (only against a...

    i need to do the same thing (only against a collection and not an array).

    i was thinking about wrapping the valang validator instance in another validator instance that knows how to loop over the...
  3. at the moment, i don't think that is possible -...

    at the moment, i don't think that is possible - the best you could probably hope for at the moment is to create base classes for the different types of controllers you use and do it that way.

    the...
  4. Replies
    2
    Views
    1,376

    did you ever find a solution to this? i tried...

    did you ever find a solution to this? i tried defining loader paths in both the spring context file and via the velocity properties file, but didn't have any luck w/ it.

    as a work around, i've...
  5. Replies
    22
    Views
    3,884

    Re: Nice idea, but...

    why don't you just use a standard handler interceptor? no AOP required.

    you can add whatever model data you need to the view object after it has been processed by the controller. see here:...
  6. Replies
    3
    Views
    1,117

    i believe the answer you're looking for is in...

    i believe the answer you're looking for is in that thread - you need to create your own Authentication Provider to handle the lookup.

    for now - i'd recommend just using a custom...
  7. Replies
    11
    Views
    3,151

    right now i'm using the...

    right now i'm using the PasswordDaoAuthenticationProvider with a custom PasswordAuthenticatonDao that will talk to a web service that handles authentication. the call to authenticate a user wants me...
  8. Replies
    4
    Views
    1,590

    the RequestContext object also helps w/ this. see...

    the RequestContext object also helps w/ this. see the javadoc for getRequestUri()
  9. Replies
    11
    Views
    3,151

    thx for the response. i'm not 100% sure if...

    thx for the response.

    i'm not 100% sure if that will meet my needs or not. the current interface i am working with requires that the ip address be sent as part of the request, so it would have to...
  10. Replies
    11
    Views
    3,151

    could you provide an approach that you would use?...

    could you provide an approach that you would use?

    if PasswordAuthenticationDao is going to removed, what mechanism will be left to ppl who need to write custom password authentication code?...
  11. Replies
    4
    Views
    1,590

    i'm sorry - you did say forward, although i...

    i'm sorry - you did say forward, although i believe my previous reply still applies.

    if you call request.getRequestUrl() inside the controller, does it give you the correct value? if the answer is...
  12. Replies
    11
    Views
    3,151

    thx for the reply - i take it that means i'm...

    thx for the reply - i take it that means i'm still going to have to extend the PasswordAuthenticationDao to allow passing of the ip address though.

    if there is other interest in this, i'd be happy...
  13. Replies
    4
    Views
    1,590

    if you're doing a redirect, you're going to need...

    if you're doing a redirect, you're going to need to add the url of the request to the model inside the controller instead of using the request object to access it in the jsp.
  14. Replies
    8
    Views
    1,326

    all you should have to do is make a call to...

    all you should have to do is make a call to referenceData(...) from within the processFinish method before you return the ModelAndView object.

    also - realize that you don't have to work w/in the...
  15. Replies
    11
    Views
    3,151

    no - i'm just using the standard acegi mechanisms...

    no - i'm just using the standard acegi mechanisms and not rolling my own.

    i'm thinking that i could pass this information around as "details" in the Authentication object, and then extend the...
  16. Replies
    11
    Views
    3,151

    pass ip address to authentication provider

    i have a requirement that i need to pass the source ip address to the backend when authenticating a user.

    i've already had to write a custom PasswordAuthenticationDao implementation b/c i am...
  17. Replies
    6
    Views
    3,747

    have you tried looking at the PagedListHolder and...

    have you tried looking at the PagedListHolder and RefreshablePagedListHolder classes? they make paging very easy and you should be able to delegate to hibernate quite easily (do a search on those...
  18. Replies
    1
    Views
    869

    you could stick the messages inside the session...

    you could stick the messages inside the session object and then use a filter to pull them out and clear them.

    check out http://equinox.dev.java.net/ for an example of this.
  19. Replies
    13
    Views
    5,676

    b/c i can't get enough of this topic, i figured...

    b/c i can't get enough of this topic, i figured out a workable solution for this...

    i created a controller in spring that duplicates all the functionality of the VelocityDecoratorServlet and i...
  20. Replies
    13
    Views
    5,676

    it seems that the integration is proving to be...

    it seems that the integration is proving to be more difficult then i expected - i can get everything to render, but the output from the applyDecorator method is ending up at the top of the template...
  21. Replies
    13
    Views
    5,676

    after spending some more time investigating this...

    after spending some more time investigating this last night, i believe this is the solution we both want: http://www.jroller.com/page/timosinko/20050124

    i'm curious to see just how much of that...
  22. Replies
    13
    Views
    5,676

    ok - i'm not really seeing an elegate solution...

    ok - i'm not really seeing an elegate solution around this problem. sitemesh redispatches the decorator back to the VelocityDecoratorServlet, so there isn't a simple way to carry along any context...
  23. Replies
    13
    Views
    5,676

    i'm having the same issue (i have a side bar that...

    i'm having the same issue (i have a side bar that always displays some summary information about the user that is stored in the SecurityContext created by acegi on authentication) - the problem is...
Results 1 to 23 of 23