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

Reply via email to