2 Replies Latest reply on Jan 14, 2007 2:28 PM by adsf adsf

    ajax4jsf & parameters in EL methods

    adsf adsf Newbie

      Hello,

      I get a parsing error when I try to use EL methods with paramters in ajax4jsf tags.

      I.e. this works:

      <s:button value="Remove Precondition" action="#{usecasesBean.removeCondition(usecase.preconditions)}"/>

      but when i try:
      <a4j:commandButton value="Remove Precondition" action="#{usecasesBean.removeCondition(usecase.preconditions)}" reRender="preconditions">

      i get:
      javax.el.ELException: Error Parsing: #{usecasesBean.removeCondition(usecase.preconditions)}
      ...
      Caused by: com.sun.el.parser.ParseException: Encountered "(" at line 1, column 31.

      To put it short: can I use EL method parameters in ajax4jsf tags?