Thanks for the replies folks. Henry Minsky wrote: > "action:/" > > should maybe be > > "local:action:/"
Thanks - this looks promising, but it still isn't behaving as expected - the error message disappears, but I get an "Operation Failed" message straight away, presumably because theres no location for the action dataset set yet. Subsequent requests to the action dataset all result in "Operation Failed." J Crowley wrote: > Doesn't look like you're defining the location of the data for the > "action" dataset. It appears you just have this tag: > > <dataset name="action" type="http" request = "false" /> > > ...with no resource for it assigned either within that tag or > anywhere else. You're right there - the 'action' dataset is intended as a 'placeholder' that I can route requests through from the main canvas. The idea is that requests are fed through the action dataset and an updated set of records is returned via the 'list' dataset on successful submission. This in turn automatically updates any views bound to the list dataset. So there's no actual location for the action dataset until a request is made from the canvas - this was my intention, but I appreciate it's not the traditional method. Any other thoughts would be warmly received. http://rafb.net/paste/results/eh2soq66.html >> I'm having trouble referencing a dataset from within a class. >> >> The code here: http://rafb.net/paste/results/eh2soq66.html produces >> the error "couldn't find dataset for action:/" (Line 13 is where it's >> referenced.) >> >> Would anyone be kind enough to suggest what I should do to correct >> it? _______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
