Thank you that was the answer I was looking for.
On 4/2/07, Anjana Gopinath <[EMAIL PROTECTED]> wrote:
Where do you have your Layout.html? is it in under resources?
this should be the typical structure
src/main/java/org/example/myapp/components/MyComponent.java
src/main/resources/org/example/myapp/components/MyComponent.html.
Anjana Gopinath
True North Technology
11465 John's Creek Parkway, Suite 300
Duluth, GA 30097
[EMAIL PROTECTED]
On Apr 2, 2007, at 12:09 PM, Chris Chiappone wrote:
> Yeah I have the following in Layout.java
>
> package org.example.hilo.components;
>
> import org.apache.tapestry.Asset;
> import org.apache.tapestry.annotations.Inject;
> import org.apache.tapestry.annotations.Parameter;
>
> public class Layout {
> @Parameter(required = false)
> private String _title;
>
> @Inject("context:style/default.css")
> private Asset _stylesheet;
>
> public String getTitle() {
> return _title;
> }
>
> public void setTitle(String title) {
> _title = title;
> }
>
> public Asset getStylesheet() {
> return _stylesheet;
> }
> }
>
>
>
>
>
> On 4/2/07, Massimo Lusetti <[EMAIL PROTECTED]> wrote:
>> On 4/2/07, Chris Chiappone <[EMAIL PROTECTED]> wrote:
>>
>> > Ok when I do this my page comes up but the layout component does
>> not
>> > show up. Here is what I have:
>>
>> Did you actually make a Layout component?
>>
>> --
>> Massimo
>> http://meridio.blogspot.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> ~chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
~chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]