Re: T4.1 problem

2006-10-19 Thread Davor Hrg

in that case my css files were not available.
they are located  in css folder, and because those requests were
passed to the webapp default page was returned instead the desired css
content.
But there is no need for tapestry to handle it because servlet
container can deliver this static content.


I come from php background when speaking of webapps (low price of web
hosting for php/mysql)
so there are definitely collisions with my patterns from the past exp ...


On 10/19/06, James Carman <[EMAIL PROTECTED]> wrote:


Why didn't a URL mapping of "/*" hide everything?

On 10/18/06, Davor Hrg <[EMAIL PROTECTED]> wrote:
>
> thnx,
> actualy it is possible hide the html without implementing pretty url
>
> I moidifed my web.xml
>
>ponpon
>/app
>
>
>ponpon
>*.html
>
>
> and reapeated mapping for *.html (since the pattern allows only simple
> defs)
> now all .html pages are handled by default page
>
> I will definitely implement pretty url, but this was enough to protect
the
> html source
>
>
>
> On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:
> >
> > Try configuring friendly URLs:
> >
> > http://tapestry.apache.org/tapestry4.1/usersguide/friendly-urls.html
> >
> > If you follow the example on the link it should intercept anything
with
> an
> > html extension.
> >
> > Denis
> >
> > -----Original Message-
> > From: Davor Hrg [mailto:[EMAIL PROTECTED]
> > Sent: quarta-feira, 18 de outubro de 2006 16:02
> > To: Tapestry users
> > Subject: Re: T4.1 problem
> >
> > if Home.html is in WEB-INF, tapestry doesn't connect with the class,
> > if Home.html is in context, tapestry connects it with the class, but
> .html
> > source
> > is downloadable by entering http://localhost:8000/ponpon/Home.html
> >
> >
> > :(:(:(
> > Davor Hrg
> >
> >
> >
> > 
> > http://java.sun.com/xml/ns/j2ee";
> > xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
> > xsi:schemaLocation="
> > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
> > version="2.4">
> >
> > ponpon
> > 
> > ponpon
> > org.apache.tapestry.ApplicationServlet
> > 
> > 1
> > 
> > 
> > ponpon
> > /app
> > 
> > 
> >
> >
> >
> >
> > On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:
> > >
> > > The servlet engine won't allow the source to be downloaded via URL,
> > > because
> > > your tapestry servlet will intercept the request (assuming you've
> mapped
> > > it
> > > correctly).
> > >
> > > On 10/18/06, Davor Hrg <[EMAIL PROTECTED]> wrote:
> > > >
> > > > It makes all the difference in my project.
> > > > I moved Home.html into WEB-INF
> > > > and it didnt work
> > > > I moved it back into context
> > > > and it worked
> > > > I restarted tomcat each time
> > > >
> > > > finaly, my web app is not packed as .war,
> > > > it is a folder in webapps in tomcat.
> > > >
> > > > another problem is when Home.html is in context dir
> > > > the source of it can be downloaded via url
> > > >
> > > >
> > > >
> > > > Davor Hrg
> > > >
> > > > On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > I don't think that makes a difference.  Here's my .application
> file
> > > > (with
> > > > > package names changed to protect the innocent):
> > > > >
> > > > >  > > > > "-//Apache Software Foundation//Tapestry Specification
4.0
> > > //EN"
> > > > > "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd
">
> > > > >
> > > > > 
> > > > > 
> > > > >  value="
> > > > > com.myco.myproject.web.component"/>
> > > > >  > > > >
> specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
> > > > > 
> > > > >
> > > > > On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > I don't know if it actually makes a difference, but I u

Re: T4.1 problem

2006-10-18 Thread James Carman

Why didn't a URL mapping of "/*" hide everything?

On 10/18/06, Davor Hrg <[EMAIL PROTECTED]> wrote:


thnx,
actualy it is possible hide the html without implementing pretty url

I moidifed my web.xml
   
   ponpon
   /app
   
   
   ponpon
   *.html
   

and reapeated mapping for *.html (since the pattern allows only simple
defs)
now all .html pages are handled by default page

I will definitely implement pretty url, but this was enough to protect the
html source



On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:
>
> Try configuring friendly URLs:
>
> http://tapestry.apache.org/tapestry4.1/usersguide/friendly-urls.html
>
> If you follow the example on the link it should intercept anything with
an
> html extension.
>
> Denis
>
> -Original Message-
> From: Davor Hrg [mailto:[EMAIL PROTECTED]
> Sent: quarta-feira, 18 de outubro de 2006 16:02
> To: Tapestry users
> Subject: Re: T4.1 problem
>
> if Home.html is in WEB-INF, tapestry doesn't connect with the class,
> if Home.html is in context, tapestry connects it with the class, but
.html
> source
> is downloadable by entering http://localhost:8000/ponpon/Home.html
>
>
> :(:(:(
> Davor Hrg
>
>
>
> 
> http://java.sun.com/xml/ns/j2ee";
> xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
> xsi:schemaLocation="
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
> version="2.4">
>
> ponpon
> 
> ponpon
> org.apache.tapestry.ApplicationServlet
> 
> 1
> 
> 
> ponpon
> /app
> 
> 
>
>
>
>
> On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:
> >
> > The servlet engine won't allow the source to be downloaded via URL,
> > because
> > your tapestry servlet will intercept the request (assuming you've
mapped
> > it
> > correctly).
> >
> > On 10/18/06, Davor Hrg <[EMAIL PROTECTED]> wrote:
> > >
> > > It makes all the difference in my project.
> > > I moved Home.html into WEB-INF
> > > and it didnt work
> > > I moved it back into context
> > > and it worked
> > > I restarted tomcat each time
> > >
> > > finaly, my web app is not packed as .war,
> > > it is a folder in webapps in tomcat.
> > >
> > > another problem is when Home.html is in context dir
> > > the source of it can be downloaded via url
> > >
> > >
> > >
> > > Davor Hrg
> > >
> > > On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:
> > > >
> > > > I don't think that makes a difference.  Here's my .application
file
> > > (with
> > > > package names changed to protect the innocent):
> > > >
> > > >  > > > "-//Apache Software Foundation//Tapestry Specification 4.0
> > //EN"
> > > > "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> > > >
> > > > 
> > > > 
> > > > 
> > > >  > > >
specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
> > > > 
> > > >
> > > > On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > I don't know if it actually makes a difference, but I use it in
my
> > > > > .application a little bit different:
> > > > >
> > > > > I guess it wouldn't hurt to try:
> > > > >
> > > > > 
> > > > >   
> hr.hrg.ponpon
> > > > 
> > > > >> > > > key="org.apache.tapestry.component-class-packages">hr.hrg.ponpon
> > > 
> > > > > 
> > > > >
> > > > > Denis
> > > > >
> > > > > -Original Message-
> > > > > From: Davor Hrg [mailto:[EMAIL PROTECTED]
> > > > > Sent: quarta-feira, 18 de outubro de 2006 10:55
> > > > > To: Tapestry users
> > > > > Subject: Re: T4.1 problem
> > > > >
> > > > > nope,
> > > > > I must be doing something very wrong,
> > > > > just tried it in T4.0 and it also doesn't work
> > > > >
> > > > > here is web.xml
> > > > > 
> > > > > http://java.sun.com/xml/ns/j2ee";
> > > > > xmlns:xsi="http://www.w3.org/TR/xmlschema-1/"

Re: T4.1 problem

2006-10-18 Thread Davor Hrg

thnx,
actualy it is possible hide the html without implementing pretty url

I moidifed my web.xml
   
   ponpon
   /app
   
   
   ponpon
   *.html
   

and reapeated mapping for *.html (since the pattern allows only simple defs)
now all .html pages are handled by default page

I will definitely implement pretty url, but this was enough to protect the
html source



On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:


Try configuring friendly URLs:

http://tapestry.apache.org/tapestry4.1/usersguide/friendly-urls.html

If you follow the example on the link it should intercept anything with an
html extension.

Denis

-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 18 de outubro de 2006 16:02
To: Tapestry users
Subject: Re: T4.1 problem

if Home.html is in WEB-INF, tapestry doesn't connect with the class,
if Home.html is in context, tapestry connects it with the class, but .html
source
is downloadable by entering http://localhost:8000/ponpon/Home.html


:(:(:(
Davor Hrg




http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
xsi:schemaLocation="
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">

ponpon

ponpon
org.apache.tapestry.ApplicationServlet

1


ponpon
/app






On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:
>
> The servlet engine won't allow the source to be downloaded via URL,
> because
> your tapestry servlet will intercept the request (assuming you've mapped
> it
> correctly).
>
> On 10/18/06, Davor Hrg <[EMAIL PROTECTED]> wrote:
> >
> > It makes all the difference in my project.
> > I moved Home.html into WEB-INF
> > and it didnt work
> > I moved it back into context
> > and it worked
> > I restarted tomcat each time
> >
> > finaly, my web app is not packed as .war,
> > it is a folder in webapps in tomcat.
> >
> > another problem is when Home.html is in context dir
> > the source of it can be downloaded via url
> >
> >
> >
> > Davor Hrg
> >
> > On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:
> > >
> > > I don't think that makes a difference.  Here's my .application file
> > (with
> > > package names changed to protect the innocent):
> > >
> > >  > > "-//Apache Software Foundation//Tapestry Specification 4.0
> //EN"
> > > "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> > >
> > > 
> > > 
> > > 
> > >  > > specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
> > > 
> > >
> > > On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:
> > > >
> > > > I don't know if it actually makes a difference, but I use it in my
> > > > .application a little bit different:
> > > >
> > > > I guess it wouldn't hurt to try:
> > > >
> > > > 
> > > >   
hr.hrg.ponpon
> > > 
> > > >> > > key="org.apache.tapestry.component-class-packages">hr.hrg.ponpon
> > 
> > > > 
> > > >
> > > > Denis
> > > >
> > > > -Original Message-
> > > > From: Davor Hrg [mailto:[EMAIL PROTECTED]
> > > > Sent: quarta-feira, 18 de outubro de 2006 10:55
> > > > To: Tapestry users
> > > > Subject: Re: T4.1 problem
> > > >
> > > > nope,
> > > > I must be doing something very wrong,
> > > > just tried it in T4.0 and it also doesn't work
> > > >
> > > > here is web.xml
> > > > 
> > > > http://java.sun.com/xml/ns/j2ee";
> > > > xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
> > > > xsi:schemaLocation="
> > > > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
> > > > version="2.4">
> > > >
> > > > ponpon
> > > > 
> > > > ponpon
> > > > org.apache.tapestry.ApplicationServlet
> > > > 
> > > > 1
> > > > 
> > > > 
> > > > ponpon
> > > > /app
> > > > 
> > > > 
> > > >
> > > > ponpon.application
> > > > 
> > > >  > > >   "-//Apache Software Founda

RE: T4.1 problem

2006-10-18 Thread Denis Souza
Try configuring friendly URLs:

http://tapestry.apache.org/tapestry4.1/usersguide/friendly-urls.html

If you follow the example on the link it should intercept anything with an
html extension.

Denis

-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED] 
Sent: quarta-feira, 18 de outubro de 2006 16:02
To: Tapestry users
Subject: Re: T4.1 problem

if Home.html is in WEB-INF, tapestry doesn't connect with the class,
if Home.html is in context, tapestry connects it with the class, but .html
source
is downloadable by entering http://localhost:8000/ponpon/Home.html


:(:(:(
Davor Hrg




http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">

ponpon

ponpon
org.apache.tapestry.ApplicationServlet

1


ponpon
/app






On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:
>
> The servlet engine won't allow the source to be downloaded via URL,
> because
> your tapestry servlet will intercept the request (assuming you've mapped
> it
> correctly).
>
> On 10/18/06, Davor Hrg <[EMAIL PROTECTED]> wrote:
> >
> > It makes all the difference in my project.
> > I moved Home.html into WEB-INF
> > and it didnt work
> > I moved it back into context
> > and it worked
> > I restarted tomcat each time
> >
> > finaly, my web app is not packed as .war,
> > it is a folder in webapps in tomcat.
> >
> > another problem is when Home.html is in context dir
> > the source of it can be downloaded via url
> >
> >
> >
> > Davor Hrg
> >
> > On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:
> > >
> > > I don't think that makes a difference.  Here's my .application file
> > (with
> > > package names changed to protect the innocent):
> > >
> > >  > > "-//Apache Software Foundation//Tapestry Specification 4.0
> //EN"
> > > "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> > >
> > > 
> > > 
> > > 
> > >  > > specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
> > > 
> > >
> > > On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:
> > > >
> > > > I don't know if it actually makes a difference, but I use it in my
> > > > .application a little bit different:
> > > >
> > > > I guess it wouldn't hurt to try:
> > > >
> > > > 
> > > >   hr.hrg.ponpon
> > > 
> > > >> > > key="org.apache.tapestry.component-class-packages">hr.hrg.ponpon
> > 
> > > > 
> > > >
> > > > Denis
> > > >
> > > > -Original Message-
> > > > From: Davor Hrg [mailto:[EMAIL PROTECTED]
> > > > Sent: quarta-feira, 18 de outubro de 2006 10:55
> > > > To: Tapestry users
> > > > Subject: Re: T4.1 problem
> > > >
> > > > nope,
> > > > I must be doing something very wrong,
> > > > just tried it in T4.0 and it also doesn't work
> > > >
> > > > here is web.xml
> > > > 
> > > > http://java.sun.com/xml/ns/j2ee";
> > > > xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
> > > > xsi:schemaLocation="
> > > > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
> > > > version="2.4">
> > > >
> > > > ponpon
> > > > 
> > > > ponpon
> > > > org.apache.tapestry.ApplicationServlet
> > > > 
> > > > 1
> > > > 
> > > > 
> > > > ponpon
> > > > /app
> > > > 
> > > > 
> > > >
> > > > ponpon.application
> > > > 
> > > >  > > >   "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
> > > >   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> > > >
> > > > 
> > > >   
> > > >   
> > > > 
> > > >
> > > > On 10/18/06, Dennis Sinelnikov <[EMAIL PROTECTED]>
> > > wrote:
> > > > >
> > > > > Try '.' instead of '/'
> >

Re: T4.1 problem

2006-10-18 Thread Davor Hrg

if Home.html is in WEB-INF, tapestry doesn't connect with the class,
if Home.html is in context, tapestry connects it with the class, but .html
source
is downloadable by entering http://localhost:8000/ponpon/Home.html


:(:(:(
Davor Hrg




http://java.sun.com/xml/ns/j2ee";
   xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">

   ponpon
   
   ponpon
   org.apache.tapestry.ApplicationServlet

   1
   
   
   ponpon
   /app
   





On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:


The servlet engine won't allow the source to be downloaded via URL,
because
your tapestry servlet will intercept the request (assuming you've mapped
it
correctly).

On 10/18/06, Davor Hrg <[EMAIL PROTECTED]> wrote:
>
> It makes all the difference in my project.
> I moved Home.html into WEB-INF
> and it didnt work
> I moved it back into context
> and it worked
> I restarted tomcat each time
>
> finaly, my web app is not packed as .war,
> it is a folder in webapps in tomcat.
>
> another problem is when Home.html is in context dir
> the source of it can be downloaded via url
>
>
>
> Davor Hrg
>
> On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:
> >
> > I don't think that makes a difference.  Here's my .application file
> (with
> > package names changed to protect the innocent):
> >
> >  > "-//Apache Software Foundation//Tapestry Specification 4.0
//EN"
> > "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> >
> > 
> > 
> > 
> >  > specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
> > 
> >
> > On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:
> > >
> > > I don't know if it actually makes a difference, but I use it in my
> > > .application a little bit different:
> > >
> > > I guess it wouldn't hurt to try:
> > >
> > > 
> > >   hr.hrg.ponpon
> > 
> > >> > key="org.apache.tapestry.component-class-packages">hr.hrg.ponpon
> 
> > > 
> > >
> > > Denis
> > >
> > > -Original Message-
> > > From: Davor Hrg [mailto:[EMAIL PROTECTED]
> > > Sent: quarta-feira, 18 de outubro de 2006 10:55
> > > To: Tapestry users
> > > Subject: Re: T4.1 problem
> > >
> > > nope,
> > > I must be doing something very wrong,
> > > just tried it in T4.0 and it also doesn't work
> > >
> > > here is web.xml
> > > 
> > > http://java.sun.com/xml/ns/j2ee";
> > > xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
> > > xsi:schemaLocation="
> > > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
> > > version="2.4">
> > >
> > > ponpon
> > > 
> > > ponpon
> > > org.apache.tapestry.ApplicationServlet
> > > 
> > > 1
> > > 
> > > 
> > > ponpon
> > > /app
> > > 
> > > 
> > >
> > > ponpon.application
> > > 
> > >  > >   "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
> > >   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> > >
> > > 
> > >   
> > >   
> > > 
> > >
> > > On 10/18/06, Dennis Sinelnikov <[EMAIL PROTECTED]>
> > wrote:
> > > >
> > > > Try '.' instead of '/'
> > > > 
> > > >
> > > > Dennis
> > > >
> > > > Davor Hrg wrote:
> > > > > Is there an known issue with
> > > > > org.apache.tapestry.page-class-packages
> > > > > in T4.1
> > > > >
> > > > > I don't seem to get it right,
> > > > > I have a simple app and trying to get rid of
> > > > > th pesky .page and use annotations
> > > > > .
> > > > > Just tried with Home.page
> > > > >
> > > > > org.apache.tapestry.PageNotFoundException
> > > > > Page 'Home' not found in application namespace.
> > > > >
> > > > >   -
> > org.apache.tapestry.resolver.PageSpec

Re: T4.1 problem

2006-10-18 Thread James Carman

The servlet engine won't allow the source to be downloaded via URL, because
your tapestry servlet will intercept the request (assuming you've mapped it
correctly).

On 10/18/06, Davor Hrg <[EMAIL PROTECTED]> wrote:


It makes all the difference in my project.
I moved Home.html into WEB-INF
and it didnt work
I moved it back into context
and it worked
I restarted tomcat each time

finaly, my web app is not packed as .war,
it is a folder in webapps in tomcat.

another problem is when Home.html is in context dir
the source of it can be downloaded via url



Davor Hrg

On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:
>
> I don't think that makes a difference.  Here's my .application file
(with
> package names changed to protect the innocent):
>
>  "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
> "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
>
> 
> 
> 
>  specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
> 
>
> On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:
> >
> > I don't know if it actually makes a difference, but I use it in my
> > .application a little bit different:
> >
> > I guess it wouldn't hurt to try:
> >
> > 
> >   hr.hrg.ponpon
> 
> >> key="org.apache.tapestry.component-class-packages">hr.hrg.ponpon

> > 
> >
> > Denis
> >
> > -Original Message-
> > From: Davor Hrg [mailto:[EMAIL PROTECTED]
> > Sent: quarta-feira, 18 de outubro de 2006 10:55
> > To: Tapestry users
> > Subject: Re: T4.1 problem
> >
> > nope,
> > I must be doing something very wrong,
> > just tried it in T4.0 and it also doesn't work
> >
> > here is web.xml
> > 
> > http://java.sun.com/xml/ns/j2ee";
> > xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
> > xsi:schemaLocation="
> > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
> > version="2.4">
> >
> > ponpon
> > 
> > ponpon
> > org.apache.tapestry.ApplicationServlet
> > 
> > 1
> > 
> > 
> > ponpon
> > /app
> > 
> > 
> >
> > ponpon.application
> > 
> >  >   "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
> >   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> >
> > 
> >   
> >   
> > 
> >
> > On 10/18/06, Dennis Sinelnikov <[EMAIL PROTECTED]>
> wrote:
> > >
> > > Try '.' instead of '/'
> > > 
> > >
> > > Dennis
> > >
> > > Davor Hrg wrote:
> > > > Is there an known issue with
> > > > org.apache.tapestry.page-class-packages
> > > > in T4.1
> > > >
> > > > I don't seem to get it right,
> > > > I have a simple app and trying to get rid of
> > > > th pesky .page and use annotations
> > > > .
> > > > Just tried with Home.page
> > > >
> > > > org.apache.tapestry.PageNotFoundException
> > > > Page 'Home' not found in application namespace.
> > > >
> > > >   -
> org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve
> > (
> > > >   PageSpecificationResolverImpl.java:147)
> > > >   -
> > > >
> > >
> >
> >
>
$PageSpecificationResolver_10e5b5b91b0.resolve($PageSpecificationResolver_10
> > e5b5b91b0.java)
> > > >
> > > >
> > > >   -
> > > >
> > >
> >
> >
>
$PageSpecificationResolver_10e5b5b91b1.resolve($PageSpecificationResolver_10
> > e5b5b91b1.java)
> > > >
> > > >
> > > >   - org.apache.tapestry.pageload.PageSource.getPage(
PageSource.java
> > :112)
> > > >
> > > >   -
$IPageSource_10e5b5b9116.getPage($IPageSource_10e5b5b9116.java)
> > > >   -
$IPageSource_10e5b5b9115.getPage($IPageSource_10e5b5b9115.java)
> > > >   - org.apache.tapestry.engine.RequestCycle.loadPage(
> RequestCycle.java
> > > :241)
> > > >
> > > >   - ---
> > > >
> > > > I tried both .application
> > > > 
> > > >   > > > value="hr/hrg/ponpon"/>
> > > >   > > > value="hr/hrg/ponpon"/>
> > > > 
> > > >
> > > > and web.xml
> > > >
> > > >org.apache.tapestry.page-class-packages
> > > 
> > > >hr.hrg.ponpon
> > > >
> > > >
> > > > but no effect
> > > >
> > > >
> > > > Davor Hrg
> > > >
> > >
> > >
> > >
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>




Re: T4.1 problem

2006-10-18 Thread Davor Hrg

It makes all the difference in my project.
I moved Home.html into WEB-INF
and it didnt work
I moved it back into context
and it worked
I restarted tomcat each time

finaly, my web app is not packed as .war,
it is a folder in webapps in tomcat.

another problem is when Home.html is in context dir
the source of it can be downloaded via url



Davor Hrg

On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:


I don't think that makes a difference.  Here's my .application file (with
package names changed to protect the innocent):

http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>







On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:
>
> I don't know if it actually makes a difference, but I use it in my
> .application a little bit different:
>
> I guess it wouldn't hurt to try:
>
> 
>   hr.hrg.ponpon

>key="org.apache.tapestry.component-class-packages">hr.hrg.ponpon
> 
>
> Denis
>
> -Original Message-
> From: Davor Hrg [mailto:[EMAIL PROTECTED]
> Sent: quarta-feira, 18 de outubro de 2006 10:55
> To: Tapestry users
> Subject: Re: T4.1 problem
>
> nope,
> I must be doing something very wrong,
> just tried it in T4.0 and it also doesn't work
>
> here is web.xml
> 
> http://java.sun.com/xml/ns/j2ee";
> xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
> xsi:schemaLocation="
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
> version="2.4">
>
> ponpon
> 
> ponpon
> org.apache.tapestry.ApplicationServlet
> 
> 1
> 
> 
> ponpon
> /app
> 
> 
>
> ponpon.application
> 
>"-//Apache Software Foundation//Tapestry Specification 4.0//EN"
>   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
>
> 
>   
>   
> 
>
> On 10/18/06, Dennis Sinelnikov <[EMAIL PROTECTED]>
wrote:
> >
> > Try '.' instead of '/'
> > 
> >
> > Dennis
> >
> > Davor Hrg wrote:
> > > Is there an known issue with
> > > org.apache.tapestry.page-class-packages
> > > in T4.1
> > >
> > > I don't seem to get it right,
> > > I have a simple app and trying to get rid of
> > > th pesky .page and use annotations
> > > .
> > > Just tried with Home.page
> > >
> > > org.apache.tapestry.PageNotFoundException
> > > Page 'Home' not found in application namespace.
> > >
> > >   -
org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve
> (
> > >   PageSpecificationResolverImpl.java:147)
> > >   -
> > >
> >
>
>
$PageSpecificationResolver_10e5b5b91b0.resolve($PageSpecificationResolver_10
> e5b5b91b0.java)
> > >
> > >
> > >   -
> > >
> >
>
>
$PageSpecificationResolver_10e5b5b91b1.resolve($PageSpecificationResolver_10
> e5b5b91b1.java)
> > >
> > >
> > >   - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java
> :112)
> > >
> > >   - $IPageSource_10e5b5b9116.getPage($IPageSource_10e5b5b9116.java)
> > >   - $IPageSource_10e5b5b9115.getPage($IPageSource_10e5b5b9115.java)
> > >   - org.apache.tapestry.engine.RequestCycle.loadPage(
RequestCycle.java
> > :241)
> > >
> > >   - ---
> > >
> > > I tried both .application
> > > 
> > >   > > value="hr/hrg/ponpon"/>
> > >   > > value="hr/hrg/ponpon"/>
> > > 
> > >
> > > and web.xml
> > >
> > >org.apache.tapestry.page-class-packages
> > 
> > >hr.hrg.ponpon
> > >
> > >
> > > but no effect
> > >
> > >
> > > Davor Hrg
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




Re: T4.1 problem

2006-10-18 Thread James Carman

I don't think that makes a difference.  Here's my .application file (with
package names changed to protect the innocent):

http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>


   
   
   


On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:


I don't know if it actually makes a difference, but I use it in my
.application a little bit different:

I guess it wouldn't hurt to try:


  hr.hrg.ponpon
  hr.hrg.ponpon


Denis

-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 18 de outubro de 2006 10:55
To: Tapestry users
Subject: Re: T4.1 problem

nope,
I must be doing something very wrong,
just tried it in T4.0 and it also doesn't work

here is web.xml

http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
xsi:schemaLocation="
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">

ponpon

ponpon
org.apache.tapestry.ApplicationServlet

1


ponpon
/app



ponpon.application

http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>


  
  


On 10/18/06, Dennis Sinelnikov <[EMAIL PROTECTED]> wrote:
>
> Try '.' instead of '/'
> 
>
> Dennis
>
> Davor Hrg wrote:
> > Is there an known issue with
> > org.apache.tapestry.page-class-packages
> > in T4.1
> >
> > I don't seem to get it right,
> > I have a simple app and trying to get rid of
> > th pesky .page and use annotations
> > .
> > Just tried with Home.page
> >
> > org.apache.tapestry.PageNotFoundException
> > Page 'Home' not found in application namespace.
> >
> >   - org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve
(
> >   PageSpecificationResolverImpl.java:147)
> >   -
> >
>

$PageSpecificationResolver_10e5b5b91b0.resolve($PageSpecificationResolver_10
e5b5b91b0.java)
> >
> >
> >   -
> >
>

$PageSpecificationResolver_10e5b5b91b1.resolve($PageSpecificationResolver_10
e5b5b91b1.java)
> >
> >
> >   - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java
:112)
> >
> >   - $IPageSource_10e5b5b9116.getPage($IPageSource_10e5b5b9116.java)
> >   - $IPageSource_10e5b5b9115.getPage($IPageSource_10e5b5b9115.java)
> >   - org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java
> :241)
> >
> >   - ---
> >
> > I tried both .application
> > 
> >   > value="hr/hrg/ponpon"/>
> >   > value="hr/hrg/ponpon"/>
> > 
> >
> > and web.xml
> >
> >org.apache.tapestry.page-class-packages
> 
> >hr.hrg.ponpon
> >
> >
> > but no effect
> >
> >
> > Davor Hrg
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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




Re: T4.1 problem

2006-10-18 Thread Davor Hrg

that is it,

I moved all the pages from WEB-INF down to my
context dir,
and now it works without the .page :):):):):)

I was putting .html pages in WB-INF from the begining,
unaware that should not be there after all.

thanks everyone for the assistance :)

On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:


Maybe you're looking in the wrong place. Maybe the problem is not where
you're placing the .java class but where you're placing the .html
template.
I never use .page files and misplacing an html template gives me exactly
the
same error as you're getting. Make sure your html file is just inside your
context directory right alongside the WEB-INF directory.
Unfortunately, in Tapestry, you can't configure the directory where you
place your .html files (at least not in an easy way).

Denis

-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 18 de outubro de 2006 14:43
To: Tapestry users
Subject: Re: T4.1 problem

sorry for spamming the list ...

I used  in home .java
@InjectMeta("org.apache.tapestry.page-class-packages")
public abstract String getTest();

then I put in the template

||

and got out:

|hr.hrg.ponpon|

On 10/18/06, Davor Hrg <[EMAIL PROTECTED]> wrote:
>
> I tried
> hr.hrg.ponpon
>
> but no reluts still
>
> i put back the Home.page
> 
>  "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
> "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd ">
> 
>
> and it works now,
> so classes are where supposed to be, Home.html is ok
> annotations work in the Home.java
>
> but the problem persists still when I remove Home.page
>
> what line of code is to get
> org.apache.tapestry.page-class-packages
> value so I can print it to sys.out
>
>
> On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:
> >
> > I don't know if it actually makes a difference, but I use it in my
> > .application a little bit different:
> >
> > I guess it wouldn't hurt to try:
> >
> > 
> >   hr.hrg.ponpon
> > 
> >> key="org.apache.tapestry.component-class-packages">hr.hrg.ponpon

> > 
> >
> > Denis
> >
> > -Original Message-
> > From: Davor Hrg [mailto: [EMAIL PROTECTED]
> > Sent: quarta-feira, 18 de outubro de 2006 10:55
> > To: Tapestry users
> > Subject: Re: T4.1 problem
> >
> > nope,
> > I must be doing something very wrong,
> > just tried it in T4.0 and it also doesn't work
> >
> > here is web.xml
> > 
> > http://java.sun.com/xml/ns/j2ee";
> > xmlns:xsi=" http://www.w3.org/TR/xmlschema-1/";
> >
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
> > "
> > version="2.4">
> >
> > ponpon
> > 
> > ponpon
> > org.apache.tapestry.ApplicationServlet
> > 
> > 1
> > 
> > 
> > ponpon
> > /app
> > 
> > 
> >
> > ponpon.application
> > 
> >  >   "-//Apache Software Foundation//Tapestry Specification 4.0 //EN"
> >   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> >
> > 
> >   
> >   
> > 
> >
> > On 10/18/06, Dennis Sinelnikov < [EMAIL PROTECTED]>
> > wrote:
> > >
> > > Try '.' instead of '/'
> > > 
> > >
> > > Dennis
> > >
> > > Davor Hrg wrote:
> > > > Is there an known issue with
> > > > org.apache.tapestry.page-class-packages
> > > > in T4.1
> > > >
> > > > I don't seem to get it right,
> > > > I have a simple app and trying to get rid of
> > > > th pesky .page and use annotations
> > > > .
> > > > Just tried with Home.page
> > > >
> > > > org.apache.tapestry.PageNotFoundException
> > > > Page 'Home' not found in application namespace.
> > > >
> > > >   -
> > org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve(
> > > >   PageSpecificationResolverImpl.java:147)
> > > >   -
> > > >
> > >
> >
> >

$PageSpecificationResolver_10e5b5b91b0.resolve($PageSpecificationResolver_10
> > e5b5b91b0.java)
> > > >
> > > >
> > > >   -
> > > >
> > >
> >

$PageSpecificationResolver_10e5b5b91b1.resolve($PageSpecificat

RE: T4.1 problem

2006-10-18 Thread Denis Souza
Maybe you're looking in the wrong place. Maybe the problem is not where
you're placing the .java class but where you're placing the .html template.
I never use .page files and misplacing an html template gives me exactly the
same error as you're getting. Make sure your html file is just inside your
context directory right alongside the WEB-INF directory.
Unfortunately, in Tapestry, you can't configure the directory where you
place your .html files (at least not in an easy way).

Denis

-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED] 
Sent: quarta-feira, 18 de outubro de 2006 14:43
To: Tapestry users
Subject: Re: T4.1 problem

sorry for spamming the list ...

I used  in home .java
@InjectMeta("org.apache.tapestry.page-class-packages")
public abstract String getTest();

then I put in the template

||

and got out:

|hr.hrg.ponpon|

On 10/18/06, Davor Hrg <[EMAIL PROTECTED]> wrote:
>
> I tried
> hr.hrg.ponpon
>
> but no reluts still
>
> i put back the Home.page
> 
>  "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
> "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd ">
> 
>
> and it works now,
> so classes are where supposed to be, Home.html is ok
> annotations work in the Home.java
>
> but the problem persists still when I remove Home.page
>
> what line of code is to get
> org.apache.tapestry.page-class-packages
> value so I can print it to sys.out
>
>
> On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:
> >
> > I don't know if it actually makes a difference, but I use it in my
> > .application a little bit different:
> >
> > I guess it wouldn't hurt to try:
> >
> > 
> >   hr.hrg.ponpon
> > 
> >> key="org.apache.tapestry.component-class-packages">hr.hrg.ponpon
> > 
> >
> > Denis
> >
> > -Original Message-
> > From: Davor Hrg [mailto: [EMAIL PROTECTED]
> > Sent: quarta-feira, 18 de outubro de 2006 10:55
> > To: Tapestry users
> > Subject: Re: T4.1 problem
> >
> > nope,
> > I must be doing something very wrong,
> > just tried it in T4.0 and it also doesn't work
> >
> > here is web.xml
> > 
> > http://java.sun.com/xml/ns/j2ee";
> > xmlns:xsi=" http://www.w3.org/TR/xmlschema-1/";
> >
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
> > "
> > version="2.4">
> >
> > ponpon
> > 
> > ponpon
> > org.apache.tapestry.ApplicationServlet
> > 
> > 1
> > 
> > 
> > ponpon
> > /app
> > 
> > 
> >
> > ponpon.application
> > 
> >  >   "-//Apache Software Foundation//Tapestry Specification 4.0 //EN"
> >   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> >
> > 
> >   
> >   
> > 
> >
> > On 10/18/06, Dennis Sinelnikov < [EMAIL PROTECTED]>
> > wrote:
> > >
> > > Try '.' instead of '/'
> > > 
> > >
> > > Dennis
> > >
> > > Davor Hrg wrote:
> > > > Is there an known issue with
> > > > org.apache.tapestry.page-class-packages
> > > > in T4.1
> > > >
> > > > I don't seem to get it right,
> > > > I have a simple app and trying to get rid of
> > > > th pesky .page and use annotations
> > > > .
> > > > Just tried with Home.page
> > > >
> > > > org.apache.tapestry.PageNotFoundException
> > > > Page 'Home' not found in application namespace.
> > > >
> > > >   -
> > org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve(
> > > >   PageSpecificationResolverImpl.java:147)
> > > >   -
> > > >
> > >
> >
> >
$PageSpecificationResolver_10e5b5b91b0.resolve($PageSpecificationResolver_10
> > e5b5b91b0.java)
> > > >
> > > >
> > > >   -
> > > >
> > >
> >
$PageSpecificationResolver_10e5b5b91b1.resolve($PageSpecificationResolver_10
> >
> > e5b5b91b1.java)
> > > >
> > > >
> > > >   - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java
> > :112)
> > > >
> > > >   - $IPageSource_10e5b5b9116.getPage($IPageSource_10e5b5b9116.java)
> > > >   - $IPageSource_10e5b5b9115.getPage($IPageSource_10e5b5b9115.java)
> > > >   - org.apache.tapestry.engine.RequestCycle.loadPage(
> > RequestCycle.java
> > > :241)
> > > >
> > > >   - ---
> > > >
> > > > I tried both .application
> > > > 
> > > >   > > > value="hr/hrg/ponpon"/>
> > > >   > > > value="hr/hrg/ponpon"/>
> > > > 
> > > >
> > > > and web.xml
> > > >
> > > > org.apache.tapestry.page-class-packages
> > > 
> > > >hr.hrg.ponpon
> > > >
> > > >
> > > > but no effect
> > > >
> > > >
> > > > Davor Hrg
> > > >
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


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



Re: T4.1 problem

2006-10-18 Thread Davor Hrg

sorry for spamming the list ...

I used  in home .java
@InjectMeta("org.apache.tapestry.page-class-packages")
   public abstract String getTest();

then I put in the template

||

and got out:

|hr.hrg.ponpon|

On 10/18/06, Davor Hrg <[EMAIL PROTECTED]> wrote:


I tried
hr.hrg.ponpon

but no reluts still

i put back the Home.page

http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd ">


and it works now,
so classes are where supposed to be, Home.html is ok
annotations work in the Home.java

but the problem persists still when I remove Home.page

what line of code is to get
org.apache.tapestry.page-class-packages
value so I can print it to sys.out


On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:
>
> I don't know if it actually makes a difference, but I use it in my
> .application a little bit different:
>
> I guess it wouldn't hurt to try:
>
> 
>   hr.hrg.ponpon
> 
>key="org.apache.tapestry.component-class-packages">hr.hrg.ponpon
> 
>
> Denis
>
> -Original Message-
> From: Davor Hrg [mailto: [EMAIL PROTECTED]
> Sent: quarta-feira, 18 de outubro de 2006 10:55
> To: Tapestry users
> Subject: Re: T4.1 problem
>
> nope,
> I must be doing something very wrong,
> just tried it in T4.0 and it also doesn't work
>
> here is web.xml
> 
> http://java.sun.com/xml/ns/j2ee";
> xmlns:xsi=" http://www.w3.org/TR/xmlschema-1/";
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
> "
> version="2.4">
>
> ponpon
> 
> ponpon
> org.apache.tapestry.ApplicationServlet
> 
> 1
> 
> 
> ponpon
> /app
> 
> 
>
> ponpon.application
> 
>"-//Apache Software Foundation//Tapestry Specification 4.0 //EN"
>   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
>
> 
>   
>   
> 
>
> On 10/18/06, Dennis Sinelnikov < [EMAIL PROTECTED]>
> wrote:
> >
> > Try '.' instead of '/'
> > 
> >
> > Dennis
> >
> > Davor Hrg wrote:
> > > Is there an known issue with
> > > org.apache.tapestry.page-class-packages
> > > in T4.1
> > >
> > > I don't seem to get it right,
> > > I have a simple app and trying to get rid of
> > > th pesky .page and use annotations
> > > .
> > > Just tried with Home.page
> > >
> > > org.apache.tapestry.PageNotFoundException
> > > Page 'Home' not found in application namespace.
> > >
> > >   -
> org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve(
> > >   PageSpecificationResolverImpl.java:147)
> > >   -
> > >
> >
>
> $PageSpecificationResolver_10e5b5b91b0.resolve($PageSpecificationResolver_10
> e5b5b91b0.java)
> > >
> > >
> > >   -
> > >
> >
> $PageSpecificationResolver_10e5b5b91b1.resolve($PageSpecificationResolver_10
>
> e5b5b91b1.java)
> > >
> > >
> > >   - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java
> :112)
> > >
> > >   - $IPageSource_10e5b5b9116.getPage($IPageSource_10e5b5b9116.java)
> > >   - $IPageSource_10e5b5b9115.getPage($IPageSource_10e5b5b9115.java)
> > >   - org.apache.tapestry.engine.RequestCycle.loadPage(
> RequestCycle.java
> > :241)
> > >
> > >   - ---
> > >
> > > I tried both .application
> > > 
> > >   > > value="hr/hrg/ponpon"/>
> > >   > > value="hr/hrg/ponpon"/>
> > > 
> > >
> > > and web.xml
> > >
> > > org.apache.tapestry.page-class-packages
> > 
> > >hr.hrg.ponpon
> > >
> > >
> > > but no effect
> > >
> > >
> > > Davor Hrg
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



Re: T4.1 problem

2006-10-18 Thread Davor Hrg

I tried
hr.hrg.ponpon

but no reluts still

i put back the Home.page

http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>


and it works now,
so classes are where supposed to be, Home.html is ok
annotations work in the Home.java

but the problem persists still when I remove Home.page

what line of code is to get
org.apache.tapestry.page-class-packages
value so I can print it to sys.out


On 10/18/06, Denis Souza <[EMAIL PROTECTED]> wrote:


I don't know if it actually makes a difference, but I use it in my
.application a little bit different:

I guess it wouldn't hurt to try:


  hr.hrg.ponpon
  hr.hrg.ponpon


Denis

-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 18 de outubro de 2006 10:55
To: Tapestry users
Subject: Re: T4.1 problem

nope,
I must be doing something very wrong,
just tried it in T4.0 and it also doesn't work

here is web.xml

http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
xsi:schemaLocation="
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">

ponpon

ponpon
org.apache.tapestry.ApplicationServlet

1


ponpon
/app



ponpon.application

http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>


  
  


On 10/18/06, Dennis Sinelnikov <[EMAIL PROTECTED]> wrote:
>
> Try '.' instead of '/'
> 
>
> Dennis
>
> Davor Hrg wrote:
> > Is there an known issue with
> > org.apache.tapestry.page-class-packages
> > in T4.1
> >
> > I don't seem to get it right,
> > I have a simple app and trying to get rid of
> > th pesky .page and use annotations
> > .
> > Just tried with Home.page
> >
> > org.apache.tapestry.PageNotFoundException
> > Page 'Home' not found in application namespace.
> >
> >   - org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve
(
> >   PageSpecificationResolverImpl.java:147)
> >   -
> >
>

$PageSpecificationResolver_10e5b5b91b0.resolve($PageSpecificationResolver_10
e5b5b91b0.java)
> >
> >
> >   -
> >
>

$PageSpecificationResolver_10e5b5b91b1.resolve($PageSpecificationResolver_10
e5b5b91b1.java)
> >
> >
> >   - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java
:112)
> >
> >   - $IPageSource_10e5b5b9116.getPage($IPageSource_10e5b5b9116.java)
> >   - $IPageSource_10e5b5b9115.getPage($IPageSource_10e5b5b9115.java)
> >   - org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java
> :241)
> >
> >   - ---
> >
> > I tried both .application
> > 
> >   > value="hr/hrg/ponpon"/>
> >   > value="hr/hrg/ponpon"/>
> > 
> >
> > and web.xml
> >
> >org.apache.tapestry.page-class-packages
> 
> >hr.hrg.ponpon
> >
> >
> > but no effect
> >
> >
> > Davor Hrg
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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




RE: T4.1 problem

2006-10-18 Thread Denis Souza
I don't know if it actually makes a difference, but I use it in my
.application a little bit different:

I guess it wouldn't hurt to try:


  hr.hrg.ponpon
  hr.hrg.ponpon


Denis

-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED] 
Sent: quarta-feira, 18 de outubro de 2006 10:55
To: Tapestry users
Subject: Re: T4.1 problem

nope,
I must be doing something very wrong,
just tried it in T4.0 and it also doesn't work

here is web.xml

http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">

ponpon

ponpon
org.apache.tapestry.ApplicationServlet

1


ponpon
/app



ponpon.application

http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>


  
  


On 10/18/06, Dennis Sinelnikov <[EMAIL PROTECTED]> wrote:
>
> Try '.' instead of '/'
> 
>
> Dennis
>
> Davor Hrg wrote:
> > Is there an known issue with
> > org.apache.tapestry.page-class-packages
> > in T4.1
> >
> > I don't seem to get it right,
> > I have a simple app and trying to get rid of
> > th pesky .page and use annotations
> > .
> > Just tried with Home.page
> >
> > org.apache.tapestry.PageNotFoundException
> > Page 'Home' not found in application namespace.
> >
> >   - org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve(
> >   PageSpecificationResolverImpl.java:147)
> >   -
> >
>
$PageSpecificationResolver_10e5b5b91b0.resolve($PageSpecificationResolver_10
e5b5b91b0.java)
> >
> >
> >   -
> >
>
$PageSpecificationResolver_10e5b5b91b1.resolve($PageSpecificationResolver_10
e5b5b91b1.java)
> >
> >
> >   - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:112)
> >
> >   - $IPageSource_10e5b5b9116.getPage($IPageSource_10e5b5b9116.java)
> >   - $IPageSource_10e5b5b9115.getPage($IPageSource_10e5b5b9115.java)
> >   - org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java
> :241)
> >
> >   - ---
> >
> > I tried both .application
> > 
> >   > value="hr/hrg/ponpon"/>
> >   > value="hr/hrg/ponpon"/>
> > 
> >
> > and web.xml
> >
> >org.apache.tapestry.page-class-packages
> 
> >hr.hrg.ponpon
> >
> >
> > but no effect
> >
> >
> > Davor Hrg
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



RE: T4.1 problem

2006-10-18 Thread James Carman
Make sure you have a WEB-INF/classes/hr/hrg/ponpon/Home.class file in your
webapp.  Also, do you have Home.html in your webapp root?



-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 18, 2006 10:07 AM
To: Tapestry users
Subject: Re: T4.1 problem

tomcat\webapps\ponpon\WEB-INF

si it's in WEB-INF if looked relatively



On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:
>
> Well, I know that it works in 4.0, since I'm using that setting.  Where is
> your ponon.application file located within your webapp?
>
> -Original Message-
> From: Davor Hrg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 18, 2006 9:57 AM
> To: Tapestry users
> Subject: Re: T4.1 problem
>
> no, :( there is no space :(
>
> key="org.apache.tapestry.page-class-packages"
> value="hr.hrg.ponpon"
>
>
>
> On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:
> >
> > Is there really a space at the end of your page-class-packages setting
> in
> > your .application file?  I don't know if that matters (Tapestry may be
> > trimming the string first), but that might be your problem.
> >
> > -Original Message-----
> > From: Davor Hrg [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, October 18, 2006 8:55 AM
> > To: Tapestry users
> > Subject: Re: T4.1 problem
> >
> > nope,
> > I must be doing something very wrong,
> > just tried it in T4.0 and it also doesn't work
> >
> > here is web.xml
> > 
> > http://java.sun.com/xml/ns/j2ee";
> > xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
> > xsi:schemaLocation="
> > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
> > version="2.4">
> >
> > ponpon
> > 
> > ponpon
> > org.apache.tapestry.ApplicationServlet
> > 
> > 1
> > 
> > 
> > ponpon
> > /app
> > 
> > 
> >
> > ponpon.application
> > 
> >  >   "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
> >   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> >
> > 
> >> value="hr.hrg.ponpon
> > "/>
> >> value="
> > hr.hrg.ponpon"/>
> > 
> >
> > On 10/18/06, Dennis Sinelnikov <[EMAIL PROTECTED]>
> wrote:
> > >
> > > Try '.' instead of '/'
> > >  > key="org.apache.tapestry.page-class-packages"value="hr.hrg.ponpon"/>
> > >
> > > Dennis
> > >
> > > Davor Hrg wrote:
> > > > Is there an known issue with
> > > > org.apache.tapestry.page-class-packages
> > > > in T4.1
> > > >
> > > > I don't seem to get it right,
> > > > I have a simple app and trying to get rid of
> > > > th pesky .page and use annotations
> > > > .
> > > > Just tried with Home.page
> > > >
> > > > org.apache.tapestry.PageNotFoundException
> > > > Page 'Home' not found in application namespace.
> > > >
> > > >   -
> org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve
> > (
> > > >   PageSpecificationResolverImpl.java:147)
> > > >   -
> > > >
> > >
> >
> >
>
>
$PageSpecificationResolver_10e5b5b91b0.resolve($PageSpecificationResolver_10
> > e5b5b91b0.java)
> > > >
> > > >
> > > >   -
> > > >
> > >
> >
> >
>
>
$PageSpecificationResolver_10e5b5b91b1.resolve($PageSpecificationResolver_10
> > e5b5b91b1.java)
> > > >
> > > >
> > > >   - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java
> > :112)
> > > >
> > > >   - $IPageSource_10e5b5b9116.getPage($IPageSource_10e5b5b9116.java)
> > > >   - $IPageSource_10e5b5b9115.getPage($IPageSource_10e5b5b9115.java)
> > > >   - org.apache.tapestry.engine.RequestCycle.loadPage(
> RequestCycle.java
> > > :241)
> > > >
> > > >   - ---
> > > >
> > > > I tried both .application
> > > > 
> > > >   > > > value="hr/hrg/ponpon"/>
> > > >   > > > value="hr/hrg/ponpon"/>
> > > > 
> > > >
> > > > and web.xml
> > > >
> > > >org.apache.tapestry.page-class-packages
> > > 
> > > >hr.hrg.ponpon
> > > >
> > > >
> > > > but no effect
> > > >
> > > >
> > > > Davor Hrg
> > > >
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



Re: T4.1 problem

2006-10-18 Thread Davor Hrg

tomcat\webapps\ponpon\WEB-INF

si it's in WEB-INF if looked relatively



On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:


Well, I know that it works in 4.0, since I'm using that setting.  Where is
your ponon.application file located within your webapp?

-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 9:57 AM
To: Tapestry users
Subject: Re: T4.1 problem

no, :( there is no space :(

key="org.apache.tapestry.page-class-packages"
value="hr.hrg.ponpon"



On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:
>
> Is there really a space at the end of your page-class-packages setting
in
> your .application file?  I don't know if that matters (Tapestry may be
> trimming the string first), but that might be your problem.
>
> -Original Message-
> From: Davor Hrg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 18, 2006 8:55 AM
> To: Tapestry users
> Subject: Re: T4.1 problem
>
> nope,
> I must be doing something very wrong,
> just tried it in T4.0 and it also doesn't work
>
> here is web.xml
> 
> http://java.sun.com/xml/ns/j2ee";
> xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
> xsi:schemaLocation="
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
> version="2.4">
>
> ponpon
> 
> ponpon
> org.apache.tapestry.ApplicationServlet
> 
> 1
> 
> 
> ponpon
> /app
> 
> 
>
> ponpon.application
> 
>"-//Apache Software Foundation//Tapestry Specification 4.0//EN"
>   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
>
> 
>value="hr.hrg.ponpon
> "/>
>value="
> hr.hrg.ponpon"/>
> 
>
> On 10/18/06, Dennis Sinelnikov <[EMAIL PROTECTED]>
wrote:
> >
> > Try '.' instead of '/'
> >  key="org.apache.tapestry.page-class-packages"value="hr.hrg.ponpon"/>
> >
> > Dennis
> >
> > Davor Hrg wrote:
> > > Is there an known issue with
> > > org.apache.tapestry.page-class-packages
> > > in T4.1
> > >
> > > I don't seem to get it right,
> > > I have a simple app and trying to get rid of
> > > th pesky .page and use annotations
> > > .
> > > Just tried with Home.page
> > >
> > > org.apache.tapestry.PageNotFoundException
> > > Page 'Home' not found in application namespace.
> > >
> > >   -
org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve
> (
> > >   PageSpecificationResolverImpl.java:147)
> > >   -
> > >
> >
>
>

$PageSpecificationResolver_10e5b5b91b0.resolve($PageSpecificationResolver_10
> e5b5b91b0.java)
> > >
> > >
> > >   -
> > >
> >
>
>

$PageSpecificationResolver_10e5b5b91b1.resolve($PageSpecificationResolver_10
> e5b5b91b1.java)
> > >
> > >
> > >   - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java
> :112)
> > >
> > >   - $IPageSource_10e5b5b9116.getPage($IPageSource_10e5b5b9116.java)
> > >   - $IPageSource_10e5b5b9115.getPage($IPageSource_10e5b5b9115.java)
> > >   - org.apache.tapestry.engine.RequestCycle.loadPage(
RequestCycle.java
> > :241)
> > >
> > >   - ---
> > >
> > > I tried both .application
> > > 
> > >   > > value="hr/hrg/ponpon"/>
> > >   > > value="hr/hrg/ponpon"/>
> > > 
> > >
> > > and web.xml
> > >
> > >org.apache.tapestry.page-class-packages
> > 
> > >hr.hrg.ponpon
> > >
> > >
> > > but no effect
> > >
> > >
> > > Davor Hrg
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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




RE: T4.1 problem

2006-10-18 Thread James Carman
Well, I know that it works in 4.0, since I'm using that setting.  Where is
your ponon.application file located within your webapp?

-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 18, 2006 9:57 AM
To: Tapestry users
Subject: Re: T4.1 problem

no, :( there is no space :(

key="org.apache.tapestry.page-class-packages"
value="hr.hrg.ponpon"



On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:
>
> Is there really a space at the end of your page-class-packages setting in
> your .application file?  I don't know if that matters (Tapestry may be
> trimming the string first), but that might be your problem.
>
> -Original Message-
> From: Davor Hrg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 18, 2006 8:55 AM
> To: Tapestry users
> Subject: Re: T4.1 problem
>
> nope,
> I must be doing something very wrong,
> just tried it in T4.0 and it also doesn't work
>
> here is web.xml
> 
> http://java.sun.com/xml/ns/j2ee";
> xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
> xsi:schemaLocation="
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
> version="2.4">
>
> ponpon
> 
> ponpon
> org.apache.tapestry.ApplicationServlet
> 
> 1
> 
> 
> ponpon
> /app
> 
> 
>
> ponpon.application
> 
>"-//Apache Software Foundation//Tapestry Specification 4.0//EN"
>   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
>
> 
>value="hr.hrg.ponpon
> "/>
>value="
> hr.hrg.ponpon"/>
> 
>
> On 10/18/06, Dennis Sinelnikov <[EMAIL PROTECTED]> wrote:
> >
> > Try '.' instead of '/'
> >  key="org.apache.tapestry.page-class-packages"value="hr.hrg.ponpon"/>
> >
> > Dennis
> >
> > Davor Hrg wrote:
> > > Is there an known issue with
> > > org.apache.tapestry.page-class-packages
> > > in T4.1
> > >
> > > I don't seem to get it right,
> > > I have a simple app and trying to get rid of
> > > th pesky .page and use annotations
> > > .
> > > Just tried with Home.page
> > >
> > > org.apache.tapestry.PageNotFoundException
> > > Page 'Home' not found in application namespace.
> > >
> > >   - org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve
> (
> > >   PageSpecificationResolverImpl.java:147)
> > >   -
> > >
> >
>
>
$PageSpecificationResolver_10e5b5b91b0.resolve($PageSpecificationResolver_10
> e5b5b91b0.java)
> > >
> > >
> > >   -
> > >
> >
>
>
$PageSpecificationResolver_10e5b5b91b1.resolve($PageSpecificationResolver_10
> e5b5b91b1.java)
> > >
> > >
> > >   - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java
> :112)
> > >
> > >   - $IPageSource_10e5b5b9116.getPage($IPageSource_10e5b5b9116.java)
> > >   - $IPageSource_10e5b5b9115.getPage($IPageSource_10e5b5b9115.java)
> > >   - org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java
> > :241)
> > >
> > >   - ---
> > >
> > > I tried both .application
> > > 
> > >   > > value="hr/hrg/ponpon"/>
> > >   > > value="hr/hrg/ponpon"/>
> > > 
> > >
> > > and web.xml
> > >
> > >org.apache.tapestry.page-class-packages
> > 
> > >hr.hrg.ponpon
> > >
> > >
> > > but no effect
> > >
> > >
> > > Davor Hrg
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



Re: T4.1 problem

2006-10-18 Thread Davor Hrg

no, :( there is no space :(

key="org.apache.tapestry.page-class-packages"
value="hr.hrg.ponpon"



On 10/18/06, James Carman <[EMAIL PROTECTED]> wrote:


Is there really a space at the end of your page-class-packages setting in
your .application file?  I don't know if that matters (Tapestry may be
trimming the string first), but that might be your problem.

-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 8:55 AM
To: Tapestry users
Subject: Re: T4.1 problem

nope,
I must be doing something very wrong,
just tried it in T4.0 and it also doesn't work

here is web.xml

http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
xsi:schemaLocation="
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">

ponpon

ponpon
org.apache.tapestry.ApplicationServlet

1


ponpon
/app



ponpon.application

http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>


  
  


On 10/18/06, Dennis Sinelnikov <[EMAIL PROTECTED]> wrote:
>
> Try '.' instead of '/'
> 
>
> Dennis
>
> Davor Hrg wrote:
> > Is there an known issue with
> > org.apache.tapestry.page-class-packages
> > in T4.1
> >
> > I don't seem to get it right,
> > I have a simple app and trying to get rid of
> > th pesky .page and use annotations
> > .
> > Just tried with Home.page
> >
> > org.apache.tapestry.PageNotFoundException
> > Page 'Home' not found in application namespace.
> >
> >   - org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve
(
> >   PageSpecificationResolverImpl.java:147)
> >   -
> >
>

$PageSpecificationResolver_10e5b5b91b0.resolve($PageSpecificationResolver_10
e5b5b91b0.java)
> >
> >
> >   -
> >
>

$PageSpecificationResolver_10e5b5b91b1.resolve($PageSpecificationResolver_10
e5b5b91b1.java)
> >
> >
> >   - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java
:112)
> >
> >   - $IPageSource_10e5b5b9116.getPage($IPageSource_10e5b5b9116.java)
> >   - $IPageSource_10e5b5b9115.getPage($IPageSource_10e5b5b9115.java)
> >   - org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java
> :241)
> >
> >   - ---
> >
> > I tried both .application
> > 
> >   > value="hr/hrg/ponpon"/>
> >   > value="hr/hrg/ponpon"/>
> > 
> >
> > and web.xml
> >
> >org.apache.tapestry.page-class-packages
> 
> >hr.hrg.ponpon
> >
> >
> > but no effect
> >
> >
> > Davor Hrg
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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




RE: T4.1 problem

2006-10-18 Thread James Carman
Is there really a space at the end of your page-class-packages setting in
your .application file?  I don't know if that matters (Tapestry may be
trimming the string first), but that might be your problem.

-Original Message-
From: Davor Hrg [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 18, 2006 8:55 AM
To: Tapestry users
Subject: Re: T4.1 problem

nope,
I must be doing something very wrong,
just tried it in T4.0 and it also doesn't work

here is web.xml

http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">

ponpon

ponpon
org.apache.tapestry.ApplicationServlet

1


ponpon
/app



ponpon.application

http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>


  
  


On 10/18/06, Dennis Sinelnikov <[EMAIL PROTECTED]> wrote:
>
> Try '.' instead of '/'
> 
>
> Dennis
>
> Davor Hrg wrote:
> > Is there an known issue with
> > org.apache.tapestry.page-class-packages
> > in T4.1
> >
> > I don't seem to get it right,
> > I have a simple app and trying to get rid of
> > th pesky .page and use annotations
> > .
> > Just tried with Home.page
> >
> > org.apache.tapestry.PageNotFoundException
> > Page 'Home' not found in application namespace.
> >
> >   - org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve(
> >   PageSpecificationResolverImpl.java:147)
> >   -
> >
>
$PageSpecificationResolver_10e5b5b91b0.resolve($PageSpecificationResolver_10
e5b5b91b0.java)
> >
> >
> >   -
> >
>
$PageSpecificationResolver_10e5b5b91b1.resolve($PageSpecificationResolver_10
e5b5b91b1.java)
> >
> >
> >   - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:112)
> >
> >   - $IPageSource_10e5b5b9116.getPage($IPageSource_10e5b5b9116.java)
> >   - $IPageSource_10e5b5b9115.getPage($IPageSource_10e5b5b9115.java)
> >   - org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java
> :241)
> >
> >   - ---
> >
> > I tried both .application
> > 
> >   > value="hr/hrg/ponpon"/>
> >   > value="hr/hrg/ponpon"/>
> > 
> >
> > and web.xml
> >
> >org.apache.tapestry.page-class-packages
> 
> >hr.hrg.ponpon
> >
> >
> > but no effect
> >
> >
> > Davor Hrg
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



Re: T4.1 problem

2006-10-18 Thread Davor Hrg

nope,
I must be doing something very wrong,
just tried it in T4.0 and it also doesn't work

here is web.xml

http://java.sun.com/xml/ns/j2ee";
   xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
   xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">

   ponpon
   
   ponpon
   org.apache.tapestry.ApplicationServlet

   1
   
   
   ponpon
   /app
   


ponpon.application

http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>


 
 


On 10/18/06, Dennis Sinelnikov <[EMAIL PROTECTED]> wrote:


Try '.' instead of '/'


Dennis

Davor Hrg wrote:
> Is there an known issue with
> org.apache.tapestry.page-class-packages
> in T4.1
>
> I don't seem to get it right,
> I have a simple app and trying to get rid of
> th pesky .page and use annotations
> .
> Just tried with Home.page
>
> org.apache.tapestry.PageNotFoundException
> Page 'Home' not found in application namespace.
>
>   - org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve(
>   PageSpecificationResolverImpl.java:147)
>   -
>
$PageSpecificationResolver_10e5b5b91b0.resolve($PageSpecificationResolver_10e5b5b91b0.java)
>
>
>   -
>
$PageSpecificationResolver_10e5b5b91b1.resolve($PageSpecificationResolver_10e5b5b91b1.java)
>
>
>   - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:112)
>
>   - $IPageSource_10e5b5b9116.getPage($IPageSource_10e5b5b9116.java)
>   - $IPageSource_10e5b5b9115.getPage($IPageSource_10e5b5b9115.java)
>   - org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java
:241)
>
>   - ---
>
> I tried both .application
> 
>   value="hr/hrg/ponpon"/>
>   value="hr/hrg/ponpon"/>
> 
>
> and web.xml
>
>org.apache.tapestry.page-class-packages

>hr.hrg.ponpon
>
>
> but no effect
>
>
> Davor Hrg
>


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




Re: T4.1 problem

2006-10-18 Thread Dennis Sinelnikov

Try '.' instead of '/'


Dennis

Davor Hrg wrote:

Is there an known issue with
org.apache.tapestry.page-class-packages
in T4.1

I don't seem to get it right,
I have a simple app and trying to get rid of
th pesky .page and use annotations
.
Just tried with Home.page

org.apache.tapestry.PageNotFoundException
Page 'Home' not found in application namespace.

  - org.apache.tapestry.resolver.PageSpecificationResolverImpl.resolve(
  PageSpecificationResolverImpl.java:147)
  - 
$PageSpecificationResolver_10e5b5b91b0.resolve($PageSpecificationResolver_10e5b5b91b0.java) 



  - 
$PageSpecificationResolver_10e5b5b91b1.resolve($PageSpecificationResolver_10e5b5b91b1.java) 



  - org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:112)

  - $IPageSource_10e5b5b9116.getPage($IPageSource_10e5b5b9116.java)
  - $IPageSource_10e5b5b9115.getPage($IPageSource_10e5b5b9115.java)
  - org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java:241)

  - ---

I tried both .application

 
 


and web.xml
   
   org.apache.tapestry.page-class-packages
   hr.hrg.ponpon
   

but no effect


Davor Hrg




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