我正在使用一个简单的扩展,它显示来自 af:select 中域对象的属性列表。使用下拉列表后,表单重定向到控制器操作,并且存储库根据参数选择的属性获取所有记录。
<f:form class="filter-select" name="filter-select" method="post" action="showByProperty" pageUid="{settings.detailShowByProperty}">
<f:form.select name="filter-form" options="{properties}" optionLabelField="title" optionValueField="uid" prependOptionLabel="Please choose..." prependOptionValue="0" />
<button>
Show matching records
</button>
我如何使用带有选择字段的路由增强器来创建如下网址:
http:www.mysite.com/detailpage/property
特别是我不知道如何附加属性/参数。
提前致谢!