This content has been marked as final.
Show 2 replies
-
1. Re: cannot handle JSON data
ilya40umov Dec 31, 2010 8:00 AM (in response to orkun)Look at this links(If you have not done it before):
http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/a4j_jsFunction.html
http://community.jboss.org/wiki/RichFacesCookbookJsFunctionJson.pdf
It looks like you are doing evrything right so I guess your problem is in JSON. May be you form wrong JSON. Please write a sample of your json and backing bean code.
-
2. Re: cannot handle JSON data
nbelaevski Dec 31, 2010 1:38 PM (in response to orkun)Hi Ahmet,
'data' should already contain 'haritaBean1.jeoboundary' serialized into JSON, you shouldn't do eval('(' + data + ')') and use data.beanProperty to access properties of serialized object instead.
{haritaBean1.jeoboundary}"style="height: 27px; width:160px; font-size: 10px; font-weight: bold{haritaBean1.jeoboundary}"style="height: 27px; width:160px; font-size: 10px; font-weight: bold'