Surely I can use Dojo 1.0 with theme="simple". But in that case, I
will not leverage Dojo Struts Tags in the server side.

What I would like is to use the s:* (or sx:*) tags rendered with Dojo
1.0. And in the cases where there is not a suitable tag, I will have
the chance to use "raw Dojo".

Alvaro.

On Dec 19, 2007 3:23 AM, Jeromy Evans <[EMAIL PROTECTED]> wrote:
> Alvaro Sanchez-Mariscal wrote:
> > Ok, so provided there is not an "official way" to use Dojo 1.0...
> > Dave, are you willing to contribute your code?
> >
> > Alvaro.
> I just thought I'd make the obvious point there's no reason why you
> can't use Dojo 1.0 with Struts2 already.
>
> You can't use the current struts2-dojo-plugin to pre-generate default
> javascript and some struts2-specific widgets, but in my opinion you'll
> be better off using Dojo 1.0 as-intended anyway.  That is, Dojo is a
> client-side library, so write client-side code using Dojo and Dijit
> properly and use Struts2 as your backend.  A sophisticated application
> will need to interact with the widgets directly anyway so you'll be
> thankful for learning Dojo and being able to speak the same language as
> Dojo developers.  Custom JSP tags don't save you a lot of effort except
> for trivial applications and they don't do Dojo any justice at all.
>
> Take a look at their hello world:
> http://dojotoolkit.org/book/dojo-book-0-9/hello-world-tutorial
>
> You can call a struts action directly via XHR and process HTML and/or
> JSON results from actions (via the JSON plugin) with little effort right
> now.
>
> cheers,
>  Jeromy Evans
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Alvaro Sanchez-Mariscal Arnaiz
Java EE Architect & Instructor
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to