(Reusable) Dependent dropdowns in Seam and RichfacesPublished Thursday, May 7th, 2009 by ANIn the previous post I had some code to illustrate how I do dependent dropdowns with seam and richfaces. I cleaned it up to focus on the important stuff and I am not sure to which degree it compiles and runs. However, you may have noticed one thing that is certainly odd. Most of the operations are on the object named “vendormodelselector” which is described in the post. But the search action is on “searcher”. This is because I include the seam file on multiple pages with “ui:include” (xmlns:ui=”http://java.sun.com/jsf/facelets”). and with “ui:param” I can pass a different searcher object depending on the page. Like this
<ui:include src="vendormodelmenu.xhtml">
<ui:param name="vendormodelheader" value="Appropriate header"/>
<ui:param name="searcher" value="#{searcher_object_name}"/>
</ui:include>
Neat! Leave a ReplyCreating, consuming and testing SOAP webservices on Grails
Friday, February 12th, 2010
We are currently making a backend system, that has its services exposed as webservices. Since ... My first patch to Grails accepted
Monday, November 23rd, 2009
I recently wrote a patch for Grails to support dateCreated and lastUpdated when using mockDomain ... |
||
|
© 2008 Code3 ApS | Rådmandsgade 45A, 1. | 2200 København N | +45 7020 3383 | kontakt@code3.dk
![]() ![]() |
||