I have error when trying to execute a simple function. Let's just said I have following method in my backing bean
When I call the method from my JSF, using this code :
It displays following error:
foo must be used with a prefix when a default namespace is not specified
Well, I found a link in google. I suppose this will also happen using non-JSF EL in standard JSP page. The problem is how can I fix this in JSF (or JSP) EL?
Does JSF (or JSP) does not support parameterized method?? Why??
Joined: Dec 12, 2005
doesn't support =(
BUT JBOSS SEAM SUPPORTS! exactly like your code ;D
I think you are using a default JSF Implementation, so, in fact myfaces, RI, Rave, ADF , IceFaces and so on really don't support it
there are two ways to you send parameters to your backing bean
your backing bean
the second way is using a f:param to send a parameter to your backingbean by request. The main difference of the last way is because this second way can pass parameters when you are calling a action method and not only a actionListener method(I MUST CONFIRM, I DON'T REALLY remember if this affirmation is true hahaha, so you can try and tell us if this way works calling an action :P)