RE: [Tiles] putList() Displaying

2003-03-31 Thread Hookom, Jacob John
Why can't the tag or the tiles controller do something along the lines of instanceof, if the property is a list-type, then process each member of the list to the page? I thought everyone was getting away from scriptlets -Jacob -Original Message- From: Cedric

RE: [OT] Design pattern

2003-03-31 Thread Hookom, Jacob John
Either visitor or filter pattern works well for transactions -Original Message- From: ALAMI Ahmed [mailto:[EMAIL PROTECTED] Sent: Mon 3/31/2003 8:57 AM To: Struts Users Mailing List Cc: Subject: [OT] Design pattern

RE: Design Doubt

2003-03-26 Thread Hookom, Jacob John
Create an action that takes in the start id and the quantity to scroll over, and your query (total of 3 params). Read up on your DB specific SQL language for specifying a start id and max rows to return (not applicable for this mailing list). Enstate whatever kind of caching you want, but

RE: [OT] struts/hibernate in Oracle mag

2003-03-23 Thread Hookom, Jacob John
Why does no one use Jakarta's own OJB for persistence? I think it's the most wonderful thing in the world, and the caching options with OJB are unbelievable. -Jacob -Original Message- From: Dan Allen [mailto:[EMAIL PROTECTED] Sent: Sun 3/23/2003 4:31 PM

RE: Modern Computing (was RE: [OT] Ancient computing)

2003-03-05 Thread Hookom, Jacob John
I have: Sony GRV550 P4 2.4GHz Laptop w/ 512 MB DDR and 16 Screen w/ XP Pro Server P4 1.5GHz 1GB RDRAM, 15 LCD, 200 GB HD with 8MB cache, Red Hat 8 -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Wed 3/5/2003 10:18 AM To: Struts

[OT] RE: Modern Computing (was RE: [OT] Ancient computing)

2003-03-05 Thread Hookom, Jacob John
- From: Hookom, Jacob John [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 11:11 AM To: Struts Users Mailing List Subject: RE: Modern Computing (was RE: [OT] Ancient computing) I have: Sony GRV550 P4 2.4GHz Laptop w/ 512

RE: [OT] RE: Modern Computing (was RE: [OT] Ancient computing)

2003-03-05 Thread Hookom, Jacob John
- From: Hookom, Jacob John [mailto:[EMAIL PROTECTED] Sent: 05 March 2003 17:38 To: Struts Users Mailing List Subject: [OT] RE: Modern Computing (was RE: [OT] Ancient computing) I love my laptop, well, I shouldn't call it a laptop-- more

RE: tags to deal with hashmaps

2003-02-19 Thread Hookom, Jacob John
You want to look at taglibs -- standard aka JSTL, also follow the links to download the user manual that includes a how to. In addition, the JSTL (standard taglibs) download includes a deployable war that includes easy to follow examples of each tags usage. You can easily do what you are

RE: [OT - Java] Need a recommendation on a Design Pattern class

2003-02-11 Thread Hookom, Jacob John
You can fly me to your offices and I will talk for 5 days on design patterns :-) -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tue 2/11/2003 11:35 AM To: '[EMAIL PROTECTED]' Cc: Subject: [OT - Java] Need a

RE: [OT] Modeling tools

2003-02-10 Thread Hookom, Jacob John
I like Together much better than Rational for UML and sequence diagrams. For lazy programmers, Together will take your jar and do all your diagrams for you, if you ask it nicely. -Jacob -Original Message- From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]]

RE: How to handle Collections (List,Map etc.)

2003-02-10 Thread Hookom, Jacob John
request.setAttribute(collection, employeeList); return new ActionForward(hello.jsp); STRUTS: logic:iterate id=employee name=collection Employee Name: bean:write name=employee property=name/ /logic:iterate JSTL (Preferred): c:forEach var=employee items=${collection} Employee Name:

RE: [OT] dummy data tool

2003-02-09 Thread Hookom, Jacob John
Or an intern. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED]] Sent: Mon 2/10/2003 12:05 AM To: 'Struts Users Mailing List' Cc: Subject: RE: [OT] dummy data tool Well, if you are using

RE: [OT] RE: Automatic refresh - IS THIS POSSIBLE?

2003-01-30 Thread Hookom, Jacob John
I've done the please wait page for uploads before, I made a div layer that sat on top of the page when the submit button was hit. The layer that poppped up had an option to cancel to prevent users from hanging on a bad request. -Jacob -Original Message- From: Pani,

RE: [OT] RE: Automatic refresh - IS THIS POSSIBLE?

2003-01-30 Thread Hookom, Jacob John
How would you even go about attaching a listener to the load time? That's something that of course, would need to be presented at the client side and somehow tied into the browser? -Jacob -Original Message- From: Michael C. Clark [mailto:[EMAIL PROTECTED]]

[OT] RE: Not spam...I swear--

2003-01-15 Thread Hookom, Jacob John
I could send you my resume if you would like. The CS program I'm in starts you in Java your first year and emphasizes on design patterns and software development. The material is so up to date that the department even requested Simon Chappell (very well known on the Struts-User mailing list)

RE: The best way for learning struts (stupid question)

2003-01-15 Thread Hookom, Jacob John
I agree with Andrew about jumping into it. Really though, you should become familiar with J2EE Design Patterns, there are quite a few books out there to pick up. Once you know the patterns, then things just come easier when you see people talk about Service Layers and MVC, etc. One good

RE: changing ActionForm to be a Java interface

2003-01-14 Thread Hookom, Jacob John
Is the resolution of this discussion that I shouldn't ever do something like this: public interface Employee extends Serializable public class EmployeeObject implements Employee public class EmployeeForm extends ActionForm implements Employee public ActionForward execute(.) throws .. {

RE: changing ActionForm to be a Java interface

2003-01-14 Thread Hookom, Jacob John
, Hookom, Jacob John wrote: Date: Tue, 14 Jan 2003 22:24:22 -0600 From: Hookom, Jacob John [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: changing ActionForm

RE: Compliment Frameworks

2002-12-19 Thread Hookom, Jacob John
OJB gets my vote too, it wouldn't be that hard to write/use a bean serializer like Betwixt to turn your beans or your application/session/request scope variables to xml for XSLT transformation. Stay clear of cocoon for now, I guess they are working on revamping the thing from near scratch (or

RE: Compliment Frameworks

2002-12-19 Thread Hookom, Jacob John
http://access1.sun.com/jdo/ -Original Message- From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] Sent: Thu 12/19/2002 10:55 AM To: 'Struts Users Mailing List' Cc: Subject: RE: Compliment Frameworks O/R is not

Context Based Rollbacks from Action

2002-12-13 Thread Hookom, Jacob John
I'm looking for best practices for context based rollbacks. An example would be: department.do?dptId=4559 --submit on addEmployeeForm.do --error occurred, rollback to department.do?dptId=4559 Of course the departmentId would be passed in the employee form, so it could be passed back in the

Context Based Action Rollback

2002-12-12 Thread Hookom, Jacob John
I'm looking for best practices for context based rollbacks. An example would be: department.do?dptId=4559 --submit on addEmployeeForm.do --error occurred, rollback to department.do?dptId=4559 Of course the departmentId would be passed in the employee form, so it could be passed back in the

RE: Looking for Struts powerpoint slides

2002-12-03 Thread Hookom, Jacob John
They are very good slides! They also cover ideas of abstraction and layering into the Model, again very good stuff. The only problem with them is that you don't get Simon's witty audio commentary with them ;-) Jacob Hookom Comprehensive Computer Science University of Wisconsin, Eau Claire

RE: [OT] caching drop-down lists

2002-12-02 Thread Hookom, Jacob John
It wouldn't be too difficult to write your own softreference cache that would store your collections. That way, you can store as much as you want/ that the VM can handle public class DropDownCache() { private Map map; public Collection getDropDown(String key) {

[OT] RE: [Struts Tip] #18 - Use EJBs with care

2002-12-02 Thread Hookom, Jacob John
That delightful picture is now hanging at the front of our CS lab ;-) -Original Message- From: James [mailto:[EMAIL PROTECTED]] Sent: Mon 12/2/2002 9:56 PM To: 'Struts Users Mailing List' Cc: Subject: RE: [Struts Tip] #18 - Use EJBs

RE: Map iterate problem

2002-11-12 Thread Hookom, Jacob John
Your multimap must be an instance of java.util.Map to get logic:iterate to recognize/handle it properly. -Original Message- From: Mark Ayad [mailto:mark;javamark.com] Sent: Tue 11/12/2002 9:17 AM To: Struts Users Mailing List Cc:

RE: Emiting JSP tag ?

2002-11-05 Thread Hookom, Jacob John
Why not do a filter of some sort that catches requests? Logic would follow: boolean createJsp = false; Select dateLastModified, destination from tbl_pages if (!File(destination).exists()) createJsp = true; else if (File(destination).lastModified() dateLastModified) createJsp = true;

RE: displaying an aggregated label for html:options

2002-11-04 Thread Hookom, Jacob John
Add a method to your bean that says getFullName() which concats the first name and last name. -Original Message- From: Allison Sugar [mailto:allison.sugar;datastay.com] Sent: Mon 11/4/2002 3:16 PM To: [EMAIL PROTECTED] Cc: Subject:

RE: Zero-copy persistence with Struts?

2002-10-25 Thread Hookom, Jacob John
I guess I'm lost as to why CachedRowSet is a zero copy? The source code for the basicPortal's still copies all the data into another, internal collection. Isn't that copying the data or did I miss the definition of zero copy? With OJB, objects are placed in a cache, so if you are querying

RE: Get ans Set automatic

2002-10-25 Thread Hookom, Jacob John
Most IDE's have it built in. I prefere Eclipse as an IDE and it's free at www.eclipse.org -Original Message- From: BARADAT Benoit [mailto:benoit.baradat;cramif.cnamts.fr] Sent: Fri 10/25/2002 2:49 AM To: Struts Users Mailing List Cc:

RE: Get ans Set automatic

2002-10-25 Thread Hookom, Jacob John
You're too quick for me! On Friday 25 October 2002 17:22, Hookom, Jacob John wrote: Most IDE's have it built in. I prefere Eclipse as an IDE and it's free at www.eclipse.org -- To unsubscribe, e-mail: mailto:struts

RE: DAO or ... ?

2002-10-14 Thread Hookom, Jacob John
you should pick up Design Patterns - Elements of Reusable Object-Oriented Software by Gamma, Helm, Johnshon and Vlissides under Addison-Wesley Publishing it's the bible for design patterns -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]

RE: DAO or ... ?

2002-10-14 Thread Hookom, Jacob John
the book he was referring to when he said GoF. They are called the Gang of Four. - Original Message - From: Hookom, Jacob John [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, October 14, 2002 2:12 PM Subject: RE

RE: DAO or ... ?

2002-10-14 Thread Hookom, Jacob John
, October 14, 2002 2:16 PM To: Struts Users Mailing List Subject: Re: DAO or ... ? That's the book he was referring to when he said GoF. They are called the Gang of Four. - Original Message - From: Hookom, Jacob John

RE: DAO or ... ?

2002-10-14 Thread Hookom, Jacob John
we are taught patterns in programming through example, which means we learn about it one day in lecture, then we get an absurdly complex assignment to make sure we not only know the pattern, but to also make sure that we have no social life. I can't complain though, the program is nationally

RE: action include or forward attribute not working?

2002-10-14 Thread Hookom, Jacob John
Kael, this is MVC, you should never see *.jsp ;-) We went over this before in lab -Original Message- From: Teh, Kah Loong Sent: Mon 10/14/2002 3:15 PM To: Struts Users Mailing List Cc: Subject: RE: action include or forward attribute

[OT] RE: action include or forward attribute not working?

2002-10-14 Thread Hookom, Jacob John
that require no pre-processing, we used direct calls to the JSP. Simon -Original Message- From: Hookom, Jacob John [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 3:19 PM To: Struts Users Mailing List Subject: RE

RE: [OT] RE: action include or forward attribute not working?

2002-10-14 Thread Hookom, Jacob John
to JSP can be fine if there is no pre-processing required on a page. Any page that needs any setup should be called through an appropriate action. Simon -Original Message- From: Hookom, Jacob John [mailto:[EMAIL PROTECTED]] Sent: Monday, October

RE: [Contributing] Re: all this traffic

2002-09-29 Thread Hookom, Jacob John
I agree, from observing what others are developing, it seems that about 80% of the applications are for intranets. I know even our campus is using struts for various project management applications. Could we offer links to the sites? No. Is the presentation layer what counts? No. What

RE: Cannot load JDBC driver class 'null'

2002-09-27 Thread Hookom, Jacob John
You are missing the fact that this is struts-users, not tomcat-users -Original Message- From: Tuan H. Le [mailto:[EMAIL PROTECTED]] Sent: Fri 9/27/2002 6:45 PM To: Struts Users Mailing List (E-mail) Cc: Subject: Cannot load JDBC driver

RE: Small Complaint - Struts Impl.

2002-05-19 Thread Hookom, Jacob John
I've done the same thing with handling logins, but I put a stack in the session that stores request tokens, so I can keep forwarding the user elsewhere and just keep popping the requests off the stack as form tasks are completed (essentially rollbacks) -Original Message-