tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Java <lance.j...@googlemail.com>
Subject RE: I am not able to call JSON file in my tapestry template file .. Native HTML standalone works finr in browsers ..
Date Thu, 03 Apr 2014 16:06:48 GMT
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.chauhan@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.java@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-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message