|
|
|
[
Permlink
| « Hide
]
Elliot Winard - 22/Aug/07 07:48 AM
this is a language issue and *not* wafflecone specific
is this still true in wafflecone. At one point not so long ago I modified the compiler to preprocess the "datapath" attribute to be equivalent at runtime to the <datapath> child element.
Oh I think I misread the bug report a little. Yes, it is confusing that we call it
"datapath" as an attribute and <datapath xpath="..."/> when specified as a datapath child element. We could add "xpath" as an alternate attribute name, and then deprecate the "datapath" attribute. We need to make a proposal and get community input on this. For reference, the code examples for this bug are
[A] <view datapath="mydata:/foo/bar"/> vs the equivalent [B] <view> <datapath xpath="mydata:/foo/bar"/> </view> And the proposal is we make [A] be <view xpath="mydata:/foo/bar" /> This is a proposal for an API change. A proposal needs to be submitted to officially start the process. You can place the proposal here: http://wiki.openlaszlo.org/Enhancement_Proposals#Draft_Proposals (and send it to laszlo-dev). Thanks!
|
||||||||||||||||||||||||||||||||||||||||||||||||