2 Replies Latest reply on Mar 3, 2008 5:06 PM by Daniel Wachter

    Method get called twice

    Daniel Wachter Newbie

      Hello together


      I have a problem with a method which I call from the view.
      If I call the method within a h:output tag, the method is always called one time before.


      Example:


      This calls the makeGraphic() method twice, the first time with param null:


      <h:output value="#{graphicFactory.makeGraphic(Param)}">




      If I call the method not within a h:output tag, the method will only be called one time.




      This calls the makeGraphic() method one time as it should:



      #{graphicFactory.makeGraphic(Param)}




      Cause I want to output some html tags I have to work with h:output!

      Is this a bug?

      Thanx Daniel