SecurityFilter used with JBoss?

2003-03-20 Thread Mick . Knutson
JBoss has many PAM modules including one DatabaseServerLoginModule. Can this be used with the SecurityFilter? I ask because it seems to be a parameter to add such a realm module: !-- start with a Catalina realm adapter to wrap the Catalina realm defined below -- realm

RE: Problem with Struts Validator

2003-03-20 Thread Amit Keshav Kulkarni
Hi, Thanks Steve. Actually I had seen the Javascript code. I am using server side validations and in the server side code I was not able to figure out how the validations are handled. Is there any way to change it for Server side or has anyone else done a similar thing? Any pointers will be

Re: Control Access

2003-03-20 Thread Dejan Krsmanovic
The simplest way is , In all actions check whether the User is logged in ( by checking whether UserBean is present in the Session) . If the user is not logged in direct him to the Login page . This approach is not that efficient as you have to have this logic in all the actions. If you

RE: RESUBMIT: Trapping timeout of HttpSession

2003-03-20 Thread Mohan Radhakrishnan
Hi We do it in the servlet filter. The line that does it is if( !req.getRequestURI().equals( /login.action ) session.isNew() ){ } I couldn't find any other way to prevent my login page itself expiring. Mohan -Original Message- From: Rick Ashley [mailto:[EMAIL

Populating form fields

2003-03-20 Thread Karl Stenerud
How do you populate form fields in struts? I have a page with a form ContractSetupForm, which then forwards to another page that contains a ContractForm, which has some fields the same, some different. In my action class leading to this form, I made a ContractSetupData bean and populated it,

struts 1.1:Multiple DataSources

2003-03-20 Thread John Wilson
Using struts 1.1 with SQL2000 Database. Defined two data sources in my strust-conf.xml: data-sources data-source set-property property=key value=one / ... ... /data-source data-source set-property property=key value=two / ... ...

Re: Populating form fields

2003-03-20 Thread Konstantina Stamopoulou
Try the following: html:text property=fullName value=%=((ContractSetupData)contractData).getFullName()%/ I believe it will work. Konstantina - Original Message - From: Karl Stenerud [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 10:48

Re: PrePopulation Problem - Urgent

2003-03-20 Thread ashokd
Hi Plessia, Thanks for your reply. Can please explain about redirect=false. Where we need to set redirect=false ? Thanks in Advance, Ashok.D - Original Message - From: du Plessis, Corneil C [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 20, 2003

Multipage Validation - Show errors on page where first action occurs

2003-03-20 Thread Nicolas Pottrain
Hi everybody, I will sketch my problem: I have a multi page form, that consists of 3 pages. There are next - previous buttons to navigate between the pages, no validation occurrs when pressing next/previous. The user can press submit on each of the 3 pages. When the user presses submit, then

Re: PrePopulation Problem - Urgent

2003-03-20 Thread ashokd
Hi Plessia, I check in my action class like this ActionForward myForward = mapping.findForward(contractSucces); System.out.println(Redirect Sattus: +myForward.getRedirect()); //this will always return false; return myForward; It is printing false always. Any help on this. Thanks

Re: Multipage Validation - Show errors on page where first action occurs

2003-03-20 Thread Nicolas De Loof
use 3 actionMapping and 1 formBean with custom validate() : submit - /action1.do (validate form1 parameters) input=page1 - forward to /action2.do (validate form2 parameters) input=page2 - forward to /action3.do (validate form3 parameters) input=page3 /action1

RE: Multipage Validation - Show errors on page where first action occurs

2003-03-20 Thread Nicolas Pottrain
Is there a way to use Validator to in your proposition? Is there a way to only use one action? thx for your quick response Nicolas -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 10:39 AM To: Struts Users Mailing List Subject: Re:

Re: Multipage Validation - Show errors on page where first action occurs

2003-03-20 Thread Nicolas De Loof
They're only one action (/action1.do and /action2.do are forwards) I don't know how to use validator this way. You will need something like this : - define 3 form in validator.xml - use this 3 names for your action mappings as name - use attribute to set the real name of the actionForm. Perhaps

RE: Populating form fields

2003-03-20 Thread shirishchandra.sakhare
Hi, There was some similar question on the mailing list a long back and i am reaending the answers i had given...Let me know if u have any doubts.. But please be a bit patient and go through the mails ..MAy be first have a look at the jsp i have given at the end first and then go through the

StrutsTest issue: java.lang.VerifyError/Signature

2003-03-20 Thread karthik Guru
Hi, Am using strutstest for testing our Struts actionclasses . Am getting this error only when run from within a war file . Thoughts?? This occurs only when run from within a war file. Am almost done with automating the testing from within the daily builds (using ANT). But am unable to

Re: Populating form fields

2003-03-20 Thread Simon Kelly
Hi Shirish, That was almost what I was looking for just then. A very opportune post. I have a quick OT question about the form entry though that you may be able to answer. When my form is rendered to the user in html I want the value displayed to the user to be different to that sent to the

RE: StrutsTest issue: java.lang.VerifyError/Signature

2003-03-20 Thread shirishchandra.sakhare
Hi, We had similar problem.But with another set of jars(Xerces and XercesImpl..)And it was traced to the fact that the version of xerces.jar which has the API was different than XercesImpl (Which has the mplementation classes for Xerces APIs...).. So check the runtime class path and then check

RE: Populating form fields

2003-03-20 Thread shirishchandra.sakhare
try html:checkbox tag... html:checkboxbean:message/html:checkbox should do the trick..But i have never tried... -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 11:42 AM To: Struts Users Mailing List Subject: Re: Populating form fields Hi

Multiple Application.properties files?

2003-03-20 Thread Mick . Knutson
Is it possible to have 1 global Application.properties for my whole APP, then 1 specialized Application.properties per action within that APP? = Thank You Mick Knutson Sr. Designer - Project Trust aUBS AG, Financial - Zürich Office: +41 (0)1/234.42.75 Internal: 48194 Mobile:

Struts form with XML/XSL

2003-03-20 Thread Giovanni Formenti
Hallo, i'm new of Struts and i have a great problem: i want that a xml define my Struts input form! 1) So i create an xml file that define my form fields like this: form field nameid/name typeVARCHAR/type length20/length labelURI/label /field field

Re: passing 'title' to a tile in a frame

2003-03-20 Thread Cedric Dumoulin
Hi, One important thing to remember when you use frames is that each frame is a different page and and that each frame will issue a different request to the server. So, it is not be possible to pass attributes from one frame to another using the request context, or tiles ! You have to

RE: StrutsTest issue: java.lang.VerifyError/Signature

2003-03-20 Thread karthik Guru
Hi Shirish, Ok just wondering where to start debugging from :-) We program to JAXP and use weblogic's default parser settings. Do u think it c'd be an issue with the XML parser in particular, though as u indicated it does'nt sound convincing enuf. Infact any idea as to what the error actually

RE: StrutsTest issue: java.lang.VerifyError/Signature

2003-03-20 Thread shirishchandra.sakhare
Hi, We are not using struts test.. The problem we had was in normally running the application itself on WebSphere which was developed on Eclipse.. So the starting point could be checking the jars u are using for jaxp...Do u have any jars for jaxp and any other parser (Xerces etc?).Because most

Problems with Websphere 4.0

2003-03-20 Thread Diego
Hi, I've developed a small application using tomcat. I've created a war file with the app and tried to deploy it in was 4.0. Every time I call an action that requires redirection the application looks for port 81. Also, when I have a link like: html:link forward=listUsersbean:message

Re: Trap listener exceptions

2003-03-20 Thread Kris Schneider
Although you might be able to throw a custom runtime exception and handle it through the servlet error page mechanism. Quoting David Graham [EMAIL PROTECTED]: You can't. The listener method doesn't define any thrown exceptions so your implementation can't either. David From: Mohan

RES: remote scripting and Struts

2003-03-20 Thread Francisco Gonçalves Rodrigues
Yes, I know what you are saying. I'm using the remote scripting in a Struts application. It works very well. No problem with it. :) Francisco Gonçalves Rodrigues Analista de Sistemas Instituto Atlântico Fone: +55 85 216-7847 Fax: +55 85 216-7864 -Mensagem original- De: Butt, Dudley

RES: Using Struts 1.1 RC1 Within Eclipse With Tomcat Plugin

2003-03-20 Thread Francisco Gonçalves Rodrigues
I'm using the same configuration and it works well. Francisco Gonçalves Rodrigues Analista de Sistemas Instituto Atlântico Fone: +55 85 216-7847 Fax: +55 85 216-7864 -Mensagem original- De: Alonso, Damian [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 19 de março de 2003 03:58

RE: remote scripting and Struts

2003-03-20 Thread Butt, Dudley
excellent, thank u very much... u don't have some advice for us would you? or even better, some example code of how you integrating the RS calls within your pages? would be great, and thanx for the reply.. -Original Message- From: Francisco Gonçalves Rodrigues [mailto:[EMAIL PROTECTED]

Re: passing 'title' to a tile in a frame

2003-03-20 Thread Jeff Kyser
Okay, thanks Cedric. -jeff On Thursday, March 20, 2003, at 05:14 AM, Cedric Dumoulin wrote: Hi, One important thing to remember when you use frames is that each frame is a different page and and that each frame will issue a different request to the server. So, it is not be possible to

Faces - UIComponent - read/write mode

2003-03-20 Thread Sebastien Cesbron
Hi, I am looking at the struts faces integration ant I have a question about it. Is there any plan to integrate the UIComponent tree in struts or is the integration just a new tag library. I am guessing that in the future we will put ui components in actionforms : do I miss something (I am not

RE: Connection Pool

2003-03-20 Thread Jimmy Emmanual
Dennis, Thank you very much! It works!! By setting the key as a Attribute of the datasource tag, and NOT a property, i can reference it by its key. Here is the change i made in the struts-config file: !-- PRODUCTION/dataexport -- data-source key=prdDataexport

RE: Country select pull down.

2003-03-20 Thread Robert Taylor
Mick, Populate a collection of LabelValue beans with your countries (assuming your have something like countryId, countryName for each country) when your web app initializes (ServletContextListener-if 2.3) and place it in the ServletContext. Then on your .jsp page use the following syntax

RE: struts 1.1:Multiple DataSources

2003-03-20 Thread Jimmy Emmanual
John, read the posts on Connection Pool. I've got it working in 1.0.2 by setting the key as an Attribute of the datasource tag not as a property. struts-config file: data-source key=one ... ... /data-source data-source set-property property=key value=two / ...

[Ann] Meeting in Paris this Saturday

2003-03-20 Thread Cedric Dumoulin
Hi, For those interested to discuss with me about Struts and Tiles, I will be this Saturday 22 march in Paris at the bookstore Le Monde en 'tique' from 16h to 18h (www.lmet.fr). Cedric - To unsubscribe, e-mail: [EMAIL

Re: Country select pull down.

2003-03-20 Thread Dan Allen
I find that the best way to create a (somewhat static) select list of options on an html page (such as a list of countries, states, industries, services, etc..) is to make a Bean for the collection. Then, in the jsp page, you simply do the following: jsp:useBean id=industryOptionBean

RE: [OT] Meeting in Paris this Saturday

2003-03-20 Thread Mark Galbreath
Gee, and I was just looking for an excuse to go to FranceNOT. Mark -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 9:00 AM For those interested to discuss with me about Struts and Tiles, I will be this Saturday 22 march in Paris

RE: Country select pull down.

2003-03-20 Thread Mick . Knutson
But I need to make several Locales available for this list. How would I also do that with this Country List? _ Thank You Mick Knutson Sr. Designer - Project Trust aUBS AG, Financial - Zürich Office: +41 (0)1/234.42.75 Internal: 48194 Mobile: 079.726.14.26 _ -Original

PrivilegedActionException

2003-03-20 Thread Mark Galbreath
I'm developing a Struts-based (of course) expense reporting application for a client and on compile a couple of my JSPs are reporting: Error: java.security.PrivilegedActionException java.lang.ClassNotFoundException: org.apache.commons.validator.ValidatorResources I've never seen this exception

RE: Control Access

2003-03-20 Thread Mike Ash
Where is this securityfilter project? -Original Message- From: Scott Barr [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 11:15 PM To: Struts Users Mailing List Subject: Re: Control Access Or as Max Cooper says, check out the securityfilter project :D I haven't used it

logic tag addition proposal

2003-03-20 Thread Dan Allen
While coding my new application in struts, I came across what I deam to be a missing feature in the struts taglibs. As I present the problem and the solution I came up with, hopefully it will become clear that this tag is a good idea. On a particular page, call it a profile page, I was putting

Re: Control Access

2003-03-20 Thread Dan Allen
Mike Ash ([EMAIL PROTECTED]) wrote: Where is this securityfilter project? sourceforge.net -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Daniel Allen, [EMAIL PROTECTED] http://www.mojavelinux.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The package

RE: Control Access

2003-03-20 Thread Mick . Knutson
http://securityfilter.sourceforge.net/ _ Thank You Mick Knutson Sr. Designer - Project Trust aUBS AG, Financial - Zürich Office: +41 (0)1/234.42.75 Internal: 48194 Mobile: 079.726.14.26 _ -Original Message- From: Mike Ash [mailto:[EMAIL PROTECTED] Sent: Thursday,

nl2br taglib

2003-03-20 Thread Dan Allen
I truly believe that nl2br would be a most excellent taglib. Already my web developer has thanked me 10 times for making this tag for him. Here is why. Often times the jsp developer needs to include a large about of descriptive text with paragraph breaks. Normally he/she would have to flood the

RE: Country select pull down.

2003-03-20 Thread Mick . Knutson
I am using EJB's for my data currently, is this solution you mention something I can put in my DB, and use the dataSource to access directly like you mentioned? If so, how, or where would I look to go in the right direction? _ Thank You Mick Knutson Sr. Designer - Project Trust

struts console small request

2003-03-20 Thread Dan Allen
I have a very small request for struts-console. There is an option to format the output, which I like to use, but it strips comments. Is there anyway to format the output and leave in the comments? Those comments are important for me when I am looking at the raw source code because they are notes

RE: Searching the Struts Mail List Archive

2003-03-20 Thread Cruz, Edward J.
Has anyone been getting a Bad Gateway Error when trying to use the second search page? http://nagoya.apache.org/eyebrowse/SummarizeList?listId=42 Jamie Cruz Software Engineering [EMAIL PROTECTED] (301)688-1430 -Original Message- From: James Watkin [mailto:[EMAIL PROTECTED] Sent:

RE: Country select pull down.

2003-03-20 Thread Robert Taylor
snipis this solution you mention something I can put in my DB, and use the dataSource to access directly like you mentioned?/snip No. First. I'm assuming your servlet container is 2.3 compliant and the country list does not change. If this is so, then you would want to implement a

Re: logic tag addition proposal

2003-03-20 Thread David Graham
This kind of logic is better done in an Action, not in the view layer. David From: Dan Allen [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts-User List [EMAIL PROTECTED] Subject: logic tag addition proposal Date: Thu, 20 Mar 2003 08:23:26 -0600 While coding my

Re: Trap listener exceptions

2003-03-20 Thread David Graham
Of course, but RuntimeExceptions are meant to indicate programmer error and generally shouldn't be caught. David From: Kris Schneider [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Trap listener exceptions

RE: Searching the Struts Mail List Archive

2003-03-20 Thread Mark Galbreath
Works for me -Original Message- From: Cruz, Edward J. [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 9:50 AM Has anyone been getting a Bad Gateway Error when trying to use the second search page? http://nagoya.apache.org/eyebrowse/SummarizeList?listId=42 Jamie Cruz

RE: [OT] Meeting in Paris this Saturday

2003-03-20 Thread David Graham
Why do you always bait people with inflamatory OT posts? It would be interesting to compare the number of your helpful posts vs. OT. David From: Mark Galbreath [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject:

RE: help :::: struts on iplanet

2003-03-20 Thread Velagapudi, Niranjan
Ramesh, Few Days back, we gathered the information (from the members of this list) that iPlanet 6.0 with struts on Windows gave some frustrating experiences and it does work on Solaris. With that information, we tried and successfully configured Struts 1.0 with iPlanet 6.0 on Solaris with Java

Re: [OT] Meeting in Paris this Saturday

2003-03-20 Thread Simon Kelly
I always read Marks posts, and it's a close run thing!! - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 3:51 PM Subject: RE: [OT] Meeting in Paris this Saturday Why do you always bait people with inflamatory OT posts? It

Struts 1.1 validator modules -- answer to problem where getting Resources not defined for Validator

2003-03-20 Thread Feder, Helen
When trying to use the validator with modules I was getting the error: ERROR [ValidatorForm] Resources not defined for Validator The solution to this problem was to put the plug-in info into the module's struts-config file That is this xml -- plug-in

Re: struts console small request

2003-03-20 Thread James Holmes
Hey Dan, This is a very common question so I've gone ahead and added an answer to it on the FAQ section of my website. Unfortunately, there's not much that can be done there. See my website for more details: http://www.jamesholmes.com/struts/console/faq.html -james --- Dan Allen [EMAIL

RE: Country select pull down.

2003-03-20 Thread Tapan Nanawati
That is very well explained robert. Mick - however if you can avoid using countries from your own database and ejb, use country taglib.That is a very clean way of using countries. Search for that. Tapan In case you want to use countries jsut in On Thu, 2003-03-20 at 20:16, Robert Taylor wrote:

Re: struts console small request

2003-03-20 Thread David Graham
James, XML comments can be preserved because in other XML tools they show up as nodes in the XML tree. I don't see why it matters which tag the comment may belong to because the comment can exist as a node apart from any other element. David From: James Holmes [EMAIL PROTECTED] Reply-To:

RE: Good Combination

2003-03-20 Thread Hue Holleran
1) Struts alone As in benefits of struts versus no struts - maybe try: http://jakarta.apache.org/struts/ 2) Struts with tiles http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] he.orgmsgId=658517 3) Struts with Sitemesh Never used it, sorry. -Original Message- From:

RE: [OT] Meeting in Paris this Saturday

2003-03-20 Thread Mark Galbreath
Who gives a shit if Cedric is going to be in a bookstore this Saturday? I was being sarcastic, not inflammatory, in the traditional hacker sense. Perhaps he will be dipping his freedom fries in freedom dressing sitting by the freedom doors before ordering freedom toast? And I've been helping

RE: [OT] Meeting in Paris this Saturday

2003-03-20 Thread David Graham
I find it interesting that you haze newbies when they're offended by your sarcastic remarks but that you're apparently upset by mine. David From: Mark Galbreath [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject:

RE: [OT] Meeting in Paris this Saturday

2003-03-20 Thread Ron Day
You jerk !! -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 9:16 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Meeting in Paris this Saturday Who gives a shit if Cedric is going to be in a bookstore this Saturday? I was being

RE: help :::: struts on iplanet

2003-03-20 Thread Ramesh_KumarP
Hi, Thanks for your reply Actually we are trying a sample struts example on iplanet windows.. We have used wdeploy tool only. Even then it is giving exception... An it is not running... please tell me tha solution.. Following is the errors [20/Mar/2003:15:08:27] warning ( 143):

Re: [Ann] Meeting in Paris this Saturday

2003-03-20 Thread Alexandre Jaquet
rhaa I can't come I have to much work to come to Paris, but if one day you will move to Geneva let's announce it -- Alexandre Jaquet - Original Message - From: Cedric Dumoulin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 2:59 PM Subject: [Ann] Meeting in Paris

RE: ActionError not supporting bundle

2003-03-20 Thread David Gagnon
Hi, Honestly I haven't try a solution yet .. just a lack of time. I had a chat with a guy on the list his workaround was to put all bundle in the main bundle at boot time (means he was keeping all his bundle files but was merging them dynamically). For me it seems pretty clear that

Re: [OT] Meeting in Paris this Saturday

2003-03-20 Thread Simon Kelly
Holly Flame Wars Batman!!! I think putting a stop to this thread right now would be a good idea. Cedric is offering some free qa to those IN France, no one is expecting everyone on the list to jump on a plane and rush over (Though that would be well funny) Mark is sarcastic. Deal with it, and

Re: [OT] Meeting in Paris this Saturday

2003-03-20 Thread Alexandre Jaquet
LOL I found an picture of Mark ;) http://www.parentingpress.com/covers/angry.jpg - Original Message - From: Simon Kelly [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 4:35 PM Subject: Re: [OT] Meeting in Paris this Saturday Holly Flame

Struts console action mapping attribute question.

2003-03-20 Thread Mick . Knutson
What is the Configuration class attribute of an action mapping in the struts console? I see it adds a className= but I have no idea what this is used for in Struts 1.1rc1 Thank You Mick Knutson Sr. Designer - Project Trust aUBS AG, Financial - Zürich Office: +41 (0)1/234.42.75 Internal:

Re: logic tag addition proposal

2003-03-20 Thread Dan Allen
David Graham ([EMAIL PROTECTED]) wrote: This kind of logic is better done in an Action, not in the view layer. David I disagree in this case. Assets should only be the concern of the view and sometimes, the view has to make sure that a certain state exists before it can display the asset.

Re: [OT] Meeting in Paris this Saturday

2003-03-20 Thread Simon Kelly
LOLThat's gonna be edited and go on my back drop!!! - Original Message - From: Alexandre Jaquet [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 4:43 PM Subject: Re: [OT] Meeting in Paris this Saturday LOL I found an picture of Mark

RE: Using different actionform types before and after a display page.

2003-03-20 Thread Susan Bradeen
Believe it or not, Sri, your questions were incredibly helpful! Comments in-line ... On 03/19/2003 11:21:40 AM Sri Sankaran wrote: What do you mean by does not seem to work? Do you get null values? NPE? Yes, that was a bit vague. Sorry about that. Regarding the html:hidden values, I was

1.1 rc1 -Validator: Conditionally required fields.

2003-03-20 Thread Steve
Are there any other examples of using conditionally required fields for the validator? I find the example here a bit confusing. http://jakarta.apache.org/struts/userGuide/dev_validator.html Specifically the part: form-bean name=dependentlistForm

Re: logic tag addition proposal

2003-03-20 Thread David Graham
Actions are where most of this logic should be. Instead of a taglib for this you could more easily have the Action check for the image's existence and store a boolean in the request. Your jsp would look like: c:if test=imageExists == true display image /c:if David From: Dan Allen [EMAIL

Re: Struts console action mapping attribute question.

2003-03-20 Thread David Graham
Check the struts-config.xml DTD. David From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Struts console action mapping attribute question. Date: Thu, 20 Mar 2003 16:43:48 +0100 What is the Configuration class attribute of an action

Re: 1.1 rc1 -Validator: Conditionally required fields.

2003-03-20 Thread David Graham
Are there any other examples of using conditionally required fields for the validator? I find the example here a bit confusing. You're not the only one. I still haven't figured it out although I haven't spent much time with it. A committer (can't remember which one) has developed an easier

RE: [OT] Meeting in Paris this Saturday

2003-03-20 Thread Chen, Gin
F-I-L-L-T-E-R. hmm.. I guess can't spell it. I learned english via hooked on phonix. -Tim -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 10:16 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Meeting in Paris this Saturday Who gives

Re: [OT] Meeting in Paris this Saturday

2003-03-20 Thread Rick Reumann
On Thu, 20 Mar 2003 16:35:12 +0100 Simon Kelly [EMAIL PROTECTED] wrote: Mark is sarcastic. Deal with it, and don't take it with anything less than a ladle full of salt. The bull crap part is that just because Mark is sarcastic he's supposed to get a free pass on saying whatever he wants?

RE: 1.1 rc1 -Validator: Conditionally required fields.

2003-03-20 Thread Steve
Has there been a time table set for 1.2? Any thoughts on alternative solutions? Banging my head on the keyboard doesn't seem to work. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 10:58 AM To: [EMAIL PROTECTED] Subject: Re: 1.1 rc1

RE: 1.1 rc1 -Validator: Conditionally required fields.

2003-03-20 Thread David Graham
Has there been a time table set for 1.2? Any thoughts on alternative solutions? Banging my head on the keyboard doesn't seem to work. There's no timetable for any Struts release. Keep banging; eventually you'll get somewhere. David -Original Message- From: David Graham [mailto:[EMAIL

RE: [OT] Meeting in Paris this Saturday

2003-03-20 Thread Mark Galbreath
+2 - THAT was funny! -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 10:48 AM To: Struts Users Mailing List Subject: Re: [OT] Meeting in Paris this Saturday LOLThat's gonna be edited and go on my back drop!!! - Original Message

RE: [OT] Meeting in Paris this Saturday

2003-03-20 Thread Mark Galbreath
Just tryin' to keep things lively ;-) -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 11:03 AM To: Struts Users Mailing List Subject: Re: [OT] Meeting in Paris this Saturday On Thu, 20 Mar 2003 16:35:12 +0100 Simon Kelly [EMAIL

Struts 1.1 RC1 and Validator

2003-03-20 Thread Cruz, Edward J.
I am using Struts Release Candidate 1.1. Deploying to Tomcat 4.0. This is the DOCTYPE in both my validation.xml and validation-rules.xml !DOCTYPE form-validation PUBLIC -//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN

RE: 1.1 rc1 -Validator: Conditionally required fields.

2003-03-20 Thread James Turner
That would be me. For the moment, here's a simple example of a requiredif: Let's say you have three fields in your form, Sex, dateOfLastMamogram, and testResult. If sex is 'F' or 'f', dateOfLastMamogram should be required. If dateOfLastMamogram is not empty, testResult is required. Here the

Re: [OT] Meeting in Paris this Saturday

2003-03-20 Thread Rick Reumann
On Thu, 20 Mar 2003 11:14:31 -0500 Mark Galbreath [EMAIL PROTECTED] wrote: Just tryin' to keep things lively ;-) This message was not received by recipient because it was F-I-L-T-E-R-E-D :) -- Rick Reumann - To

RE: 1.1 rc1 -Validator: Conditionally required fields.

2003-03-20 Thread David Graham
You can't use field-* anymore. It generates invalid javascript variables so I changed all of those variables to camel case and removed the -. Also, can you choose a different topic for the example? This one is kind of distracting :-). David From: James Turner [EMAIL PROTECTED] Reply-To:

Re: 1.1 rc1 -Validator: Conditionally required fields.

2003-03-20 Thread Jeff Kyser
That example throws a bit too much all at once for an intro to the 'requiredif' rule. For making a simple validation such as 'inputVia' - a radio button set with values of 'FILE_SELECT' and 'MANUAL_INPUT' 'file' - a formFile for uploading a file, 'manualText' - a text area for inputting text

Re: Struts 1.1 RC1 and Validator

2003-03-20 Thread David Graham
This has definitely been fixed. Pick up a nightly Struts build (which includes a nightly commons-validator build). David From: Cruz, Edward J. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts-User List [EMAIL PROTECTED] Subject: Struts 1.1 RC1 and Validator

HTML Tags proposal

2003-03-20 Thread Jeff Smith
I have been following the thread on Country Selection Pull-down and it addresses an issue that has bothered me as well - how do we create localizable forms from bean data? The suggestion of putting localized versions of the various field labels in my DB (from where I build my labels bean) seems

RE: Struts 1.1 RC1 and Validator

2003-03-20 Thread Cruz, Edward J.
Did the Struts 1.1 Release Candidate fix it or was it a nightly build sometime after the RC1? Jamie Cruz Software Engineering [EMAIL PROTECTED] (301)688-1430 -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 11:24 AM To: [EMAIL

RE: [OT] Meeting in Paris this Saturday

2003-03-20 Thread Hue Holleran
Who gives a (word removed) if Cedric is going to be in a bookstore this Saturday? I was being sarcastic, not inflammatory, in the traditional hacker sense. I do - and probably some others who subscribe to this list - who will be in Paris and who may be interested in having a face-to-face

Java Out Of Memory

2003-03-20 Thread Butt, Dudley
Hi there, I know this isn't a Struts question, but I also know you're all extremely experienced Java dudes, so how can I prevent a Out Of Memory error when doing a Javac compile for ejbc, with a EntityRelationshipBean? Any help would be great! I'm compiling on a 256M machine and my command looks

RE: Struts 1.1 RC1 and Validator

2003-03-20 Thread David Graham
Nightly. David From: Cruz, Edward J. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts 1.1 RC1 and Validator Date: Thu, 20 Mar 2003 11:36:03 -0500 Did the Struts 1.1 Release Candidate fix it or was it a

Re: HTML Tags proposal

2003-03-20 Thread David Graham
Please add any suggestions to this open enhancement ticket: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17708 Thanks, David From: Jeff Smith [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: HTML Tags proposal

Re: Java Out Of Memory

2003-03-20 Thread Alexandre Jaquet
If you use -Xms256m you just will allow to use your whole memory. - Original Message - From: Butt, Dudley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 5:31 PM Subject: Java Out Of Memory Hi there, I know this isn't a Struts question, but I also know you're

RE: Java Out Of Memory

2003-03-20 Thread Butt, Dudley
is -Xms256m only for available RAM, or can I increase my page file size and use that in the -X option aswell? -Original Message- From: Alexandre Jaquet [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 6:37 PM To: Struts Users Mailing List Subject: Re: Java Out Of Memory If you

Re: Java Out Of Memory

2003-03-20 Thread Alexandre Jaquet
it's only for modify the ram size (by default 64 are allowed) - Original Message - From: Butt, Dudley [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 5:43 PM Subject: RE: Java Out Of Memory is -Xms256m only for available RAM, or can I

RE: 1.1 rc1 -Validator: Conditionally required fields.

2003-03-20 Thread James Turner
-Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 11:23 AM To: [EMAIL PROTECTED] Subject: RE: 1.1 rc1 -Validator: Conditionally required fields. You can't use field-* anymore. It generates invalid javascript variables so I

Re: Java Out Of Memory

2003-03-20 Thread Alexandre Jaquet
it's may a trick around the config file of web logic it's song like you need to increase you cache but i never used weblogic - Original Message - From: Butt, Dudley [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 5:43 PM Subject: RE: Java

RE: Java Out Of Memory

2003-03-20 Thread Butt, Dudley
so in other words, i need more RAM : ) -Original Message- From: Alexandre Jaquet [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 6:45 PM To: Struts Users Mailing List Subject: Re: Java Out Of Memory it's only for modify the ram size (by default 64 are allowed) -

Re: Trap listener exceptions

2003-03-20 Thread Kris Schneider
FWIW, there's plenty of debate in the Java community about what unchecked exceptions are meant for. One link: http://www.mindview.net/Etc/Discussions/CheckedExceptions In this particular case, it probably makes more sense to just explicitly dispatch to an error page if the listener already knows

RE: Java Out Of Memory

2003-03-20 Thread Butt, Dudley
i'm not compiling on the weblogic server or running Weblogic, i'm just doing a ejbc compile on my dev machine with the weblogic jars, like I've always done. I'm begginning to think that I just need to buy some more RAM, but hey, thanx for answering my email, appreciated -Original

  1   2   >