Hello Lance,

        As I mentioned, the 5 files are simply standalone HTML stuff (Tapestry 
not required). Have the 5 files together, and run HTML in any browser.
        Now, I want to run the HTML in my Tapestry project.
        For you to understand, just try to get the base HTML running in any of 
your own Tapestry project .. you can create your own Tapestry page .. try if 
you can do it .. 
        In case, you can then please send me Tapestry page template along with 
page class.

Regards,
Vivek

-----Original Message-----
From: Lance Java [mailto:lance.j...@googlemail.com] 
Sent: Thursday, April 03, 2014 9:37 PM
To: Tapestry users
Subject: RE: I am not able to call JSON file in my tapestry template file .. 
Native HTML standalone works finr in browsers ..

So you want me to download your files, convert it to a tapestry webapp and
tell you what you were doing wrong. All without you telling me what error
messages you are getting and what issues you've faced?

Good luck with that!
 On 3 Apr 2014 16:46, "Chauhan, Vivek" <vivek.chau...@sap.com> wrote:

> Hello Lance,
>
>         It's not that cryptic. I send 5 files. Kindly copy those 5 files
> at one place and run the HTML. It will show you a family tree.
>         I want to do same via Tapestry page but not able to get the proper
> .tml format and corresponding page class ... Below is my Tapestry page :
>
>
> ------------------------------------------------------------------------------------------
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> <html t:type="layout" title="Family Tree"
>       xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";
>       xmlns:p="tapestry:parameter">
>
>     <head>
>                 <title>Family Tree</title>
>                 <meta http-equiv="content-type" content="text/html;
> charset=utf-8"/>
>                 <style type="text/css">
>                   <![CDATA[
>                         .node {
>                     cursor: pointer;
>                   }
>
>                   .overlay{
>                       background-color:#EEE;
>                   }
>
>                   .node circle {
>                     fill: #fff;
>                     stroke: green;
>                     stroke-width: 1.5px;
>                   }
>
>                   .node text {
>                     font-size:11px;
>                     font-family:sans-serif;
>                   }
>
>                   .link {
>                     fill: none;
>                     stroke: #ccc;
>                     stroke-width: 1.5px;
>                   }
>
>                   .templink {
>                     fill: none;
>                     stroke: red;
>                     stroke-width: 3px;
>                   }
>
>                   .ghostCircle.show{
>                       display:block;
>                   }
>
>                   .ghostCircle, .activeDrag .ghostCircle{
>                        display: none;
>                   }
>                 ]]>
>                 </style>
>
>                 <script src="jquery-1.10.2.min.js"></script>
>                 <script type="text/javascript"> <![CDATA[ alert('Hello
> Vivek1'); ]]> </script>
>                 <script src="d3.v3.min.js"></script>
>                 <script type="text/javascript"> <![CDATA[ alert('Hello
> Vivek2');   ]]> </script>
>                 <script src="dndTree.js">  </script>
>                 <script type="text/javascript"> <![CDATA[ alert('Hello
> Vivek3'); ]]> </script>
>         </head>
>         <body>
>                 <p> Note: Welcome to our Family Tree. Our Grand-grand
> fathers belong from Aaschaura Village, Post Bansdih and District - Ballia
> (UP) India.</p>
>                 <div id="tree-container"></div>
>         </body>
> </html>
> ----------------------------------------------------------------
>
>         But I do not the D3 javascript enabled family tree diagram. Kindly
> assist.
>
>
> Best Regards,
> Vivek
>
> -----Original Message-----
> From: Lance Java [mailto:lance.j...@googlemail.com]
> Sent: Thursday, April 03, 2014 9:09 PM
> To: Tapestry users
> Subject: Re: I am not able to call JSON file in my tapestry template file
> .. Native HTML standalone works finr in browsers ..
>
> Seriously?? You expect us to trawl through all code to find your problem?
> If you post a few snippets of relevant code you are much more likely to get
> an answer.
>
> ---------------------------------------------------------------------
> 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