NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
smoczyna
Joined: 08 Jan 2009 Posts: 34
|
Posted: Thu Nov 19, 2009 1:00 pm Post subject: jmaki dojo and servlet data |
|
|
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 works and changing servlet output into "text/plain" or "text/json".
What can be wrong here ? |
|
| 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
|
|