jspx

Spring Roo 1.1.0.M1 .jspx rewriting

I am attempting to customize a create.jspx in Roo 1.1.0.M1. I am removing some fields from the UI that I want to automatically set in the controller (eg. dateCreated, createdBy). This works ok, UNTIL I edit the entity java file in any way. Roo then proceeds to rewrite my create.jspx back to the way it used to be There is no automatical...

Encoding errors in .jspx

I'm currently trying to deploy some RSS feeds on a WebLogic Application Server. The feeds' views are .jspx files, like the one below: <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom" xmlns:georss="http://www.georss.org/georss" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun....

How to get the value of an arbitrary bean property from a JSP?

I'm trying to write a custom JSPX tag that reads the value of a given bean property from each object in a given list, with the name of that property passed to the tag as a JSP attribute. The tag would look something like this: <jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:jsp="http://java.sun.com/JSP/Page" ...

embed JavaScript in XML compliant JSP files (JSPX)

Hello! I am using Spring Roo for my project. Spring Roo is using JSPX for round-tripping. How do I embed JavaScript in JSPX page, so it stays parsable? ...

JSPX adds <?xml version="1.0" encoding="UTF-8"?> to top of page, causes JS errors in IE6

When JSPX compiles, it automatically adds <?xml version="1.0" encoding="UTF-8"?> to top of file which causes some JavaScript code not to work on Internet Explorer 6. How can I avoid it to add <?xml version="1.0" encoding="UTF-8"?> in output file? ...

Keep JSPX from creating self closing tags (<div></div> != <div/>)

JSPX has the lovely side effect of turning: <div class="magic"></div> Into: <div class="magic" /> For many browsers this causes pandemonium and mayhem with layout even though it is valid XHTML. Consequently I have resorted to using a groovy script to find all possible bad HTML with the following regex: def m = html =~ /<(\w+)[^>]...

i need to retrieve file values

i have uploaded a file using icefaces onputfile tag,now i want to retrieve that file value and again save that in list. Can you please send me tips or code for that? ...

Spring Roo JSPX and form tag

I am trying to use the form tag within a Spring Roo JSPX file: But everytime I run the application, I keep getting the following exception: The prefix "form" for element "form:form" is not bound. I have the form tag library included (xmlns:form="http://www.springframework.org/tags/form"). Can anyone help me get started on troubleshoo...