Re: [T5] Layout problem

2008-11-16 Thread DaniloP


Marinus Maris wrote:
> 
> There are two files:
> 1. Layout.java - goes in the src\main\java\MyApp\components  folder.
> 2. Layout.tml - goes in the src\main\resources\MyApp\components folder.
> 
> So there are two different folder for one component. Did you do this?
> 

Well, those two folder have the same classpath, so technically, they are the
same folders. Compiler sees them in the same way.

Anyway, I know noone will believe me, but.. I fell asleep, woke up, and
component suddenly worked. I don`t know how and why, and if I worked in
sleep or Elves visited my apartment, but it`s ok now.

Thanks for help anyway. Best Regards, Danilo.
-- 
View this message in context: 
http://www.nabble.com/-T5--Layout-problem-tp20494043p20532148.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: [T5] Layout problem

2008-11-14 Thread Geoff Callender

I much prefer to put them in the same folder.

http://jumpstart.doublenegative.com.au/orientation.html

http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/component/layout1


On 14/11/2008, at 11:43 PM, Marinus Maris wrote:


DaniloP schreef:

I`m trying to build a layout, as described in 
http://tapestry.apache.org/tapestry5/guide/layout.html
http://tapestry.apache.org/tapestry5/guide/layout.html .
However, tapestry doesn`t read Layout.tml file. It`s in components  
package,
as asked. Also, it woun`t read page .tml files inside of pages  
package, but
I have to place them in webapp folder. This shouldn`t happen  
either? Could

you help me find out why it`s happening?

Thanks, Danilo


The good old Layout.tml problem.
There are two files:
1. Layout.java - goes in the src\main\java\MyApp\components  folder.
2. Layout.tml - goes in the src\main\resources\MyApp\components  
folder.


So there are two different folder for one component. Did you do this?

Regards

Marinus Maris




-
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: [T5] Layout problem

2008-11-14 Thread Marinus Maris

DaniloP schreef:
I`m trying to build a layout, as described in 
http://tapestry.apache.org/tapestry5/guide/layout.html
http://tapestry.apache.org/tapestry5/guide/layout.html . 


However, tapestry doesn`t read Layout.tml file. It`s in components package,
as asked. Also, it woun`t read page .tml files inside of pages package, but
I have to place them in webapp folder. This shouldn`t happen either? Could
you help me find out why it`s happening?

Thanks, Danilo
  

The good old Layout.tml problem.
There are two files:
1. Layout.java - goes in the src\main\java\MyApp\components  folder.
2. Layout.tml - goes in the src\main\resources\MyApp\components folder.

So there are two different folder for one component. Did you do this?

Regards

Marinus Maris




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



[T5] Layout problem

2008-11-13 Thread DaniloP

I`m trying to build a layout, as described in 
http://tapestry.apache.org/tapestry5/guide/layout.html
http://tapestry.apache.org/tapestry5/guide/layout.html . 

However, tapestry doesn`t read Layout.tml file. It`s in components package,
as asked. Also, it woun`t read page .tml files inside of pages package, but
I have to place them in webapp folder. This shouldn`t happen either? Could
you help me find out why it`s happening?

Thanks, Danilo
-- 
View this message in context: 
http://www.nabble.com/-T5--Layout-problem-tp20494043p20494043.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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