Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
03. Mar 2008, 08:58 CET | Link

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

 
2 Replies:
03. Mar 2008, 16:42 CET | Link

I don't see this behavior.

03. Mar 2008, 17:06 CET | Link

Hm, strange... I use Seam 2.0.1.GA with the myfaces library! Maybe the myfaces library is cause ot the problem, I will check it and report.

Thankx