I guess worst case scenario we can precompile these empty classes
during our publishing process. Need to verify if that will work but
that would be the work around.


On Fri, Jul 23, 2010 at 11:26 AM, Adam Zimowski <zimowsk...@gmail.com> wrote:
> Okay having to try both suggestions I'm finding that requirement of a
> component class is what's making this simple requirement a difficult
> excercise. I was able to get templates to load from a different
> location on the filesystem, but that's not really my requirement.
>
> Here is a very simplified scenario that would totally solve my problem:
>
> * Basically all our CMS pages are static, so the controller class
> would have been an empty Java class:
>
> public class Page1 {}
> public class Page2 {}
> etc etc....
>
> We are totally fine with WAR based package structure
>
> our.app.pages.cms
>
> where all static pages go to cms package.
>
> So to simplify my problem, all I really need is a way for Tapestry to
> load all my pages in the cms package, without a Java class with a safe
> assumption that it would have been empty one.
>
> So is there a way to make Tapestry process a template without a Java
> class? That's really, all I need.
>
> Adam
>
> On Wed, Jul 21, 2010 at 5:19 PM, Howard Lewis Ship <hls...@gmail.com> wrote:
>> I've managed to get more of the docs working, including Javadoc, but
>> not the component report yet.
>>
>> http://tapestry.formos.com/nightly/tapx/
>>
>>
>> On Wed, Jul 21, 2010 at 11:26 AM, Adam Zimowski <zimowsk...@gmail.com> wrote:
>>> Thank you much Guys. This is definitely giving me ways to explore. I
>>> will share our solution when it's ready, but may post some questions
>>> first :)
>>>
>>> On Wed, Jul 21, 2010 at 11:35 AM, Thiago H. de Paula Figueiredo
>>> <thiag...@gmail.com> wrote:
>>>> Take a look at these past discussions:
>>>>
>>>> http://old.nabble.com/Tapestry-Templates-%2B-Scripting-Language-(CMS)-to27191065s302.html#a27191192
>>>> http://old.nabble.com/How-to-load-tml-files-from-the-filesystem-instead-of-classpath--tp28462363s302p28469434.html
>>>>
>>>>
>>>> --
>>>> Thiago H. de Paula Figueiredo
>>>> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, 
>>>> and
>>>> instructor
>>>> Owner, Ars Machina Tecnologia da Informação Ltda.
>>>> http://www.arsmachina.com.br
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Howard M. Lewis Ship
>>
>> Creator of Apache Tapestry
>>
>> The source for Tapestry training, mentoring and support. Contact me to
>> learn how I can get you up and productive in Tapestry fast!
>>
>> (971) 678-5210
>> http://howardlewisship.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>

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

Reply via email to