Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. @SessionAttributes & intermittent HttpSessionRequiredException

    I have a controller which acts as a form controller and a muilt-action controller, so to speak. Basically, there is a main object being edited via the form as well as some "side conversations"...
  2. SimpleMappingExceptionResolver applyStatusCodeIfPossible

    I am using a SimpleMappingExceptionResolver.statusCodes in an attempt to map AccessDeniedException's to status code 403. applyStatusCodeIfPossible() does apply the status code but later in the...
  3. Replies
    1
    Views
    761

    I realize this is an old question but in case...

    I realize this is an old question but in case someone else has some use for a possible solution...

    Assuming you know the key<->datatype relationship, you could register a custom editor for each...
  4. Replies
    2
    Views
    626

    Never mind... had nothing to do with webflow......

    Never mind... had nothing to do with webflow... it was how the code is compiled (in my case, with ant). Apparently, you need to compile the code with the debug flag set.

    <javac srcdir="${src-dir}"...
  5. Replies
    2
    Views
    626

    How to get line numbers in the log?

    Does anyone know why when I use webflow, it can't tell me the line numbers of my code in the log (and how I can get them to print)?

    See lines 2 and 3 for an example. I'm using the same log4j...
  6. Replies
    12
    Views
    1,966

    As suggested in this thread, I have created a...

    As suggested in this thread, I have created a filter that trims all parameter values.

    When the form tag on the html page uses the default encoding of "application/x-www-form-urlencoded" I find a...
  7. I was getting this exception as well... seems you...

    I was getting this exception as well... seems you need to have aopalliance.jar in your classpath... org.springframework.aop-3.0.0.RC3.jar is not enough.

    You can download the file from here:...
  8. Replies
    14
    Views
    15,488

    Yeah, they changed the method of configuration. ...

    Yeah, they changed the method of configuration. Much of it is documented and much is not (usually you can find the "not" part somewhere around here).

    @see ...
  9. Replies
    3
    Views
    1,485

    This seems to work: ...

    This seems to work:

    ${requestScope['javax.servlet.forward.request_uri']}
  10. Replies
    22
    Views
    7,592

    Are you sure commence() is executing? Does the...

    Are you sure commence() is executing? Does the following statement run?



    logger.debug("Got ajax request but user is not authenticated... <snip>


    If it does, then things are set up right......
  11. Replies
    22
    Views
    7,592

    Assuming you are using Spring Security, did you...

    Assuming you are using Spring Security, did you try overriding AuthenticationProcessingFilterEntryPoint.commence()? I think this worked for most situations for me, but I forget the details. Setup...
  12. Replies
    21
    Views
    13,439

    I think you need to give your submit button an...

    I think you need to give your submit button an "id" attribute and use that value for elementId in your ValidateAllDecoration:



    <input type="submit" id="blah" value="Login" style="color:...
  13. Replies
    4
    Views
    1,274

    Thanks for the reply... I checked the logs and I...

    Thanks for the reply... I checked the logs and I don't think it could be that...



    Entering state 'index' of flow ...
    User event 'changeIt' raised
    Exiting state 'index'
    Entering state 'test'...
  14. Replies
    4
    Views
    1,274

    Popup using Tiles

    Hello, I'm trying to do a popup view using this...




    <view-state id="index">
    <transition on="changeIt" to="test" />
    </view-state>

    <view-state id="test" view="someTest" popup="true">
  15. Replies
    22
    Views
    7,592

    Jeremy, After playing around with the latest...

    Jeremy,

    After playing around with the latest version, I did determine that it did fix the looping issue (I needed to clear the browser cache). However, I did notice the following:

    If the link...
  16. Replies
    22
    Views
    7,592

    duh... after that rant, I realized I'm not using...

    duh... after that rant, I realized I'm not using POST at all! (I usually use the <form:form> tag which does POST by default.)

    I added the method=post to the form tag and the redirect seems to work...
  17. Replies
    22
    Views
    7,592

    Thanks for the response Jeremy (and all your work...

    Thanks for the response Jeremy (and all your work on webflow)...

    I downloaded and installed org.springframework.*-2.0.6.CI-10.jar and I still get "Invalid chunk ignored" and the infinite loop on...
  18. Replies
    22
    Views
    7,592

    WARNING: Parameters: Invalid chunk ignored.

    Shino,

    Thanks for your post... I used your javascript hack (no offense) to close my popup. I'm posting this in case someone might have a similar need, but I also would like to know if there is a...
  19. Replies
    21
    Views
    13,439

    Good idea Robert. I'd like to see more examples...

    Good idea Robert. I'd like to see more examples and docs myself.

    It ain't much, but here's a dialog/popup box.



    <div id="dialog1">
    this is some dialog
    </div>
  20. form:input populated but command field is empty

    This is a little difficult to explain, so please bear with me.

    I'm having an issue with the spring form tags. I have a main flow that calls a subflow. The subflow and mainflow both use a...
  21. In the example given, the global transitions...

    In the example given, the global transitions represent menu navigation -- you should be able to add as many global transitions as you need to support your navigation. We are only using only one...
  22. Ok, I am using a FlowHandler now to handle...

    Ok, I am using a FlowHandler now to handle exceptions, but I see that the flowUrlHandler hooks to the FlowHandlerAdapter which doesn't have an id or any direct hooks to my FlowHandler -- it just...
  23. We are doing something similar using this...

    We are doing something similar using this approach:

    Global Transitions Flow:


    <?xml version="1.0" encoding="UTF-8"?>
    <flow xmlns="http://www.springframework.org/schema/webflow"
    ...
  24. Ok, I tried it again (putting the EntityManager...

    Ok, I tried it again (putting the EntityManager in the Service layer) and it worked. I guess it is because of the dao pattern I'm using as stated here...
    ...
  25. persistence-context in flow not working: LazyInitializationException

    I'm am trying to make use of the persistence-context in SWF 2.0.3, but I am still getting LazyInitializationExceptions. Below is some of my config info. The only thing that I see that I'm doing...
Results 1 to 25 of 51
Page 1 of 3 1 2 3