Re: Who decides?

2005-09-12 Thread Brandon Mercer
Steve Beaver wrote: >Let me give everyone a major hint. What most "programmers" are doing today >is NOT >even close to Innovative. The guys that did the real work, started in this >IT business back >in the 1960' and 1970's, when his business WAS "Rocket Science" > > I'd have to agree. We're b

Re: nested and

2005-09-08 Thread Brandon Mercer
Lombart Vincent (DBB) wrote: >That's the kind of solution I was looking at, although using with >included might be more robust. But I would prefer to use the action >name rather than the direct url. > > Eh, good call! I was trying to quickly relay a point and I don't remeber the syntax

Re: nested and

2005-09-08 Thread Brandon Mercer
Lombart Vincent (DBB) wrote: >Dear all, > >Does anybody know why the following JSP code does not work: > > > > > > > paramName="icol"> > > > > > > > > ${icol.monitor} What abo

Re: Linking to Stylesheets

2005-05-31 Thread Brandon Mercer
Adam Lipscombe wrote: >Folks, > > >Our JSP's use stylesheets referenced by a standard HTML link tag. E.g. rel="stylesheet" href="pages/calendar/calendar.css"> > > >The graphic designers are complaining 'cos on-the-fly changes made in a >stylesheet does not automatically force a JSP to get re-compi

Re: Nested Beans

2005-05-20 Thread Brandon Mercer
Hubert Rabago wrote: >You might find the nested tags interesting: > ><%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %> > > > > > > > > > > > > Still a bit miffed. I'm not sure if it's beanutils that is not copying the List into the new bean... or i

Re: Nested Beans

2005-05-20 Thread Brandon Mercer
Hubert Rabago wrote: >You might find the nested tags interesting: > ><%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %> > > > > > > > > > > > >Hubert > > Looks like what I want to do. I'll go check it out, thanks for the link. Brandon

Nested Beans

2005-05-20 Thread Brandon Mercer
Hello Everyone, I've got an easy one, that is stupifying me because of my tiredness. I've got a POJO with a List in it. The List is a list of beans. In my JSP page I'm trying to iterate over the list of beans. Here goes: public class Information { private String name = null; private St

Re: Tag inside a cell.

2005-04-05 Thread Brandon Mercer
Marcelo Epstein wrote: > Thanks Jeff, > > But it is not working. I inserted : > > table { empty-cells: show; } > inside my css file. > > But the cells when the attribute of the bean is null still appears no > border. :-( > > Any sugestion? Or sample code? > You'll have to make sure that the table

Re: Multi Step Forms

2005-04-04 Thread Brandon Mercer
Brian McGovern wrote: >Sounds good. I think I want to only have 1 write to the db at the end of >Action3, and im hoping to not use the session cause this app is gonna have >alot of users. By saving it on the page, are you talkin about using hidden >form fields across the 3 pages or can i set

Re: Multi Step Forms

2005-04-04 Thread Brandon Mercer
Brian McGovern wrote: >I have a situation where i need to have a multi screen form, lets say 3 steps. > On the successfull validation of the 3rd step. I want to save the data into >the DB. This data would have been collected starting on step one, through >step 3 and ecapsulated in 1 or more o

Re: Is It Possible to Code Using Struts and JSF at the Same Time?

2005-04-01 Thread Brandon Mercer
Frank W. Zammetti wrote: > Craig McClanahan wrote: > >> Feel free to continue using Struts, however, if that floats *your* boat. > > > It's not really as simple as that though, is it Craig? > > You have a great deal of sway, your opinion carries a lot of weight. > You have earned that without ques

Re: The F5 problem - Best Practice (ActionHierarchy)

2005-03-23 Thread Brandon Mercer
Bernd Schiffer wrote: > Hi Leon. > > I did what you mentioned as the second approach and used a token > (precisely: locking mechanism, because in my case it's not "delete" > but "edit") to avoid F5 problems. But I'm not happy with that, > because, you already said that, the user sees "edit.do" in

Re: multi-page validation form

2005-03-22 Thread Brandon Mercer
ork. Other than that, I don't think I can offer much more help. Good luck! Brandon >property >http://struts.apache.org/userGuide/dev_validator.html > > > >- Original Message - >From: "Brandon Mercer" <[EMAIL PROTECTED]> >To: "Struts Users Ma

Re: multi-page validation form

2005-03-22 Thread Brandon Mercer
rm.setPage(2); > >to set the this property. So I'm effectively submitting a form with the >hidden page property set to 2. >any ideas what else could be stopping it? > >- Original Message - >From: "Brandon Mercer" <[EMAIL PROTECTED]> >To: "Struts U

Re: multi-page validation form

2005-03-22 Thread Brandon Mercer
Jack Perrett wrote: >I'm trying to create a form that will be validated over a series of jsp's. I'm >using the page property with individual fields to specify whether they should >be validated on a particular page and then setting the hidden page property to >whatever the corurrent jsp page. >

Re: Two cancel buttons in one form

2005-03-22 Thread Brandon Mercer
Abdullah Jibaly wrote: >Hi all, > >I want to have two cancel buttons in a form, however I run into the problem of >not being able to distinguish which one is being pressed (one cancels the >whole operation and the other returns to the first screen). The reason is that >they both use the Globals

Re: Spring Framework Good or Bad

2005-03-02 Thread Brandon Mercer
Mathew, Manoj wrote: Hi guys I am in the design face of a huge J2ee web application. Though my application is a very good candidate to go for EJBs, I am so reluctant to go with it, based on my previous bad experiences. I was looking at "Spring". What you guys think about that? Spring is great.

Re: AppFuse - Impressions?

2005-03-02 Thread Brandon Mercer
David Johnson wrote: Related question. Isnt spring sort of an alternative to Struts? Can they work together? How? :) Yes, struts+spring is the default for the appfuse toolkit. And they play together WONDERFULLY. For instance, lets say that you have a view you'd like to use... Jasper Reports

Re: Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Brandon Mercer
Joe Hertz wrote: I've been hearing this from the Spring set. I'm waiting for a good book to come out on it. www.springlive.com a REALLY good book for more than just spring. It's 30 bucks online, money WELL spent. Brandon - T

Re: Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Brandon Mercer
Joe Hertz wrote: Curious as to which concept Struts/Hibernate implementers like more for implementation: #1- Ted Husted's example of Struts and Hibernate. Stick the Hibernate Session object into the httpServletRequest. Every action has a fresh Hibernate Session raring to go if it needs it. Then aga

Re: AW: Multi-select file chooser

2005-03-01 Thread Brandon Mercer
Slattery, Tim - BLS wrote: Yes, I can. The limitation is that for every post or get, you can only have ONE multipart/mime file. When you have multiple elements you actually perform multiple posts to submit each one. I disagree. You can have any number of elements in a web page. Any su

Re: AW: Multi-select file chooser

2005-02-28 Thread Brandon Mercer
Frank W. Zammetti wrote: How is it a limitation Brandon? It IS in fact possible to upload multiple files at one time... The only thing that isn't possible is selecting more than one file at a time using nothing but a form element. Can you elaborate on what the limitation is? Yes, I can. The

Re: AW: Multi-select file chooser

2005-02-28 Thread Brandon Mercer
Frank W. Zammetti wrote: Ok, let me play a bit tonight and see what I can come up with. I'm more worried about the server-side processing than the front-end, but even that shouldn't be terrible. I'll let you know what I come up with tomorrow... The problems you all are talking about are limit

Re: Development Tool

2005-02-12 Thread Brandon Mercer
Metin Erksan wrote: hi what are its advantages ? what did you use before ? It's a very cleanly laid out tool (which is basically a build script on steriods) that creates validation, jsp forms, form, action, managers, DAO, test classes, database tables and everything like that just from one *s

Development Tool

2005-02-11 Thread Brandon Mercer
Hello Everyone, I found this really useful development tool and wanted to share it for anyone who hasn't already found it. It's called AppFuse. http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse great documentation and it works really well too. Have fun Brandon --

Struts Wireless Question

2005-02-09 Thread Brandon Mercer
Does anyone in here have any experience converting existing struts applications to work on wireless? If so, I'd appreciate any docs/advice you could give. Also, if anyone knows of a linux emulator that I could test these apps out on as I go, I'd really appreciate it. I've already found the s

Re: WAY OT Database Crossroads

2005-02-07 Thread Brandon Mercer
Brandon Mercer wrote: Larry Meadors wrote: On Tue, 1 Feb 2005 21:09:46 +0100, PA <[EMAIL PROTECTED]> wrote: Static inner classes, static. Those are simply an extension of the namespace. Contrast this with the sorry freak of nature which are plain inner classes. HAHAHAH! I just inh

Re: Avoid resubmit

2005-02-03 Thread Brandon Mercer
request is processing. On Thu, 03 Feb 2005 07:39:57 -0500, Brandon Mercer <[EMAIL PROTECTED]> wrote: Kalluru Uma. Maheswar wrote: What is this "Token System"? How to use it? Two lines of code really! When you create the form you'll do public ActionForward yourForm

Re: Avoid resubmit

2005-02-03 Thread Brandon Mercer
Kalluru Uma. Maheswar wrote: What is this "Token System"? How to use it? Two lines of code really! When you create the form you'll do public ActionForward yourForm( final ActionMapping mapping, final ActionForm form, final HttpServletRequest request, final HttpServletResponse respon

Re: WAY OT Database Crossroads

2005-02-01 Thread Brandon Mercer
Larry Meadors wrote: On Tue, 1 Feb 2005 21:09:46 +0100, PA <[EMAIL PROTECTED]> wrote: Static inner classes, static. Those are simply an extension of the namespace. Contrast this with the sorry freak of nature which are plain inner classes. HAHAHAH! I just inherited some code with a pile of

Re: WAY OT Database Crossroads

2005-02-01 Thread Brandon Mercer
on is dynamically selected at runtime, based on the tranaction type. Larry On Tue, 01 Feb 2005 12:19:03 -0500, Brandon Mercer <[EMAIL PROTECTED]> wrote: Ok, I've officially NOT followed some standard somewhere. :-( Shame on me! Can somebody help me with the following predicament? I&#

WAY OT Database Crossroads

2005-02-01 Thread Brandon Mercer
Ok, I've officially NOT followed some standard somewhere. :-( Shame on me! Can somebody help me with the following predicament? I've got a table of transactions that need to be processed. In that table I have a column for that persons account number... which gets assigned in a different ta

Accessing Database Information

2005-01-30 Thread Brandon Mercer
Hello, I've got Ted Husted's book Struts in Action and I really like it. I've also got another book Professional Jakarta Struts. They both talk about accessing information from a database and DAO and DTO and all that jazz and quite frankly I don't understand it. :-P Right now I'm in the mid

Re: New session on submit?

2005-01-28 Thread Brandon Mercer
Brad Balmer wrote: I am using the 1.2.4 release and am finding that when I submit a form to a plain Action, a new HttpSession is automatically created and replacing the session that I already am using. I have a simple search form where when the form is initially brought up, the reset() function

Re: Another ODBC OT Question

2005-01-27 Thread Brandon Mercer
Erik Weber wrote: Sorry for all those local disk links and other junk. Cut and paste. Thanks everyone this article http://dev.mysql.com/tech-resources/articles/autoincrement-with-connectorj.html was the ticket for me. We all know how it gets when you're writing code all day long and you start t

Re: Another ODBC OT Question

2005-01-27 Thread Brandon Mercer
Barnett, Brian W. wrote: What rdbms are you using? Sorry, that would have been helpful huh! lol MySQL Connector/J (obviously) 3.0.x. I think I know how to get the last id... but do I create another insert the same way I did the first? Thanks, Brandon

Another ODBC OT Question

2005-01-27 Thread Brandon Mercer
Hello, Ok, I've got another off topic question :-P. That's two in a day! Three strikes and I'm out. lol Anyhow, I am inserting information into a database and I need to get the auto_increment value from my first insert and use the value it returns to create an entry in another table. Does

Re: Popup window submitting to action

2005-01-27 Thread Brandon Mercer
Cedric Levieux wrote: Here what you want in the page retrieved after the submit action and reached via this action :