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

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

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

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

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

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

General Action Question

2005-01-10 Thread Brandon Mercer
ses, and inserting the entire request into the database (after I parse out each value) if I need to use the second example to work with DynaActionForms. I'm using multi-page forms, but I insert the values into the JSP page for each new page in the wiz

Re:

2005-01-10 Thread Brandon Mercer
Ashish Kulkarni wrote: Hi How do i display a drop down box from hashtable data here is my form definiation in my html i define method="post" style="margin:0px;" > // logic to display html:select with html:option tag Yes, totally possible. Here are some snippets. :-) This is what you'd hav

Action Returning to previous page

2005-01-19 Thread Brandon Mercer
Is there a way to have an action return to the page that it was submitted from? This is what I have and what I'd like to do: I've got a page that has a template in it for looking up account numbers. This template goes in EVERY page in my application. I also have other pages that perform spe

Re: Action Returning to previous page

2005-01-19 Thread Brandon Mercer
Will Stranathan wrote: Not positive I completely understand the question, so I'll make a very vague response. Yeah, after I read it I didn't make much sense to myself either. :-P You can: 1) Use the input attribute of an Action to specify the page that fed it - if the validate() method on the

Re: Action Returning to previous page

2005-01-20 Thread Brandon Mercer
Will Stranathan wrote: My apologies for not reading first - yeah - use a dynamic one like jack said. I would PROBABLY subclass Action with an abstract subclass - something like: public ... execute(...) { // This overrides Action.execute() // Do whatever up-front checking ... // Now,

Re: Action Returning to previous page

2005-01-20 Thread Brandon Mercer
Will Stranathan wrote: On Wed, 19 Jan 2005 22:16:34 -0800 Dakota Jack <[EMAIL PROTECTED]> wrote: > 2) Specify a for the Action that sends the user back to > from whence they came. I don't think I can do this because they may come from a number of pages. You can specify a dynamic ActionForward

Re: Action Returning to previous page

2005-01-21 Thread Brandon Mercer
Will Stranathan wrote: Hello again, I've found this interesting and seemingly useful piece of information in a struts book I recently obtained. Dynamic Forwards ActionForward forward = new ActionForward("/do/itemEdit?action=edit"); Then it goes on to tell me to use the runtime parameter technique

Popup window submitting to action

2005-01-27 Thread Brandon Mercer
Hello, I've got a slighty off topic question for the group. I've got a pop-up window that I use in my application where my client can create a new contact. I wish to have the information write to the database, and close the pop-up window, and then refresh the page it came from. I know this c

Re: Popup window submitting to action

2005-01-27 Thread Brandon Mercer
[EMAIL PROTECTED] wrote: There's probably a couple of ways to do this, here's one... I think you can handle the submitting on the popup and closing the window no problem, but before you do the close, call a Javascript function in the parent of the popup that will submit a form to do the refresh o

Re: Popup window submitting to action

2005-01-27 Thread Brandon Mercer
[EMAIL PROTECTED] wrote: Assume you have a form in the parent window that does your refresh, whether it's visible to the user or not (i.e., has nothing but hidden fields). Simply do: parent.theForm.submit(); I don't think that's going to work. Actually I know that it doesn't work. I've got a

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 :