Results 1 to 2 of 2

Thread: ${} vs. #{}

  1. #1

    Default ${} vs. #{}

    I'm new to webflow and I'm trying to get started with the sample applications included in the download. I'm referencing the sellItem-jsf as my application is using JSF. This may seem a rather foolish question but what is the difference between using ${variable} vs. #{variable}?

    In the spring webflow reference guide it makes reference to:

    The DelegatingFlowVariableResolver resolves JSF a value binding expression like
    {#someBean.someProperty} to a flow execution attribute.
    (which I know to be a typo. It should be #{someBean.someProperty})
    but all the sample applications seem to be using ${someBean.someProperty}. It seems to make a difference because if I change the jsp pages to use the #{someProperty} syntax the results are not what is expected.

    It there somewhere that this value is set for the expression language? Should I even concern myself with this?

    Thanks for the help...

  2. #2
    Join Date
    Jun 2007
    Posts
    26

    Default

    your question seems nothing to do with SWF. ${} is syntax of JSTL, and #{} is used by JSF.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •