mateamargo wrote:
>
>
>
> Manri Offermann-3 wrote:
>>
>> Hi,
>>
>> how about ITemplateSourceDelegate:
>>
>> org.apache.tapestry. template-source-delegate
>>
>> or you could modify the specification resolver delegate like this
>> example:
>>
>> http://wiki.apache.org/tapestry/SpeclessPage
Manri Offermann-3 wrote:
>
> Hi,
>
> how about ITemplateSourceDelegate:
>
> org.apache.tapestry. template-source-delegate
>
> or you could modify the specification resolver delegate like this example:
>
> http://wiki.apache.org/tapestry/SpeclessPagesInWEB-INF
>
> Regards,
>
> Manri
>
Th
When I have explicitly define a template I use this in my component/page:
@Asset(value = "/org/trails/component/ObjectTable.html")
public abstract IAsset get$template();
Where "value" points to your html template. The method name is very
important you can't change it.
The down side of this ap
Hi,
how about ITemplateSourceDelegate:
org.apache.tapestry. template-source-delegate
or you could modify the specification resolver delegate like this example:
http://wiki.apache.org/tapestry/SpeclessPagesInWEB-INF
Regards,
Manri
mateamargo wrote:
Manri Offermann-3 wrote:
Hi,
You can
Manri Offermann-3 wrote:
>
> Hi,
>
> You can use the ISpecificationResolverDelegate and specify where to find
> the specs and htmls. Try something like this:
>
> http://wiki.apache.org/tapestry/PagesAndComponentsInWEB-INF
>
> Best regards,
>
> Manri
>
Hi, thanks for your answer.
I'm look
Hi,
You can use the ISpecificationResolverDelegate and specify where to find
the specs and htmls. Try something like this:
http://wiki.apache.org/tapestry/PagesAndComponentsInWEB-INF
Best regards,
Manri
mateamargo wrote:
Howard Lewis Ship wrote:
there are some hacks/kludges if its abs
Howard Lewis Ship wrote:
>
> there are some hacks/kludges if its absolutely necessary. Is it, or is
> WEB-INF
> sufficient?
>
Depends. How are those hacks? Are too difficult to do?
--
View this message in context:
http://www.nabble.com/Specify-where-to-find-the-HTML-templates-tf3603234.html
I think it is nessesary to put all
*.page file in one folder,for example: WEB-INF/pages/. It will very
convinent to do this.
离人网
From: "Howard Lewis Ship" <[EMAIL PROTECTED]>Reply-To:
"Tapestry users" To:
"Tapestry users" Subject:
Re: Specify where to find the HTML templatesDate: Sat, 21 Ap
If you move your HTML templates to WEB-INF/ it will Just Work.
Tapestry locates the .page file (if it exists) first, then looks for the
HTML template in the same place. If not found there, then it looks in the
root.
There isn't a direct way to move the templates to WEB-INF/pages, but there
are s