On Aug 21, 2008, at 7:34 PM, Paul McNett wrote:
>> <dRadioList code-ID="dRadioList-dPanel" sizerInfo="{'HAlign':
>> 'Center'}"
>> Orientation="Horizontal" Caption="Level" Value="1" Choices="['
>> 1',
>> '2', '3', '4']" Width="125"
>> designerClass="controlMix" DataField="level" RegID="LevelField"
>> Height="35"
>> DataSource="categories"></dRadioList>
>>
>> This is the code as generated by the ClassDesigner. I've tried
>> changing
>> ' to ' a few times with no change in behavior.
>
> Here's the equivalent python that will help unravel the issue
> (actually,
> Ed, please review, as I'm confused that some attributes seem to not
> require embedded ' and others do. Specifically, is Value
> evaluated
> to a string or an int?):
All atts must be strings; that's a fact of life with XML. When
converted using xmltodict and applied to the class, the type of the
underlying property determines the type of the value.
I believe that the reason the single quotes are escaped in the
Choices att is due to the way that dEditableList handles these values.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]