commandButton and commandLink strange behaving

I use <h:commandButton value="ok" action="{#bean.method}"/>

bean.method returns null to stay on same page. when I run it on localhost everything is OK. when I deploy application on server, then action method is never called and nothing is happend (neither exception)

it same is happend with commandLink

[328 byte] By [radim.slovaceka] at [2007-11-26 18:15:52]
# 1
> I use <h:commandButton value="ok"> action="{#bean.method}"/> you misplaced '#'.. Try this..action="#{bean.method}"Message was edited by: w4c
w4ca at 2007-7-9 5:49:26 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
of cource, I have misplaced when I written this message... thanks
radim.slovaceka at 2007-7-9 5:49:26 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Of course it is a typo, otherwise it didn't even work locally ;)Well, add <h:messages /> to the JSF and see if there will be a validation or conversion error.
BalusCa at 2007-7-9 5:49:26 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...