Prev | Current Page 497 | Next

Frank Zammetti

"Practical DWR 2 Projects"

css style sheet for Fileman.
That closes out the of the document; now comes the , and you??™ll immediately
notice some work being done onLoad, namely a call to the init() method of the Fileman
class instance named fileman, which we??™ll get a look at shortly. As you can imagine, init()
handles all the initialization required on startup. Note that the file path separator we got in the
scriplet section earlier is passed to this method. It will be stored there, so we have that value
client side in the fileman instance.
You??™ll also see that onResize another call is made to the onResize() method of the fileman
instance. This deals with resizing the file grid when the window is resized.
Now the markup that makes up the visual presentation of Fileman begins. First, we have
divFileEditor, which is the
shown when the user wants to edit a file. It??™s not much more
than a table with a