If you manually set the supplier name using
targetBean.getSupplier().setName(request.parameter("supplier.name")) -
does it work?
Matt
On 4/9/07, wiradikusuma <[EMAIL PROTECTED]> wrote:
hi,
i need to filter displaytag using criteria. so i created a criteria form:
========================================
<form method="get" id="specifierForm">
<input type="text" name="supplier.name" value="${param['supplier.name']}"/>
<input type="submit" value="OK"/>
</form>
========================================
leveraging appfuse's *Controller for displaying lists:
========================================
public ModelAndView handleRequest(...)
...
BeanUtils.populate(targetBean, request.getParameterMap());
...
========================================
my displaytag has:
========================================
<display:column property="supplier.name"/>
========================================
the thing is, BeanUtils.populate seems only do "shallow" populate. that is,
it doesn't correctly handle request such as:
supplier.name (see my criteria form).
is there any workaround for this?
--
View this message in context:
http://www.nabble.com/how-to-filter-displaytag-tf3546089s2369.html#a9899108
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]