[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-rdf
Subject:    Re: xul template - dynamic data exchange
From:       Jan Varga <varga () utcru ! sk>
Date:       2004-04-19 8:14:10
Message-ID: c601ol$c671 () ripley ! netscape ! com
[Download RAW message or body]

Axel Hecht wrote:
> Alexander N. Treyner wrote:
> 
>> Axel Hecht wrote:
>>
>>> skipped
>>>
>>> How about using a composite datasource, having a read-only RDF for 
>>> the remote content and an in-memory ds for the edits? (May or may not 
>>> work, depends on whether you have to unassert in the original ds.)
>>> Then you can just send back the edits.
>>>
>>> But your scheme should work. onchange scripts sound like a hell lotta 
>>> load, as you might end up sending each keystroke back to the server.
>>>
>>> But then, what do I know about forms.
>>>
>>> Axel
>>
>>
>>
>> You want to say that now I can use in-memory ds and it will be 
>> dynamicaly changed when I change values in fields built by xul 
>> template, without onchange scripts ?
>>
>> Alex.
> 
> 
> Not sure. I don't think that you can make a xul tree edit it's contents 
> back into the underlying datasource, at least the parts of the code that 
> I looked at say no.
> Though there is nsIXULTreeBuilderObserver::isEditable, which should 
> enable you to signal to the template builder that you wanna allow edits. 
> I just didn't find any code that assert them back into the datasource.
> 
> 
> CC'in .xpfe, they should know better.
> 
> Axel

We're planning to improve this stuff in future, but I don't make any 
promises.
I checked in a patch recently that should make inline edit easier to 
implement.
_______________________________________________
Mozilla-rdf mailing list
Mozilla-rdf@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-rdf
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic