Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell

Dave,

I guess if use Dojo independantly of the S2 tags the Musachy point about
ending up writing the same things all over my JSP's applies.

I think if I want to do this in a grown up way the right thing to do would
be to bite down hard and write some freemarker.

I do REALLY want to do the right way.

Thanks again for your (and Musachy's), remarkably prompt, feedback. Truly
appreciated.

Paul B.


newton.dave wrote:
> 
> --- paulbrickell <[EMAIL PROTECTED]> wrote:
>> Yes, but the freemarker templates for head and div (and I guess the
>> others
>> too) are highly dependent on version 0.4.x of Dojo. So to make this work
>> I
>> would have to rewrite said templates.
>> 
>> uhm, I may just do that.
> 
> If you do, keep people posted.
> 
> You can always use Dojo independent of the S2 tags, too.
> 
> d.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15138982.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread Dave Newton
--- paulbrickell <[EMAIL PROTECTED]> wrote:
> Yes, but the freemarker templates for head and div (and I guess the others
> too) are highly dependent on version 0.4.x of Dojo. So to make this work I
> would have to rewrite said templates.
> 
> uhm, I may just do that.

If you do, keep people posted.

You can always use Dojo independent of the S2 tags, too.

d.


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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread Musachy Barroso
yup, they are based on 0.4. If you are going to use dojo 1.0 you will
end up putting the dojo stuff in your jsps, you might just do it in
the templates and they will be reusable (for you :))

musachy

On Jan 28, 2008 11:03 AM, paulbrickell
<[EMAIL PROTECTED]> wrote:
>
> Yes, but the freemarker templates for head and div (and I guess the others
> too) are highly dependent on version 0.4.x of Dojo. So to make this work I
> would have to rewrite said templates.
>
> uhm, I may just do that.
>
> Cheers,
> Paul B.
>
>
>
> Musachy Barroso wrote:
> >
> > in 2.1 you can use your own dojo distribution by setting the
> > "baseRelativePath" attr in the head tag.
> >
> > see http://cwiki.apache.org/WW/dojo-head.html for details.
> >
> > musachy
> >
> > On Jan 28, 2008 10:28 AM, paulbrickell
> > <[EMAIL PROTECTED]> wrote:
> >>
> >> LOL. For an Englishman sometimes my English sucks. No I probably dont
> >> want
> >> errors. What I meant was that this demonstrated to me the dependency on
> >> version 0.4.x of Dojo and thats a showstopper. I really want to use 1.0.x
> >> so
> >> I am going to have to choose between Struts 2.1 and its lovely stuff for
> >> Dojo and 1.0.x and rolling my own solution with an older version of
> >> Struts.
> >>
> >> Damn, thats a shame.
> >>
> >> Cheers,
> >> Paul B.
> >>
> >>
> >> newton.dave wrote:
> >> >
> >>
> >> > --- paulbrickell <[EMAIL PROTECTED]> wrote:
> >> >> 0.43 removes any javascript errors.
> >> >> I think that's a bit of show-stopper for me.
> >> >
> >> > Wait, you have an actual requirement for JavaScript errors!?
> >> >
> >> > ;)
> >> >
> >> >> I still do not get a call to any action for the div.
> >> >
> >> > You should probably post at least the JSP source for the 
> >> tag;
> >> > I
> >> > don't remember it anymore if I ever saw it.
> >> >
> >> > d.
> >> >
> >> >
> >> > -
> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15137583.html
> >> Sent from the Struts - User mailing list archive at Nabble.com.
> >>
> >>
> >> -
> >>
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> >
> > --
> > "Hey you! Would you help me to carry the stone?" Pink Floyd
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15138516.html
>
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell

Yes, but the freemarker templates for head and div (and I guess the others
too) are highly dependent on version 0.4.x of Dojo. So to make this work I
would have to rewrite said templates.

uhm, I may just do that.

Cheers,
Paul B.


Musachy Barroso wrote:
> 
> in 2.1 you can use your own dojo distribution by setting the
> "baseRelativePath" attr in the head tag.
> 
> see http://cwiki.apache.org/WW/dojo-head.html for details.
> 
> musachy
> 
> On Jan 28, 2008 10:28 AM, paulbrickell
> <[EMAIL PROTECTED]> wrote:
>>
>> LOL. For an Englishman sometimes my English sucks. No I probably dont
>> want
>> errors. What I meant was that this demonstrated to me the dependency on
>> version 0.4.x of Dojo and thats a showstopper. I really want to use 1.0.x
>> so
>> I am going to have to choose between Struts 2.1 and its lovely stuff for
>> Dojo and 1.0.x and rolling my own solution with an older version of
>> Struts.
>>
>> Damn, thats a shame.
>>
>> Cheers,
>> Paul B.
>>
>>
>> newton.dave wrote:
>> >
>>
>> > --- paulbrickell <[EMAIL PROTECTED]> wrote:
>> >> 0.43 removes any javascript errors.
>> >> I think that's a bit of show-stopper for me.
>> >
>> > Wait, you have an actual requirement for JavaScript errors!?
>> >
>> > ;)
>> >
>> >> I still do not get a call to any action for the div.
>> >
>> > You should probably post at least the JSP source for the 
>> tag;
>> > I
>> > don't remember it anymore if I ever saw it.
>> >
>> > d.
>> >
>> >
>> > -
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15137583.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> -
>>
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> 
> -- 
> "Hey you! Would you help me to carry the stone?" Pink Floyd
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15138516.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread Musachy Barroso
in 2.1 you can use your own dojo distribution by setting the
"baseRelativePath" attr in the head tag.

see http://cwiki.apache.org/WW/dojo-head.html for details.

musachy

On Jan 28, 2008 10:28 AM, paulbrickell
<[EMAIL PROTECTED]> wrote:
>
> LOL. For an Englishman sometimes my English sucks. No I probably dont want
> errors. What I meant was that this demonstrated to me the dependency on
> version 0.4.x of Dojo and thats a showstopper. I really want to use 1.0.x so
> I am going to have to choose between Struts 2.1 and its lovely stuff for
> Dojo and 1.0.x and rolling my own solution with an older version of Struts.
>
> Damn, thats a shame.
>
> Cheers,
> Paul B.
>
>
> newton.dave wrote:
> >
>
> > --- paulbrickell <[EMAIL PROTECTED]> wrote:
> >> 0.43 removes any javascript errors.
> >> I think that's a bit of show-stopper for me.
> >
> > Wait, you have an actual requirement for JavaScript errors!?
> >
> > ;)
> >
> >> I still do not get a call to any action for the div.
> >
> > You should probably post at least the JSP source for the  tag;
> > I
> > don't remember it anymore if I ever saw it.
> >
> > d.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15137583.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell

LOL. For an Englishman sometimes my English sucks. No I probably dont want
errors. What I meant was that this demonstrated to me the dependency on
version 0.4.x of Dojo and thats a showstopper. I really want to use 1.0.x so
I am going to have to choose between Struts 2.1 and its lovely stuff for
Dojo and 1.0.x and rolling my own solution with an older version of Struts.

Damn, thats a shame.

Cheers,
Paul B.


newton.dave wrote:
> 
> --- paulbrickell <[EMAIL PROTECTED]> wrote:
>> 0.43 removes any javascript errors. 
>> I think that's a bit of show-stopper for me.
> 
> Wait, you have an actual requirement for JavaScript errors!?
> 
> ;)
> 
>> I still do not get a call to any action for the div. 
> 
> You should probably post at least the JSP source for the  tag;
> I
> don't remember it anymore if I ever saw it.
> 
> d.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15137583.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell

Yep, that works exactly like it says on wiki. out of curiosity just how does
that automagic work? How on earth does the path
"/whatever/struts/css_xhtml/validation.js" get resolved to a jar? Also I
guess that the baseRelativePath attribute is a bit of red-herring.

The restructuring between version 0.4.x and 1.0.x of dojo is pretty radical.
No way they are compatible.

I did just check out the source and start a build. But frankly the newer
features of Dojo I am losing is a bit of a showstopper. I may well have to
drop a back a version of Struts and roll my own solution. It's such a shame
I would love to get all that great stuff for free.

There is simply no way I can convince my employer I can contribute a
solution on their time but I have to think my best solution would be to do
it anyway.

Thanks for all your help here,
Paul B.


newton.dave wrote:
> 
> --- paulbrickell <[EMAIL PROTECTED]> wrote:
>> it appears that sx:head creates links for various resources...
>> 
>> > src="/application/struts/ajax/dojoRequire.js">
>> > type="text/css"/>
>> > type="text/javascript">
>> > src="/application/struts/xhtml/validation.js"
>> type="text/javascript">
>> > src="/application/struts/css_xhtml/validation.js"
>> type="text/javascript">
>> 
>> None of which exists in my application. So I am guessing (never a good
>> idea) that I need to compose these bits from the distro.
> 
> These are all in the struts-core JAR file, served statically via S2.
> 
>> You are right these components do exists in the libraries. Am I right in
>> thinking I need to copy these into my web application in the structure
>> required by the links in the head template?
> 
> Nope; they should be included automagically. See below.
> 
>> Also I get various javascript errors...
>> 1. Could not load 'dojo.io.BrowserIO'; last tried './io/BrowserIO.js'
>> 2. dojo.hostenv has no properties
>> 3. djConfig.searchIds has no properties
>> 
>> These I suspect are related to the version of dojo I am using (1.0.2
>> which
>> is the latest release). The path io.BrowserIO.js for example just doesn't
>> exists.
> 
> That's probably going to be an issue; the S2 Dojo plugin is using
> 0.4.mumble,
> which is included in the plugin JAR itself. Using a different Dojo version
> is
> probably a Bad Idea, although I haven't actually tried to know what any
> potential issues would be.
> 
> If you're set on using S2.1 and its Dojo plugin I'd really recommend just
> getting the complete source via Subversion and build via Maven rather than
> trying to put all the pieces together manually.
> 
> All the JavaScript is included in either the S2 core JAR or the Dojo
> plugin
> JAR; mixing Dojo versions is probably bad.
> 
> d.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15136841.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread Dave Newton
--- paulbrickell <[EMAIL PROTECTED]> wrote:
> 0.43 removes any javascript errors. 
> I think that's a bit of show-stopper for me.

Wait, you have an actual requirement for JavaScript errors!?

;)

> I still do not get a call to any action for the div. 

You should probably post at least the JSP source for the  tag; I
don't remember it anymore if I ever saw it.

d.


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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell

Quick update,

0.43 removes any javascript errors. I think that's a bit of show-stopper for
me.
I still do not get a call to any action for the div. I do want to know why
that is so I am going to try to track down the problem before I abandon all
hope.

Cheers,
Paul B.


paulbrickell wrote:
> 
> Dave,
> 
> I hope you don't think you've taken on a lifetime commitment here;-)
> 
> I may be misunderstanding whats happening here, but here goes..
> 
> I have a really simple page that include the sx:head tag and an sx:div.
> Now I do not not see any call to the target action for the div tag. So I
> started looking at the page source and the template sources to see what
> the templates for sx:head and sx:div were up to.
> 
> it appears that sx:head creates links for various resources...
> 
>  src="/application/struts/ajax/dojoRequire.js">
>  type="text/css"/>
>  type="text/javascript">
>  src="/application/struts/xhtml/validation.js"
> type="text/javascript">
>  src="/application/struts/css_xhtml/validation.js"
> type="text/javascript">
> 
> None of which exists in my application. So I am guessing (never a good
> idea) that I need to compose these bits from the distro.
> You are right these components do exists in the libraries. Am I right in
> thinking I need to copy these into my web application in the structure
> required by the links in the head template?
> 
> Also I get various javascript errors...
> 1. Could not load 'dojo.io.BrowserIO'; last tried './io/BrowserIO.js'
> 2. dojo.hostenv has no properties
> 3. djConfig.searchIds has no properties
> 
> These I suspect are related to the version of dojo I am using (1.0.2 which
> is the latest release). The path io.BrowserIO.js for example just doesn't
> exists.
> 
> Man I would love to get this working. It is just what my app need.
> Paul B.
> 
> 
> 
> 
> newton.dave wrote:
>> 
>> --- paulbrickell <[EMAIL PROTECTED]> wrote:
>>> what the head template outputs are some links (see my earlier post for
>>> the
>>> details) to application/struts/* js and css files.
>>> 
>>> So what I am trying to do is assemble the components that the head
>>> template
>>> requires and put them in the right place. It seems they are many and
>>> distributed across multiple jars.
>> 
>> Mmm, all of the deps should be in the dojo-plugin and struts core, IIRC.
>> 
>> Are there specific issues you're running in to?
>> 
>> d.
>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15136334.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread Alexandru BARBAT

those resources are in 'struts2-core.jar'  file.


- Original Message - 
From: "paulbrickell" <[EMAIL PROTECTED]>

To: 
Sent: Monday, January 28, 2008 4:21 PM
Subject: Re: [S2] dojo plugin - I don't find the resources




Dave,

I hope you don't think you've taken on a lifetime commitment here;-)

I may be misunderstanding whats happening here, but here goes..

I have a really simple page that include the sx:head tag and an sx:div. 
Now
I do not not see any call to the target action for the div tag. So I 
started

looking at the page source and the template sources to see what the
templates for sx:head and sx:div were up to.

it appears that sx:head creates links for various resources...




<tt>src="/application/struts/xhtml/validation.js"
</tt><pre style="margin: 0em;">
type="text/javascript">


None of which exists in my application. So I am guessing (never a good 
idea)

that I need to compose these bits from the distro.
You are right these components do exists in the libraries. Am I right in
thinking I need to copy these into my web application in the structure
required by the links in the head template?

Also I get various javascript errors...
1. Could not load 'dojo.io.BrowserIO'; last tried './io/BrowserIO.js'
2. dojo.hostenv has no properties
3. djConfig.searchIds has no properties

These I suspect are related to the version of dojo I am using (1.0.2 which
is the latest release). The path io.BrowserIO.js for example just doesn't
exists.

Man I would love to get this working. It is just what my app need.
Paul B.




newton.dave wrote:


--- paulbrickell <[EMAIL PROTECTED]> wrote:

what the head template outputs are some links (see my earlier post for
the
details) to application/struts/* js and css files.

So what I am trying to do is assemble the components that the head
template
requires and put them in the right place. It seems they are many and
distributed across multiple jars.


Mmm, all of the deps should be in the dojo-plugin and struts core, IIRC.

Are there specific issues you're running in to?

d.


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





--
View this message in context: 
http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15136127.html

Sent from the Struts - User mailing list archive at Nabble.com.


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





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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread Dave Newton
--- paulbrickell <[EMAIL PROTECTED]> wrote:
> it appears that sx:head creates links for various resources...
> 
>  src="/application/struts/ajax/dojoRequire.js">
>  type="text/css"/>
>  type="text/javascript">
>  type="text/javascript">
>  src="/application/struts/css_xhtml/validation.js"
> type="text/javascript">
> 
> None of which exists in my application. So I am guessing (never a good
> idea) that I need to compose these bits from the distro.

These are all in the struts-core JAR file, served statically via S2.

> You are right these components do exists in the libraries. Am I right in
> thinking I need to copy these into my web application in the structure
> required by the links in the head template?

Nope; they should be included automagically. See below.

> Also I get various javascript errors...
> 1. Could not load 'dojo.io.BrowserIO'; last tried './io/BrowserIO.js'
> 2. dojo.hostenv has no properties
> 3. djConfig.searchIds has no properties
> 
> These I suspect are related to the version of dojo I am using (1.0.2 which
> is the latest release). The path io.BrowserIO.js for example just doesn't
> exists.

That's probably going to be an issue; the S2 Dojo plugin is using 0.4.mumble,
which is included in the plugin JAR itself. Using a different Dojo version is
probably a Bad Idea, although I haven't actually tried to know what any
potential issues would be.

If you're set on using S2.1 and its Dojo plugin I'd really recommend just
getting the complete source via Subversion and build via Maven rather than
trying to put all the pieces together manually.

All the JavaScript is included in either the S2 core JAR or the Dojo plugin
JAR; mixing Dojo versions is probably bad.

d.


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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell

Dave,

I hope you don't think you've taken on a lifetime commitment here;-)

I may be misunderstanding whats happening here, but here goes..

I have a really simple page that include the sx:head tag and an sx:div. Now
I do not not see any call to the target action for the div tag. So I started
looking at the page source and the template sources to see what the
templates for sx:head and sx:div were up to.

it appears that sx:head creates links for various resources...







None of which exists in my application. So I am guessing (never a good idea)
that I need to compose these bits from the distro.
You are right these components do exists in the libraries. Am I right in
thinking I need to copy these into my web application in the structure
required by the links in the head template?

Also I get various javascript errors...
1. Could not load 'dojo.io.BrowserIO'; last tried './io/BrowserIO.js'
2. dojo.hostenv has no properties
3. djConfig.searchIds has no properties

These I suspect are related to the version of dojo I am using (1.0.2 which
is the latest release). The path io.BrowserIO.js for example just doesn't
exists.

Man I would love to get this working. It is just what my app need.
Paul B.




newton.dave wrote:
> 
> --- paulbrickell <[EMAIL PROTECTED]> wrote:
>> what the head template outputs are some links (see my earlier post for
>> the
>> details) to application/struts/* js and css files.
>> 
>> So what I am trying to do is assemble the components that the head
>> template
>> requires and put them in the right place. It seems they are many and
>> distributed across multiple jars.
> 
> Mmm, all of the deps should be in the dojo-plugin and struts core, IIRC.
> 
> Are there specific issues you're running in to?
> 
> d.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15136127.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread Dave Newton
--- paulbrickell <[EMAIL PROTECTED]> wrote:
> what the head template outputs are some links (see my earlier post for the
> details) to application/struts/* js and css files.
> 
> So what I am trying to do is assemble the components that the head template
> requires and put them in the right place. It seems they are many and
> distributed across multiple jars.

Mmm, all of the deps should be in the dojo-plugin and struts core, IIRC.

Are there specific issues you're running in to?

d.


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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread Martin Gainty
Hi Paul

any attempt to d/l the staging-plugin-1.0.0.zip displays invalid archive
this is perhaps a tar or gzip?

Thanks
Martin
- Original Message -
From: "paulbrickell" <[EMAIL PROTECTED]>
To: 
Sent: Monday, January 28, 2008 8:26 AM
Subject: Re: [S2] dojo plugin - I don't find the resources


>
> Cant argue with that.
>
> I guess a little background on what I am up to would help.
>
> I am trying to build an application using the dojo plugin. So what I did
was
> include a dependency on struts core 2.1.0 snapshot and the dojo-plugin
2.1.0
> snapshot in my pom file added the
> http://people.apache.org/repo/m2-snapshot-repository repository and let
> maven do its thing. Then following the instructions at..
> http://struts.apache.org/2.x/docs/ajax-tags.html (which are public, I
guess)
> I tried to get my application going with a simple page using just the head
> and a div tags.
>
> what the head template outputs are some links (see my earlier post for the
> details) to application/struts/* js and css files.
>
> So what I am trying to do is assemble the components that the head
template
> requires and put them in the right place. It seems they are many and
> distributed across multiple jars.
>
> I will persevere as I really want to use the components, they just fit the
> bill for my application perfectly.
>
> Thanks for your help so far,
> Paul B.
>
>
>
> newton.dave wrote:
> >
> > --- paulbrickell <[EMAIL PROTECTED]> wrote:
> >> OK Dave, for those of us who are interested in getting 2.1 working the
> >> original poster's question seems entirely relevant.
> >
> > Sure, but I'm not entirely clear how I'd know what version they wanted
to
> > use
> > if they don't tell me, and since 2.1 isn't released I'll generally
provide
> > information for the currently released version, which isn't what the
wiki
> > documents.
> >
> >> Just what does the line '- include the Dojo Plugin distributed with
> >> Struts 2 in your /WEB-INF/lib' mean. I cannot find any distribution or
> >> source for said plugin either.
> >
> > There is no distribution for the S2.1 Dojo plugin; the builds for 2.1
are
> > only struts-core, which isn't released. The source is available in the
> > repository which can be retrieved via Subversion and built with Maven.
> > Take
> > the built JAR file and put it in WEB-INF/lib.
> >
> > d.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp1403
0983p15135208.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell

Cant argue with that.

I guess a little background on what I am up to would help.

I am trying to build an application using the dojo plugin. So what I did was
include a dependency on struts core 2.1.0 snapshot and the dojo-plugin 2.1.0
snapshot in my pom file added the
http://people.apache.org/repo/m2-snapshot-repository repository and let
maven do its thing. Then following the instructions at..
http://struts.apache.org/2.x/docs/ajax-tags.html (which are public, I guess)
I tried to get my application going with a simple page using just the head
and a div tags.

what the head template outputs are some links (see my earlier post for the
details) to application/struts/* js and css files.

So what I am trying to do is assemble the components that the head template
requires and put them in the right place. It seems they are many and
distributed across multiple jars.

I will persevere as I really want to use the components, they just fit the
bill for my application perfectly.

Thanks for your help so far,
Paul B.



newton.dave wrote:
> 
> --- paulbrickell <[EMAIL PROTECTED]> wrote:
>> OK Dave, for those of us who are interested in getting 2.1 working the
>> original poster's question seems entirely relevant. 
> 
> Sure, but I'm not entirely clear how I'd know what version they wanted to
> use
> if they don't tell me, and since 2.1 isn't released I'll generally provide
> information for the currently released version, which isn't what the wiki
> documents.
> 
>> Just what does the line '- include the Dojo Plugin distributed with 
>> Struts 2 in your /WEB-INF/lib' mean. I cannot find any distribution or 
>> source for said plugin either.
> 
> There is no distribution for the S2.1 Dojo plugin; the builds for 2.1 are
> only struts-core, which isn't released. The source is available in the
> repository which can be retrieved via Subversion and built with Maven.
> Take
> the built JAR file and put it in WEB-INF/lib.
> 
> d.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15135208.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread Dave Newton
--- paulbrickell <[EMAIL PROTECTED]> wrote:
> OK Dave, for those of us who are interested in getting 2.1 working the
> original poster's question seems entirely relevant. 

Sure, but I'm not entirely clear how I'd know what version they wanted to use
if they don't tell me, and since 2.1 isn't released I'll generally provide
information for the currently released version, which isn't what the wiki
documents.

> Just what does the line '- include the Dojo Plugin distributed with 
> Struts 2 in your /WEB-INF/lib' mean. I cannot find any distribution or 
> source for said plugin either.

There is no distribution for the S2.1 Dojo plugin; the builds for 2.1 are
only struts-core, which isn't released. The source is available in the
repository which can be retrieved via Subversion and built with Maven. Take
the built JAR file and put it in WEB-INF/lib.

d.


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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell

Thanks for the quick reply. I see the stuff now.

However I don't think its gonna be that easy.

When I use the sx:head element the template also gives me these...






which seem to scattered amongst various files in the distribution. I guess I
better start pulling them in. I hope I get compatible versions. Bleeding
edge eh ;-)


Julien RICHARD-2 wrote:
> 
> Hi,
> 
> The dojo plugin is embedded in the source struts package.
> 
> Look at struts2-core-2.0.11.jar\org.apache.struts2\static\dojo
> 
> Regards
> 
> On Jan 28, 2008 1:34 PM, paulbrickell
> <[EMAIL PROTECTED]>
> wrote:
> 
>>
>> OK Dave, for those of us who are interested in getting 2.1 working the
>> original poster's question seems entirely relevant. Just what does the
>> line
>> '- include the Dojo Plugin distributed with Struts 2 in your
>> /WEB-INF/lib'
>> mean. I cannot find any distribution or source for said plugin either.
>>
>> cheers,
>> Paul B.
>>
>>
>> newton.dave wrote:
>> >
>> > The docs regarding the "sx" prefix are for S2.1.
>> >
>> > d.
>> >
>> > --- greyshine <[EMAIL PROTECTED]> wrote:
>> >
>> >>
>> >> Hi out there,
>> >>
>> >> I am trying to get a little Ajax running w/ the S2.
>> >> On the webpage:
>> >> http://struts.apache.org/2.x/docs/ajax-tags.html
>> >> it says:
>> >> - include the Dojo Plugin distributed with Struts 2
>> >> in your /WEB-INF/lib
>> >> folder.
>> >> - Add <%@ taglib prefix="sx" uri="/struts-dojo-tags"
>> >> %> to your page.
>> >> - Include the head tag on the page, which can be
>> >> configured for performance
>> >> or debugging purposes.
>> >>
>> >> Where do I find the plugin. I did not see one
>> >> shipped w/ S2 downloads?
>> >> I guess after I found it, it will be answer my next
>> >> question of the location
>> >> of the concerning tld to use.
>> >>
>> >> I spend hours so far looking for it and I just end
>> >> up feeling stupid not
>> >> finding it.
>> >>
>> >> If there's another post explaining the same problem.
>> >> I am sorry but I did
>> >> not find it so far...
>> >>
>> >> Best regards and thanks for any help.
>> >> D.
>> >> --
>> >> View this message in context:
>> >>
>> >
>> http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tf4898788.html#a14030983
>> >> Sent from the Struts - User mailing list archive at
>> >> Nabble.com.
>> >>
>> >>
>> >>
>> > -
>> >> To unsubscribe, e-mail:
>> >> [EMAIL PROTECTED]
>> >> For additional commands, e-mail:
>> >> [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > -
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15134394.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> RICHARD Julien,
> UNILOG
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15134669.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread Julien RICHARD
Hi,

The dojo plugin is embedded in the source struts package.

Look at struts2-core-2.0.11.jar\org.apache.struts2\static\dojo

Regards

On Jan 28, 2008 1:34 PM, paulbrickell <[EMAIL PROTECTED]>
wrote:

>
> OK Dave, for those of us who are interested in getting 2.1 working the
> original poster's question seems entirely relevant. Just what does the
> line
> '- include the Dojo Plugin distributed with Struts 2 in your /WEB-INF/lib'
> mean. I cannot find any distribution or source for said plugin either.
>
> cheers,
> Paul B.
>
>
> newton.dave wrote:
> >
> > The docs regarding the "sx" prefix are for S2.1.
> >
> > d.
> >
> > --- greyshine <[EMAIL PROTECTED]> wrote:
> >
> >>
> >> Hi out there,
> >>
> >> I am trying to get a little Ajax running w/ the S2.
> >> On the webpage:
> >> http://struts.apache.org/2.x/docs/ajax-tags.html
> >> it says:
> >> - include the Dojo Plugin distributed with Struts 2
> >> in your /WEB-INF/lib
> >> folder.
> >> - Add <%@ taglib prefix="sx" uri="/struts-dojo-tags"
> >> %> to your page.
> >> - Include the head tag on the page, which can be
> >> configured for performance
> >> or debugging purposes.
> >>
> >> Where do I find the plugin. I did not see one
> >> shipped w/ S2 downloads?
> >> I guess after I found it, it will be answer my next
> >> question of the location
> >> of the concerning tld to use.
> >>
> >> I spend hours so far looking for it and I just end
> >> up feeling stupid not
> >> finding it.
> >>
> >> If there's another post explaining the same problem.
> >> I am sorry but I did
> >> not find it so far...
> >>
> >> Best regards and thanks for any help.
> >> D.
> >> --
> >> View this message in context:
> >>
> >
> http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tf4898788.html#a14030983
> >> Sent from the Struts - User mailing list archive at
> >> Nabble.com.
> >>
> >>
> >>
> > -
> >> To unsubscribe, e-mail:
> >> [EMAIL PROTECTED]
> >> For additional commands, e-mail:
> >> [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15134394.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
RICHARD Julien,
UNILOG


Re: [S2] dojo plugin - I don't find the resources

2008-01-28 Thread paulbrickell

OK Dave, for those of us who are interested in getting 2.1 working the
original poster's question seems entirely relevant. Just what does the line
'- include the Dojo Plugin distributed with Struts 2 in your /WEB-INF/lib'
mean. I cannot find any distribution or source for said plugin either.

cheers,
Paul B.


newton.dave wrote:
> 
> The docs regarding the "sx" prefix are for S2.1.
> 
> d.
> 
> --- greyshine <[EMAIL PROTECTED]> wrote:
> 
>> 
>> Hi out there,
>> 
>> I am trying to get a little Ajax running w/ the S2.
>> On the webpage:
>> http://struts.apache.org/2.x/docs/ajax-tags.html
>> it says:
>> - include the Dojo Plugin distributed with Struts 2
>> in your /WEB-INF/lib
>> folder.
>> - Add <%@ taglib prefix="sx" uri="/struts-dojo-tags"
>> %> to your page.
>> - Include the head tag on the page, which can be
>> configured for performance
>> or debugging purposes.
>> 
>> Where do I find the plugin. I did not see one
>> shipped w/ S2 downloads?
>> I guess after I found it, it will be answer my next
>> question of the location
>> of the concerning tld to use.
>> 
>> I spend hours so far looking for it and I just end
>> up feeling stupid not
>> finding it.
>> 
>> If there's another post explaining the same problem.
>> I am sorry but I did
>> not find it so far...
>> 
>> Best regards and thanks for any help.
>> D.
>> -- 
>> View this message in context:
>>
> http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tf4898788.html#a14030983
>> Sent from the Struts - User mailing list archive at
>> Nabble.com.
>> 
>> 
>>
> -
>> To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>> 
>> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tp14030983p15134394.html
Sent from the Struts - User mailing list archive at Nabble.com.


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



Re: [S2] dojo plugin - I don't find the resources

2007-11-29 Thread Dave Newton
The docs regarding the "sx" prefix are for S2.1.

d.

--- greyshine <[EMAIL PROTECTED]> wrote:

> 
> Hi out there,
> 
> I am trying to get a little Ajax running w/ the S2.
> On the webpage:
> http://struts.apache.org/2.x/docs/ajax-tags.html
> it says:
> - include the Dojo Plugin distributed with Struts 2
> in your /WEB-INF/lib
> folder.
> - Add <%@ taglib prefix="sx" uri="/struts-dojo-tags"
> %> to your page.
> - Include the head tag on the page, which can be
> configured for performance
> or debugging purposes.
> 
> Where do I find the plugin. I did not see one
> shipped w/ S2 downloads?
> I guess after I found it, it will be answer my next
> question of the location
> of the concerning tld to use.
> 
> I spend hours so far looking for it and I just end
> up feeling stupid not
> finding it.
> 
> If there's another post explaining the same problem.
> I am sorry but I did
> not find it so far...
> 
> Best regards and thanks for any help.
> D.
> -- 
> View this message in context:
>
http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tf4898788.html#a14030983
> Sent from the Struts - User mailing list archive at
> Nabble.com.
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


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



[S2] dojo plugin - I don't find the resources

2007-11-29 Thread greyshine

Hi out there,

I am trying to get a little Ajax running w/ the S2.
On the webpage: http://struts.apache.org/2.x/docs/ajax-tags.html
it says:
- include the Dojo Plugin distributed with Struts 2 in your /WEB-INF/lib
folder.
- Add <%@ taglib prefix="sx" uri="/struts-dojo-tags" %> to your page.
- Include the head tag on the page, which can be configured for performance
or debugging purposes.

Where do I find the plugin. I did not see one shipped w/ S2 downloads?
I guess after I found it, it will be answer my next question of the location
of the concerning tld to use.

I spend hours so far looking for it and I just end up feeling stupid not
finding it.

If there's another post explaining the same problem. I am sorry but I did
not find it so far...

Best regards and thanks for any help.
D.
-- 
View this message in context: 
http://www.nabble.com/-S2--dojo-plugin---I-don%27t-find-the-resources-tf4898788.html#a14030983
Sent from the Struts - User mailing list archive at Nabble.com.


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