SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)
Originally posted by Raj Ravi:
SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)
Originally posted by Rajeev Ravindran:
Gregg, thanks for the code.. Could you tell me where i can find more information on component biding (other than the sun site)
Thanks again,
Rajeev
BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design
Crazy Bikes created by m-Power
Thanks,<br />Prasanna<br />SCJP1.4,SCWCD1.4,SCBCD1.3,SCDJWS,SCEA-1<br />IBM Certified Solution Developer -- WebSphere Portal V5.1(got 100%)
Thanks,<br />Prasanna<br />SCJP1.4,SCWCD1.4,SCBCD1.3,SCDJWS,SCEA-1<br />IBM Certified Solution Developer -- WebSphere Portal V5.1(got 100%)
SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)
Thanks,<br />Prasanna<br />SCJP1.4,SCWCD1.4,SCBCD1.3,SCDJWS,SCEA-1<br />IBM Certified Solution Developer -- WebSphere Portal V5.1(got 100%)
Knolf Moervenson wrote:Hi Gregg!
I like the code you posted concerning selectOneMenu binding in jsf keeping clean the jsp-code. So I tried to use it and adjust the code to my project, but now I got a PropertyNotWritableException. Think a setter is needed in the backingBean, but I'm new in jsf and for me it's not obvious how this setter should look like.. would be great if you could help me with a setter code handling the selected id.
Thanks a lot and greets,
Henning
Gregg Bolinger wrote:Not that this is way different but I prefer to use component bindings. It keeps the JSP cleaner, however, adds a bit to the Java code. Here is an example.
Note that here I am using Java1.5 features and Spring to get my data from the database. Like I said, it's a bit more java code to do it but it keeps the JSP's a bit cleaner, IMHO. It's always good to have more than 1 option anyway.
Don't get me started about those stupid light bulbs. |