从Dropdown获取值并将其作为参数传递给Dynamic Dropdown的URL地址

时间:2015-06-23 08:45:33

标签: dynamic drop-down-menu orbeon

我有一个简单的下拉列表(control-30)和

  

' label1的' ...' LABELN'

具有值

  

' VAL1' ...' VALN'

选择,让我们说label2将相应的val2传递给带有请求网址http://example.com/demo?code=????的动态下拉菜单(例如{$control-30}等)。我可以这样做,或者在控制设置对话框中没有办法做到这一点,但只在表单内作为代码。你能给我举个例子吗?例如,解决方案就像:http://example.com/demo?code={$control-30}

1 个答案:

答案 0 :(得分:0)

答案很简单:<h:form enctype="multipart/form-data"> <h:commandButton value="Submit" action="#{bean.action(true)}"> <f:ajax execute="@this" render="@this"/> </h:commandButton> </h:form>

相关问题