Opened 11 years ago
Closed 10 years ago
#12241 closed defect (fixed)
Content Pane has problems if ioMethod='dojo.xhrPost'
Reported by: | cassius.paim | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.8 |
Component: | DojoX Layout | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I tried to use the ContentPane? widget in declarative way inside a TabContainer?, setting the properties of ContentPane? as bellow:
- ioMethod='dojo.xhrPost'
- url='anyURL.do'
- ioArgs={ content: {iKey=999}}
After that I noticed the parameter iKey was not being received by server side.
Debugging the dojox.layout.ContentPane? class I noticed the constructor of this class is setting ioMethod = dojo.xhrGet, initializing this property per instance and not per class as happens with other properties of this widget as: adjustPaths, cleanContent, renderStyles, executeScripts and scriptHasHooks.
To solve this trouble I uncommented the initialization of ioMethod per class and commented the initialization per instance.
Attachments (1)
Change History (3)
Changed 11 years ago by
Attachment: | ContentPane.js added |
---|
comment:1 Changed 10 years ago by
Milestone: | tbd → 1.8 |
---|---|
Owner: | set to bill |
Status: | new → assigned |
ContentPane? with the solution