Re: Has Basic Portal been tested when there are no entries in Database?
Vic Cekvenich <[email protected]> Thu, 08 May 2003 12:37:33 -0400
| Newsgroups | gmane.comp.java.mvc.devel |
|---|---|
| Organization | baseBeans Engineering |
| Message-ID | <[email protected]> |
I could probobly create an better handling of this, with a onNoRowsFound or something.... but you have CVS rights. Rick Reumann wrote: >Vic, > >I'm curious, have you tried testing out basic portal when there is >initially nothing in the database? In other words, no comments, no >users, etc. I'm back to working on understanding the principles of how >the basic portal framework works, but as I do so I run into some 'null' >problems for the HashMap _current when there are no database rows to >begin with. When an app is first moved into production it is possible >certain tables will be empty so this has to be accounted for. I'll work >through the framework some more and maybe things will become clearer. > > > > -- Vic Cekvenich, Struts Instructor, 1-800-917-JAVA Advanced <a href ="baseBeans.com">Struts Training</a> and project recovery in North East. Open Source <a href ="baseBeans.com">Content Management</a> basic Portal sofware Best practice<a href ="baseBeans.com">Supported Struts v.1.1</a> framework ScafflodingXPress