I second the "don't use dynamic_otml when rendering the otml for
authoring purposes". The biggest problem I can think of is setting the
vendor interface appropriately for the author, in case they want to
use a probe to collect a dataset.
-- Aaron
On Apr 29, 2010, at 8:35 AM, Scott Cytacki wrote:
> Nope this hasn't ever worked. It has been a issue with authoring for
> a while that it only checks for changes and saves the first/main otml
> file.
>
> Can you disable the dynamic_otml when doing authoring like this? That
> seems like it would make the communication between investigations and
> otrunk the most simple.
>
> In English:
> OTrunk, here is a URL for you to edit, 'put' your changes back.
>
> as opposed to:
>
> OTrunk here is a URL for you to edit, don't send back changes to that
> file but instead send back changes to this referenced file.
>
> Scott
>
> On Thu, Apr 29, 2010 at 3:10 AM, Stephen Bannasch <
sban...@concord.org
> > wrote:
>> I've fixed Investigations so editing a DataCollector in Java should
>> work (on
>> the test refactoring branch: emb-test) but then found a problem in
>> the Java
>> code.
>> When editing an embeddable in Java/OTrunk in Investigations (only
>> publicly
>> available for DataCollectors) the following properties are set in
>> the jnlp:
>>
>> <property name="otrunk.remote_save_data" value="true"/>
>> <property name="otrunk.rest_enabled" value="true"/>
>> <property name="otrunk.remote_url"
>> value="
http://localhost:3000/embeddable/data_collectors/1292.otml"/>
>> This allows changes in the otml to be saved back to the
>> corresponding model
>> in Investigations.
>> However it appears this hasn't worked since implementing the
>> ability to
>> initially render dynamic_otml (to specify customizations per user
>> such as
>> vendor_interfaces). The dynamic otml uses OTInclude to load the
>> main otml
>> file.
>> It is this second otml file that needs to be persisted when the
>> user saves
>> their changes.
>> Is there currently a way to do this?
>> If not do you have a suggestion on how to fix this problem?
>>
--
You received this message because you are subscribed to the Google Groups "otrunk-dev" group.
To post to this group, send email to
otrun...@googlegroups.com.
To unsubscribe from this group, send email to
otrunk-dev+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/otrunk-dev?hl=en.