I really think this f:param thing is completely irrelevant to the
original issue.
f:param allows an arbitrary http request parameter to be attached to a
postback triggered by an h:commandButton or h:commandLink.
As far as I am aware, the f:param tag does *nothing* when attached to
any other component.
And anyway Lisa needs to know *when the h:selectOneMenu is rendered for
the very first time* what block of reference data to draw the
select-item labels from, ie when no postback has occurred at all.
BTW, I've removed the "[solved]" from this email's subject.
Regards,
Simon
Lisa wrote:
Where/ how is "map" defined?
thanks
L
krg9263 wrote:
Not sure if this will work with
<h:selectOneMenu
but you could try it this way. I have done this with a commandLink.
<h:commandLink id="manufacturer_x"
action="go_Test" actionListener="#{testList.execute}">
<f:param name="queryTableParam" value="ALL" />
</h:commandLink>
Inside bean.
public void execute(ActionEvent event) {
queryTable = (String) map.get("queryTableParam");
//then call whatever you need to do
this.go();