Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>xRTML is designed to work with any platform/framework that sends HTML to the the browser so there is no limitation about Ruby or Ruby on Rails. There are four things missing in your code, Djj:</p> <p>1) your Connection tag still has the values <code>appkey</code> and <code>authtoken</code> set to the defaults that come with the documentation, you need to use the ones provided in the development kit...</p> <pre><code>&lt;xrtml:connection appkey="myAppKey" authenticate="false" authtoken="myDevToken" url="http://developers.realtime.livehtml.net"&gt; </code></pre> <p>2) you are not including the script into your page (maybe you just didn't paste it into your question, but:)</p> <pre><code>&lt;script type="text/javascript" src="path/to/xrtml.js"&gt;&lt;/script&gt; </code></pre> <p>3) the Calendar tag requires an HTML container where it is going to be rendered. In the tag, you see target="#divcalendar", that is a Sizzle selector for a div where the calendar's html will be rendered, so you must include, somewhere:</p> <pre><code>&lt;div id="divcalendar"&gt;&lt;/div&gt; </code></pre> <p>4) the handler for the persistence... this is where things get serious. The Calendar tag, requires a server side handler and a database to deal with the records. so, you have to implement in ruby, a handler for the ajax calls made by the calendar (you can find the documentation for it in <a href="http://docs.xrtml.org/markup/calendar.html" rel="nofollow">http://docs.xrtml.org/markup/calendar.html</a>, in the '3.2 Persistence Data' section). So, when defining the tag:</p> <pre><code>&lt;xrtml:calendar ... handlerurl="path/to/yourhandler" ...&gt;&lt;/xrtml:calendar&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload