Robert, I've made several changes but not all your reports were fixed. JSP-XML support is too painful for IDEA and we will introduce it very gradually.
PS I thought that almost no one uses XML syntax in JSP... What are the benefits of using this syntax? Best regards, Mike Aizatsky. ------------------------------ JetBrains, Inc / IntelliJ Software http://www.intellij.com "Develop with pleasure!" > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On > Behalf Of Robert F. Beeger > Sent: Tuesday, March 19, 2002 9:15 PM > To: [EMAIL PROTECTED] > Subject: [Eap-list] #612 Uncomplete support for JSP-XML-syntax > > Hi! > > The following is a valid JSP. I deployed it to JBoss 2.4.4 with Tomcat > 4.0.1 and it works. > > <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" > xmlns:ext="ext" > version="1.2"> > <jsp:directive.page language="java" /> > <jsp:directive.page import="java.io.File, rbdipl.PersonBean" /> > <jsp:directive.page import="java.util.Iterator" /> > <jsp:directive.page import="org.formproc.*" /> > <jsp:directive.page import="org.formproc.validation.ValidationResultMap" > /> > > <jsp:useBean id="results" class="org.formproc.FormResult" > scope="session"/> > <jsp:useBean id="person" class="rbdipl.PersonBean" scope="session" /> > <jsp:useBean id="form" class="org.formproc.servlet.HttpForm" > scope="session" /> > <jsp:useBean id="formManager" class="org.formproc.FormManager" > scope="page"/> > <jsp:scriptlet> > form.setName("datumform"); > form.setTarget(person); > formManager.configure(form); > </jsp:scriptlet> > > <html> > <head> > <title>Test Form</title> > </head> > <body> > <form action="process.jsp" method="POST"> > <jsp:text> > Datum : > </jsp:text> > <ext:input name="datum" type="text"> > <ext:attribute name="value"> > <jsp:expression> > person.getGeburtsdatum() > </jsp:expression> > </ext:attribute> > </ext:input> > <jsp:scriptlet> > if(results.getValidationResults().isValid("datum")) > { > </jsp:scriptlet> > <img alt="" src="valid.gif" border="0" /> > <jsp:scriptlet> > } > else > { > </jsp:scriptlet> > <img alt="" src="invalid.gif" border="0" /> > <jsp:scriptlet> > } > </jsp:scriptlet> > <br/><br/> > <input type="submit" value="Abschicken" /> > </form> > <ext:generic tagType="font"> > <ext:attribute name="color"> > <jsp:text> > red > </jsp:text> > </ext:attribute> > <jsp:text> > bla blub > </jsp:text> > </ext:generic> > </body> > </html> > </jsp:root> > > IDEA marks > directive.page in jsp:directive.page, > scriptlet in the opening tags of jsp:scriptlet, > text in in the opening tags of jsp:text > text in <ext:input name="datum" type="text"> > ext in <ext:attribute name="value"> > in red and does not support autocompletion for the tags in the ext > taglib although the taglib is specified as an external resource. > > -- > Greets > Robert _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
