-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
when using <include> component in defer mode ( <include mode="defer"/> ) zkoss malforms json sent from the server to zkoss client ( triggered by a click on one of the buttons on the page with include component ), by inserting extra commas:
[
"addChd",
[
"zMBPj2",
,
[
'zhtml.Widget',
'zMBPha',
{
prolog:'<ul id="zMBPha">',
epilog:'</ul>'
},
[ ]
]
]
]
This results in SyntaxError on the client.
If the mode attribute is not set - i.e. it defaults to the other mode, the problem dissapears.
Is this a known issue? Can somebody advice how to get rid of the problem?
Regards.
Asked: 2014-10-01 13:07:07 +0800
Seen: 3 times
Last updated: Oct 01 '14