I think you'll actually find Ivan's second suggestion more productive.
Each page (tml and empty java class) should take you no more than 60
seconds to create by copying and pasting, and then you'll have a good
starting point for fleshing out real functionality later.

On Mon, Feb 18, 2013 at 3:00 AM, Ivan Khalopik <ikhalo...@gmail.com> wrote:
> You can create your own component for rendering plain html files. I had
> something similar to your issue - source code rendering.
>
> https://github.com/sody/heroku-samples/blob/master/src/main/java/com/example/ui/components/Source.java
>
> usage:
>
> <t:source content="classpath:sources/Source1.java"/
>
> Or you can convert your html file to tapestry component template and add
> empty java class.
>
>
> On Mon, Feb 18, 2013 at 5:07 AM, Ken in Nashua <kcola...@live.com> wrote:
>
>> Folks,
>>
>> I am prototyping and want to fill in some navigation points with plain
>> HTML within a tml... just for temporary sake. I will eventually get to
>> these navigation points and implement some real tapestry.
>>
>> But I have some html files... that I want to render inside some tab control
>>
>> So I am using this tab control
>> <div t:id="tabbedPane" id="tabbedPane" t:type="any"
>>  t:mixins="kawwa2/tabs"  class="k-tabbed-data">
>>         <ul class="tabs">
>>             <li><a href="#tab1">Photo Gallery</a></li>
>>             <li><a href="#tab2">Schedule</a></li>
>>             <li><a href="#tab3">Teams</a></li>
>>             <li><a href="#tab4">Stats</a></li>
>>             <li><a href="#tab5">Stanley KEG</a></li>
>>             <li><a href="#tab6">Payment</a></li>
>>             <li><a href="#tab7">DryLand Conditioning</a></li>
>>         </ul>
>>
>>         <div id="tab2" class="content">
>>             <t:?????/>
>>         </div>
>>
>> I have a legacy schedule.html file
>>
>> is there a tapestry component that will delegate and embed and render my
>> html file inside the tab above ?
>>
>> Something psuedo like this...
>>
>> <render src="schedule.html"/>
>>
>> I know its crude but just for proof of concept
>>
>> Then I could have this...
>>
>>         <div id="tab2" class="content">
>>             <t:render src="schedule.html"/>
>>         </div>
>>
>> does such a component exist in tapestry?
>>
>> Just trying to fill in the tabs with some proof of concept stuff too
>>
>> sorry for such primitive question
>>
>> kcola...@live.com
>>
>>
>>
>
>
>
>
> --
> BR
> Ivan

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

Reply via email to