| View previous topic :: View next topic |
| Author |
Message |
smoczyna
Joined: 08 Jan 2009 Posts: 24
|
Posted: Fri Nov 20, 2009 11:26 am Post subject: jMaki table dojo and feeded by servlet |
|
|
I have built simple web app with web page containing jMaki table. I'm trying to fill this table wit hthe date from the servlet.
Servlet itselt return following output:
{columns: [
{label: 'Error ID', id: 'errorID'},
{label: 'Error Type', id: 'errorType'}
], rows: [
{errorID: 'Error 1',errorType: 'no type yet'},
{errorID: 'Error 2',errorType: 'no type yet'},
{errorID: 'Error 3',errorType: 'no type yet'},
{errorID: 'Error 4',errorType: 'no type yet'},
{errorID: 'Error 5',errorType: 'no type yet'}
]}
but when I'm replacing the value of the dojo with the path to this servlet I have empty table, neihter VALUE nor SERVICE parameter works and changing servlet output into "text/plain" or "text/json" doesn't help as well
What is the catch of using this ? When I copy servlet output to the file and use it instead, it works |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|