The value attribute should be a *value* binding expression. It must
bind to a *property*. So you do something like this ...
value=#{theBackingBean.foo}"
and in your backing bean you have
public String getFoo()
{ ... }
public void setFoo(String fooValue)
{ ... }
sean
On 8/24/05, Saul Qunming Yuan <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm wondering what's the correct way to call a method in the backing bean
> from a JSF page. What I tried is to use <h:outputText
> value="#{theBackingBean.theMethod}" />, the backing bean method returns an
> empty string, so nothing gets printed out in the page. Which works, but I am
> not sure this is the correct way to do it.
>
> thanks,
> Saul