Here is an example:
<gm:page title="test">
<h6>can you see the create button?</h6>
<gm:list data="${app}/test" template="testTemplate">
<gm:template id="testTemplate">
<gm:create label="Create"/>
<div repeat="true">
<gm:text ref="atom:title" hint="Enter title."/>
<gm:editButtons/>
</div>
</gm:template>
</gm:list>
</gm:page>
It looks like creating new items in the ${app} feed is only possible
when the user is authenticated (use authenticate="true" in the gm:page
tag), but is this the intended behaviour? At least the "official"
examples do not force authentication...
Another thing I noticed: when using the {app} or {user} feeds directly
without a stripe it always returns a "Server Error" for this example.
Regards,
Torben
Hi there,
I was just playing around using the samples from the Getting started
guide.
The one that specifically did not work is the last one, "Reading and
Writing Data".
For me it seems that there is some problem with the ${app} feed: It
compiles well, but it doesn't display the <gm:create> button in all
examples that I have tested. So there is no way to add data to the
{app} feed.
Does it work for you?
Best regards,
Torben