NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

jmaki dojo and servlet data

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
smoczyna



Joined: 08 Jan 2009
Posts: 34

PostPosted: Thu Nov 19, 2009 1:00 pm    Post subject: jmaki dojo and servlet data Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo