Do you have <library id="contrib" specification-path="classpath:/org/apache/tapestry/contrib/Contrib.library">
in your .application file? On Wed, Jun 1, 2011 at 15:33, nazarhussain_s <nazar...@gmail.com> wrote: > Hi, > In my Home.html i am having a multi-select drop down. While running > the Application i am getting the following Exception > > [ +/- ] Exception: Library 'contrib' not found in application namespace. > org.apache.hivemind.ApplicationRuntimeException > location: context:/WEB-INF/Home.html, line 3 > 1 <html> > 2 <form jwcid="myForm"> > 3 <select jwcid="@contrib:MultiplePropertySelection" > model="ognl:sampleModel"></select> > 4 </form> > 5 </html> > > > PFB the code in my Home.html and Home.java > > <select jwcid="@contrib:MultiplePropertySelection" > model="ognl:sampleModel"></select> > > Home.java > ---------- > public String[] sampleArray = {"Yelp","Gulp","Slurp","Burp","Zurp"}; > public IPropertySelectionModel getSampleModel(){ > > return (IPropertySelectionModel) new > StringPropertySelectionModel(sampleArray); > > } > > Can anybody suggest how to declare and use Components from contrib.jar > viz., - MultiplePropertySelection. > > > > Regards > Nazar > > > > > > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Getting-Library-contrib-not-found-in-application-namespace-Exception-while-using-MultiplePropertySelt-tp4445113p4445113.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr Apache Tapestry PMC / http://chesstu.be owner Open Source / JEE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org