I am using struts2 and need to show/hide some textboxes in my <s:form>.
I did this by using JS code:
The problem that these method doesn't work with default xhtml theme, and I need to set <s:form theme="simple"> and use custom layout to make that works.
Using simple theme broke my UI on that page, because I am using default struts2 layout on others.
Does anybody have any ideas of how to show/hide textboxes by using default html theme with struts2 layout???
You either need to hide/show individual form elements, or modify a theme to give you more control over what appears.
I don't recall if someone has done the work to give for rows IDs yet--it's been on my list of things to do and now that I have some time hopefully I'll finally get around to it if nobody's done it yet (especially since I have the code sitting on my local machine already :/
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com