Code till you … drop
Easy Insert for Tapestry
After getting some positive feedback for a previous blog, I decided to add the EasyInsert component into TapFX.
In the latest version (0.15, just get the jar and drop it into your classpath),
you’re able to use the following:
- ${user.name} . This will become: <span jwcid=”@Insert” value=”ognl:user.name”/>
- <div class=”${global.class}”>content</div> . This will become: <div jwcid=”@Any” class=”ognl:global.class”>content</div>
- <div jwcid=”@MyDiv” class=”${global.class}”>content</div> . This will become: <div jwcid=”@MyDiv” class=”ognl:global.class”>content</div>
Anyway, I hope this proves useful to all.
| Print article | This entry was posted by andyhot on 21/03/2006 at 17:28, and is filed under tapfx. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |



about 6 years ago
Yep, EasyInsert is for Tapestry 4 only. You’ld probably have to use a patched version of Tapestry 3 to achieve the same functionality.
about 6 years ago
I want to use this for tapestry 3. I tried to drop it in WEB-INF/lib, not working. I guess I have to put it in some kind of configuration file, are the installation directions meant for tapestry 4?
about 6 years ago
I actually wanted to add this to Tapestry proper, based on a suggestion by Erik Hatcher … and got voted down! Perhaps after people see it in TapFX, they’ll understand its value.