You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by st...@gmail.com on 2007/08/10 17:45:07 UTC

Dynamic Tree Example

I'm studying the dynamic tree example in the showcase, and there are a
couple problems.  First, when you view sources, the configuration for the
dynamicTreeSelectAction is not visible.  Also, as I inspect this action, I'm
discovering that its dynamicTreeSelect.jsp never displays the node
selected!  Is this example not finished?

-- 
Scott
stanlick@gmail.com

Re: Dynamic Tree Example

Posted by Ted Husted <hu...@apache.org>.
No worries: the full commit history of the codebase is browseable.

 * http://svn.apache.org/viewvc/struts/

Just drill down to see if there were any changes to the 2.0.x branch
or the trunk.

Note that for the trunk (which will be 2.1.x), the code for the "ajax
theme" was moved to a plugin.

-Ted.

On 8/14/07, Manu Mahajan <ma...@comprointertech.com> wrote:
> I have worked with the tree extensively but that was about two months
> ago with 2.0.6. I faced a lot of problems when I first encountered this
> and so I'll try and fix the showcase examples in the coming weekend and
> submit a patch next week . I hope not much would have changed between
> then and in the current version.
>
> Manu
>
> Ted Husted wrote:
> > We do try to tag the examples that are broken, in the hope that
> > someone will someday fix them. I just didn't realize that this one
> > wasn't working the way it should. The Showcase could use a lot of
> > work, especially in terms of explaining exactly what the example
> > should do. If you can fix the example, please submit a patch.
> > Otherwise, feel free to open a JIRA ticket suggesting that the example
> > be tagged as broken for the next release.
> >
> > -Ted.
> >
> > On 8/13/07, stanlick@gmail.com <st...@gmail.com> wrote:
> >
> >> Do you think leaving known broken code on the "Showcase" is a good idea
> >> realizing developers are flocking to this resource to figure out how to do
> >> things?  If it is known not to work, maybe it should say this or be removed
> >> from the Showcase!
> >>
> >> On 8/10/07, Musachy Barroso <mu...@gmail.com> wrote:
> >>
> >>> Yes the example had several problems on 2.0.x, some of them were
> >>> fixed, others are still there.
> >>>
> >>> musachy
> >>>
> >>> On 8/10/07, stanlick@gmail.com <st...@gmail.com> wrote:
> >>>
> >>>> I'm studying the dynamic tree example in the showcase, and there are a
> >>>> couple problems.  First, when you view sources, the configuration for
> >>>>
> >>> the
> >>>
> >>>> dynamicTreeSelectAction is not visible.  Also, as I inspect this action,
> >>>>
> >>> I'm
> >>>
> >>>> discovering that its dynamicTreeSelect.jsp never displays the node
> >>>> selected!  Is this example not finished?
> >>>>
> >>>> --
> >>>> Scott
> >>>> stanlick@gmail.com

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


RE: Dynamic Tree Example

Posted by Manu Mahajan <ma...@comprotechnologies.com>.
Hi Session

I am really sorry I couldn't work on the examples as I had promised. I have
just been extremely busy over the last few weeks. I want to contribute and
it's the first thing I will do when I get some time.

I have already answered your question on saving and restoring the state of a
tree.

For adding icons I am sure it can be done in the latest version dojo but I
will have to explore this a bit. I am not sure if it can be done with the
version of dojo bundled with struts. 

There is an example of loading a tree dynamically in the showcase but I
think what you are looking for is to load a partial tree and then load the
rest of the nodes based on what node is expanded. I haven't found any such
examples.

Interestingly we have a similar requirement in one of our projects and after
reading your mails in the morning I asked my boss to let me work on that :)

So I will be working on this for the next few days and I will update you if
I make any progress.

Manu

-----Original Message-----
From: Session A Mwamufiya [mailto:smwamufi@andrew.cmu.edu] 
Sent: Wednesday, September 05, 2007 10:39 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: Re: Dynamic Tree Example

Hi Manu,

You seem to have had lots of experience with s:tree; would you please help
me answer the following questions (with example code if you have them):
- how do you go about expanding the tree to the node level it was at before
a refresh?
- can you add icons (not changing the plus/minus ones) to the tree nodes
individually, to differentiate between the types?
- are there examples of lazy-loading data in a tree?

Thanks,
Session


> Thanks Manu.  I'm new with the tree, and am attempting to implement one
> for a project I'm working on.
> 
> I'm having a number of difficulties: - I can't manage to reload at the
> node level I want, it always reloads with root showing - it takes a long
> time to load
> 
> and I have a couple of feature questions: - can images be added depending
> on the type of the node object (category, question, answer, ...) - is
> there a functionality to move nodes around and do a check to ensure that
> they are allowed to be inserted in the new location or not.
> 
> I would be interesting to have a fully functional tree example in the
> showcase, as it would help answer a number of these questions.
> 
> Thanks for the effort, Session
> 
> 
>> I have worked with the tree extensively but that was about two months
>> ago with 2.0.6. I faced a lot of problems when I first encountered this
>> and so I'll try and fix the showcase examples in the coming weekend and
>> submit a patch next week . I hope not much would have changed between
>> then and in the current version.
>> 
>> Manu
>> 
>> Ted Husted wrote:
>>> We do try to tag the examples that are broken, in the hope that
>>> someone will someday fix them. I just didn't realize that this one
>>> wasn't working the way it should. The Showcase could use a lot of
>>> work, especially in terms of explaining exactly what the example
>>> should do. If you can fix the example, please submit a patch.
>>> Otherwise, feel free to open a JIRA ticket suggesting that the example
>>> be tagged as broken for the next release.
>>> 
>>> -Ted.
>>> 
>>> On 8/13/07, stanlick@gmail.com <st...@gmail.com> wrote:
>>> 
>>>> Do you think leaving known broken code on the "Showcase" is a good 
>>>> idea realizing developers are flocking to this resource to figure
>>>> out how to do things?  If it is known not to work, maybe it should
>>>> say this or be removed from the Showcase!
>>>> 
>>>> On 8/10/07, Musachy Barroso <mu...@gmail.com> wrote:
>>>> 
>>>>> Yes the example had several problems on 2.0.x, some of them were 
>>>>> fixed, others are still there.
>>>>> 
>>>>> musachy
>>>>> 
>>>>> On 8/10/07, stanlick@gmail.com <st...@gmail.com> wrote:
>>>>> 
>>>>>> I'm studying the dynamic tree example in the showcase, and
>>>>>> there are a couple problems.  First, when you view sources, the 
>>>>>> configuration for
>>>>>> 
>>>>> the
>>>>> 
>>>>>> dynamicTreeSelectAction is not visible.  Also, as I inspect
>>>>>> this action,
>>>>>> 
>>>>> I'm
>>>>> 
>>>>>> discovering that its dynamicTreeSelect.jsp never displays the 
>>>>>> node selected!  Is this example not finished?
>>>>>> 
>>>>>> -- Scott stanlick@gmail.com
>>>>>> 
>>>>>> 
>>>>> -- "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
>>>>> 
>>>>> 
>>>>> 
>>>> -- Scott stanlick@gmail.com
>>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For
>>> additional commands, e-mail: user-help@struts.apache.org
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For
>> additional commands, e-mail: user-help@struts.apache.org
>> 
>> 
>> 
> 
> 
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional
> commands, e-mail: user-help@struts.apache.org
> 
> 
> 


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




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


Re: Dynamic Tree Example

Posted by Session A Mwamufiya <sm...@andrew.cmu.edu>.
Hi Manu,

You seem to have had lots of experience with s:tree; would you please help me answer the following questions (with example code if you have them):
- how do you go about expanding the tree to the node level it was at before a refresh?
- can you add icons (not changing the plus/minus ones) to the tree nodes individually, to differentiate between the types?
- are there examples of lazy-loading data in a tree?

Thanks,
Session


> Thanks Manu.  I'm new with the tree, and am attempting to implement one
> for a project I'm working on.
> 
> I'm having a number of difficulties: - I can't manage to reload at the
> node level I want, it always reloads with root showing - it takes a long
> time to load
> 
> and I have a couple of feature questions: - can images be added depending
> on the type of the node object (category, question, answer, ...) - is
> there a functionality to move nodes around and do a check to ensure that
> they are allowed to be inserted in the new location or not.
> 
> I would be interesting to have a fully functional tree example in the
> showcase, as it would help answer a number of these questions.
> 
> Thanks for the effort, Session
> 
> 
>> I have worked with the tree extensively but that was about two months
>> ago with 2.0.6. I faced a lot of problems when I first encountered this
>> and so I'll try and fix the showcase examples in the coming weekend and
>> submit a patch next week . I hope not much would have changed between
>> then and in the current version.
>> 
>> Manu
>> 
>> Ted Husted wrote:
>>> We do try to tag the examples that are broken, in the hope that
>>> someone will someday fix them. I just didn't realize that this one
>>> wasn't working the way it should. The Showcase could use a lot of
>>> work, especially in terms of explaining exactly what the example
>>> should do. If you can fix the example, please submit a patch.
>>> Otherwise, feel free to open a JIRA ticket suggesting that the example
>>> be tagged as broken for the next release.
>>> 
>>> -Ted.
>>> 
>>> On 8/13/07, stanlick@gmail.com <st...@gmail.com> wrote:
>>> 
>>>> Do you think leaving known broken code on the "Showcase" is a good 
>>>> idea realizing developers are flocking to this resource to figure
>>>> out how to do things?  If it is known not to work, maybe it should
>>>> say this or be removed from the Showcase!
>>>> 
>>>> On 8/10/07, Musachy Barroso <mu...@gmail.com> wrote:
>>>> 
>>>>> Yes the example had several problems on 2.0.x, some of them were 
>>>>> fixed, others are still there.
>>>>> 
>>>>> musachy
>>>>> 
>>>>> On 8/10/07, stanlick@gmail.com <st...@gmail.com> wrote:
>>>>> 
>>>>>> I'm studying the dynamic tree example in the showcase, and
>>>>>> there are a couple problems.  First, when you view sources, the 
>>>>>> configuration for
>>>>>> 
>>>>> the
>>>>> 
>>>>>> dynamicTreeSelectAction is not visible.  Also, as I inspect
>>>>>> this action,
>>>>>> 
>>>>> I'm
>>>>> 
>>>>>> discovering that its dynamicTreeSelect.jsp never displays the 
>>>>>> node selected!  Is this example not finished?
>>>>>> 
>>>>>> -- Scott stanlick@gmail.com
>>>>>> 
>>>>>> 
>>>>> -- "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
>>>>> 
>>>>> 
>>>>> 
>>>> -- Scott stanlick@gmail.com
>>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For
>>> additional commands, e-mail: user-help@struts.apache.org
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For
>> additional commands, e-mail: user-help@struts.apache.org
>> 
>> 
>> 
> 
> 
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional
> commands, e-mail: user-help@struts.apache.org
> 
> 
> 


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


Re: Dynamic Tree Example

Posted by Session A Mwamufiya <sm...@andrew.cmu.edu>.
Thanks Manu.  I'm new with the tree, and am attempting to implement one for a project I'm working on.

I'm having a number of difficulties:
- I can't manage to reload at the node level I want, it always reloads with root showing
- it takes a long time to load

and I have a couple of feature questions:
- can images be added depending on the type of the node object (category, question, answer, ...)
- is there a functionality to move nodes around and do a check to ensure that they are allowed to be inserted in the new location or not.

I would be interesting to have a fully functional tree example in the showcase, as it would help answer a number of these questions.

Thanks for the effort,
Session


> I have worked with the tree extensively but that was about two months ago
> with 2.0.6. I faced a lot of problems when I first encountered this and so
> I'll try and fix the showcase examples in the coming weekend and submit a
> patch next week . I hope not much would have changed between then and in
> the current version.
> 
> Manu
> 
> Ted Husted wrote:
>> We do try to tag the examples that are broken, in the hope that someone
>> will someday fix them. I just didn't realize that this one wasn't
>> working the way it should. The Showcase could use a lot of work,
>> especially in terms of explaining exactly what the example should do. If
>> you can fix the example, please submit a patch. Otherwise, feel free to
>> open a JIRA ticket suggesting that the example be tagged as broken for
>> the next release.
>> 
>> -Ted.
>> 
>> On 8/13/07, stanlick@gmail.com <st...@gmail.com> wrote:
>> 
>>> Do you think leaving known broken code on the "Showcase" is a good
>>> idea realizing developers are flocking to this resource to figure out
>>> how to do things?  If it is known not to work, maybe it should say
>>> this or be removed from the Showcase!
>>> 
>>> On 8/10/07, Musachy Barroso <mu...@gmail.com> wrote:
>>> 
>>>> Yes the example had several problems on 2.0.x, some of them were 
>>>> fixed, others are still there.
>>>> 
>>>> musachy
>>>> 
>>>> On 8/10/07, stanlick@gmail.com <st...@gmail.com> wrote:
>>>> 
>>>>> I'm studying the dynamic tree example in the showcase, and there
>>>>> are a couple problems.  First, when you view sources, the
>>>>> configuration for
>>>>> 
>>>> the
>>>> 
>>>>> dynamicTreeSelectAction is not visible.  Also, as I inspect this
>>>>> action,
>>>>> 
>>>> I'm
>>>> 
>>>>> discovering that its dynamicTreeSelect.jsp never displays the
>>>>> node selected!  Is this example not finished?
>>>>> 
>>>>> -- Scott stanlick@gmail.com
>>>>> 
>>>>> 
>>>> -- "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
>>>> 
>>>> 
>>>> 
>>> -- Scott stanlick@gmail.com
>>> 
>> 
>> --------------------------------------------------------------------- To
>> unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional
>> commands, e-mail: user-help@struts.apache.org
>> 
>> 
>> 
>> 
>> 
> 
> 
> 
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional
> commands, e-mail: user-help@struts.apache.org
> 
> 
> 


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


Re: Dynamic Tree Example

Posted by Manu Mahajan <ma...@comprointertech.com>.
I have worked with the tree extensively but that was about two months 
ago with 2.0.6. I faced a lot of problems when I first encountered this 
and so I'll try and fix the showcase examples in the coming weekend and 
submit a patch next week . I hope not much would have changed between 
then and in the current version.

Manu

Ted Husted wrote:
> We do try to tag the examples that are broken, in the hope that
> someone will someday fix them. I just didn't realize that this one
> wasn't working the way it should. The Showcase could use a lot of
> work, especially in terms of explaining exactly what the example
> should do. If you can fix the example, please submit a patch.
> Otherwise, feel free to open a JIRA ticket suggesting that the example
> be tagged as broken for the next release.
>
> -Ted.
>
> On 8/13/07, stanlick@gmail.com <st...@gmail.com> wrote:
>   
>> Do you think leaving known broken code on the "Showcase" is a good idea
>> realizing developers are flocking to this resource to figure out how to do
>> things?  If it is known not to work, maybe it should say this or be removed
>> from the Showcase!
>>
>> On 8/10/07, Musachy Barroso <mu...@gmail.com> wrote:
>>     
>>> Yes the example had several problems on 2.0.x, some of them were
>>> fixed, others are still there.
>>>
>>> musachy
>>>
>>> On 8/10/07, stanlick@gmail.com <st...@gmail.com> wrote:
>>>       
>>>> I'm studying the dynamic tree example in the showcase, and there are a
>>>> couple problems.  First, when you view sources, the configuration for
>>>>         
>>> the
>>>       
>>>> dynamicTreeSelectAction is not visible.  Also, as I inspect this action,
>>>>         
>>> I'm
>>>       
>>>> discovering that its dynamicTreeSelect.jsp never displays the node
>>>> selected!  Is this example not finished?
>>>>
>>>> --
>>>> Scott
>>>> stanlick@gmail.com
>>>>
>>>>         
>>> --
>>> "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
>>>
>>>
>>>       
>> --
>> Scott
>> stanlick@gmail.com
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>
>   



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


Re: Dynamic Tree Example

Posted by Roger Varley <ro...@googlemail.com>.
>
> What I would really like to do is create a model Petshop application
> for Struts 2. I've setup a Google Code site for this purpose, but I
> haven't had a chance to seriously pursue it yet.
>
>  * http://code.google.com/p/sq1-petstore/
>
> My dream would be to have a full set of use cases, a reasonable set of
> formal requirements, and full suite of  JUnit and Selenium tests for
> Petstore, along the lines of what I do for my own projects.
>

Would there be merit in suggesting that maybe we should have two seperate 
versions. One "traditional" implementation - minimal javascript, no ajax etc 
and a second version using the full gamut of available technologies.

Regards
 

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


Re: Dynamic Tree Example

Posted by Dave Newton <ne...@yahoo.com>.
Typo; the keys are like totally right next to each
other.

--- Ted Husted wrote:
> Patches are the answer.
> On 8/14/07, Dave Newton wrote:
>> Sounds like a great opportunity to get on the S2
>> team and pull things that don't work or make them 
>> work!



       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  

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


Re: Dynamic Tree Example

Posted by Ted Husted <hu...@apache.org>.
Patches are the answer.

On 8/14/07, Dave Newton <ne...@yahoo.com> wrote:
> Sounds like a great opportunity to get on the S2 team
> and pull things that don't work or make them work!

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


Re: Dynamic Tree Example

Posted by Ted Husted <hu...@apache.org>.
Yes, we do mark Showcase examples to be non-functional when we realize
they are not working properly. Unfortunately, it's not always obvious
how some of these example are suppose to work. In the past, when I've
found an example is not working, we've tagged it as such ("broken"),
and most of these were ultimately fixed. If you would like to help,
please open a JIRA ticket so that the problem is addressed before the
next release.

It might even be a good idea for someone to start a new Showcase
application that uses a consistent set of practices. The current
implementation kicked around the WebWork project for several years
before landing here, and it might be showing its age.

Honestly, I wouldn't consider even the MailReader a model application.
In a lot of ways, it is a typical and realistic implementation, but I
would not call it ideally designed.

What I would really like to do is create a model Petshop application
for Struts 2. I've setup a Google Code site for this purpose, but I
haven't had a chance to seriously pursue it yet.

 * http://code.google.com/p/sq1-petstore/

My dream would be to have a full set of use cases, a reasonable set of
formal requirements, and full suite of  JUnit and Selenium tests for
Petstore, along the lines of what I do for my own projects.

-Ted.

On 8/14/07, stanlick@gmail.com <st...@gmail.com> wrote:
> I think it should not be "ShowCase'd" if it is known not to work.
> Developers like me, are pouring over this code trying to glean insight into
> how to wire up these bits and parts.  After many hours of exploration and
> finally going to a several other semi-related web sites, I began to realize
> there was no way the example could be expected to work!  I would rather have
> those hours back or have spent them looking at code that was expected to be
> used as model code.
>
> Scott
>
> On 8/13/07, Ted Husted <hu...@apache.org> wrote:
> >
> > We do try to tag the examples that are broken, in the hope that
> > someone will someday fix them. I just didn't realize that this one
> > wasn't working the way it should. The Showcase could use a lot of
> > work, especially in terms of explaining exactly what the example
> > should do. If you can fix the example, please submit a patch.
> > Otherwise, feel free to open a JIRA ticket suggesting that the example
> > be tagged as broken for the next release.
> >
> > -Ted.
> >
> > On 8/13/07, stanlick@gmail.com <st...@gmail.com> wrote:
> > > Do you think leaving known broken code on the "Showcase" is a good idea
> > > realizing developers are flocking to this resource to figure out how to
> > do
> > > things?  If it is known not to work, maybe it should say this or be
> > removed
> > > from the Showcase!
> > >
> > > On 8/10/07, Musachy Barroso <mu...@gmail.com> wrote:
> > > >
> > > > Yes the example had several problems on 2.0.x, some of them were
> > > > fixed, others are still there.
> > > >
> > > > musachy
> > > >
> > > > On 8/10/07, stanlick@gmail.com <st...@gmail.com> wrote:
> > > > > I'm studying the dynamic tree example in the showcase, and there are
> > a
> > > > > couple problems.  First, when you view sources, the configuration
> > for
> > > > the
> > > > > dynamicTreeSelectAction is not visible.  Also, as I inspect this
> > action,
> > > > I'm
> > > > > discovering that its dynamicTreeSelect.jsp never displays the node
> > > > > selected!  Is this example not finished?
> > > > >
> > > > > --
> > > > > Scott
> > > > > stanlick@gmail.com

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


Re: Dynamic Tree Example

Posted by Dave Newton <ne...@yahoo.com>.
--- stanlick@gmail.com wrote:
> I think it should not be "ShowCase'd" if it is known
> not to work.

Sounds like a great opportunity to get on the S2 team
and pull things that don't work or make them work!

d.



      ____________________________________________________________________________________
Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz

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


Re: Dynamic Tree Example

Posted by st...@gmail.com.
I think it should not be "ShowCase'd" if it is known not to work.
Developers like me, are pouring over this code trying to glean insight into
how to wire up these bits and parts.  After many hours of exploration and
finally going to a several other semi-related web sites, I began to realize
there was no way the example could be expected to work!  I would rather have
those hours back or have spent them looking at code that was expected to be
used as model code.

Scott

On 8/13/07, Ted Husted <hu...@apache.org> wrote:
>
> We do try to tag the examples that are broken, in the hope that
> someone will someday fix them. I just didn't realize that this one
> wasn't working the way it should. The Showcase could use a lot of
> work, especially in terms of explaining exactly what the example
> should do. If you can fix the example, please submit a patch.
> Otherwise, feel free to open a JIRA ticket suggesting that the example
> be tagged as broken for the next release.
>
> -Ted.
>
> On 8/13/07, stanlick@gmail.com <st...@gmail.com> wrote:
> > Do you think leaving known broken code on the "Showcase" is a good idea
> > realizing developers are flocking to this resource to figure out how to
> do
> > things?  If it is known not to work, maybe it should say this or be
> removed
> > from the Showcase!
> >
> > On 8/10/07, Musachy Barroso <mu...@gmail.com> wrote:
> > >
> > > Yes the example had several problems on 2.0.x, some of them were
> > > fixed, others are still there.
> > >
> > > musachy
> > >
> > > On 8/10/07, stanlick@gmail.com <st...@gmail.com> wrote:
> > > > I'm studying the dynamic tree example in the showcase, and there are
> a
> > > > couple problems.  First, when you view sources, the configuration
> for
> > > the
> > > > dynamicTreeSelectAction is not visible.  Also, as I inspect this
> action,
> > > I'm
> > > > discovering that its dynamicTreeSelect.jsp never displays the node
> > > > selected!  Is this example not finished?
> > > >
> > > > --
> > > > Scott
> > > > stanlick@gmail.com
> > > >
> > >
> > >
> > > --
> > > "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
> > >
> > >
> >
> >
> > --
> > Scott
> > stanlick@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Scott
stanlick@gmail.com

Re: Dynamic Tree Example

Posted by Ted Husted <hu...@apache.org>.
We do try to tag the examples that are broken, in the hope that
someone will someday fix them. I just didn't realize that this one
wasn't working the way it should. The Showcase could use a lot of
work, especially in terms of explaining exactly what the example
should do. If you can fix the example, please submit a patch.
Otherwise, feel free to open a JIRA ticket suggesting that the example
be tagged as broken for the next release.

-Ted.

On 8/13/07, stanlick@gmail.com <st...@gmail.com> wrote:
> Do you think leaving known broken code on the "Showcase" is a good idea
> realizing developers are flocking to this resource to figure out how to do
> things?  If it is known not to work, maybe it should say this or be removed
> from the Showcase!
>
> On 8/10/07, Musachy Barroso <mu...@gmail.com> wrote:
> >
> > Yes the example had several problems on 2.0.x, some of them were
> > fixed, others are still there.
> >
> > musachy
> >
> > On 8/10/07, stanlick@gmail.com <st...@gmail.com> wrote:
> > > I'm studying the dynamic tree example in the showcase, and there are a
> > > couple problems.  First, when you view sources, the configuration for
> > the
> > > dynamicTreeSelectAction is not visible.  Also, as I inspect this action,
> > I'm
> > > discovering that its dynamicTreeSelect.jsp never displays the node
> > > selected!  Is this example not finished?
> > >
> > > --
> > > Scott
> > > stanlick@gmail.com
> > >
> >
> >
> > --
> > "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
> >
> >
>
>
> --
> Scott
> stanlick@gmail.com

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


Re: Dynamic Tree Example

Posted by st...@gmail.com.
Do you think leaving known broken code on the "Showcase" is a good idea
realizing developers are flocking to this resource to figure out how to do
things?  If it is known not to work, maybe it should say this or be removed
from the Showcase!

On 8/10/07, Musachy Barroso <mu...@gmail.com> wrote:
>
> Yes the example had several problems on 2.0.x, some of them were
> fixed, others are still there.
>
> musachy
>
> On 8/10/07, stanlick@gmail.com <st...@gmail.com> wrote:
> > I'm studying the dynamic tree example in the showcase, and there are a
> > couple problems.  First, when you view sources, the configuration for
> the
> > dynamicTreeSelectAction is not visible.  Also, as I inspect this action,
> I'm
> > discovering that its dynamicTreeSelect.jsp never displays the node
> > selected!  Is this example not finished?
> >
> > --
> > Scott
> > stanlick@gmail.com
> >
>
>
> --
> "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
>
>


-- 
Scott
stanlick@gmail.com

Re: Dynamic Tree Example

Posted by Musachy Barroso <mu...@gmail.com>.
Yes the example had several problems on 2.0.x, some of them were
fixed, others are still there.

musachy

On 8/10/07, stanlick@gmail.com <st...@gmail.com> wrote:
> I'm studying the dynamic tree example in the showcase, and there are a
> couple problems.  First, when you view sources, the configuration for the
> dynamicTreeSelectAction is not visible.  Also, as I inspect this action, I'm
> discovering that its dynamicTreeSelect.jsp never displays the node
> selected!  Is this example not finished?
>
> --
> Scott
> stanlick@gmail.com
>


-- 
"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