Re: [action2] Switching to Dojo widgets

2006-04-15 Thread Laurie Harper
Martin Cooper wrote: When you build (or download) a specific profile, the dojo.js file contains only what is defined for that profile. However, everything else is still available. Any code that is "dojo.require"d that is not part of the profile will be dynamically fetched by Dojo when that 'requi

Re: [action2] Switching to Dojo widgets

2006-04-15 Thread Ian Roughley
Don Brown wrote: Ian Roughley wrote: Ok, I'll be more specific :) The tags that you use in JSP are directly available to other view technologies (freemarker and velocity) due to a common underlying component model. To make this possible they have their own MVC design - using a freemarker t

Re: [action2] Switching to Dojo widgets

2006-04-14 Thread Don Brown
Ian Roughley wrote: This is where my knowledge of dojo falls short, perhaps Martin can assist. What I was planning on doing was using a compressed JS profile of dojo, and removing the individual files from the saf src. If we are pulling in individual files via dojo.require() do we need to kee

Re: [action2] Switching to Dojo widgets

2006-04-14 Thread Don Brown
Ian Roughley wrote: Ok, I'll be more specific :) The tags that you use in JSP are directly available to other view technologies (freemarker and velocity) due to a common underlying component model. To make this possible they have their own MVC design - using a freemarker template as the view.

Re: [action2] Switching to Dojo widgets

2006-04-14 Thread Ian Roughley
Thanks for the clarification. That makes sense now :) /Ian Martin Cooper wrote: On 4/13/06, Ian Roughley <[EMAIL PROTECTED]> wrote: This is where my knowledge of dojo falls short, perhaps Martin can assist. What I was planning on doing was using a compressed JS profile of dojo, and remo

Re: [action2] Switching to Dojo widgets

2006-04-14 Thread Ian Roughley
Ok, I'll be more specific :) The tags that you use in JSP are directly available to other view technologies (freemarker and velocity) due to a common underlying component model. To make this possible they have their own MVC design - using a freemarker template as the view. So you can use any

Re: [action2] Switching to Dojo widgets

2006-04-13 Thread Martin Cooper
On 4/13/06, Ian Roughley <[EMAIL PROTECTED]> wrote: > > This is where my knowledge of dojo falls short, perhaps Martin can assist. > > What I was planning on doing was using a compressed JS profile of dojo, > and removing the individual files from the saf src. If we are pulling > in individual fil

Re: [action2] Switching to Dojo widgets

2006-04-13 Thread Frank W. Zammetti
netsql wrote: ps: very exciting to have Ajax built in :) Could have had that a year ago :) (Sorry, couldn't resist) Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [action2] Switching to Dojo widgets

2006-04-13 Thread netsql
Struts 1.x was "view independent". Is SAF2 (pronounced "SafeTy"? ;-) ) be dojo specific? Like I could not use Tibet w/out fighting the "tags"? (or JDNC once they figure that out.) .V ps: very exciting to have Ajax built in Ian Roughley wrote: This is where my knowledge of dojo fall

Re: [action2] Switching to Dojo widgets

2006-04-13 Thread Ian Roughley
This is where my knowledge of dojo falls short, perhaps Martin can assist. What I was planning on doing was using a compressed JS profile of dojo, and removing the individual files from the saf src. If we are pulling in individual files via dojo.require() do we need to keep the dojo src in th

Re: [action2] Switching to Dojo widgets

2006-04-13 Thread Don Brown
Ian, what about using the minimal profile, but each component that needs something more can do a dojo.require() to pull it in? A user's application, that knows they need more, can overwrite head.ftl to change the profile. This is the change I plan to do today. Don Ian Roughley wrote: Martin

Re: [action2] Switching to Dojo widgets

2006-04-13 Thread Ian Roughley
Martin - which profile do you suggest? I had a quick look over the profiles awhile back, and the only ones from the kitchen sick that I thought could be removed were "flash" and "storage" - especially with the incorporation of more widgets. The other option would be to have different profiles

Re: [action2] Switching to Dojo widgets

2006-04-12 Thread Martin Cooper
On 4/12/06, Don Brown <[EMAIL PROTECTED]> wrote: > > I'm starting to look into replacing the LGPL Javascript components with > ones provided by Dojo, a toolkit we are already > using. Dojo already has the following widgets: > > - date picker - > http://archive.dojotoolkit.org/nightly/tests/widge

[action2] Switching to Dojo widgets

2006-04-12 Thread Don Brown
I'm starting to look into replacing the LGPL Javascript components with ones provided by Dojo, a toolkit we are already using. Dojo already has the following widgets: - date picker - http://archive.dojotoolkit.org/nightly/tests/widget/test_DatePicker.html - tooltip - http://archive.dojotool