You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Mohammad Shamsi <m....@gmail.com> on 2007/09/23 13:37:40 UTC

Page Layout Error

Hi All,

i have created  a simple page layout, as i read in this guide  :

http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html

but when i run my application, i got this exception :

Sep 23, 2007 2:54:24 PM
org.apache.tapestry.internal.services.PagePoolImplrelease
SEVERE: Page Page[Start en] is dirty, and will be discarded (rather than
returned to the page pool).
Sep 23, 2007 2:54:24 PM
org.apache.tapestry.internal.services.RenderQueueImpl run
SEVERE: Render queue error in Text[

  My Page Specific Content

]: This markup writer does not have a current element. The current element
is established with the first call to element() and is maintained across
subsequent calls.
java.lang.IllegalStateException: This markup writer does not have a current
element. The current element is established with the first call to element()
and is maintained across subsequent calls.
    at
org.apache.tapestry.internal.services.MarkupWriterImpl.ensureCurrentElement(
MarkupWriterImpl.java:125)
    at org.apache.tapestry.internal.services.MarkupWriterImpl.write(
MarkupWriterImpl.java:76)
    at org.apache.tapestry.internal.structure.TextPageElement.render(
TextPageElement.java:34)
    at org.apache.tapestry.internal.services.RenderQueueImpl.run(
RenderQueueImpl.java:57)
    at
org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup
(PageMarkupRendererImpl.java:40)
    at
$PageMarkupRenderer_115321c5e3a.renderPageMarkup($PageMarkupRenderer_115321c5e3a.java)
    at
org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
(PageResponseRendererImpl.java:71)
    at
$PageResponseRenderer_115321c5e05.renderPageResponse($PageResponseRenderer_115321c5e05.java)
    at
org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(
PageRenderRequestHandlerImpl.java:81)
    at
$PageRenderRequestHandler_115321c5e24.handle($PageRenderRequestHandler_115321c5e24.java)
    at org.apache.tapestry.internal.services.RootPathDispatcher.dispatch(
RootPathDispatcher.java:59)
    at $Dispatcher_115321c5e27.dispatch($Dispatcher_115321c5e27.java)
    at $Dispatcher_115321c5e1a.dispatch($Dispatcher_115321c5e1a.java)
    at org.apache.tapestry.services.TapestryModule$12.service(
TapestryModule.java:1066)
    at org.apache.tapestry.internal.services.LocalizationFilter.service(
LocalizationFilter.java:43)
    at $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
    at org.apache.tapestry.services.TapestryModule$2.service(
TapestryModule.java:657)
    at $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
    at org.apache.tapestry.internal.services.StaticFilesFilter.service(
StaticFilesFilter.java:63)
    at $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
    at org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
CheckForUpdatesFilter.java:97)
    at org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
CheckForUpdatesFilter.java:88)
    at org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
ConcurrentBarrier.java:77)
    at org.apache.tapestry.internal.services.CheckForUpdatesFilter.service(
CheckForUpdatesFilter.java:110)
    at $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
    at $RequestHandler_115321c5e14.service($RequestHandler_115321c5e14.java)
    at org.apache.tapestry.services.TapestryModule$11.service(
TapestryModule.java:1044)
    at
$HttpServletRequestHandler_115321c5e13.service($HttpServletRequestHandler_115321c5e13.java)
    at org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:135)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:228)
    at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:104)
    at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:216)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:634)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
:445)
    at java.lang.Thread.run(Thread.java:595)
Sep 23, 2007 2:54:24 PM
org.apache.tapestry.internal.services.DefaultRequestExceptionHandlerhandleRequestException
SEVERE: Processing of request failed with uncaught exception: This markup
writer does not have a current element. The current element is established
with the first call to element() and is maintained across subsequent calls.
java.lang.IllegalStateException: This markup writer does not have a current
element. The current element is established with the first call to element()
and is maintained across subsequent calls.
    at
org.apache.tapestry.internal.services.MarkupWriterImpl.ensureCurrentElement(
MarkupWriterImpl.java:125)
    at org.apache.tapestry.internal.services.MarkupWriterImpl.write(
MarkupWriterImpl.java:76)
    at org.apache.tapestry.internal.structure.TextPageElement.render(
TextPageElement.java:34)
    at org.apache.tapestry.internal.services.RenderQueueImpl.run(
RenderQueueImpl.java:57)
    at
org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup
(PageMarkupRendererImpl.java:40)
    at
$PageMarkupRenderer_115321c5e3a.renderPageMarkup($PageMarkupRenderer_115321c5e3a.java)
    at
org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
(PageResponseRendererImpl.java:71)
    at
$PageResponseRenderer_115321c5e05.renderPageResponse($PageResponseRenderer_115321c5e05.java)
    at
org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(
PageRenderRequestHandlerImpl.java:81)
    at
$PageRenderRequestHandler_115321c5e24.handle($PageRenderRequestHandler_115321c5e24.java)
    at org.apache.tapestry.internal.services.RootPathDispatcher.dispatch(
RootPathDispatcher.java:59)
    at $Dispatcher_115321c5e27.dispatch($Dispatcher_115321c5e27.java)
    at $Dispatcher_115321c5e1a.dispatch($Dispatcher_115321c5e1a.java)
    at org.apache.tapestry.services.TapestryModule$12.service(
TapestryModule.java:1066)
    at org.apache.tapestry.internal.services.LocalizationFilter.service(
LocalizationFilter.java:43)
    at $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
    at org.apache.tapestry.services.TapestryModule$2.service(
TapestryModule.java:657)
    at $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
    at org.apache.tapestry.internal.services.StaticFilesFilter.service(
StaticFilesFilter.java:63)
    at $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
    at org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
CheckForUpdatesFilter.java:97)
    at org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
CheckForUpdatesFilter.java:88)
    at org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
ConcurrentBarrier.java:77)
    at org.apache.tapestry.internal.services.CheckForUpdatesFilter.service(
CheckForUpdatesFilter.java:110)
    at $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
    at $RequestHandler_115321c5e14.service($RequestHandler_115321c5e14.java)
    at org.apache.tapestry.services.TapestryModule$11.service(
TapestryModule.java:1044)
    at
$HttpServletRequestHandler_115321c5e13.service($HttpServletRequestHandler_115321c5e13.java)
    at org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:135)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:228)
    at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:104)
    at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:216)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:634)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
:445)
    at java.lang.Thread.run(Thread.java:595)
Sep 23, 2007 2:54:24 PM
org.apache.tapestry.internal.services.PagePoolImplrelease
SEVERE: Page Page[Start en] is dirty, and will be discarded (rather than
returned to the page pool).

-- 
sincerely yours
M. H. Shamsi

Re: Page Layout Error

Posted by Mohammad Shamsi <m....@gmail.com>.
Hi all,

finally it works.

sorry for bothering you. and thanks all for your kindly helps.

my mistake is here : my component HTML template was  in  WEB-INF  direcotry.
:(

sorry again, thanks again.


On 9/24/07, Angelo Chen <an...@yahoo.com.hk> wrote:
>
>
> Hi Dalahoo,
>
> I use the Intellij too, here is what I did:
>
> create a project with maven, you can find the steps from the tutorial,
> then:
> mvn idea:idea
>
> now open the project with Intellij.
>
> For the layout issue, I have followed the sample code posted by Josh
> Canfield, it works very well:
>
> http://www.nabble.com/T5%3ATiles--tf4310807.html#a12299099
>
>
> dalahoo wrote:
> >
> > sorry for bothering you erik
> >
> > but i build project with maven, and problem not solved yet :(
> >
> > there is no difference between project that i setup in Intellij IDEA and
> > other that maven build :(
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Page-Layout-Error-tf4504133.html#a12851952
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
sincerely yours
M. H. Shamsi

Re: Page Layout Error

Posted by Angelo Chen <an...@yahoo.com.hk>.
Hi Dalahoo,

I use the Intellij too, here is what I did:

create a project with maven, you can find the steps from the tutorial, then:
mvn idea:idea

now open the project with Intellij.

For the layout issue, I have followed the sample code posted by Josh
Canfield, it works very well:

http://www.nabble.com/T5%3ATiles--tf4310807.html#a12299099


dalahoo wrote:
> 
> sorry for bothering you erik
> 
> but i build project with maven, and problem not solved yet :(
> 
> there is no difference between project that i setup in Intellij IDEA and
> other that maven build :(
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Page-Layout-Error-tf4504133.html#a12851952
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Page Layout Error

Posted by Mohammad Shamsi <m....@gmail.com>.
sorry for bothering you erik

but i build project with maven, and problem not solved yet :(

there is no difference between project that i setup in Intellij IDEA and
other that maven build :(


On 9/23/07, Erik Vullings <er...@gmail.com> wrote:
>
> Hi Mohammad,
>
> There is nothing to it. Just google for maven download, unpack it to a
> directory, and put the maven binary somewhere in your environment path.
> Afterwards, you can just call maven to create the archetype, and it will
> download all dependencies automatically.
> The layout component is like a regular component, and it resides in the
> component package (both layout.class and layout.html).
>
> Erik
>
> On 9/23/07, Mohammad Shamsi <m....@gmail.com> wrote:
> >
> > Hi Erik,
> >
> > i don't have maven and can't use it,
> >
> > my other test components work fine,
> > i have only problem with Layout. :(
> >
> > On 9/23/07, Erik Vullings <er...@gmail.com> wrote:
> > >
> > > I would REALLY recommend that you first create a maven archetype and
> > start
> > > learning from there: you have already asked a lot of questions today,
> > and
> > > most of your problems seem to be related to the way you have setup
> your
> > > project. However, Tapestry expects certain things to be in certain
> > places,
> > > and your layout below is wrong. Also, search the mailing list for
> > intellij
> > > if you need to move stuff around.
> > >
> > > Good luck,
> > > Erik
> > >
> > > On 9/23/07, Mohammad Shamsi <m....@gmail.com> wrote:
> > > >
> > > > Hi Erik,
> > > >
> > > > i use Intellij IDEA for development,
> > > > my project structure is :
> > > >
> > > > ---/resources/WEB-INF/Start.html
> > > > ---/resources/WEB-INF/test/components/Layout.html
> > > >
> > > > ---/src/test/pages/Start.java
> > > > ---/src/test/components/Layout.java
> > > >
> > > > in web.xml :
> > > >     <context-param>
> > > >         <param-name>tapestry.app-package</param-name>
> > > >         <param-value>test</param-value>
> > > >     </context-param>
> > > >
> > > > Layout.html and Start.html is same as document that available in
> > > tapestry
> > > > 5
> > > > documents
> > > >
> > > > On 9/23/07, Erik Vullings <er...@gmail.com> wrote:
> > > > >
> > > > > Hi Mohammad,
> > > > >
> > > > > It would help if you would show the actual (relevant) content of
> > your
> > > > > class
> > > > > and html file, since if you would have followed the guide, it
> should
> > > > have
> > > > > worked :-)
> > > > > Related to your other question: The xsd template hasn't got a
> final
> > > > (full)
> > > > > version yet, AFAIK.
> > > > >
> > > > > Did you also have a look at the Wiki - and did you already create
> > the
> > > > > maven
> > > > > archetype project to get started?
> > > > > See http://wiki.apache.org/tapestry/Tapestry5HowTos (top of the
> > page)
> > > > >
> > > > > Cheers
> > > > > Erik
> > > > >
> > > > > On 9/23/07, Mohammad Shamsi <m....@gmail.com> wrote:
> > > > > >
> > > > > > Hi All,
> > > > > >
> > > > > > i have created  a simple page layout, as i read in this guide  :
> > > > > >
> > > > > >
> > > >
> > http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
> > > > > >
> > > > > > but when i run my application, i got this exception :
> > > > > >
> > > > > > Sep 23, 2007 2:54:24 PM
> > > > > > org.apache.tapestry.internal.services.PagePoolImplrelease
> > > > > > SEVERE: Page Page[Start en] is dirty, and will be discarded
> > (rather
> > > > than
> > > > > > returned to the page pool).
> > > > > > Sep 23, 2007 2:54:24 PM
> > > > > > org.apache.tapestry.internal.services.RenderQueueImpl run
> > > > > > SEVERE: Render queue error in Text[
> > > > > >
> > > > > >   My Page Specific Content
> > > > > >
> > > > > > ]: This markup writer does not have a current element. The
> current
> > > > > element
> > > > > > is established with the first call to element() and is
> maintained
> > > > across
> > > > > > subsequent calls.
> > > > > > java.lang.IllegalStateException: This markup writer does not
> have
> > a
> > > > > > current
> > > > > > element. The current element is established with the first call
> to
> > > > > > element()
> > > > > > and is maintained across subsequent calls.
> > > > > >     at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.MarkupWriterImpl.ensureCurrentElement
> > > > > > (
> > > > > > MarkupWriterImpl.java:125)
> > > > > >     at
> > org.apache.tapestry.internal.services.MarkupWriterImpl.write(
> > > > > > MarkupWriterImpl.java:76)
> > > > > >     at
> > org.apache.tapestry.internal.structure.TextPageElement.render
> > > (
> > > > > > TextPageElement.java:34)
> > > > > >     at org.apache.tapestry.internal.services.RenderQueueImpl.run
> (
> > > > > > RenderQueueImpl.java:57)
> > > > > >     at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup
> > > > > > (PageMarkupRendererImpl.java:40)
> > > > > >     at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> $PageMarkupRenderer_115321c5e3a.renderPageMarkup($PageMarkupRenderer_115321c5e3a.java)
> > > > > >     at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
> > > > > > (PageResponseRendererImpl.java:71)
> > > > > >     at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> $PageResponseRenderer_115321c5e05.renderPageResponse($PageResponseRenderer_115321c5e05.java)
> > > > > >     at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(
> > > > > > PageRenderRequestHandlerImpl.java:81)
> > > > > >     at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> $PageRenderRequestHandler_115321c5e24.handle($PageRenderRequestHandler_115321c5e24.java)
> > > > > >     at
> > > > org.apache.tapestry.internal.services.RootPathDispatcher.dispatch
> > > > > (
> > > > > > RootPathDispatcher.java:59)
> > > > > >     at
> > > $Dispatcher_115321c5e27.dispatch($Dispatcher_115321c5e27.java)
> > > > > >     at
> > > $Dispatcher_115321c5e1a.dispatch($Dispatcher_115321c5e1a.java)
> > > > > >     at org.apache.tapestry.services.TapestryModule$12.service(
> > > > > > TapestryModule.java:1066)
> > > > > >     at
> > > > org.apache.tapestry.internal.services.LocalizationFilter.service(
> > > > > > LocalizationFilter.java:43)
> > > > > >     at
> > > > > >
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > > >     at org.apache.tapestry.services.TapestryModule$2.service(
> > > > > > TapestryModule.java:657)
> > > > > >     at
> > > > > >
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > > >     at
> > > org.apache.tapestry.internal.services.StaticFilesFilter.service
> > > > (
> > > > > > StaticFilesFilter.java:63)
> > > > > >     at
> > > > > >
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > > >     at
> > > > > >
> > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke
> > > (
> > > > > > CheckForUpdatesFilter.java:97)
> > > > > >     at
> > > > > >
> > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke
> > > (
> > > > > > CheckForUpdatesFilter.java:88)
> > > > > >     at
> > > > org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> > > > > > ConcurrentBarrier.java:77)
> > > > > >     at
> > > > >
> org.apache.tapestry.internal.services.CheckForUpdatesFilter.service
> > > > > > (
> > > > > > CheckForUpdatesFilter.java:110)
> > > > > >     at
> > > > > >
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > > >     at
> > > > > >
> > > $RequestHandler_115321c5e14.service($RequestHandler_115321c5e14.java)
> > > > > >     at org.apache.tapestry.services.TapestryModule$11.service(
> > > > > > TapestryModule.java:1044)
> > > > > >     at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> $HttpServletRequestHandler_115321c5e13.service($HttpServletRequestHandler_115321c5e13.java)
> > > > > >     at org.apache.tapestry.TapestryFilter.doFilter(
> > > TapestryFilter.java
> > > > > > :135)
> > > > > >     at
> > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > > > > ApplicationFilterChain.java:235)
> > > > > >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > > > > ApplicationFilterChain.java:206)
> > > > > >     at org.apache.catalina.core.StandardWrapperValve.invoke(
> > > > > > StandardWrapperValve.java:228)
> > > > > >     at org.apache.catalina.core.StandardContextValve.invoke(
> > > > > > StandardContextValve.java:175)
> > > > > >     at org.apache.catalina.core.StandardHostValve.invoke(
> > > > > > StandardHostValve.java:128)
> > > > > >     at org.apache.catalina.valves.ErrorReportValve.invoke(
> > > > > > ErrorReportValve.java:104)
> > > > > >     at org.apache.catalina.core.StandardEngineValve.invoke(
> > > > > > StandardEngineValve.java:109)
> > > > > >     at org.apache.catalina.connector.CoyoteAdapter.service(
> > > > > > CoyoteAdapter.java:216)
> > > > > >     at org.apache.coyote.http11.Http11Processor.process(
> > > > > > Http11Processor.java
> > > > > > :844)
> > > > > >     at
> > > > > >
> > > >
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> > > > > > Http11Protocol.java:634)
> > > > > >     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> > > > > JIoEndpoint.java
> > > > > > :445)
> > > > > >     at java.lang.Thread.run(Thread.java:595)
> > > > > > Sep 23, 2007 2:54:24 PM
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.DefaultRequestExceptionHandlerhandleRequestException
> > > > > > SEVERE: Processing of request failed with uncaught exception:
> This
> > > > > markup
> > > > > > writer does not have a current element. The current element is
> > > > > established
> > > > > > with the first call to element() and is maintained across
> > subsequent
> > > > > > calls.
> > > > > > java.lang.IllegalStateException: This markup writer does not
> have
> > a
> > > > > > current
> > > > > > element. The current element is established with the first call
> to
> > > > > > element()
> > > > > > and is maintained across subsequent calls.
> > > > > >     at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.MarkupWriterImpl.ensureCurrentElement
> > > > > > (
> > > > > > MarkupWriterImpl.java:125)
> > > > > >     at
> > org.apache.tapestry.internal.services.MarkupWriterImpl.write(
> > > > > > MarkupWriterImpl.java:76)
> > > > > >     at
> > org.apache.tapestry.internal.structure.TextPageElement.render
> > > (
> > > > > > TextPageElement.java:34)
> > > > > >     at org.apache.tapestry.internal.services.RenderQueueImpl.run
> (
> > > > > > RenderQueueImpl.java:57)
> > > > > >     at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup
> > > > > > (PageMarkupRendererImpl.java:40)
> > > > > >     at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> $PageMarkupRenderer_115321c5e3a.renderPageMarkup($PageMarkupRenderer_115321c5e3a.java)
> > > > > >     at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
> > > > > > (PageResponseRendererImpl.java:71)
> > > > > >     at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> $PageResponseRenderer_115321c5e05.renderPageResponse($PageResponseRenderer_115321c5e05.java)
> > > > > >     at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(
> > > > > > PageRenderRequestHandlerImpl.java:81)
> > > > > >     at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> $PageRenderRequestHandler_115321c5e24.handle($PageRenderRequestHandler_115321c5e24.java)
> > > > > >     at
> > > > org.apache.tapestry.internal.services.RootPathDispatcher.dispatch
> > > > > (
> > > > > > RootPathDispatcher.java:59)
> > > > > >     at
> > > $Dispatcher_115321c5e27.dispatch($Dispatcher_115321c5e27.java)
> > > > > >     at
> > > $Dispatcher_115321c5e1a.dispatch($Dispatcher_115321c5e1a.java)
> > > > > >     at org.apache.tapestry.services.TapestryModule$12.service(
> > > > > > TapestryModule.java:1066)
> > > > > >     at
> > > > org.apache.tapestry.internal.services.LocalizationFilter.service(
> > > > > > LocalizationFilter.java:43)
> > > > > >     at
> > > > > >
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > > >     at org.apache.tapestry.services.TapestryModule$2.service(
> > > > > > TapestryModule.java:657)
> > > > > >     at
> > > > > >
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > > >     at
> > > org.apache.tapestry.internal.services.StaticFilesFilter.service
> > > > (
> > > > > > StaticFilesFilter.java:63)
> > > > > >     at
> > > > > >
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > > >     at
> > > > > >
> > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke
> > > (
> > > > > > CheckForUpdatesFilter.java:97)
> > > > > >     at
> > > > > >
> > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke
> > > (
> > > > > > CheckForUpdatesFilter.java:88)
> > > > > >     at
> > > > org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> > > > > > ConcurrentBarrier.java:77)
> > > > > >     at
> > > > >
> org.apache.tapestry.internal.services.CheckForUpdatesFilter.service
> > > > > > (
> > > > > > CheckForUpdatesFilter.java:110)
> > > > > >     at
> > > > > >
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > > >     at
> > > > > >
> > > $RequestHandler_115321c5e14.service($RequestHandler_115321c5e14.java)
> > > > > >     at org.apache.tapestry.services.TapestryModule$11.service(
> > > > > > TapestryModule.java:1044)
> > > > > >     at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> $HttpServletRequestHandler_115321c5e13.service($HttpServletRequestHandler_115321c5e13.java)
> > > > > >     at org.apache.tapestry.TapestryFilter.doFilter(
> > > TapestryFilter.java
> > > > > > :135)
> > > > > >     at
> > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > > > > ApplicationFilterChain.java:235)
> > > > > >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > > > > ApplicationFilterChain.java:206)
> > > > > >     at org.apache.catalina.core.StandardWrapperValve.invoke(
> > > > > > StandardWrapperValve.java:228)
> > > > > >     at org.apache.catalina.core.StandardContextValve.invoke(
> > > > > > StandardContextValve.java:175)
> > > > > >     at org.apache.catalina.core.StandardHostValve.invoke(
> > > > > > StandardHostValve.java:128)
> > > > > >     at org.apache.catalina.valves.ErrorReportValve.invoke(
> > > > > > ErrorReportValve.java:104)
> > > > > >     at org.apache.catalina.core.StandardEngineValve.invoke(
> > > > > > StandardEngineValve.java:109)
> > > > > >     at org.apache.catalina.connector.CoyoteAdapter.service(
> > > > > > CoyoteAdapter.java:216)
> > > > > >     at org.apache.coyote.http11.Http11Processor.process(
> > > > > > Http11Processor.java
> > > > > > :844)
> > > > > >     at
> > > > > >
> > > >
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> > > > > > Http11Protocol.java:634)
> > > > > >     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> > > > > JIoEndpoint.java
> > > > > > :445)
> > > > > >     at java.lang.Thread.run(Thread.java:595)
> > > > > > Sep 23, 2007 2:54:24 PM
> > > > > > org.apache.tapestry.internal.services.PagePoolImplrelease
> > > > > > SEVERE: Page Page[Start en] is dirty, and will be discarded
> > (rather
> > > > than
> > > > > > returned to the page pool).
> > > > > >
> > > > > > --
> > > > > > sincerely yours
> > > > > > M. H. Shamsi
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > sincerely yours
> > > > M. H. Shamsi
> > > >
> > >
> >
> >
> >
> > --
> > sincerely yours
> > M. H. Shamsi
> >
>



-- 
sincerely yours
M. H. Shamsi

Re: Page Layout Error

Posted by Erik Vullings <er...@gmail.com>.
Hi Mohammad,

There is nothing to it. Just google for maven download, unpack it to a
directory, and put the maven binary somewhere in your environment path.
Afterwards, you can just call maven to create the archetype, and it will
download all dependencies automatically.
The layout component is like a regular component, and it resides in the
component package (both layout.class and layout.html).

Erik

On 9/23/07, Mohammad Shamsi <m....@gmail.com> wrote:
>
> Hi Erik,
>
> i don't have maven and can't use it,
>
> my other test components work fine,
> i have only problem with Layout. :(
>
> On 9/23/07, Erik Vullings <er...@gmail.com> wrote:
> >
> > I would REALLY recommend that you first create a maven archetype and
> start
> > learning from there: you have already asked a lot of questions today,
> and
> > most of your problems seem to be related to the way you have setup your
> > project. However, Tapestry expects certain things to be in certain
> places,
> > and your layout below is wrong. Also, search the mailing list for
> intellij
> > if you need to move stuff around.
> >
> > Good luck,
> > Erik
> >
> > On 9/23/07, Mohammad Shamsi <m....@gmail.com> wrote:
> > >
> > > Hi Erik,
> > >
> > > i use Intellij IDEA for development,
> > > my project structure is :
> > >
> > > ---/resources/WEB-INF/Start.html
> > > ---/resources/WEB-INF/test/components/Layout.html
> > >
> > > ---/src/test/pages/Start.java
> > > ---/src/test/components/Layout.java
> > >
> > > in web.xml :
> > >     <context-param>
> > >         <param-name>tapestry.app-package</param-name>
> > >         <param-value>test</param-value>
> > >     </context-param>
> > >
> > > Layout.html and Start.html is same as document that available in
> > tapestry
> > > 5
> > > documents
> > >
> > > On 9/23/07, Erik Vullings <er...@gmail.com> wrote:
> > > >
> > > > Hi Mohammad,
> > > >
> > > > It would help if you would show the actual (relevant) content of
> your
> > > > class
> > > > and html file, since if you would have followed the guide, it should
> > > have
> > > > worked :-)
> > > > Related to your other question: The xsd template hasn't got a final
> > > (full)
> > > > version yet, AFAIK.
> > > >
> > > > Did you also have a look at the Wiki - and did you already create
> the
> > > > maven
> > > > archetype project to get started?
> > > > See http://wiki.apache.org/tapestry/Tapestry5HowTos (top of the
> page)
> > > >
> > > > Cheers
> > > > Erik
> > > >
> > > > On 9/23/07, Mohammad Shamsi <m....@gmail.com> wrote:
> > > > >
> > > > > Hi All,
> > > > >
> > > > > i have created  a simple page layout, as i read in this guide  :
> > > > >
> > > > >
> > >
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
> > > > >
> > > > > but when i run my application, i got this exception :
> > > > >
> > > > > Sep 23, 2007 2:54:24 PM
> > > > > org.apache.tapestry.internal.services.PagePoolImplrelease
> > > > > SEVERE: Page Page[Start en] is dirty, and will be discarded
> (rather
> > > than
> > > > > returned to the page pool).
> > > > > Sep 23, 2007 2:54:24 PM
> > > > > org.apache.tapestry.internal.services.RenderQueueImpl run
> > > > > SEVERE: Render queue error in Text[
> > > > >
> > > > >   My Page Specific Content
> > > > >
> > > > > ]: This markup writer does not have a current element. The current
> > > > element
> > > > > is established with the first call to element() and is maintained
> > > across
> > > > > subsequent calls.
> > > > > java.lang.IllegalStateException: This markup writer does not have
> a
> > > > > current
> > > > > element. The current element is established with the first call to
> > > > > element()
> > > > > and is maintained across subsequent calls.
> > > > >     at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.MarkupWriterImpl.ensureCurrentElement
> > > > > (
> > > > > MarkupWriterImpl.java:125)
> > > > >     at
> org.apache.tapestry.internal.services.MarkupWriterImpl.write(
> > > > > MarkupWriterImpl.java:76)
> > > > >     at
> org.apache.tapestry.internal.structure.TextPageElement.render
> > (
> > > > > TextPageElement.java:34)
> > > > >     at org.apache.tapestry.internal.services.RenderQueueImpl.run(
> > > > > RenderQueueImpl.java:57)
> > > > >     at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup
> > > > > (PageMarkupRendererImpl.java:40)
> > > > >     at
> > > > >
> > > > >
> > > >
> > >
> >
> $PageMarkupRenderer_115321c5e3a.renderPageMarkup($PageMarkupRenderer_115321c5e3a.java)
> > > > >     at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
> > > > > (PageResponseRendererImpl.java:71)
> > > > >     at
> > > > >
> > > > >
> > > >
> > >
> >
> $PageResponseRenderer_115321c5e05.renderPageResponse($PageResponseRenderer_115321c5e05.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(
> > > > > PageRenderRequestHandlerImpl.java:81)
> > > > >     at
> > > > >
> > > > >
> > > >
> > >
> >
> $PageRenderRequestHandler_115321c5e24.handle($PageRenderRequestHandler_115321c5e24.java)
> > > > >     at
> > > org.apache.tapestry.internal.services.RootPathDispatcher.dispatch
> > > > (
> > > > > RootPathDispatcher.java:59)
> > > > >     at
> > $Dispatcher_115321c5e27.dispatch($Dispatcher_115321c5e27.java)
> > > > >     at
> > $Dispatcher_115321c5e1a.dispatch($Dispatcher_115321c5e1a.java)
> > > > >     at org.apache.tapestry.services.TapestryModule$12.service(
> > > > > TapestryModule.java:1066)
> > > > >     at
> > > org.apache.tapestry.internal.services.LocalizationFilter.service(
> > > > > LocalizationFilter.java:43)
> > > > >     at
> > > > >
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > >     at org.apache.tapestry.services.TapestryModule$2.service(
> > > > > TapestryModule.java:657)
> > > > >     at
> > > > >
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > >     at
> > org.apache.tapestry.internal.services.StaticFilesFilter.service
> > > (
> > > > > StaticFilesFilter.java:63)
> > > > >     at
> > > > >
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > >     at
> > > > >
> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke
> > (
> > > > > CheckForUpdatesFilter.java:97)
> > > > >     at
> > > > >
> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke
> > (
> > > > > CheckForUpdatesFilter.java:88)
> > > > >     at
> > > org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> > > > > ConcurrentBarrier.java:77)
> > > > >     at
> > > > org.apache.tapestry.internal.services.CheckForUpdatesFilter.service
> > > > > (
> > > > > CheckForUpdatesFilter.java:110)
> > > > >     at
> > > > >
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > >     at
> > > > >
> > $RequestHandler_115321c5e14.service($RequestHandler_115321c5e14.java)
> > > > >     at org.apache.tapestry.services.TapestryModule$11.service(
> > > > > TapestryModule.java:1044)
> > > > >     at
> > > > >
> > > > >
> > > >
> > >
> >
> $HttpServletRequestHandler_115321c5e13.service($HttpServletRequestHandler_115321c5e13.java)
> > > > >     at org.apache.tapestry.TapestryFilter.doFilter(
> > TapestryFilter.java
> > > > > :135)
> > > > >     at
> > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > > > ApplicationFilterChain.java:235)
> > > > >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > > > ApplicationFilterChain.java:206)
> > > > >     at org.apache.catalina.core.StandardWrapperValve.invoke(
> > > > > StandardWrapperValve.java:228)
> > > > >     at org.apache.catalina.core.StandardContextValve.invoke(
> > > > > StandardContextValve.java:175)
> > > > >     at org.apache.catalina.core.StandardHostValve.invoke(
> > > > > StandardHostValve.java:128)
> > > > >     at org.apache.catalina.valves.ErrorReportValve.invoke(
> > > > > ErrorReportValve.java:104)
> > > > >     at org.apache.catalina.core.StandardEngineValve.invoke(
> > > > > StandardEngineValve.java:109)
> > > > >     at org.apache.catalina.connector.CoyoteAdapter.service(
> > > > > CoyoteAdapter.java:216)
> > > > >     at org.apache.coyote.http11.Http11Processor.process(
> > > > > Http11Processor.java
> > > > > :844)
> > > > >     at
> > > > >
> > >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> > > > > Http11Protocol.java:634)
> > > > >     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> > > > JIoEndpoint.java
> > > > > :445)
> > > > >     at java.lang.Thread.run(Thread.java:595)
> > > > > Sep 23, 2007 2:54:24 PM
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.DefaultRequestExceptionHandlerhandleRequestException
> > > > > SEVERE: Processing of request failed with uncaught exception: This
> > > > markup
> > > > > writer does not have a current element. The current element is
> > > > established
> > > > > with the first call to element() and is maintained across
> subsequent
> > > > > calls.
> > > > > java.lang.IllegalStateException: This markup writer does not have
> a
> > > > > current
> > > > > element. The current element is established with the first call to
> > > > > element()
> > > > > and is maintained across subsequent calls.
> > > > >     at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.MarkupWriterImpl.ensureCurrentElement
> > > > > (
> > > > > MarkupWriterImpl.java:125)
> > > > >     at
> org.apache.tapestry.internal.services.MarkupWriterImpl.write(
> > > > > MarkupWriterImpl.java:76)
> > > > >     at
> org.apache.tapestry.internal.structure.TextPageElement.render
> > (
> > > > > TextPageElement.java:34)
> > > > >     at org.apache.tapestry.internal.services.RenderQueueImpl.run(
> > > > > RenderQueueImpl.java:57)
> > > > >     at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup
> > > > > (PageMarkupRendererImpl.java:40)
> > > > >     at
> > > > >
> > > > >
> > > >
> > >
> >
> $PageMarkupRenderer_115321c5e3a.renderPageMarkup($PageMarkupRenderer_115321c5e3a.java)
> > > > >     at
> > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
> > > > > (PageResponseRendererImpl.java:71)
> > > > >     at
> > > > >
> > > > >
> > > >
> > >
> >
> $PageResponseRenderer_115321c5e05.renderPageResponse($PageResponseRenderer_115321c5e05.java)
> > > > >     at
> > > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(
> > > > > PageRenderRequestHandlerImpl.java:81)
> > > > >     at
> > > > >
> > > > >
> > > >
> > >
> >
> $PageRenderRequestHandler_115321c5e24.handle($PageRenderRequestHandler_115321c5e24.java)
> > > > >     at
> > > org.apache.tapestry.internal.services.RootPathDispatcher.dispatch
> > > > (
> > > > > RootPathDispatcher.java:59)
> > > > >     at
> > $Dispatcher_115321c5e27.dispatch($Dispatcher_115321c5e27.java)
> > > > >     at
> > $Dispatcher_115321c5e1a.dispatch($Dispatcher_115321c5e1a.java)
> > > > >     at org.apache.tapestry.services.TapestryModule$12.service(
> > > > > TapestryModule.java:1066)
> > > > >     at
> > > org.apache.tapestry.internal.services.LocalizationFilter.service(
> > > > > LocalizationFilter.java:43)
> > > > >     at
> > > > >
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > >     at org.apache.tapestry.services.TapestryModule$2.service(
> > > > > TapestryModule.java:657)
> > > > >     at
> > > > >
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > >     at
> > org.apache.tapestry.internal.services.StaticFilesFilter.service
> > > (
> > > > > StaticFilesFilter.java:63)
> > > > >     at
> > > > >
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > >     at
> > > > >
> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke
> > (
> > > > > CheckForUpdatesFilter.java:97)
> > > > >     at
> > > > >
> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke
> > (
> > > > > CheckForUpdatesFilter.java:88)
> > > > >     at
> > > org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> > > > > ConcurrentBarrier.java:77)
> > > > >     at
> > > > org.apache.tapestry.internal.services.CheckForUpdatesFilter.service
> > > > > (
> > > > > CheckForUpdatesFilter.java:110)
> > > > >     at
> > > > >
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > > >     at
> > > > >
> > $RequestHandler_115321c5e14.service($RequestHandler_115321c5e14.java)
> > > > >     at org.apache.tapestry.services.TapestryModule$11.service(
> > > > > TapestryModule.java:1044)
> > > > >     at
> > > > >
> > > > >
> > > >
> > >
> >
> $HttpServletRequestHandler_115321c5e13.service($HttpServletRequestHandler_115321c5e13.java)
> > > > >     at org.apache.tapestry.TapestryFilter.doFilter(
> > TapestryFilter.java
> > > > > :135)
> > > > >     at
> > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > > > ApplicationFilterChain.java:235)
> > > > >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > > > ApplicationFilterChain.java:206)
> > > > >     at org.apache.catalina.core.StandardWrapperValve.invoke(
> > > > > StandardWrapperValve.java:228)
> > > > >     at org.apache.catalina.core.StandardContextValve.invoke(
> > > > > StandardContextValve.java:175)
> > > > >     at org.apache.catalina.core.StandardHostValve.invoke(
> > > > > StandardHostValve.java:128)
> > > > >     at org.apache.catalina.valves.ErrorReportValve.invoke(
> > > > > ErrorReportValve.java:104)
> > > > >     at org.apache.catalina.core.StandardEngineValve.invoke(
> > > > > StandardEngineValve.java:109)
> > > > >     at org.apache.catalina.connector.CoyoteAdapter.service(
> > > > > CoyoteAdapter.java:216)
> > > > >     at org.apache.coyote.http11.Http11Processor.process(
> > > > > Http11Processor.java
> > > > > :844)
> > > > >     at
> > > > >
> > >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> > > > > Http11Protocol.java:634)
> > > > >     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> > > > JIoEndpoint.java
> > > > > :445)
> > > > >     at java.lang.Thread.run(Thread.java:595)
> > > > > Sep 23, 2007 2:54:24 PM
> > > > > org.apache.tapestry.internal.services.PagePoolImplrelease
> > > > > SEVERE: Page Page[Start en] is dirty, and will be discarded
> (rather
> > > than
> > > > > returned to the page pool).
> > > > >
> > > > > --
> > > > > sincerely yours
> > > > > M. H. Shamsi
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > sincerely yours
> > > M. H. Shamsi
> > >
> >
>
>
>
> --
> sincerely yours
> M. H. Shamsi
>

Re: Page Layout Error

Posted by Mohammad Shamsi <m....@gmail.com>.
Hi Erik,

i don't have maven and can't use it,

my other test components work fine,
i have only problem with Layout. :(

On 9/23/07, Erik Vullings <er...@gmail.com> wrote:
>
> I would REALLY recommend that you first create a maven archetype and start
> learning from there: you have already asked a lot of questions today, and
> most of your problems seem to be related to the way you have setup your
> project. However, Tapestry expects certain things to be in certain places,
> and your layout below is wrong. Also, search the mailing list for intellij
> if you need to move stuff around.
>
> Good luck,
> Erik
>
> On 9/23/07, Mohammad Shamsi <m....@gmail.com> wrote:
> >
> > Hi Erik,
> >
> > i use Intellij IDEA for development,
> > my project structure is :
> >
> > ---/resources/WEB-INF/Start.html
> > ---/resources/WEB-INF/test/components/Layout.html
> >
> > ---/src/test/pages/Start.java
> > ---/src/test/components/Layout.java
> >
> > in web.xml :
> >     <context-param>
> >         <param-name>tapestry.app-package</param-name>
> >         <param-value>test</param-value>
> >     </context-param>
> >
> > Layout.html and Start.html is same as document that available in
> tapestry
> > 5
> > documents
> >
> > On 9/23/07, Erik Vullings <er...@gmail.com> wrote:
> > >
> > > Hi Mohammad,
> > >
> > > It would help if you would show the actual (relevant) content of your
> > > class
> > > and html file, since if you would have followed the guide, it should
> > have
> > > worked :-)
> > > Related to your other question: The xsd template hasn't got a final
> > (full)
> > > version yet, AFAIK.
> > >
> > > Did you also have a look at the Wiki - and did you already create the
> > > maven
> > > archetype project to get started?
> > > See http://wiki.apache.org/tapestry/Tapestry5HowTos (top of the page)
> > >
> > > Cheers
> > > Erik
> > >
> > > On 9/23/07, Mohammad Shamsi <m....@gmail.com> wrote:
> > > >
> > > > Hi All,
> > > >
> > > > i have created  a simple page layout, as i read in this guide  :
> > > >
> > > >
> > http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
> > > >
> > > > but when i run my application, i got this exception :
> > > >
> > > > Sep 23, 2007 2:54:24 PM
> > > > org.apache.tapestry.internal.services.PagePoolImplrelease
> > > > SEVERE: Page Page[Start en] is dirty, and will be discarded (rather
> > than
> > > > returned to the page pool).
> > > > Sep 23, 2007 2:54:24 PM
> > > > org.apache.tapestry.internal.services.RenderQueueImpl run
> > > > SEVERE: Render queue error in Text[
> > > >
> > > >   My Page Specific Content
> > > >
> > > > ]: This markup writer does not have a current element. The current
> > > element
> > > > is established with the first call to element() and is maintained
> > across
> > > > subsequent calls.
> > > > java.lang.IllegalStateException: This markup writer does not have a
> > > > current
> > > > element. The current element is established with the first call to
> > > > element()
> > > > and is maintained across subsequent calls.
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.MarkupWriterImpl.ensureCurrentElement
> > > > (
> > > > MarkupWriterImpl.java:125)
> > > >     at org.apache.tapestry.internal.services.MarkupWriterImpl.write(
> > > > MarkupWriterImpl.java:76)
> > > >     at org.apache.tapestry.internal.structure.TextPageElement.render
> (
> > > > TextPageElement.java:34)
> > > >     at org.apache.tapestry.internal.services.RenderQueueImpl.run(
> > > > RenderQueueImpl.java:57)
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup
> > > > (PageMarkupRendererImpl.java:40)
> > > >     at
> > > >
> > > >
> > >
> >
> $PageMarkupRenderer_115321c5e3a.renderPageMarkup($PageMarkupRenderer_115321c5e3a.java)
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
> > > > (PageResponseRendererImpl.java:71)
> > > >     at
> > > >
> > > >
> > >
> >
> $PageResponseRenderer_115321c5e05.renderPageResponse($PageResponseRenderer_115321c5e05.java)
> > > >     at
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(
> > > > PageRenderRequestHandlerImpl.java:81)
> > > >     at
> > > >
> > > >
> > >
> >
> $PageRenderRequestHandler_115321c5e24.handle($PageRenderRequestHandler_115321c5e24.java)
> > > >     at
> > org.apache.tapestry.internal.services.RootPathDispatcher.dispatch
> > > (
> > > > RootPathDispatcher.java:59)
> > > >     at
> $Dispatcher_115321c5e27.dispatch($Dispatcher_115321c5e27.java)
> > > >     at
> $Dispatcher_115321c5e1a.dispatch($Dispatcher_115321c5e1a.java)
> > > >     at org.apache.tapestry.services.TapestryModule$12.service(
> > > > TapestryModule.java:1066)
> > > >     at
> > org.apache.tapestry.internal.services.LocalizationFilter.service(
> > > > LocalizationFilter.java:43)
> > > >     at
> > > >
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > >     at org.apache.tapestry.services.TapestryModule$2.service(
> > > > TapestryModule.java:657)
> > > >     at
> > > >
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > >     at
> org.apache.tapestry.internal.services.StaticFilesFilter.service
> > (
> > > > StaticFilesFilter.java:63)
> > > >     at
> > > >
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > >     at
> > > > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke
> (
> > > > CheckForUpdatesFilter.java:97)
> > > >     at
> > > > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke
> (
> > > > CheckForUpdatesFilter.java:88)
> > > >     at
> > org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> > > > ConcurrentBarrier.java:77)
> > > >     at
> > > org.apache.tapestry.internal.services.CheckForUpdatesFilter.service
> > > > (
> > > > CheckForUpdatesFilter.java:110)
> > > >     at
> > > >
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > >     at
> > > >
> $RequestHandler_115321c5e14.service($RequestHandler_115321c5e14.java)
> > > >     at org.apache.tapestry.services.TapestryModule$11.service(
> > > > TapestryModule.java:1044)
> > > >     at
> > > >
> > > >
> > >
> >
> $HttpServletRequestHandler_115321c5e13.service($HttpServletRequestHandler_115321c5e13.java)
> > > >     at org.apache.tapestry.TapestryFilter.doFilter(
> TapestryFilter.java
> > > > :135)
> > > >     at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > > ApplicationFilterChain.java:235)
> > > >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > > ApplicationFilterChain.java:206)
> > > >     at org.apache.catalina.core.StandardWrapperValve.invoke(
> > > > StandardWrapperValve.java:228)
> > > >     at org.apache.catalina.core.StandardContextValve.invoke(
> > > > StandardContextValve.java:175)
> > > >     at org.apache.catalina.core.StandardHostValve.invoke(
> > > > StandardHostValve.java:128)
> > > >     at org.apache.catalina.valves.ErrorReportValve.invoke(
> > > > ErrorReportValve.java:104)
> > > >     at org.apache.catalina.core.StandardEngineValve.invoke(
> > > > StandardEngineValve.java:109)
> > > >     at org.apache.catalina.connector.CoyoteAdapter.service(
> > > > CoyoteAdapter.java:216)
> > > >     at org.apache.coyote.http11.Http11Processor.process(
> > > > Http11Processor.java
> > > > :844)
> > > >     at
> > > >
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> > > > Http11Protocol.java:634)
> > > >     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> > > JIoEndpoint.java
> > > > :445)
> > > >     at java.lang.Thread.run(Thread.java:595)
> > > > Sep 23, 2007 2:54:24 PM
> > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.DefaultRequestExceptionHandlerhandleRequestException
> > > > SEVERE: Processing of request failed with uncaught exception: This
> > > markup
> > > > writer does not have a current element. The current element is
> > > established
> > > > with the first call to element() and is maintained across subsequent
> > > > calls.
> > > > java.lang.IllegalStateException: This markup writer does not have a
> > > > current
> > > > element. The current element is established with the first call to
> > > > element()
> > > > and is maintained across subsequent calls.
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.MarkupWriterImpl.ensureCurrentElement
> > > > (
> > > > MarkupWriterImpl.java:125)
> > > >     at org.apache.tapestry.internal.services.MarkupWriterImpl.write(
> > > > MarkupWriterImpl.java:76)
> > > >     at org.apache.tapestry.internal.structure.TextPageElement.render
> (
> > > > TextPageElement.java:34)
> > > >     at org.apache.tapestry.internal.services.RenderQueueImpl.run(
> > > > RenderQueueImpl.java:57)
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup
> > > > (PageMarkupRendererImpl.java:40)
> > > >     at
> > > >
> > > >
> > >
> >
> $PageMarkupRenderer_115321c5e3a.renderPageMarkup($PageMarkupRenderer_115321c5e3a.java)
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
> > > > (PageResponseRendererImpl.java:71)
> > > >     at
> > > >
> > > >
> > >
> >
> $PageResponseRenderer_115321c5e05.renderPageResponse($PageResponseRenderer_115321c5e05.java)
> > > >     at
> > > >
> > >
> >
> org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(
> > > > PageRenderRequestHandlerImpl.java:81)
> > > >     at
> > > >
> > > >
> > >
> >
> $PageRenderRequestHandler_115321c5e24.handle($PageRenderRequestHandler_115321c5e24.java)
> > > >     at
> > org.apache.tapestry.internal.services.RootPathDispatcher.dispatch
> > > (
> > > > RootPathDispatcher.java:59)
> > > >     at
> $Dispatcher_115321c5e27.dispatch($Dispatcher_115321c5e27.java)
> > > >     at
> $Dispatcher_115321c5e1a.dispatch($Dispatcher_115321c5e1a.java)
> > > >     at org.apache.tapestry.services.TapestryModule$12.service(
> > > > TapestryModule.java:1066)
> > > >     at
> > org.apache.tapestry.internal.services.LocalizationFilter.service(
> > > > LocalizationFilter.java:43)
> > > >     at
> > > >
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > >     at org.apache.tapestry.services.TapestryModule$2.service(
> > > > TapestryModule.java:657)
> > > >     at
> > > >
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > >     at
> org.apache.tapestry.internal.services.StaticFilesFilter.service
> > (
> > > > StaticFilesFilter.java:63)
> > > >     at
> > > >
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > >     at
> > > > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke
> (
> > > > CheckForUpdatesFilter.java:97)
> > > >     at
> > > > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke
> (
> > > > CheckForUpdatesFilter.java:88)
> > > >     at
> > org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> > > > ConcurrentBarrier.java:77)
> > > >     at
> > > org.apache.tapestry.internal.services.CheckForUpdatesFilter.service
> > > > (
> > > > CheckForUpdatesFilter.java:110)
> > > >     at
> > > >
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > > >     at
> > > >
> $RequestHandler_115321c5e14.service($RequestHandler_115321c5e14.java)
> > > >     at org.apache.tapestry.services.TapestryModule$11.service(
> > > > TapestryModule.java:1044)
> > > >     at
> > > >
> > > >
> > >
> >
> $HttpServletRequestHandler_115321c5e13.service($HttpServletRequestHandler_115321c5e13.java)
> > > >     at org.apache.tapestry.TapestryFilter.doFilter(
> TapestryFilter.java
> > > > :135)
> > > >     at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > > ApplicationFilterChain.java:235)
> > > >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > > ApplicationFilterChain.java:206)
> > > >     at org.apache.catalina.core.StandardWrapperValve.invoke(
> > > > StandardWrapperValve.java:228)
> > > >     at org.apache.catalina.core.StandardContextValve.invoke(
> > > > StandardContextValve.java:175)
> > > >     at org.apache.catalina.core.StandardHostValve.invoke(
> > > > StandardHostValve.java:128)
> > > >     at org.apache.catalina.valves.ErrorReportValve.invoke(
> > > > ErrorReportValve.java:104)
> > > >     at org.apache.catalina.core.StandardEngineValve.invoke(
> > > > StandardEngineValve.java:109)
> > > >     at org.apache.catalina.connector.CoyoteAdapter.service(
> > > > CoyoteAdapter.java:216)
> > > >     at org.apache.coyote.http11.Http11Processor.process(
> > > > Http11Processor.java
> > > > :844)
> > > >     at
> > > >
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> > > > Http11Protocol.java:634)
> > > >     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> > > JIoEndpoint.java
> > > > :445)
> > > >     at java.lang.Thread.run(Thread.java:595)
> > > > Sep 23, 2007 2:54:24 PM
> > > > org.apache.tapestry.internal.services.PagePoolImplrelease
> > > > SEVERE: Page Page[Start en] is dirty, and will be discarded (rather
> > than
> > > > returned to the page pool).
> > > >
> > > > --
> > > > sincerely yours
> > > > M. H. Shamsi
> > > >
> > >
> >
> >
> >
> > --
> > sincerely yours
> > M. H. Shamsi
> >
>



-- 
sincerely yours
M. H. Shamsi

Re: Page Layout Error

Posted by Erik Vullings <er...@gmail.com>.
I would REALLY recommend that you first create a maven archetype and start
learning from there: you have already asked a lot of questions today, and
most of your problems seem to be related to the way you have setup your
project. However, Tapestry expects certain things to be in certain places,
and your layout below is wrong. Also, search the mailing list for intellij
if you need to move stuff around.

Good luck,
Erik

On 9/23/07, Mohammad Shamsi <m....@gmail.com> wrote:
>
> Hi Erik,
>
> i use Intellij IDEA for development,
> my project structure is :
>
> ---/resources/WEB-INF/Start.html
> ---/resources/WEB-INF/test/components/Layout.html
>
> ---/src/test/pages/Start.java
> ---/src/test/components/Layout.java
>
> in web.xml :
>     <context-param>
>         <param-name>tapestry.app-package</param-name>
>         <param-value>test</param-value>
>     </context-param>
>
> Layout.html and Start.html is same as document that available in tapestry
> 5
> documents
>
> On 9/23/07, Erik Vullings <er...@gmail.com> wrote:
> >
> > Hi Mohammad,
> >
> > It would help if you would show the actual (relevant) content of your
> > class
> > and html file, since if you would have followed the guide, it should
> have
> > worked :-)
> > Related to your other question: The xsd template hasn't got a final
> (full)
> > version yet, AFAIK.
> >
> > Did you also have a look at the Wiki - and did you already create the
> > maven
> > archetype project to get started?
> > See http://wiki.apache.org/tapestry/Tapestry5HowTos (top of the page)
> >
> > Cheers
> > Erik
> >
> > On 9/23/07, Mohammad Shamsi <m....@gmail.com> wrote:
> > >
> > > Hi All,
> > >
> > > i have created  a simple page layout, as i read in this guide  :
> > >
> > >
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
> > >
> > > but when i run my application, i got this exception :
> > >
> > > Sep 23, 2007 2:54:24 PM
> > > org.apache.tapestry.internal.services.PagePoolImplrelease
> > > SEVERE: Page Page[Start en] is dirty, and will be discarded (rather
> than
> > > returned to the page pool).
> > > Sep 23, 2007 2:54:24 PM
> > > org.apache.tapestry.internal.services.RenderQueueImpl run
> > > SEVERE: Render queue error in Text[
> > >
> > >   My Page Specific Content
> > >
> > > ]: This markup writer does not have a current element. The current
> > element
> > > is established with the first call to element() and is maintained
> across
> > > subsequent calls.
> > > java.lang.IllegalStateException: This markup writer does not have a
> > > current
> > > element. The current element is established with the first call to
> > > element()
> > > and is maintained across subsequent calls.
> > >     at
> > >
> > >
> >
> org.apache.tapestry.internal.services.MarkupWriterImpl.ensureCurrentElement
> > > (
> > > MarkupWriterImpl.java:125)
> > >     at org.apache.tapestry.internal.services.MarkupWriterImpl.write(
> > > MarkupWriterImpl.java:76)
> > >     at org.apache.tapestry.internal.structure.TextPageElement.render(
> > > TextPageElement.java:34)
> > >     at org.apache.tapestry.internal.services.RenderQueueImpl.run(
> > > RenderQueueImpl.java:57)
> > >     at
> > >
> > >
> >
> org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup
> > > (PageMarkupRendererImpl.java:40)
> > >     at
> > >
> > >
> >
> $PageMarkupRenderer_115321c5e3a.renderPageMarkup($PageMarkupRenderer_115321c5e3a.java)
> > >     at
> > >
> > >
> >
> org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
> > > (PageResponseRendererImpl.java:71)
> > >     at
> > >
> > >
> >
> $PageResponseRenderer_115321c5e05.renderPageResponse($PageResponseRenderer_115321c5e05.java)
> > >     at
> > >
> >
> org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(
> > > PageRenderRequestHandlerImpl.java:81)
> > >     at
> > >
> > >
> >
> $PageRenderRequestHandler_115321c5e24.handle($PageRenderRequestHandler_115321c5e24.java)
> > >     at
> org.apache.tapestry.internal.services.RootPathDispatcher.dispatch
> > (
> > > RootPathDispatcher.java:59)
> > >     at $Dispatcher_115321c5e27.dispatch($Dispatcher_115321c5e27.java)
> > >     at $Dispatcher_115321c5e1a.dispatch($Dispatcher_115321c5e1a.java)
> > >     at org.apache.tapestry.services.TapestryModule$12.service(
> > > TapestryModule.java:1066)
> > >     at
> org.apache.tapestry.internal.services.LocalizationFilter.service(
> > > LocalizationFilter.java:43)
> > >     at
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > >     at org.apache.tapestry.services.TapestryModule$2.service(
> > > TapestryModule.java:657)
> > >     at
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > >     at org.apache.tapestry.internal.services.StaticFilesFilter.service
> (
> > > StaticFilesFilter.java:63)
> > >     at
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > >     at
> > > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > > CheckForUpdatesFilter.java:97)
> > >     at
> > > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > > CheckForUpdatesFilter.java:88)
> > >     at
> org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> > > ConcurrentBarrier.java:77)
> > >     at
> > org.apache.tapestry.internal.services.CheckForUpdatesFilter.service
> > > (
> > > CheckForUpdatesFilter.java:110)
> > >     at
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > >     at
> > > $RequestHandler_115321c5e14.service($RequestHandler_115321c5e14.java)
> > >     at org.apache.tapestry.services.TapestryModule$11.service(
> > > TapestryModule.java:1044)
> > >     at
> > >
> > >
> >
> $HttpServletRequestHandler_115321c5e13.service($HttpServletRequestHandler_115321c5e13.java)
> > >     at org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java
> > > :135)
> > >     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > ApplicationFilterChain.java:235)
> > >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > ApplicationFilterChain.java:206)
> > >     at org.apache.catalina.core.StandardWrapperValve.invoke(
> > > StandardWrapperValve.java:228)
> > >     at org.apache.catalina.core.StandardContextValve.invoke(
> > > StandardContextValve.java:175)
> > >     at org.apache.catalina.core.StandardHostValve.invoke(
> > > StandardHostValve.java:128)
> > >     at org.apache.catalina.valves.ErrorReportValve.invoke(
> > > ErrorReportValve.java:104)
> > >     at org.apache.catalina.core.StandardEngineValve.invoke(
> > > StandardEngineValve.java:109)
> > >     at org.apache.catalina.connector.CoyoteAdapter.service(
> > > CoyoteAdapter.java:216)
> > >     at org.apache.coyote.http11.Http11Processor.process(
> > > Http11Processor.java
> > > :844)
> > >     at
> > >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> > > Http11Protocol.java:634)
> > >     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> > JIoEndpoint.java
> > > :445)
> > >     at java.lang.Thread.run(Thread.java:595)
> > > Sep 23, 2007 2:54:24 PM
> > >
> > >
> >
> org.apache.tapestry.internal.services.DefaultRequestExceptionHandlerhandleRequestException
> > > SEVERE: Processing of request failed with uncaught exception: This
> > markup
> > > writer does not have a current element. The current element is
> > established
> > > with the first call to element() and is maintained across subsequent
> > > calls.
> > > java.lang.IllegalStateException: This markup writer does not have a
> > > current
> > > element. The current element is established with the first call to
> > > element()
> > > and is maintained across subsequent calls.
> > >     at
> > >
> > >
> >
> org.apache.tapestry.internal.services.MarkupWriterImpl.ensureCurrentElement
> > > (
> > > MarkupWriterImpl.java:125)
> > >     at org.apache.tapestry.internal.services.MarkupWriterImpl.write(
> > > MarkupWriterImpl.java:76)
> > >     at org.apache.tapestry.internal.structure.TextPageElement.render(
> > > TextPageElement.java:34)
> > >     at org.apache.tapestry.internal.services.RenderQueueImpl.run(
> > > RenderQueueImpl.java:57)
> > >     at
> > >
> > >
> >
> org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup
> > > (PageMarkupRendererImpl.java:40)
> > >     at
> > >
> > >
> >
> $PageMarkupRenderer_115321c5e3a.renderPageMarkup($PageMarkupRenderer_115321c5e3a.java)
> > >     at
> > >
> > >
> >
> org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
> > > (PageResponseRendererImpl.java:71)
> > >     at
> > >
> > >
> >
> $PageResponseRenderer_115321c5e05.renderPageResponse($PageResponseRenderer_115321c5e05.java)
> > >     at
> > >
> >
> org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(
> > > PageRenderRequestHandlerImpl.java:81)
> > >     at
> > >
> > >
> >
> $PageRenderRequestHandler_115321c5e24.handle($PageRenderRequestHandler_115321c5e24.java)
> > >     at
> org.apache.tapestry.internal.services.RootPathDispatcher.dispatch
> > (
> > > RootPathDispatcher.java:59)
> > >     at $Dispatcher_115321c5e27.dispatch($Dispatcher_115321c5e27.java)
> > >     at $Dispatcher_115321c5e1a.dispatch($Dispatcher_115321c5e1a.java)
> > >     at org.apache.tapestry.services.TapestryModule$12.service(
> > > TapestryModule.java:1066)
> > >     at
> org.apache.tapestry.internal.services.LocalizationFilter.service(
> > > LocalizationFilter.java:43)
> > >     at
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > >     at org.apache.tapestry.services.TapestryModule$2.service(
> > > TapestryModule.java:657)
> > >     at
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > >     at org.apache.tapestry.internal.services.StaticFilesFilter.service
> (
> > > StaticFilesFilter.java:63)
> > >     at
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > >     at
> > > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > > CheckForUpdatesFilter.java:97)
> > >     at
> > > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > > CheckForUpdatesFilter.java:88)
> > >     at
> org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> > > ConcurrentBarrier.java:77)
> > >     at
> > org.apache.tapestry.internal.services.CheckForUpdatesFilter.service
> > > (
> > > CheckForUpdatesFilter.java:110)
> > >     at
> > > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> > >     at
> > > $RequestHandler_115321c5e14.service($RequestHandler_115321c5e14.java)
> > >     at org.apache.tapestry.services.TapestryModule$11.service(
> > > TapestryModule.java:1044)
> > >     at
> > >
> > >
> >
> $HttpServletRequestHandler_115321c5e13.service($HttpServletRequestHandler_115321c5e13.java)
> > >     at org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java
> > > :135)
> > >     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > ApplicationFilterChain.java:235)
> > >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > ApplicationFilterChain.java:206)
> > >     at org.apache.catalina.core.StandardWrapperValve.invoke(
> > > StandardWrapperValve.java:228)
> > >     at org.apache.catalina.core.StandardContextValve.invoke(
> > > StandardContextValve.java:175)
> > >     at org.apache.catalina.core.StandardHostValve.invoke(
> > > StandardHostValve.java:128)
> > >     at org.apache.catalina.valves.ErrorReportValve.invoke(
> > > ErrorReportValve.java:104)
> > >     at org.apache.catalina.core.StandardEngineValve.invoke(
> > > StandardEngineValve.java:109)
> > >     at org.apache.catalina.connector.CoyoteAdapter.service(
> > > CoyoteAdapter.java:216)
> > >     at org.apache.coyote.http11.Http11Processor.process(
> > > Http11Processor.java
> > > :844)
> > >     at
> > >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> > > Http11Protocol.java:634)
> > >     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> > JIoEndpoint.java
> > > :445)
> > >     at java.lang.Thread.run(Thread.java:595)
> > > Sep 23, 2007 2:54:24 PM
> > > org.apache.tapestry.internal.services.PagePoolImplrelease
> > > SEVERE: Page Page[Start en] is dirty, and will be discarded (rather
> than
> > > returned to the page pool).
> > >
> > > --
> > > sincerely yours
> > > M. H. Shamsi
> > >
> >
>
>
>
> --
> sincerely yours
> M. H. Shamsi
>

Re: Page Layout Error

Posted by Mohammad Shamsi <m....@gmail.com>.
Hi Erik,

i use Intellij IDEA for development,
my project structure is :

---/resources/WEB-INF/Start.html
---/resources/WEB-INF/test/components/Layout.html

---/src/test/pages/Start.java
---/src/test/components/Layout.java

in web.xml :
    <context-param>
        <param-name>tapestry.app-package</param-name>
        <param-value>test</param-value>
    </context-param>

Layout.html and Start.html is same as document that available in tapestry 5
documents

On 9/23/07, Erik Vullings <er...@gmail.com> wrote:
>
> Hi Mohammad,
>
> It would help if you would show the actual (relevant) content of your
> class
> and html file, since if you would have followed the guide, it should have
> worked :-)
> Related to your other question: The xsd template hasn't got a final (full)
> version yet, AFAIK.
>
> Did you also have a look at the Wiki - and did you already create the
> maven
> archetype project to get started?
> See http://wiki.apache.org/tapestry/Tapestry5HowTos (top of the page)
>
> Cheers
> Erik
>
> On 9/23/07, Mohammad Shamsi <m....@gmail.com> wrote:
> >
> > Hi All,
> >
> > i have created  a simple page layout, as i read in this guide  :
> >
> > http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
> >
> > but when i run my application, i got this exception :
> >
> > Sep 23, 2007 2:54:24 PM
> > org.apache.tapestry.internal.services.PagePoolImplrelease
> > SEVERE: Page Page[Start en] is dirty, and will be discarded (rather than
> > returned to the page pool).
> > Sep 23, 2007 2:54:24 PM
> > org.apache.tapestry.internal.services.RenderQueueImpl run
> > SEVERE: Render queue error in Text[
> >
> >   My Page Specific Content
> >
> > ]: This markup writer does not have a current element. The current
> element
> > is established with the first call to element() and is maintained across
> > subsequent calls.
> > java.lang.IllegalStateException: This markup writer does not have a
> > current
> > element. The current element is established with the first call to
> > element()
> > and is maintained across subsequent calls.
> >     at
> >
> >
> org.apache.tapestry.internal.services.MarkupWriterImpl.ensureCurrentElement
> > (
> > MarkupWriterImpl.java:125)
> >     at org.apache.tapestry.internal.services.MarkupWriterImpl.write(
> > MarkupWriterImpl.java:76)
> >     at org.apache.tapestry.internal.structure.TextPageElement.render(
> > TextPageElement.java:34)
> >     at org.apache.tapestry.internal.services.RenderQueueImpl.run(
> > RenderQueueImpl.java:57)
> >     at
> >
> >
> org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup
> > (PageMarkupRendererImpl.java:40)
> >     at
> >
> >
> $PageMarkupRenderer_115321c5e3a.renderPageMarkup($PageMarkupRenderer_115321c5e3a.java)
> >     at
> >
> >
> org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
> > (PageResponseRendererImpl.java:71)
> >     at
> >
> >
> $PageResponseRenderer_115321c5e05.renderPageResponse($PageResponseRenderer_115321c5e05.java)
> >     at
> >
> org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(
> > PageRenderRequestHandlerImpl.java:81)
> >     at
> >
> >
> $PageRenderRequestHandler_115321c5e24.handle($PageRenderRequestHandler_115321c5e24.java)
> >     at org.apache.tapestry.internal.services.RootPathDispatcher.dispatch
> (
> > RootPathDispatcher.java:59)
> >     at $Dispatcher_115321c5e27.dispatch($Dispatcher_115321c5e27.java)
> >     at $Dispatcher_115321c5e1a.dispatch($Dispatcher_115321c5e1a.java)
> >     at org.apache.tapestry.services.TapestryModule$12.service(
> > TapestryModule.java:1066)
> >     at org.apache.tapestry.internal.services.LocalizationFilter.service(
> > LocalizationFilter.java:43)
> >     at
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> >     at org.apache.tapestry.services.TapestryModule$2.service(
> > TapestryModule.java:657)
> >     at
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> >     at org.apache.tapestry.internal.services.StaticFilesFilter.service(
> > StaticFilesFilter.java:63)
> >     at
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> >     at
> > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > CheckForUpdatesFilter.java:97)
> >     at
> > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > CheckForUpdatesFilter.java:88)
> >     at org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> > ConcurrentBarrier.java:77)
> >     at
> org.apache.tapestry.internal.services.CheckForUpdatesFilter.service
> > (
> > CheckForUpdatesFilter.java:110)
> >     at
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> >     at
> > $RequestHandler_115321c5e14.service($RequestHandler_115321c5e14.java)
> >     at org.apache.tapestry.services.TapestryModule$11.service(
> > TapestryModule.java:1044)
> >     at
> >
> >
> $HttpServletRequestHandler_115321c5e13.service($HttpServletRequestHandler_115321c5e13.java)
> >     at org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java
> > :135)
> >     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > ApplicationFilterChain.java:235)
> >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > ApplicationFilterChain.java:206)
> >     at org.apache.catalina.core.StandardWrapperValve.invoke(
> > StandardWrapperValve.java:228)
> >     at org.apache.catalina.core.StandardContextValve.invoke(
> > StandardContextValve.java:175)
> >     at org.apache.catalina.core.StandardHostValve.invoke(
> > StandardHostValve.java:128)
> >     at org.apache.catalina.valves.ErrorReportValve.invoke(
> > ErrorReportValve.java:104)
> >     at org.apache.catalina.core.StandardEngineValve.invoke(
> > StandardEngineValve.java:109)
> >     at org.apache.catalina.connector.CoyoteAdapter.service(
> > CoyoteAdapter.java:216)
> >     at org.apache.coyote.http11.Http11Processor.process(
> > Http11Processor.java
> > :844)
> >     at
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> > Http11Protocol.java:634)
> >     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> JIoEndpoint.java
> > :445)
> >     at java.lang.Thread.run(Thread.java:595)
> > Sep 23, 2007 2:54:24 PM
> >
> >
> org.apache.tapestry.internal.services.DefaultRequestExceptionHandlerhandleRequestException
> > SEVERE: Processing of request failed with uncaught exception: This
> markup
> > writer does not have a current element. The current element is
> established
> > with the first call to element() and is maintained across subsequent
> > calls.
> > java.lang.IllegalStateException: This markup writer does not have a
> > current
> > element. The current element is established with the first call to
> > element()
> > and is maintained across subsequent calls.
> >     at
> >
> >
> org.apache.tapestry.internal.services.MarkupWriterImpl.ensureCurrentElement
> > (
> > MarkupWriterImpl.java:125)
> >     at org.apache.tapestry.internal.services.MarkupWriterImpl.write(
> > MarkupWriterImpl.java:76)
> >     at org.apache.tapestry.internal.structure.TextPageElement.render(
> > TextPageElement.java:34)
> >     at org.apache.tapestry.internal.services.RenderQueueImpl.run(
> > RenderQueueImpl.java:57)
> >     at
> >
> >
> org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup
> > (PageMarkupRendererImpl.java:40)
> >     at
> >
> >
> $PageMarkupRenderer_115321c5e3a.renderPageMarkup($PageMarkupRenderer_115321c5e3a.java)
> >     at
> >
> >
> org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
> > (PageResponseRendererImpl.java:71)
> >     at
> >
> >
> $PageResponseRenderer_115321c5e05.renderPageResponse($PageResponseRenderer_115321c5e05.java)
> >     at
> >
> org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(
> > PageRenderRequestHandlerImpl.java:81)
> >     at
> >
> >
> $PageRenderRequestHandler_115321c5e24.handle($PageRenderRequestHandler_115321c5e24.java)
> >     at org.apache.tapestry.internal.services.RootPathDispatcher.dispatch
> (
> > RootPathDispatcher.java:59)
> >     at $Dispatcher_115321c5e27.dispatch($Dispatcher_115321c5e27.java)
> >     at $Dispatcher_115321c5e1a.dispatch($Dispatcher_115321c5e1a.java)
> >     at org.apache.tapestry.services.TapestryModule$12.service(
> > TapestryModule.java:1066)
> >     at org.apache.tapestry.internal.services.LocalizationFilter.service(
> > LocalizationFilter.java:43)
> >     at
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> >     at org.apache.tapestry.services.TapestryModule$2.service(
> > TapestryModule.java:657)
> >     at
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> >     at org.apache.tapestry.internal.services.StaticFilesFilter.service(
> > StaticFilesFilter.java:63)
> >     at
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> >     at
> > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > CheckForUpdatesFilter.java:97)
> >     at
> > org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> > CheckForUpdatesFilter.java:88)
> >     at org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> > ConcurrentBarrier.java:77)
> >     at
> org.apache.tapestry.internal.services.CheckForUpdatesFilter.service
> > (
> > CheckForUpdatesFilter.java:110)
> >     at
> > $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
> >     at
> > $RequestHandler_115321c5e14.service($RequestHandler_115321c5e14.java)
> >     at org.apache.tapestry.services.TapestryModule$11.service(
> > TapestryModule.java:1044)
> >     at
> >
> >
> $HttpServletRequestHandler_115321c5e13.service($HttpServletRequestHandler_115321c5e13.java)
> >     at org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java
> > :135)
> >     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > ApplicationFilterChain.java:235)
> >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > ApplicationFilterChain.java:206)
> >     at org.apache.catalina.core.StandardWrapperValve.invoke(
> > StandardWrapperValve.java:228)
> >     at org.apache.catalina.core.StandardContextValve.invoke(
> > StandardContextValve.java:175)
> >     at org.apache.catalina.core.StandardHostValve.invoke(
> > StandardHostValve.java:128)
> >     at org.apache.catalina.valves.ErrorReportValve.invoke(
> > ErrorReportValve.java:104)
> >     at org.apache.catalina.core.StandardEngineValve.invoke(
> > StandardEngineValve.java:109)
> >     at org.apache.catalina.connector.CoyoteAdapter.service(
> > CoyoteAdapter.java:216)
> >     at org.apache.coyote.http11.Http11Processor.process(
> > Http11Processor.java
> > :844)
> >     at
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> > Http11Protocol.java:634)
> >     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
> JIoEndpoint.java
> > :445)
> >     at java.lang.Thread.run(Thread.java:595)
> > Sep 23, 2007 2:54:24 PM
> > org.apache.tapestry.internal.services.PagePoolImplrelease
> > SEVERE: Page Page[Start en] is dirty, and will be discarded (rather than
> > returned to the page pool).
> >
> > --
> > sincerely yours
> > M. H. Shamsi
> >
>



-- 
sincerely yours
M. H. Shamsi

Re: Page Layout Error

Posted by Erik Vullings <er...@gmail.com>.
Hi Mohammad,

It would help if you would show the actual (relevant) content of your class
and html file, since if you would have followed the guide, it should have
worked :-)
Related to your other question: The xsd template hasn't got a final (full)
version yet, AFAIK.

Did you also have a look at the Wiki - and did you already create the maven
archetype project to get started?
See http://wiki.apache.org/tapestry/Tapestry5HowTos (top of the page)

Cheers
Erik

On 9/23/07, Mohammad Shamsi <m....@gmail.com> wrote:
>
> Hi All,
>
> i have created  a simple page layout, as i read in this guide  :
>
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
>
> but when i run my application, i got this exception :
>
> Sep 23, 2007 2:54:24 PM
> org.apache.tapestry.internal.services.PagePoolImplrelease
> SEVERE: Page Page[Start en] is dirty, and will be discarded (rather than
> returned to the page pool).
> Sep 23, 2007 2:54:24 PM
> org.apache.tapestry.internal.services.RenderQueueImpl run
> SEVERE: Render queue error in Text[
>
>   My Page Specific Content
>
> ]: This markup writer does not have a current element. The current element
> is established with the first call to element() and is maintained across
> subsequent calls.
> java.lang.IllegalStateException: This markup writer does not have a
> current
> element. The current element is established with the first call to
> element()
> and is maintained across subsequent calls.
>     at
>
> org.apache.tapestry.internal.services.MarkupWriterImpl.ensureCurrentElement
> (
> MarkupWriterImpl.java:125)
>     at org.apache.tapestry.internal.services.MarkupWriterImpl.write(
> MarkupWriterImpl.java:76)
>     at org.apache.tapestry.internal.structure.TextPageElement.render(
> TextPageElement.java:34)
>     at org.apache.tapestry.internal.services.RenderQueueImpl.run(
> RenderQueueImpl.java:57)
>     at
>
> org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup
> (PageMarkupRendererImpl.java:40)
>     at
>
> $PageMarkupRenderer_115321c5e3a.renderPageMarkup($PageMarkupRenderer_115321c5e3a.java)
>     at
>
> org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
> (PageResponseRendererImpl.java:71)
>     at
>
> $PageResponseRenderer_115321c5e05.renderPageResponse($PageResponseRenderer_115321c5e05.java)
>     at
> org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(
> PageRenderRequestHandlerImpl.java:81)
>     at
>
> $PageRenderRequestHandler_115321c5e24.handle($PageRenderRequestHandler_115321c5e24.java)
>     at org.apache.tapestry.internal.services.RootPathDispatcher.dispatch(
> RootPathDispatcher.java:59)
>     at $Dispatcher_115321c5e27.dispatch($Dispatcher_115321c5e27.java)
>     at $Dispatcher_115321c5e1a.dispatch($Dispatcher_115321c5e1a.java)
>     at org.apache.tapestry.services.TapestryModule$12.service(
> TapestryModule.java:1066)
>     at org.apache.tapestry.internal.services.LocalizationFilter.service(
> LocalizationFilter.java:43)
>     at
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
>     at org.apache.tapestry.services.TapestryModule$2.service(
> TapestryModule.java:657)
>     at
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
>     at org.apache.tapestry.internal.services.StaticFilesFilter.service(
> StaticFilesFilter.java:63)
>     at
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
>     at
> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> CheckForUpdatesFilter.java:97)
>     at
> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> CheckForUpdatesFilter.java:88)
>     at org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> ConcurrentBarrier.java:77)
>     at org.apache.tapestry.internal.services.CheckForUpdatesFilter.service
> (
> CheckForUpdatesFilter.java:110)
>     at
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
>     at
> $RequestHandler_115321c5e14.service($RequestHandler_115321c5e14.java)
>     at org.apache.tapestry.services.TapestryModule$11.service(
> TapestryModule.java:1044)
>     at
>
> $HttpServletRequestHandler_115321c5e13.service($HttpServletRequestHandler_115321c5e13.java)
>     at org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java
> :135)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:235)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:206)
>     at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:228)
>     at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:175)
>     at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:128)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:104)
>     at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:109)
>     at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:216)
>     at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java
> :844)
>     at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:634)
>     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
> :445)
>     at java.lang.Thread.run(Thread.java:595)
> Sep 23, 2007 2:54:24 PM
>
> org.apache.tapestry.internal.services.DefaultRequestExceptionHandlerhandleRequestException
> SEVERE: Processing of request failed with uncaught exception: This markup
> writer does not have a current element. The current element is established
> with the first call to element() and is maintained across subsequent
> calls.
> java.lang.IllegalStateException: This markup writer does not have a
> current
> element. The current element is established with the first call to
> element()
> and is maintained across subsequent calls.
>     at
>
> org.apache.tapestry.internal.services.MarkupWriterImpl.ensureCurrentElement
> (
> MarkupWriterImpl.java:125)
>     at org.apache.tapestry.internal.services.MarkupWriterImpl.write(
> MarkupWriterImpl.java:76)
>     at org.apache.tapestry.internal.structure.TextPageElement.render(
> TextPageElement.java:34)
>     at org.apache.tapestry.internal.services.RenderQueueImpl.run(
> RenderQueueImpl.java:57)
>     at
>
> org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup
> (PageMarkupRendererImpl.java:40)
>     at
>
> $PageMarkupRenderer_115321c5e3a.renderPageMarkup($PageMarkupRenderer_115321c5e3a.java)
>     at
>
> org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse
> (PageResponseRendererImpl.java:71)
>     at
>
> $PageResponseRenderer_115321c5e05.renderPageResponse($PageResponseRenderer_115321c5e05.java)
>     at
> org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(
> PageRenderRequestHandlerImpl.java:81)
>     at
>
> $PageRenderRequestHandler_115321c5e24.handle($PageRenderRequestHandler_115321c5e24.java)
>     at org.apache.tapestry.internal.services.RootPathDispatcher.dispatch(
> RootPathDispatcher.java:59)
>     at $Dispatcher_115321c5e27.dispatch($Dispatcher_115321c5e27.java)
>     at $Dispatcher_115321c5e1a.dispatch($Dispatcher_115321c5e1a.java)
>     at org.apache.tapestry.services.TapestryModule$12.service(
> TapestryModule.java:1066)
>     at org.apache.tapestry.internal.services.LocalizationFilter.service(
> LocalizationFilter.java:43)
>     at
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
>     at org.apache.tapestry.services.TapestryModule$2.service(
> TapestryModule.java:657)
>     at
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
>     at org.apache.tapestry.internal.services.StaticFilesFilter.service(
> StaticFilesFilter.java:63)
>     at
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
>     at
> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> CheckForUpdatesFilter.java:97)
>     at
> org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(
> CheckForUpdatesFilter.java:88)
>     at org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(
> ConcurrentBarrier.java:77)
>     at org.apache.tapestry.internal.services.CheckForUpdatesFilter.service
> (
> CheckForUpdatesFilter.java:110)
>     at
> $RequestHandler_115321c5e1b.service($RequestHandler_115321c5e1b.java)
>     at
> $RequestHandler_115321c5e14.service($RequestHandler_115321c5e14.java)
>     at org.apache.tapestry.services.TapestryModule$11.service(
> TapestryModule.java:1044)
>     at
>
> $HttpServletRequestHandler_115321c5e13.service($HttpServletRequestHandler_115321c5e13.java)
>     at org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java
> :135)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:235)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:206)
>     at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:228)
>     at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:175)
>     at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:128)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:104)
>     at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:109)
>     at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:216)
>     at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java
> :844)
>     at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:634)
>     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
> :445)
>     at java.lang.Thread.run(Thread.java:595)
> Sep 23, 2007 2:54:24 PM
> org.apache.tapestry.internal.services.PagePoolImplrelease
> SEVERE: Page Page[Start en] is dirty, and will be discarded (rather than
> returned to the page pool).
>
> --
> sincerely yours
> M. H. Shamsi
>