I really need some help here.  Is it that the tag is to long,
too complicated, any help in figuring this out would help.

I started with this tag that works:

<input type="button" value="<c:out value='${foo.name}'/>"
 onclick=" switcher ( '<html-el:rewrite
page="/${foo.name}"/>.do?action=main',
 '<html-el:rewrite page="/navigate.do"/>?component=<c:out
value='${foo.name}' )"/>

This tag works: It is nested in an <html:form action="/foo"> ...
</html:form>

<html-el:image page="/Images/${foo.name}Up.jpg"
               value="<c:out value='${foo.name}'/>" />

But when I add the onclick javascript the jasper compiler pukes.
The tag looks like

<html-el:image page="/Images/${foo.name}Up.jpg"
               value="<c:out value='${foo.name}'/>"
               onclick="
  switcher ( '<html-el:rewrite page="/${foo.name}"/>.do?action=main',
 '<html-el:rewrite page="/navigate.do"/>?component=<c:out
value='${foo.name}' )"/>

The jasper output is:
org.apache.jasper.compiler.ParseException:
/com/mbresearch/main/view/navigate.jsp(93,59) Attribute  has no value
at
org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:563)
at
org.apache.jasper.compiler.JspReader.parseTagAttributes(JspReader.java:681)

...

at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
33)
at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces
sor.java:436)

If I knew what Attribute had no value I could do something.

Is there a debug level that has struts output the tag to standard
output so I can see what is going on?

Im stuck, thanks for your help
Ray Madigan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to