Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Dynamic Tree Example

Dynamic Tree Example

2007-08-14       - By Ted Husted

 Back
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@(protected) <stanlick@(protected)> 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 <husted@(protected)> 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@(protected) <stanlick@(protected)> 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 <musachy@(protected)> 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@(protected) <stanlick@(protected)> 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@(protected)

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.