I am trying to follow the Checkboxes tutorial. when I type the code, I get
this exception, but when I copy the code, I dont get any exception.
The Exception is
"
pivot.serialization.SerializationException: Illegal identifier character.

"

The code are exactly same. I typed them in eclipse.
Here is the code.

<code>

<Window title="Checkboxes" maximized="true"
xmlns:wtkx="http://incubator.apache.org/pivot/wtkx/1.2";
xmlns="pivot.wtk">
<content>
<TablePane styles="{showHorizontalGridLines: true, showVerticalGridLines:
true,
padding:4, horizontalSpacing:1, verticalSpacing:1, gridColor:10}">

<columns>
<TablePane.Column width="-1"/>
<TablePane.Column width="24"/>
</columns>
<rows>
<TablePane.Row height="24">
<FlowPane styles="{verticalAlignment='center'}">
<Checkbox wtkx:id="bellCheckbox" buttonData="Bell"/>
</FlowPane>
<ImageView wtkx:id="bellImageView" image="pivot/tutorials/images/bell.png"
displayable="false"/>
</TablePane.Row>
</rows>
</TablePane>
</content>

</Window>

</code>

The console window doesn't help either.
Here is the console output.

java.lang.RuntimeException: pivot.serialization.SerializationException:
Illegal identifier character.
at pivot.serialization.JSONSerializer.parse(Unknown Source)
at pivot.serialization.JSONSerializer.parseMap(Unknown Source)
at pivot.wtk.Component.setStyles(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
............



What could be causing the problem?


-- 
Dhaval Vyas

Reply via email to