Re: html:hidden query

2005-01-13 Thread Kishore Senji
Note that is just enough to populate the text box. The in the body of doesn't do anything. On Wed, 12 Jan 2005 23:34:27 -0800 (PST), Manisha Sathe <[EMAIL PROTECTED]> wrote: > Following i could get it but now i want this inside html hidden form tag. > > > > > > But If i use hidden tag t

Re: Database connection question - seeking expert opinion

2005-01-13 Thread Erik Weber
Manisha Sathe wrote: Hi all, This is to give big thanks to all. Erik - i will go thr it - i think i need some some time to grasp it. You are welcome. Please note that there are many good patterns or idioms for this sort of thing -- check as many out as you can, including frameworks like iBa

Re: Re: Database connection question - seeking expert opinion

2005-01-13 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Property file question

2005-01-13 Thread PA
On Jan 13, 2005, at 05:57, Larry Meadors wrote: Sure, but you need to create a Properties object to do it and read them in. http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html Talking of properties, check out PL: http://alt.textdrive.com/pl/ It provides a simple format to handle bas

Re: Re: Property file question

2005-01-13 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: and char encoding

2005-01-13 Thread Guillaume Cottenceau
Nicolas De Loof writes: > Hi, > > Can someone explain me what's wrong in HTTP / servlet API about char > encoding : > > I'm using to build a link with parameters, whose values > use french chars ('é', 'à' ...) > I need to set useLocaleEncoding to get values in my servlet (that is > not a strut

Re: Re: and char encoding

2005-01-13 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: and char encoding

2005-01-13 Thread Guillaume Cottenceau
Laurent writes: > Nicolas De Loof wrote: > > Can someone explain me what's wrong in HTTP / servlet API about char > > encoding : > > I'm using to build a link with parameters, whose values > > use french chars ('é', 'à' ...) > > I need to set useLocaleEncoding to get values in my servlet (that i

Re: Re: and char encoding

2005-01-13 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Java IDE's

2005-01-13 Thread Ashutosh Satyam
Hi, Though this is an off topic question, but still I'm posting it here as I have found this mailing list to be active and members try to furnish the information as much as possible. Q) Could you suggest some Java IDE's 1. What are the top 3 good features you seen in this IDE 2. What are the

Re: Java IDE's

2005-01-13 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Java IDE's

2005-01-13 Thread Pedro Salgado
use Intellij IDEA... +++ 1 simple and doesn't get in the way 2 ant/junit integration 3 because it is really really good --- 1 $500 personal license (compared with $0 eclipse) - if you don¹t want to spend money... well it is not for you. Pedro Salgado On 13/1/05 11:26 am, "Ashutosh Sa

Re: Re: Java IDE's

2005-01-13 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Java IDE's

2005-01-13 Thread Sebastian Hennebrueder
I use MyEclipse the support for web development (struts) is really good. jsp preview and it is quite cheap. EJB development is using xDoclet, which is sometimes a bit slow compared to jbuilder EJB visual ejb development Regards Sebastian Ashutosh Satyam wrote: Hi, Though this is an off topic ques

Re: Re: Java IDE's

2005-01-13 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Java IDE's

2005-01-13 Thread Antony Paul
I use Eclipse. Earlier I was sticking to EditPlus. I was very comfortable with it. My other team menbers are using Eclipse and we needed a standard environment to work as the client required that I started using Eclipse. First it was very boring to use it as it takes time to start up, open a file e

Nested and javascript'

2005-01-13 Thread Vinicius Caldeira Carvalho
Well, this is kinda off topic, but I thought that maybe some of you may ran into this problem. I have a nested text field. It's name is : destiny[0].airShip.name I need to use a javascript function to get this value. But document.forms[0].destiny[0].airShip.name will not work, which seems logic

Re: Nested and javascript'

2005-01-13 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

content of form lost when validation failed if the form has encoder type set to multipart/form-data

2005-01-13 Thread Yaroslav Vinogradov
Hello all, I have the following problem with Struts 1.2.4. I have form with html:file and other fields like html:text. The values entered in fields of the form are lost if form fails validation in case the for enctype is set to "multipart/form-data". What to do with this? Regards, Yaroslav Vinog

Re: content of form lost when validation failed if the form has encoder type set to multipart/form-data

2005-01-13 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: XML date validation

2005-01-13 Thread deepak
Thanks Joe. - Original Message - From: "Joe Germuska" <[EMAIL PROTECTED]> To: "deepak" <[EMAIL PROTECTED]>; "Struts Users Mailing List" Sent: Wednesday, January 12, 2005 7:41 PM Subject: Re: XML date validation > At 5:04 PM +0530 1/12/05, deepak wrote: > >Hi, > > Using XML date val

Re: Re: XML date validation

2005-01-13 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

firefox javascript error from validation js

2005-01-13 Thread Nathan Coast
the static js generated from: throws the following error to the firefox javascript console: Error: [Exception... "'Permission denied to get property XULElement.selectedIndex' when calling method: [nsIAutoCompletePopup::selectedIndex]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" loca

Re: Java IDE's

2005-01-13 Thread Raj Tilak
Strongly recommend IntelliJ IDEA. The best innovative Java IDE. Certainly reduces a lot of development time. If you can spend a little definitely IDEA or else Eclipse. From: Antony Paul <[EMAIL PROTECTED]> Reply-To: Antony Paul <[EMAIL PROTECTED]> To: Struts Users Mailing List Subject: Re: Java

Still PLZ Help with Cannot find message resources under key org.apache.struts.action.MESSAGE

2005-01-13 Thread Avinash Sridhar
Hi, Thanks for the suggestionsAfter I add to the struts-config.xml file, When I start-up the server, I get the following error message /**Error***/ Element type "message-resources" must be declared. AND The content of element type "struts-config" must match "(data-sou

Action Chaining

2005-01-13 Thread Todd_Nine
Hi all. I have a question that I cannot find the answer to, and hopefully someone has run in to this. I have 3 Actions and 2 Forms AnnuityAction <-> AnnuityForm , BasicAction <-> BasicForm I have an abstract class called LaserAction that extends LookupDispatchAction. Both AnnuityAction and Ba

[Was OT] Re: Java IDE's

2005-01-13 Thread DGraham
Given the forum, why don't you take a look at Java Studio Creator (Reef Shark!) and NitroX. http://developers.sun.com/prodtech/javatools/jscreator/ http://www.m7.com/product.do Dennis "Ashutosh Satyam" <[EMAIL PROTECTED]> 01/13/2005 05:26 AM Please respond to "Struts Users Mailing List" T

Re: Java IDE's

2005-01-13 Thread Lee Harrington
Another vote for Eclipse (free) with MyEclipse ($30/yr) add on. Wonderfully inexpensive yet productive environment. Lee On Thu, 13 Jan 2005 15:56:32 +0530, Ashutosh Satyam <[EMAIL PROTECTED]> wrote: > Hi, > Though this is an off topic question, but still > I'm posting it here as I have found th

Re: Stuts forwarding does not work

2005-01-13 Thread Alex Kravets
Actually now it works. I moved everything to another application name and it started working. But, another problem. When I submit my page I get a blank page. Action class does not do anything, just forwards to success page. Here is the action mapping in struts-config.xml:

Re: Nested and javascript'

2005-01-13 Thread Radu Badita
Sure it is a way to access those: just assign an unique id - maybe same as the name, but without the dots. At 13:56 13.01.2005, you wrote: Well, this is kinda off topic, but I thought that maybe some of you may ran into this problem. I have a nested text field. It's name is : destiny[0].airShip

Re: Java IDE's

2005-01-13 Thread fzlists
You'll have to pry UltraEdit and batch files from my cold, dead hands before I use any IDE :) Ok, I'm not really quite THAT extreme. :) But it has been my experience that no IDE adds anything big enough to deal with the little annoyances that they all seem to have (most of them seem to have the

Re: Still PLZ Help with Cannot find message resources under key org.apache.struts.action.MESSAGE

2005-01-13 Thread Todd_Nine
Your first issue is a result of your second. The XML parser is telling you that your format did not match the DTD. In the config, the elements must be in the order of 1. data-sources 2. form-beans 3. global-forwards 4. action-mappings 5. messages and plugins. for instance I have. .

RE: Property file question

2005-01-13 Thread Slattery, Tim - BLS
> I am having property file under WEB-INF directory. I am > currently storing something like > title.mainmenu = Main Menu > error.validation = Validation Error > > Can i make use of these variables inside my any normal java > classes - or whether these r meant for only JSPs ? You can

Re: Nested and javascript'

2005-01-13 Thread Hubert Rabago
This works for me in IE and FireFox: function tryMe() { var frm = document.myForm; var ctrl = frm['something[0].down.here'].value="Hello!"; } - Hubert On Thu, 13 Jan 2005 09:56:00 -0200, Vinicius Caldeira Carvalho <[EMAIL PROTECTED]> wrote: > Well, this is kinda off topic,

Help with ApplicationResources.properties file.

2005-01-13 Thread Avinash Sridhar
Hi, Thanks for the friendly piece of advice, I did correct it and changed the dtd from 1.0 to 1.1 and I got no errors now., ?But I have gotten into this problem this is the data inside my ApplicationResources.properties file present inside the classes directory. /**Applicat

RE: Unable to see out put

2005-01-13 Thread Abdullah Jibaly
Sorry, I was probably thinking that current was the varStatus variable. My mistake. -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 5:23 PM To: Struts Users Mailing List Subject: Re: Unable to see out put I used:

Re: [almost OT] Struts in Practice

2005-01-13 Thread t t
Thanks so much. I will take a look. I believe it will be helpful. BTW, what's "HTH"? T.T. "M. Bitner" <[EMAIL PROTECTED]> wrote: As a programmer with no design skills, one resource I've found to be helpful is Open Source Web Design: http://www.oswd.org/ There are quite a few site designs to choo

Regarding JBOSS

2005-01-13 Thread Jay Chandran
Hi all, I need to download JBOSS 4.0.1 for windows. Where can i get this ? What should i download? I can see lots of downloads for jboss. ie jboss4.0.1 RC1.zip, jboss4.0.1 RC2.zip.. etc. Which one should i download?? :-) Jay --

RE: Regarding JBOSS

2005-01-13 Thread Slattery, Tim - BLS
> I need to download JBOSS 4.0.1 for windows. Where can i get > this ? What should i download? I can see lots of downloads > for jboss. ie jboss4.0.1 RC1.zip, jboss4.0.1 RC2.zip.. etc. http://www.jboss.org/downloads/index JBoss Application Server -- Tim Slattery [EMAIL PROTECTED] ---

Re: Regarding JBOSS

2005-01-13 Thread Jay Chandran
Thanks :-) Jay - Original Message - From: "Slattery, Tim - BLS" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Thursday, January 13, 2005 9:21 PM Subject: RE: Regarding JBOSS > > I need to download JBOSS 4.0.1 for windows. Where can i get > > this ? What should i downl

Re: Regarding JBOSS

2005-01-13 Thread Jay Chandran
Hi, i am downloading JBOSS from the below link as per ur instructions. http://ovh.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.1RC1.zip is this ok for me . or should i download some other links. I can see lots of links for downloading JBOSS. jay - Original Message - From: "Sla

[OT] Re: Regarding JBOSS

2005-01-13 Thread DGraham
Yes. "Jay Chandran" <[EMAIL PROTECTED]> 01/13/2005 11:40 AM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject Re: Regarding JBOSS Hi, i am downloading JBOSS from the below link as per ur instructions. http://ovh.dl.sourceforge.net/sourcefor

RE: Regarding JBOSS

2005-01-13 Thread Paul McCulloch
I'd guess that RC1 means release candidate 1 - i.e. not the final version. I *think* that jboss-4.0.1.zip is the final version. Paul > -Original Message- > From: Jay Chandran [mailto:[EMAIL PROTECTED] > Sent: 13 January 2005 16:40 > To: Struts Users Mailing List > Subject: Re: Regarding

Re: [almost OT] Struts in Practice

2005-01-13 Thread Martin Wegner
+1 on www.oswd.org They are a great place to start your next web project. --- "M. Bitner" <[EMAIL PROTECTED]> wrote: > As a programmer with no design skills, one resource I've found to be > helpful is Open Source Web Design: > http://www.oswd.org/ > > There are quite a few site designs to cho

Messages and errors log

2005-01-13 Thread Margarida Sargento
Hello I am new to Struts. My first applications are examples that I download from several web sites. One of them logs the forms data with: servlet.log("..."); I have already search information about this and the Struts home page refers this too. However I don't know where the logs are being sa

Re: Action Chaining

2005-01-13 Thread Kishore Senji
In your BasicForm's validate() you could do check for the "parameter"'s value and return "ActionErrors" based on that value; public ActionErrors validate(ActionMapping mapping, HttpServletRequest request){ /* if load or unspecified return null */ if(org.apache.commons.lang.StringUtils.isEmpty

uncheck and update

2005-01-13 Thread UKASICK, AIMEE L \(SBCSI\)
Hi. I'm using the Struts Nested taglib to display rows of editable data to the user. I can select a checkbox in a row and the underlying POJO is updated correctly. However, when I uncheck a box, the value of the checkbox is not changed and therefore the POJO is not updated. In the Struts documentat

ApplicationResources.properties file kindly help

2005-01-13 Thread Avinash Sridhar
Hi, Thanks for the friendly piece of advice, I did correct it and changed the dtd from 1.0 to 1.1 and I got no errors now., ?But I have gotten into this problem this is the data inside my ApplicationResources.properties file present inside the classes directory. /**Applicati

Re: ApplicationResources.properties file kindly help

2005-01-13 Thread Wendy Smoak
From: "Avinash Sridhar" <[EMAIL PROTECTED]> > What could be the problem, it not reading the > ApplicationResources.properties file. http://struts.apache.org/userGuide/configuration.html#resources_config I have this in struts-config.xml: The ApplicationResources.properties file lives in WEB-INF/

Re: ApplicationResources.properties file kindly help

2005-01-13 Thread Dakota Jack
Did you add the values in the file without restarting the application? If so, then the values will not show. Jack On Thu, 13 Jan 2005 10:59:32 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Avinash Sridhar" <[EMAIL PROTECTED]> > > What could be the problem, it not reading the > > Applic

Re: [almost OT] Struts in Practice

2005-01-13 Thread Bryce Fischer
Another +1 on oswd.org. I am chiming in to offer one of my favorite sites: http://www.csszengarden.com/ Really shows what you can do with CSS.. I browse ocassionally for inspiration. Martin Wegner wrote: +1 on www.oswd.org They are a great place to start your next web project. --- "M. Bitner" <[

Re: uncheck and update

2005-01-13 Thread Kishore Senji
In your "reset" method get the Collection of "users"; Iterate over that collection and set the two properties "admin" and viewer on the object (I assume "user") to false; On Thu, 13 Jan 2005 11:46:37 -0600, UKASICK, AIMEE L (SBCSI) <[EMAIL PROTECTED]> wrote: > Hi. I'm using the Struts Nested tagl

Re: Action Chaining

2005-01-13 Thread Todd_Nine
Thanks, I had soemthing similar in my parent form LaserForm, but that just checked for a query String on the request since we are bridging the old system to struts. I just never made the connection to check for the method parameter. Thanks for all the help. Todd

Re: Action Chaining

2005-01-13 Thread Todd_Nine
Sorry, I seem to have spoken too soon. The method paramater will have a value because the previous button has been pressed. I don't want to say we won't validate on previous or next, since we need to, I just need to not validate if struts is coming from another action

ApplicationResources.properties file kindly help

2005-01-13 Thread Avinash Sridhar
Hi, Thanks for the replies.I added the values in the file and then restarted the application / tomcat web server.But still the values assigned to welcome.title , button.save , button.reset are not being shown.Kindly let me know what the problem is Thanking you all AS - Original Message

Re: Action Chaining

2005-01-13 Thread Kishore Senji
Sounds like you need one more request parameter to distinguish between the a new request and a request coming after finishing an action. Token processing might be a good option which prevents the user from book marking. Do a saveToken() in the AnnuityAction. If the previous and next are form "sub

Re: Action Chaining

2005-01-13 Thread Joe Germuska
At 1:58 PM -0500 1/13/05, [EMAIL PROTECTED] wrote: Sorry, I seem to have spoken too soon. The method paramater will have a value because the previous button has been pressed. I don't want to say we won't validate on previous or next, since we need to, I just need to not validate if struts is comi

Re: Action Chaining

2005-01-13 Thread Dakota Jack
On Thu, 13 Jan 2005 09:37:47 -0500, [EMAIL PROTECTED] > Here is my problem, > > When the user clicks "previous" on the AnnuityAction, the previous method is > called. Previous saves the page, then forwards to /basic.do, which by default > will call load. I would begin by not doing this. I

Re: Re: how to get data from http get / url?

2005-01-13 Thread Dody Rachmat Wicaksono
Thank you, it's true that creating formbean for simple task such as http://localhost/detail.do?id=99 is too much efford. i'd like to use your suggession. thanks. === At 2005-01-13, 08:58:16 you wrote: === >There might be a few ways, but from my exprience.. > >String sid = request.getPara

Re: Re: how to get data from http get / url?

2005-01-13 Thread Dody Rachmat Wicaksono
Thank you, it's true that creating formbean for simple task such as http://localhost/detail.do?id=99 is too much efford. i'd like to use your suggession. thanks. === At 2005-01-13, 08:58:16 you wrote: === >There might be a few ways, but from my exprience.. > >String sid = request.getPara

JSF Initialization

2005-01-13 Thread Eddie Bush
How does one create managed beans with dynamic values? Would you do this by listing the managed bean in your faces-config and then having a Context life cycle listener actually create the beans and put them in application scope? Is there a better practice to follow in doing this? Thanks! -- Ed

Why Can't show the errors generated by a ActionForm's validate method

2005-01-13 Thread 艳龙 周
hi, I'm new to struts and I really can't find a way to solve the proplem. plese help me. thank you so much. Here is the proplem. I have a input.jsp,a ActionForm and a Action public class HelloForm extends ActionForm { private String name=null; public ActionErrors validate(ActionMapping

Re: JSF Initialization

2005-01-13 Thread Craig McClanahan
On Thu, 13 Jan 2005 19:11:41 -0600, Eddie Bush <[EMAIL PROTECTED]> wrote: > How does one create managed beans with dynamic values? Would you do > this by listing the managed bean in your faces-config and then having > a Context life cycle listener actually create the beans and put them > in applic

Re: Why Can't show the errors generated by a ActionForm's validate method

2005-01-13 Thread Kishore Senji
On Fri, 14 Jan 2005 10:03:55 +0800 (CST), èé å <[EMAIL PROTECTED]> wrote: > hi, I'm new to struts and I really can't find a way to solve the proplem. > plese help me. thank you so much. > Here is the proplem. I have a input.jsp,a ActionForm and a Action > public class HelloForm extends ActionForm >

Re: Why Can't show the errors generated by a ActionForm's validate method

2005-01-13 Thread 艳龙 周
thank you, the proplem has been solved. - Do You Yahoo!? 注册世界一流品质的雅虎免费电邮

URL validation isn't working

2005-01-13 Thread Ben
Hi I am using Struts 1.2.4 and have the following settings in the validation.xml: nofragments true schemes http,https In my HTML form, I have this value for the website field: http://www.ibm.com.au/ It is a valid URL but how come the validator says it is not va

validator - intRange - enhancement?

2005-01-13 Thread Nathan Coast
Hi, for the various range validations, is it possible to specify greater than or less than ranges (ie, either no max or no min)? if not, would this make a sensible enhancement? At the moment for an integer > 0 I specify min 1 max 2147483647 would it be 'nice

Fwd: RE: [Tiles] Why the text doesn't show

2005-01-13 Thread Vernon
Note: forwarded message attached. __ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com --- Begin Message --- Thanks David for the links. After reread the API, I find the cause is that I didn't give the string ty

Re: Fwd: RE: [Tiles] Why the text doesn't show

2005-01-13 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Stuts forwarding does not work

2005-01-13 Thread David G. Friedman
Alex, Check the Javadocs because the perform() method is GONE in Struts v1.2.4, deprecated in v1.1, and normal for the old v1.0. So, what version are you using? Probably v1.2.4 since defining perform() like that will never be called resulting in a standard dummy execute() method being invoked wh

Re: RE: Stuts forwarding does not work

2005-01-13 Thread sales
Kindly send all your messages to [EMAIL PROTECTED] This mail account is not functioning anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]