users@woodstock.java.net

problem using <f:param> with Woodstock 4.1.1 components

From: autozoom <cioni_mauro_at_yahoo.com>
Date: Thu, 17 Jan 2008 03:50:17 -0800 (PST)

I am trying to use a button column in a data table and passing a parameter
using <f:param> like this:
<webuijsf:tableColumn align="center" ...>
   <webuijsf:button
actionExpression="#{osservatorio$Osservatorio.editContactButton_action}"
...>
      <f:param name="xxx" value="ciao"/>
   </webuijsf:button>
</webuijsf:tableColumn>


This is not working because the call to
FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("xxx");
in the action handler always returns null

The same is working when I replace the button with a hyperlink.

This seems to be because the button is rendered using a <input> tag while
the hyperlink is rendered client-side using a createWidgetOnLoad()

thanks

Mauro
-- 
View this message in context: http://www.nabble.com/problem-using-%3Cf%3Aparam%3E-with-Woodstock-4.1.1-components-tp14917103p14917103.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.