Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,103

    The best way is to have a setter for "shipping...

    The best way is to have a setter for "shipping calculator" in your "order" object, then set that from your application context definition file.
  2. Replies
    2
    Views
    1,124

    Yea, none of those combinations seem to do it...

    Yea, none of those combinations seem to do it either. :(
  3. Replies
    4
    Views
    1,278

    And use a tag library. If you don't you'll wish...

    And use a tag library. If you don't you'll wish you did after you do it about a million times by hand. The Jakarta one is okay, but a bit dated. It's pretty easy to write your own. I just wrote one...
  4. Replies
    2
    Views
    1,124

    Message source won't resovle error codes.

    Here's my messages.properties in WEB-INF/classes:



    typeMismatch=Invalid date.
    monkeyMessage=You are a giant monkey!


    Here's my app context:
  5. Replies
    27
    Views
    4,757

    Oh, okay. I saw your article on TheServerSide and...

    Oh, okay. I saw your article on TheServerSide and thought it was already done. :)

    However, I'm using a build from this morning and I can't get anything to work. I didn't get too deep into the...
  6. Replies
    27
    Views
    4,757

    I noticed that you've done some work with this....

    I noticed that you've done some work with this. Is it complete, because I'm having some trouble getting it to work.
  7. I think you are confusing the HttpServletRequest...

    I think you are confusing the HttpServletRequest with the WebFlow RequestContext. WebFlow binds parameters from the HttpServletRequest, not attributes fromt the RequestContext.
  8. Replies
    27
    Views
    4,757

    I like that syntax a lot. Does

    I like that syntax a lot. Does <input name="" value="" as=""/> make sense? If you have a value, why do you need a name?

    I didn't know that requests could overlap flows. Very good to know.
  9. Replies
    17
    Views
    5,680

    Ahh, okay, I was looking at an older compile...

    Ahh, okay, I was looking at an older compile before that was available. It's fixed now.
  10. Replies
    27
    Views
    4,757

    Are you talking about that subflow-state syntax...

    Are you talking about that subflow-state syntax in addition to specifying parameters in the subflow itself? Because you need to specify the local key, as well as the foreign key to map it to for each...
  11. Replies
    3
    Views
    1,166

    Put setBindOnNewForm(true) in your constructor....

    Put setBindOnNewForm(true) in your constructor. Then all your request parameters will be bound to your command object, but only after it gets it from FormBackingObject, so you'll have to fill in the...
  12. SimpleFormController is a singleton, so it...

    SimpleFormController is a singleton, so it wouldn't make any sense to use it that way unless did pooling or something.
  13. Do you have a resolver in the application context?

    Do you have a resolver in the application context?
  14. Replies
    17
    Views
    5,680

    I moved everything into a listener. I like this a...

    I moved everything into a listener. I like this a lot better, thanks for the suggestion.
  15. Replies
    27
    Views
    4,757

    Done and done.

    Done and done.
  16. Replies
    27
    Views
    4,757

    XML Attribute Mapping?

    I was wondering if there was talk of using xml for sub-flow attribute mapping rather then full-blown classes? Maybe something like:



    <webflow id="mySubflow" start-state="setupForm">
    <in-param...
  17. Replies
    17
    Views
    5,680

    What would be the benefit of throwing an...

    What would be the benefit of throwing an EnterStateVetoException? It would make the code a lot simpler, but wouldn't it also mean that the user would have to map that excpetion to either an access...
  18. Replies
    17
    Views
    5,680

    Securing WebFlows II

    EDIT: There's been a redesign; I'm now using a listener.

    I came up with a way to integrate Acegi role-based permissions into WebFlow. Here's an example:



    <bean id="flowListener"...
  19. Replies
    3
    Views
    1,049

    Thank you. Worked like a charm.

    Thank you. Worked like a charm.
  20. Replies
    3
    Views
    1,049

    Problem with signing in version 0.8.2

    I'm trying to upgrade to Acegi 0.8.2, but I keep getting this classloader exception:

    java.lang.SecurityException: class "net.sf.acegisecurity.UserDetails$$FastClassByCGLIB$$79f8a924"'s signer...
  21. Replies
    3
    Views
    1,677

    I like that a lot. Not defining a bindAndValidate...

    I like that a lot. Not defining a bindAndValidate state for every view is going to be nice. When is it expected to "ship"?
  22. Replies
    4
    Views
    2,938

    Are you suggesting that I create a seperate...

    Are you suggesting that I create a seperate UserDetails class for Acegi, then use that to fetch my User class? That seems overly complicated, and is essentially what I'm doing now anyway, except with...
  23. Replies
    4
    Views
    2,938

    Using a Hibernate UserDetails

    This has been giving me problems for months now, and I'm thinking that there has to be a recommended way to do this. The problem is that, because my UserDetails is managed by Hibernate, it needs to...
  24. Replies
    7
    Views
    2,063

    Great! Thanks again.

    Great! Thanks again.
  25. Replies
    7
    Views
    2,063

    Securing WebFlows?

    Sorry about all the recent threads, I think after this speed bump I should be good to go.

    Anyway, the last thing I need to do to make flows totally functional is to secure them. My first thought...
Results 1 to 25 of 55
Page 1 of 3 1 2 3