This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes GWT and the fly likes Ext_GWT: Image Gallery box using a ListView Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » GWT
Reply Bookmark "Ext_GWT: Image Gallery box using a ListView" Watch "Ext_GWT: Image Gallery box using a ListView" New topic
Author

Ext_GWT: Image Gallery box using a ListView

Flavio Ortellao
Greenhorn

Joined: Feb 01, 2011
Posts: 6

I'm trying to build an image gallery, just like this "Chart Gallery" you can see in the example provided in this link http://www.sencha.com/examples/pages/charts/gallery.html.
In tihs example, I can see that the gallery is implemented with a ListView containing a ListStore, and that ListStore cointains some kind of ModelData.


And that GalleryChartModel is implemented this way


But I can't understand the inherent logic of this code: there are 3 properties in the model, how do the framework know how to interpret this properties? I mean: In this last class, there are two propperties (path and name) that seems to be used for rendering but i dont understand how.

There's another native method (something I don't understand) that is implemented tis way:


We can see "name", "path" and "shortName" words appearing here, but I don't know what this means.
Can anyone give me a clue?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Ext_GWT: Image Gallery box using a ListView
 
Similar Threads
Problem populating a newly created HashMap in a Struts2 Action
Override Super method, if code unchanged.
Why am I being able to add Duplicates to this set?
Call stored procedure with Spring
Using EL to generate attribute/value pairs inside of an XHTML element