Skip to main content

Load data from JSF into jMaki

1 reply [Last post]
alexandergc
Offline
Joined: 2008-09-16
Points: 0

Hi,

I've been trying some examples about how to load data from a program to a Dojo/JMaki component. I tried the combo example that I got on JMaki.com. It worked pretty well when I used jsp tags, but not when I used the jsf tags.
I'm sure the data's being loaded, 'cause I show it just fine on the html page.
I appreciate any help.

JSP tag

JSF tag

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sloanb
Offline
Joined: 2003-09-14
Points: 0

Hi alexandergc,

Thanks for using jMaki. Have you checked to make sure that your getter is being called on the Managed Bean side? (public String getStates()). If it is is the data being returned valid JSON that complies with the combobox model http://wiki.java.net/bin/view/Projects/jMakiComboxModel. You may also want to make sure your taglib is set to http://jmaki/v1.0/jsf instead of http://jmaki/v1.0/jsp. Try these things out and let me know.

Regards,
--Sloan