Re: html-file button-name

2005-07-23 Thread Laurie Harper
There's no standard way to set the label of a file input button. This is nothing to do with Struts, it's an HTML issue. Try googling for more info. For example: http://www.htmlcodetutorial.com/help/archive.php/o_t__t_321__can-i-change-the-label-of-browse-button-in-file-control.html Sven Tschir

Re: [OT] Custom Tag release() method not being called

2005-07-23 Thread Laurie Harper
Nitish Kumar wrote: Hey all, I am trying to write a custom tag, I have a requirement to display different form element (i.e. text box, label or textarea depending on the flags set by user), This tag is nested inside In this tag, I am also maintaining a counter which gets incremented e

Re: multi page form, html:select multiple select and editing!

2005-07-23 Thread Laurie Harper
You need to follow the same guidelines for selects as for checkboxes: ensure you reset the underlying form bean property each time. http://struts.apache.org/userGuide/struts-html.html#select L. GnomeKing wrote: Hi guys, I've got a problem I've been trying to get around for a while and I'm

Re: tiles problem

2005-07-23 Thread Laurie Harper
Your global forward needs to point to an action, not directly to a tiles definition. Change your struts-config.xml as follows: ... ... That should do the trick, roughly. L. Werner Punz wrote: Hi I am trying to get tiles up and running and so far I am trying to do a

Re: [FRIDAY] J2EE Web frameworks are in a state of flux

2005-07-23 Thread John Henry Xu
OK, spring has a good design and it may replace EJB. People already don't talk much about Entity beans. Many replaced Entity beans by hibernate. People still use session beans even for Web services. Now spring may replace it also. What was wrong with EJB architecture? Does anyone want list pr

Re: [FRIDAY] Re: SelectAction - an improved DispatchAction

2005-07-23 Thread Rick Reumann
Michael Jouravlev wrote the following on 7/23/2005 5:34 AM: Rick, I am sorry and I want to publicly apologize. Sometimes I get too excited about something and I can go over the top. I am sorry, I did not want to bash you or hurt you in any way. No problem:) It was Friday and I was edgy myself

Re: Validation Help

2005-07-23 Thread Rafael Taboada
A good book about Struts and Validator framework is Jakarta Struts Live - Rick Hightower U can get it in www.theserverside.com -- Rafael Taboada Software Engineer Cell : +511-97753290 "No creo en el destino pues no me gusta tener la idea de controlar mi vida"

Re: Validation Help

2005-07-23 Thread Rafael Taboada
the properties file is that u r using right now... I mean u can use it in order to call value keys. -- Rafael Taboada Software Engineer Cell : +511-97753290 "No creo en el destino pues no me gusta tener la idea de controlar mi vida"

Re: Validation Help

2005-07-23 Thread Paul Goepfert
I have a question. I have decided to use the vaildation framework to do the validation in my web app. I have created a validation.xml file, and a vaildator-rules.xml file. I noticed in books about struts that I have there is a properties file associated with the vaildation. Am I right? If

tiles problem

2005-07-23 Thread Werner Punz
Hi I am trying to get tiles up and running and so far I am trying to do a simple tiled forward the problem is, I can call the forwarded page directly and it displays but as soon as I call the tiles definition name I get errors here are my config files: Struts Configuration 1.2//EN" "http://st

Re: How to cancel a cancel

2005-07-23 Thread Dakota Jack
If this code includes a generic do/undo/redo algorithm for actions, it would be interesting. If not, I would suggest that someone do that. I think I may code up a tag interface that will automatically plug in a do/undo/redo mini-framework for actions or other similar code. On 7/22/05, Kent Booga

Re: [FRIDAY] J2EE Web frameworks are in a state of flux

2005-07-23 Thread Dakota Jack
> It is sad that an otherwise fine article is spoiled by this bit of spin :) > > If Spring brings out a new web framework, it's hailed as an > innovation. If Struts brrings out a new web framework, we're > "deserters". LOL. > Spring has not abandoned its framework. This author merely acknowledg

Re: SelectAction - an improved DispatchAction

2005-07-23 Thread Dakota Jack
Excuse me: Craig, Niall, David G. AND Dave with Michael in tow. Anyway, the topic was buttons and properly crediting code. If you four want to talk about something else, why don't you start your own thread. At least Niall started out with talk about code, and only fell off the mountain when call

Re: SelectAction - an improved DispatchAction

2005-07-23 Thread Dave Newton
Dakota Jack wrote: Guess the topic of code was too tiresome for Craig, Niall, and David G., once again. No no, I think you misinterpreted--the topic of YOU was too tiresome ;) Dave - To unsubscribe, e-mail: [EMAIL PROTEC

RE: Technique for undetermined time of processing - progress bar

2005-07-23 Thread David Erickson
What If the end user has javascript disabled? Does DWR handle that cleanly or are you out of luck? -David _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 22, 2005 1:55 PM To: Struts Users Mailing List Cc: 'Struts Users Mailing List' Subject: Re: Technique f

Re: [FRIDAY] J2EE Web frameworks are in a state of flux

2005-07-23 Thread Larry Meadors
Ted, I think you hit the nail right on the head - very observant. The resistance we are seeing now in the struts community to both JSF and Shale is EXACTLY the same thing we saw with ASP and ASP.NET . In many cases, the same arguments are being made, just with different produc

Re: [FRIDAY] J2EE Web frameworks are in a state of flux

2005-07-23 Thread Ted Husted
On 7/22/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > I was thinking about should I post a quote from an article which > discusses a rival project? Then I thought, whatever. They already got > Shale. Spring isn't a rival. Spring and Struts are good friends. The Spring IOC container works grea

html-file button-name

2005-07-23 Thread Sven Tschirner
Hello, list I hava a problem with struts's html:file as I dont know how to alter the name for button which comes with this input-tag. Normally its called "browse" but I want to name it depending on the particuliar language adjusted by the user I have already used a bundle-element like: but

Custom Tag release() method not being called

2005-07-23 Thread Nitish Kumar
Hey all, I am trying to write a custom tag, I have a requirement to display different form element (i.e. text box, label or textarea depending on the flags set by user), This tag is nested inside In this tag, I am also maintaining a counter which gets incremented each time the ta

Re: [FRIDAY] Re: SelectAction - an improved DispatchAction

2005-07-23 Thread Michael Jouravlev
On 7/22/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > Michael Jouravlev wrote the following on 7/22/2005 2:58 PM: > > > But what about a newbie who just wants a better dispatching > > action? He wants to get all needed service from a framework. What are > > you suggesting him? Go search mailing li

multi page form, html:select multiple select and editing!

2005-07-23 Thread GnomeKing
Hi guys, I've got a problem I've been trying to get around for a while and I'm hoping someone here can give me some pointers! I have to use a multi page form for a particular bean, and one of the latter pages has an html:select control which allows multiple selections. It also has a checkbox. T