You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Simon Raveh <si...@sns-soft.com> on 2007/01/10 22:27:39 UTC

.page file

Hi,

Is there something like @ComponentClass that I can use with a page or is 
it mandatory to have .page file

Thanks,
Simon
 

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


Re: .page file

Posted by Mika Tammilehto <mi...@imis.ch>.
Hi Simon

The .page file is not mandatory, but you may be have to set the 
following to your app.application file:

<meta key="org.apache.tapestry.page-class-packages"
		value="com.foo.bar" />

This results in tapestry looking for page classes below this package 
namespace, e.g. page "Home" will be mapped to "com.foo.bar.Home" class.

Cheers,
mika

Simon Raveh wrote:
> Hi,
> 
> Is there something like @ComponentClass that I can use with a page or is 
> it mandatory to have .page file
> 
> Thanks,
> Simon
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 


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