I have a component (ItemTree) that has 3 built-in components. The first (ItemTreeList) is a list of items to select from. The second (ItemGIDE) shows the properties for the item you selected.
How to tell ItemGIDE to update when creating a new item in ItemTreeList?
Firstly, it is more difficult than I do it. ItemTreeList has hirarchy with node and node types. It has collapsible divs and when you click on a top-level hirarchy element or the instance below sets various variables for other objects. Thus, everything happens with one click. I have an ItemTreeList to refresh myself without refreshing the entire page. You just need to “Declare” another component (ItemGIDE), which it must update (again without refreshing the entire page).
- I have jQuery and Ajax.
- I am using Visualage Smalltalk 8.5.0 with Seaside 3.0. -I was thinking of calling ItemTree to tell its auxiliary components for updating?
- I was thinking about using “announce” to “announce” other components for the update?
- Have I been doing actual programming for less than 6 months?
Dusty source share