|
From: Alef A. <al...@jt...> - 2003-07-08 17:41:53
|
Ok, here we go... Like you said, at first glance, it does not look like the i21:bind tag needs expressionalization (hmmm, nice huh ;-). However, in the petclinic demo app I'm seeing a lot of input.jsps in the jsp/fields directory. These are things I'm hoping to solve using for instance EL-based tags... Attached you'll find a reworked version of the ownerForm. It does not use the JSPs from the fields directory anymore, but uses only one input.jsp that uses the bindstatus object to create the input field. Ok, it's still all rough and reworking the tags is a little bit more work than the 15 minutes I spent on it now, but maybe you're getting the idea. Consequences for adding / reworking the tags: 1. dependency on jakarta-jstl-1.0.3 (jakarta.apache.org/taglib --> standard). 2. dependency on jstl-1.0.3 (java.sun.com) 3. In case you want to have both version in there, an extending class for each tag 4. For each tag, a BeanInfo class 5. I wasn't able to use the EvalHelper from jakarta, so I copied it (hmmm... not so nice, is it ;-) Probably I don't have time this week or something to refactor them to be all EL-based... Just let me know if you'd like it. Well, that's it for now, still discovering really cool features and already running out (brain)memory to think up everything I could do with Spring ;-) Cheers, Alef |