Announcement Announcement Module
Collapse
No announcement yet.
OGNL and resourceBundle Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • OGNL and resourceBundle

    I am not sure what I am doing wrong here. I am trying to use OGNL and the resourceBundle EL variable.

    I try this in my flow:
    <set name="channel0" value="#{resourceBundle.channel0}" />

    I have a property file called channel.properties and it has:
    channel0=test

    I see the property file loaded in debug
    [org.springframework.context.support.ReloadableReso urceBundleMessageSource] - Loading properties [channel.properties]

    and I keep getting:
    ognl.NoSuchPropertyException: org.springframework.webflow.engine.impl.RequestCon trolContextImpl.channel0

    I am guessing I am doing something wrong but I am not sure what. Any help will be greatly appreciated.

  • #2
    It seems to be more of an issue with the decision-state I am using

    Comment


    • #3
      It was due to the fact that I had #{resourceBundle.channel0} instead of ${resourceBundle.channel0}

      Comment

      Working...
      X