Which methodology is better?

2004-12-28 Thread Manisha Sathe
I am very used to HTML/JavaScript. Normally i do all validations on clientside through JavaScript. i just started Struts framework and i understand that "DynaActionForm" is to have validation on cliend side. (till now using ActionForm only). Normally what is the practice ? Which way is better

Re: Validate only if existing

2004-12-28 Thread Erik Weber
The idea of requiredif is to require a value for a field depending on whether there is/isn't a value for another *field*. I'm not sure if you can use it to hinge on other (non-field) values. For example, if a user lives in an apartment, you want him to indicate his apartment number. You have a

RE: How to get the bean value inside JSP

2004-12-28 Thread Manisha Sathe
Thanks Daniel, I had a look at JSTL and seems interesting - tried some samples. I think it is more straightforward than logic bean. Will try it out, It's good i am asking the queries in this forum, first of all i get answer and moreover i get direction to proceed. Regards Manisha Danie

RE: Error in "instantiate TagExtraInfo class"

2004-12-28 Thread mohan.radhakrishnan
Hi, This particular line "To use Struts, you must copy the .tld files that you require into your WEB-INF directory, and copy struts.jar (and all of the commons-*.jar files) into your WEB-INF/lib directory." is not clear. Which .tld files ? Struts' .tld files are inside the META-INF fold

Displaying exceptions from declarative exception handling

2004-12-28 Thread Brandon Goodin
I am trying to display an exception caught by the Struts declarative exception handling. I have tried to use the html:errors and html;messages tags with no sucess. Does anyone have a sample they can post on how to extract the exceptions that are being stored in the ActionErrors? Brandon -

Struts versus Version versus MyEclipse I'm lost.

2004-12-28 Thread TedMitchell
I'm deturmined to learn and use Struts. I'm confused when I attempt to duplicate working examples in my application Eclipse flags them as errors. I lost a great deal of learning time on my first example where the ActionForm called the "perform" versus the "execute" method. I don't know if I'm fi

Re: Why download messages twice??

2004-12-28 Thread Frank W. Zammetti
I'm seeing the same thing actually, have been for over a week. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com James Mitchell wrote: No, it's just you. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM

Re: Why download messages twice??

2004-12-28 Thread James Mitchell
No, it's just you. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Jorge Martín Cuervo" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 28, 2004 4:54 PM Subject: Why download messages twice?? I don`t kno

Re: Why download messages twice??

2004-12-28 Thread James Mitchell
No, it's just you. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Jorge Martín Cuervo" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 28, 2004 4:54 PM Subject: Why download messages twice?? I don`t kno

Validate only if existing

2004-12-28 Thread Daniel Lipofsky
I have a field I want to require only if the bean it exists inside exists (is not null). I cannot use validwhen because I am using struts 1.1. I tried to use requiredif like this field[0]

RE: How to get the bean value inside JSP

2004-12-28 Thread Daniel Lipofsky
You should probably use bean:define instead of bean:parameter. Even better learn JSTL and use c:set, c:if, and c:forEach to facilitate you. You will find JSTL has better versions of everything in the struts "logic" and "bean" taglibs. I don't think there is any readymade tags for grouping. But if

How to get the bean value inside JSP

2004-12-28 Thread Manisha Sathe
I am having an action handler, which pulls data from database, puts inside data bean. From result set i create array of databeans. This array of databeans i am putting back on JSP. Inside my JSP i am looping thr --    - Above works

Why download messages twice??

2004-12-28 Thread Jorge Martín Cuervo
I don`t know why the messages of the list comes twice. Does it happens to anyone? --- Jorge Martin Cuervo [EMAIL PROTECTED] +34 660 026 384 --- - To unsubscribe, e-mai

RE: [OT] I need to configure logs on my virtual hosting

2004-12-28 Thread Durham David R Jr Contr 805 CSPTS/SCE
> I need to configure logs on my virtual hosting. > How can I do it? Till Since this is OT, first a few words about "till" from Dictionary.com: Usage Note: Till and until are generally interchangeable in both writing and speech, though as the first word in a sentence until is usually preferred:

Getting applicationResources.properties keys

2004-12-28 Thread Jorge Martín Cuervo
Hello to all, I've start working with jasperReports with struts, and i want to externalize the labels to use in multilanguage environment. I use a file applicationResources.properties (with the tag message-resources in struts-config.xml) to the jsp labels without problems, but in my report action

Can we get API's over on JSourcery?

2004-12-28 Thread David G. Friedman
Lately, I've found myself (somewhat) often skimming Struts JavaDocs AND the SVN source code. I just read about a project called JSourcery that has some Open Sourced projects where the API had links next to each class name to source code. Can we easily do this on the Struts site too? It could be

Re: Can we create group in Yahoo/MSN messenger to help those who need fast help

2004-12-28 Thread klute
My friend started this a while ago: http://irc-logs.org/ it could be the solution to what's missing here: a searchable irc logs for struts help james --- Don Brown <[EMAIL PROTECTED]> wrote: > While I agree with everything James said, I do find > use in IRC as > sometimes, when working on a ne

Re: Error in "instantiate TagExtraInfo class"

2004-12-28 Thread Craig McClanahan
In addition to David's comments, this is what the Struts User Guide has to say on the subject: http://struts.apache.org/userGuide/configuration.html#config_add Craig On Tue, 28 Dec 2004 12:33:56 -0500, David G. Friedman <[EMAIL PROTECTED]> wrote: > Manisha, > > The application's /WEB-INF/lib

RE: Validator what am I missing??

2004-12-28 Thread David G. Friedman
Vinicius, What are you using as your struts-config.xml form-bean and action mapping? A lot of people get the ValidatorForm and ValidatorActionForm reversed in their minds/thinking. Your mappings for those two related items should assist us in determining if that is the issue. Regards, David

RE: [OT] I need to configure logs on my virtual hosting

2004-12-28 Thread David G. Friedman
Amit, Can you define what you mean by 'needing logs'? Struts (recent versions) uses common logging so you could check the Struts site or Wiki on how to turn that on. If you add commons logging to your own webapp, one configuration file can log all important struts and webapp errors to the log fi

RE: Error in "instantiate TagExtraInfo class"

2004-12-28 Thread David G. Friedman
Manisha, The application's /WEB-INF/lib directory is the preference for many of the Struts jars. Unless you have only ONE Tomcat application using Struts, putting Struts jars in any other place has been, if I recall correctly. I believe I read about reloading issues and possible memory space con

Re: Can we create group in Yahoo/MSN messenger to help those who need fast help

2004-12-28 Thread Don Brown
While I agree with everything James said, I do find use in IRC as sometimes, when working on a new Struts feature, I find it invaluable to get quick feedback from folks I know in the channel. I could use dev or user, but then I'd have to sit around for days waiting for responses. The IRC channel

RE: (newbie)preferred way of managing product catelog

2004-12-28 Thread Jim Barrows
> -Original Message- > From: Sudheer [mailto:[EMAIL PROTECTED] > Sent: Monday, December 27, 2004 7:04 PM > To: Struts Users Mailing List > Subject: (newbie)preferred way of managing product catelog > > > Hi, > > I am developing a JSP(2.0) shopping cart using struts(1.2) > framework.

RE: Can we create group in Yahoo/MSN messenger to help those who need fast help

2004-12-28 Thread Jim Barrows
How would that be any faster then here? Are you going to pay people to hang out and wait for a question? If you really need fast help either pay for it or get really good at going through the source code. > -Original Message- > From: Amit Gupta [mailto:[EMAIL PROTECTED] > Sent: Tu

Re: Can we create group in Yahoo/MSN messenger to help those who need fast help

2004-12-28 Thread James Mitchell
Thanks Bryce, I'm well aware of gmane. Also, I run a 200+ member group on Yahoo groups that was the first Struts Users Group in existence. Problem is.that's still a mailing listthe same as this one. Why would anyone participate on that list and not on this one? For us (struts-atlanta

Re: Can we create group in Yahoo/MSN messenger to help those who need fast help

2004-12-28 Thread Bryce Fischer
gmane.org Google will return results from there. James Mitchell wrote: Why would you do this? You will end up answering the same questions over and over again because there is no history for people to google against. I get questions emailed directly to me from time to time. My response is usu

Re: DispatchChainAction (Struts 1.3)

2004-12-28 Thread Joe Germuska
At 1:55 PM -0500 12/21/04, Benedict, Paul C wrote: I noticed in Struts 1.3 there is a DispatchChainAction, and the parameter attribute specifies the name of the chain to execute. Would somebody consider that a security hole? It seems like anyone could arbitrarily execute any chain command in the en

Re: Can we create group in Yahoo/MSN messenger to help those who need fast help

2004-12-28 Thread James Mitchell
Why would you do this? You will end up answering the same questions over and over again because there is no history for people to google against. I get questions emailed directly to me from time to time. My response is usually something like"take it to the list, unless you want to pay for

Validator what am I missing??

2004-12-28 Thread Vinicius Caldeira Carvalho
Hi there. I can't get validator to work (although I've done this before) I know I'm missing something. Here's my configuration files: struts-config: validation.xml I have the origina

RES: [struts] Re: Dynamically adding an ActionMapping

2004-12-28 Thread Paulo Alvim
Hi! I'm a Struts user since dez/2001 and we've been used this approach bellow in order to pre-populating DynaActionForms for a long time in our company... ...But now I need to do it based on my own customized ActionMapping properties. For example, we use this kind of extension to declare a DTO/VO

Re: Unable to delete Object form Session scope - help needed

2004-12-28 Thread Radu Badita
Hi Peter, I think you gave far too less information for someone to really be able to help you with this problem. However I do have an observation about your code: I suppose that the "userSelection" HashMap is first retrieved from session, then modified (by removing something). You don't need to re

Re: prevent reset of bean after submit

2004-12-28 Thread Radu Badita
As Hubert pointed out: your form won't hold the state from your first.jsp unless you store it in session scope, as the request created on first.jsp submit will cease to exist after second.jsp is run. But if you really don't wanna keep it in user's session, the only workaround I see possible it's co

Re: prevent reset of bean after submit

2004-12-28 Thread sachin
hi Cliff , > You may consider put all the fields which are populated from > frist.jsp in the second.jsp using hidden field. This is one solution and it helps .. only problem is that if the first.jsp have a number of fields then the second.jsp will be overloaded with that much number of hidden f

Re: Can we create group in Yahoo/MSN messenger to help those who need fast help

2004-12-28 Thread yue pengfei
Good idea! Yahoo IM:yuepengfei1978 MSN IM : [EMAIL PROTECTED] Amit Gupta <[EMAIL PROTECTED]> wrote: Can we create group in Yahoo/MSN messenger to help those who need fast help? Amit Gupta Mobile: 91-9818052171 Yahoo IM: amitguptainn MSN IM : amitguptainn ---