You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by stanlick <st...@gmail.com> on 2009/08/18 19:21:07 UTC

Anyone using the Ajaxtags with Struts 2

I am trying to leverage the http://ajaxtags.sourceforge.net/ AjaxTags and
would like to see if anyone here might have tips before tearing in.  I
realize this might not be the best venue for the question, but hey, It's
Struts 2 sort of.

Peace,
Scott
-- 
View this message in context: http://www.nabble.com/Anyone-using-the-Ajaxtags-with-Struts-2-tp25029536p25029536.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Anyone using the Ajaxtags with Struts 2

Posted by Musachy Barroso <mu...@gmail.com>.
On Thu, Aug 20, 2009 at 11:01 AM, stanlick<st...@gmail.com> wrote:
> You rock bro!  So is there a way to get the TreeItem attributes passed back
> to the server?  If not, I am confused as to why they would be set on the
> node object.

At this point you probably know more about it than I do :) (insufficient memory)

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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Anyone using the Ajaxtags with Struts 2

Posted by Zoran Avtarovski <zo...@sparecreative.com>.
Like you I thought I¹d give the ajax tags stuff a whirl in S2, but honestly
Musachy is right. You¹re better off using a JS framework directly. That way
you can get the control you need. Almost all of the them have some level of
tree functionality and I¹ve given up recommending a particular framework ­
they¹re all much of a muchness.

Z.
> 
> 
> You rock bro!  So is there a way to get the TreeItem attributes passed back
> to the server?  If not, I am confused as to why they would be set on the
> node object.
> 
> 
> 
> Musachy Barroso wrote:
>> > 
>> > On Thu, Aug 20, 2009 at 8:06 AM, stanlick<st...@gmail.com> wrote:
>>> >> P.S. I was surprised to see that you had worked on this project Musachy.
>>> >> You just pop up everywhere!
>> > 
>> > I think I wrote that tree so I wouldn't trust it too much :)
>> > 
>> > musachy
>> > -- 
>> > "Hey you! Would you help me to carry the stone?" Pink Floyd
>> > 
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> > For additional commands, e-mail: user-help@struts.apache.org
>> > 
>> > 
>> > 


Re: Anyone using the Ajaxtags with Struts 2

Posted by stanlick <st...@gmail.com>.
You rock bro!  So is there a way to get the TreeItem attributes passed back
to the server?  If not, I am confused as to why they would be set on the
node object.



Musachy Barroso wrote:
> 
> On Thu, Aug 20, 2009 at 8:06 AM, stanlick<st...@gmail.com> wrote:
>> P.S. I was surprised to see that you had worked on this project Musachy.
>> You just pop up everywhere!
> 
> I think I wrote that tree so I wouldn't trust it too much :)
> 
> musachy
> -- 
> "Hey you! Would you help me to carry the stone?" Pink Floyd
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Anyone-using-the-Ajaxtags-with-Struts-2-tp25029536p25066974.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Anyone using the Ajaxtags with Struts 2

Posted by Musachy Barroso <mu...@gmail.com>.
On Thu, Aug 20, 2009 at 8:06 AM, stanlick<st...@gmail.com> wrote:
> P.S. I was surprised to see that you had worked on this project Musachy.
> You just pop up everywhere!

I think I wrote that tree so I wouldn't trust it too much :)

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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Anyone using the Ajaxtags with Struts 2

Posted by stanlick <st...@gmail.com>.
Thanks guys -- 

Actually, I needed a Q&D tree on a JSP page and it worked great.  The one
issue I am having though is this.  I am creating the tree by attaching
TreeItem nodes.  I am populating these nodes with attributes 


				Goal goal = goals.next();
				TreeItem item = new TreeItem(goal.getTitle(), goal.getTitle(),
						false);
				item.setAttributes("nodeType", "goal");
				item.setCollapsed(false);
				treeBuilder.add(item);

but cannot figure out how to get them passed back to the server as
parameters.

<ajax:htmlContent target="clicker" sourceClass="nodeClass"
	baseUrl="${doGoalTree}"
parameters="node={ajaxParameter},action=info"></ajax:htmlContent>

Any clues?

P.S. I was surprised to see that you had worked on this project Musachy. 
You just pop up everywhere!

Peace,
Scott


Musachy Barroso wrote:
> 
> They should work ok, but I see no reason why you would like to use
> that instead of jquery or prototype directly, to be honest.
> 
> musachy
> 
> On Tue, Aug 18, 2009 at 10:21 AM, stanlick<st...@gmail.com> wrote:
>>
>> I am trying to leverage the http://ajaxtags.sourceforge.net/ AjaxTags and
>> would like to see if anyone here might have tips before tearing in.  I
>> realize this might not be the best venue for the question, but hey, It's
>> Struts 2 sort of.
>>
>> Peace,
>> Scott
>> --
>> View this message in context:
>> http://www.nabble.com/Anyone-using-the-Ajaxtags-with-Struts-2-tp25029536p25029536.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> 
> 
> 
> -- 
> "Hey you! Would you help me to carry the stone?" Pink Floyd
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Anyone-using-the-Ajaxtags-with-Struts-2-tp25029536p25063918.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Anyone using the Ajaxtags with Struts 2

Posted by Musachy Barroso <mu...@gmail.com>.
They should work ok, but I see no reason why you would like to use
that instead of jquery or prototype directly, to be honest.

musachy

On Tue, Aug 18, 2009 at 10:21 AM, stanlick<st...@gmail.com> wrote:
>
> I am trying to leverage the http://ajaxtags.sourceforge.net/ AjaxTags and
> would like to see if anyone here might have tips before tearing in.  I
> realize this might not be the best venue for the question, but hey, It's
> Struts 2 sort of.
>
> Peace,
> Scott
> --
> View this message in context: http://www.nabble.com/Anyone-using-the-Ajaxtags-with-Struts-2-tp25029536p25029536.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Anyone using the Ajaxtags with Struts 2

Posted by Struts Two <st...@yahoo.ca>.
I have used it in one my applications. It is pretty simple and straigtforward. However, you are limited to the few tags provided. Not to mention that accessibility is a big issue.

I just recently moved a projed to production using native dojo 1.3.2 and struts 2 and it is awesome. I tested it with screen reader (JAWS) including a few visually impaired gentlemen and they could interact and work with dojo dijits with their screen readers.

regards,

--- On Tue, 8/18/09, stanlick <st...@gmail.com> wrote:

> From: stanlick <st...@gmail.com>
> Subject: Anyone using the Ajaxtags with Struts 2
> To: user@struts.apache.org
> Received: Tuesday, August 18, 2009, 5:21 PM
> 
> I am trying to leverage the http://ajaxtags.sourceforge.net/ AjaxTags and
> would like to see if anyone here might have tips before
> tearing in.  I
> realize this might not be the best venue for the question,
> but hey, It's
> Struts 2 sort of.
> 
> Peace,
> Scott
> -- 
> View this message in context: http://www.nabble.com/Anyone-using-the-Ajaxtags-with-Struts-2-tp25029536p25029536.html
> Sent from the Struts - User mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org