You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mansour <ma...@yahoo.com> on 2007/05/15 23:54:40 UTC
CheckBox and sitemesh
Hello everyone:
I just got sitemesh to work fine, but it's creating a "sitemess" when I
use checkBox in my web page. Is this a sitemesh issue or struts? This
happens on any page that uses checkbox ! Any one encoutered this or
familiar with the solution ?
I am getting an exception:
*description* _The server encountered an internal error () that
prevented it from fulfilling this request._
*exception*
java.lang.ArrayIndexOutOfBoundsException: -1
com.opensymphony.module.sitemesh.html.HTMLProcessor$1.currentBuffer(HTMLProcessor.java:74)
com.opensymphony.module.sitemesh.html.State.handleText(State.java:64)
com.opensymphony.module.sitemesh.html.HTMLProcessor$2.text(HTMLProcessor.java:103)
com.opensymphony.module.sitemesh.html.tokenizer.Parser.parsedText(Parser.java:295)
com.opensymphony.module.sitemesh.html.tokenizer.Parser.parseTag(Parser.java:160)
com.opensymphony.module.sitemesh.html.tokenizer.Parser.start(Parser.java:112)
com.opensymphony.module.sitemesh.html.tokenizer.TagTokenizer.start(TagTokenizer.java:33)
com.opensymphony.module.sitemesh.html.HTMLProcessor.process(HTMLProcessor.java:90)
com.opensymphony.module.sitemesh.parser.HTMLPageParser.parse(HTMLPageParser.java:52)
com.opensymphony.module.sitemesh.filter.Buffer.parse(Buffer.java:49)
com.opensymphony.module.sitemesh.filter.PageResponseWrapper.getPage(PageResponseWrapper.java:165)
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:124)
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
*note* _The full stack trace of the root cause is available in the
Apache Tomcat/6.0.10 logs._
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: CheckBox and sitemesh
Posted by Mansour <ma...@yahoo.com>.
Mansour wrote:
For some reason, it is working I don't know why !
Anyway, I can't complain.
> Hello everyone:
> I just got sitemesh to work fine, but it's creating a "sitemess" when
> I use checkBox in my web page. Is this a sitemesh issue or struts?
> This happens on any page that uses checkbox ! Any one encoutered this
> or familiar with the solution ?
>
> I am getting an exception:
>
>
> *description* _The server encountered an internal error () that
> prevented it from fulfilling this request._
>
> *exception*
>
> java.lang.ArrayIndexOutOfBoundsException: -1
> com.opensymphony.module.sitemesh.html.HTMLProcessor$1.currentBuffer(HTMLProcessor.java:74)
>
> com.opensymphony.module.sitemesh.html.State.handleText(State.java:64)
> com.opensymphony.module.sitemesh.html.HTMLProcessor$2.text(HTMLProcessor.java:103)
>
> com.opensymphony.module.sitemesh.html.tokenizer.Parser.parsedText(Parser.java:295)
>
> com.opensymphony.module.sitemesh.html.tokenizer.Parser.parseTag(Parser.java:160)
>
> com.opensymphony.module.sitemesh.html.tokenizer.Parser.start(Parser.java:112)
>
> com.opensymphony.module.sitemesh.html.tokenizer.TagTokenizer.start(TagTokenizer.java:33)
>
> com.opensymphony.module.sitemesh.html.HTMLProcessor.process(HTMLProcessor.java:90)
>
> com.opensymphony.module.sitemesh.parser.HTMLPageParser.parse(HTMLPageParser.java:52)
>
> com.opensymphony.module.sitemesh.filter.Buffer.parse(Buffer.java:49)
> com.opensymphony.module.sitemesh.filter.PageResponseWrapper.getPage(PageResponseWrapper.java:165)
>
> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:124)
>
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
>
>
> *note* _The full stack trace of the root cause is available in the
> Apache Tomcat/6.0.10 logs._
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org