Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    2,171

    Hello, I've tried a variety of ways to get...

    Hello,

    I've tried a variety of ways to get this to work and it always fails. This:

    <if test="domain.vendor==@db.Domain@VendorEnum.JBOSS423_15" ..

    causes this:

    Caused by:...
  2. Replies
    12
    Views
    2,171

    Hi, I'd prefer to address enums directly; I...

    Hi,

    I'd prefer to address enums directly; I wonder if InverseFalcon found any issue with the version of OGNL I was using?


    John
  3. Replies
    12
    Views
    2,171

    Hello, Well the jars are pulled down via...

    Hello,

    Well the jars are pulled down via maven:


    <dependency>
    <groupId>org.springframework.webflow</groupId>
    <artifactId>org.springframework.webflow</artifactId>
    ...
  4. Replies
    12
    Views
    2,171

    Hello, Thanks for the feedback. Yes, it is a...

    Hello,

    Thanks for the feedback. Yes, it is a different code fragment and it was missing an =. It should work but still doesn't:


    Caused by: java.lang.IllegalArgumentException: invalid...
  5. Replies
    12
    Views
    2,171

    Hi, Thanks for your feedback. I tried this: ...

    Hi,

    Thanks for your feedback. I tried this:


    <decision-state id="stage3">
    <if test="domain.vendor=='JBOSS423_15' or domain.vendor='JBOSS423_16'" then="stage3-jboss"...
  6. Replies
    12
    Views
    2,171

    Hi, It appears enums may be more broken. If I...

    Hi,

    It appears enums may be more broken. If I try to call getCode on the Enum (a method I added, and it works fine through normal JSTL), then I get this exception:
    ...
  7. Replies
    12
    Views
    2,171

    Hi, That doesn't work - we're now comparing an...

    Hi,

    That doesn't work - we're now comparing an enum with a String.

    Any other ideas?


    John
  8. Replies
    0
    Views
    518

    Input parameters for just one transition

    Hello,

    Could someone help me with a problem concerning parameters? I would like Webflow to convert some parameters into ints before they are used in an evaluate, and I only want this to occur in...
  9. Replies
    12
    Views
    2,171

    Enums in webflow test attribute

    Hello,

    If I have:

    public class Domain
    {
    public VendorEnum getVendor() { .. }
    }

    where VendorEnum has the values VendorEnum.SUN and VendorEnum.ORACLE, and an instance of Domain exists...
  10. Storing objects in FlashScope (is it the request?)

    Hello,

    Consider the following:

    <on-render>
    <set name="flashScope.sdClientBean" value="changeService.sdClientBean"/>
    </on-render>

    Does this leave the value on the request with...
  11. Replies
    7
    Views
    3,253

    Got it! Nothing wrong with replacing...

    Got it!

    Nothing wrong with replacing ControllerClassNameHandlerMapping for DefaultAnnotationHandlerMapping, however my code was confusing Spring.

    I had:


    @Controller
    public class...
  12. Replies
    7
    Views
    3,253

    Take the above, enable the...

    Take the above, enable the DefaultAnnotationHandlerMapping, and exclude scanning of controllers;


    <context:component-scan base-package="com.blah">
    <context:exclude-filter type="annotation"...
  13. Replies
    7
    Views
    3,253

    Ok, I can't take anymore :-) I'd be very...

    Ok, I can't take anymore :-) I'd be very grateful if you could tell me how to modify the following to use the DefaultAnnotationHandlerMapping so I can implement interceptors. You'll note I've added...
  14. Replies
    7
    Views
    3,253

    Hi, Well i wasn't using a...

    Hi,

    Well i wasn't using a DefaultAnnotationHandlerMapping - I defined ControllerClassNameHandlerMapping. I've replaced Controller.. for Default... and now I'm seeing this exception:

    Cannot map...
  15. Replies
    7
    Views
    3,253

    Sorry, I thought it best to move a totally...

    Sorry, I thought it best to move a totally non-Webflow related question to this forum...
  16. Replies
    7
    Views
    3,253

    Interceptors and annotated controllers

    Hello,

    I'd like to use an interceptor with an annotated method:



    @RequestMapping(method = RequestMethod.GET, value="/home/home.do")
    public String home(HttpServletRequest request,...
  17. Replies
    6
    Views
    846

    While completely non-Webflow, there appears to be...

    While completely non-Webflow, there appears to be a problem with AnnotationMethodHandlerAdapter. It does not implement HandlerInterceptor, so annotated methods can not have an interceptor...
  18. Replies
    10
    Views
    2,266

    Take out the and tags that load...

    Take out the <script> and <style> tags that load dojo, something like this:

    <script type="text/javascript" src="<c:url value="/resources/dojo/dojo.js" />" djConfig="parseOnLoad: true">...
  19. Replies
    6
    Views
    846

    Hi, Thanks for the feedback. I've written an...

    Hi,

    Thanks for the feedback. I've written an interceptor, but how do I get it executed after the page has been rendered, as opposed to after the controller method has completed. I'm using the...
  20. Replies
    6
    Views
    846

    Hello, Thanks for the feedback. I completely...

    Hello,

    Thanks for the feedback. I completely agree that JDBC stuff should be handled by the Spring code, and perhaps I should have mentioned that this is a bespoke API where by the client has to...
  21. Replies
    6
    Views
    846

    How to run actions after rendering

    Hello,

    <on-render> allows us to evaluate actions as a view is rendered. How is something executed when the view has been rendered? Such as, returning a database connection to a pool?


    John
  22. Replies
    16
    Views
    1,495

    Hello, I don't think we should be too worried...

    Hello,

    I don't think we should be too worried about SWF obtaining elements of a programming language, because that's essentially what it's replacing. The ability to set a variable with a string,...
  23. Replies
    16
    Views
    1,495

    However, in reality, you are programming in XML. ...

    However, in reality, you are programming in XML. You are taking the flow from code, simplifying it writing XML - the kind of thing someone with limited programming experience can do with some...
  24. Replies
    16
    Views
    1,495

    How can I do this:

    How can I do this:


    <set name="myObject.attribute" value="Some value" />

    And further to the post above, I guess evaluate does have a use if one just wants to execute a method, such as writing...
  25. Replies
    16
    Views
    1,495

    I've not managed to cancel a transition but I'm...

    I've not managed to cancel a transition but I'm using result, and I'd not realised this was how evaluate is supposed to work. If I'm in a transition, I expect that transition to complete or return...
Results 1 to 25 of 78
Page 1 of 4 1 2 3 4