Re: *reset* why is it not being called

2002-10-24 Thread Affan Qureshi
I think you should use JavaScript function for your req. and change teh tye of the "Reset" button to BUTTON and call a JS function on its click(). - Original Message - From: "Joe Barefoot" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, October 24, 2

RE: Zero-copy persistence with Struts?

2002-10-24 Thread Hookom, Jacob John
I guess I'm lost as to why CachedRowSet is a zero copy? The source code for the basicPortal's still copies all the data into another, internal collection. Isn't that copying the data or did I miss the definition of zero copy? With OJB, objects are placed in a cache, so if you are querying the

RE: [sub-apps] smthg missing... (?)

2002-10-24 Thread Vincent PROSPER
Eddie, Craig and James, Thanks a lot for your confirmations. It obviously helps!!! To avoid CVS weirdness between our projects, I guess what I gonna do is actually to include some arguments to my build.xml file in order to fetch only "lib" and "classes" files from the other projects. Vince -

RE: [tiles:put / logic:present] lost 'role' attribute

2002-10-24 Thread Vincent PROSPER
Hi, could you please give some answer to this crucial problem? Should I use cookies or any other trick to proceed? Thanks in advance for your answers. Vince -Original Message- From: Vincent PROSPER [mailto:Vincent.Prosper@;Alkinos.com] Sent: Thursday, October 24, 2002 7:35 PM To: [EMAIL

RE: Zero-copy persistence with Struts?

2002-10-24 Thread Frederico Schuh
Though I agree with the CachedRowSet solution, I don't think using a ResultSet is bad at all. If you can find a way to wrap it around an interface like you are proposing, it can be cleaner to the JSP page and will be more memory efficient than using a CachedRowSet, and thus it will be more scalable

RE: Validator later rather than sooner?

2002-10-24 Thread Vincent PROSPER
John, thats obviously what I did... The thing is even you only select a property for your error message, you get the error... message (due to Struts Validator). It of course doesn't happen if you only use your own validate() methods without calling Struts Validator... Vince -Original Message

RE: Validator files questions

2002-10-24 Thread Vincent PROSPER
Hi, You put as many xml files as you want, but they must be described in your struts-config.xml file: The only prerequisite is that validator-rules.xml is the one provided with Struts distribution. So, naming your file validator.xml or validation.xml doesn't matter. Vincent -Orig

Re: deprecated perform method in Action means roll your own Command Pattern

2002-10-24 Thread David Graham
I'm not sure what you mean by all that. The perform method was just replaced by execute so it's still an implementation of the command pattern. Perform now just wraps a call to execute to maintain backward compatibility but I imagine it will be removed in later versions. David From: Tony B

Re: Struts validator for date field

2002-10-24 Thread Rob Leland
Down load the Nightly build for Oct 25, it should now work. The patch that James Turner Championed was comitted, to remove the depends="required" attribute form the validator-rules.xml -Rob -- To unsubscribe, e-mail: For additional commands,

Re: [Validator] StrutsValidatorUtil.getActionError

2002-10-24 Thread Rob Leland
Jerry Jalenak wrote: In the latest nightly build the StrutsValidatorUtil.getActionError method has been deprecated. I took a look at the JavaDoc but it hasn't been updated to reflect this, nor does it indicate what the new method is. Does anyone know? The JavaDoc has been updated, take a loo

RE: Open an other window for information

2002-10-24 Thread Bill Chmura
You want to use the target tag to specify _BLANK I think in the link... That will force a new window to be opened. If you want to sprinkle it liberally all around your app then check out this: http://www.explosivo.com/bill/downloads/tomcat Get the popupdev file - it is a tag library for doing

RE: [OT] Local DTDs to satisfy DOCTYPE

2002-10-24 Thread Tony Baity
Oh my... the simplicity of it all is coming back to me. Thanks for jogging my memory. :) -Tony (too much work and not enough sleep) "VEDRE, RANAPRATAP REDDY" <[EMAIL PROTECTED]> wrote:how about using instead of the actual http url. u you have to change the path in the xml files if u ch

RE: [OT] Local DTDs to satisfy DOCTYPE

2002-10-24 Thread VEDRE, RANAPRATAP REDDY
how about using mailto:tonybaity@;yahoo.com] Sent: Thursday, October 24, 2002 10:49 PM To: [EMAIL PROTECTED] Subject: [OT] Local DTDs to satisfy DOCTYPE Hello, Lets say I make a Struts application that runs on a private network... sort of an intranet kind of App. with no connection to the i

[OT] Local DTDs to satisfy DOCTYPE

2002-10-24 Thread Tony Baity
Hello, Lets say I make a Struts application that runs on a private network... sort of an intranet kind of App. with no connection to the internet. Where do I put the DTDs locally to satisfy the DOCTYPE in the XML files? -Tony (if XFORMS is the answer, what was the question) -

RE: 404 error looking for stylesheet

2002-10-24 Thread Andrew Hill
"/myApp/WEB-INF/jsp/styles/myJsp.css HTTP/1.1" is in the WEB-INF directory. As such the browser cannot get read it as your container will not directly serve anything under WEB-INF. You need to move the css file to somewhere outside web-inf that is directly accessible. -Original Message- Fr

RE: Validation Framework Question..

2002-10-24 Thread VEDRE, RANAPRATAP REDDY
i guess i can have an action mapping with validate="false" Thankyou ... -Original Message- From: Tony Baity [mailto:tonybaity@;yahoo.com] Sent: Thursday, October 24, 2002 10:11 PM To: Struts Users Mailing List Subject: Re: Validation Framework Qu

Re: Validation Framework Question..

2002-10-24 Thread Tony Baity
Hi, Could you perhaps use a different path for new departments... for instance... "newDepartment.do" that maps to DepartmentAction but does not do the validation? -Tony (is it close enough to Friday to post a [FRIDAY] yet?) "VEDRE, RANAPRATAP REDDY" <[EMAIL PROTECTED]> wrote: I use html links th

Validation Framework Question..

2002-10-24 Thread VEDRE, RANAPRATAP REDDY
I use html links that point to an action in my jsps, so that i can do some initialization before displaying a jsp. for example: New Department clicking on link "department.do" takes the control to the action class(DepartmentAction) which forwards to department.jsp I use validation framewo

deprecated perform method in Action means roll your own Command Pattern

2002-10-24 Thread Tony Baity
Hello, Just got back on the list again... man is it busy here hey... about the command pattern that appears to be disappearing from the Action class... do we roll our own now just using Action as a base class? I really like that combined execute and perform functionality... so that I can weed

RE: Message Resource file location in war file.

2002-10-24 Thread VEDRE, RANAPRATAP REDDY
You can add aaw/WEB-INF to ur classpath. You can keep it anywhere u like as long as it is listed in the classpath. it's usually placed in WEB-INF/classes as WEB-INF/classes automatically in the classpath of ur webserver/servlet engine. hope this helps ... -Original Message- From: Ch

RE: *reset* why is it not being called

2002-10-24 Thread Joe Barefoot
If you mean that you are using or , and this is the button you are clicking, then there is no request being made to the server. The reset button is client-side; the browser just resets the form to whatever the values were at the time the form was last submitted. That's why they "magically" r

Re: *reset* why is it not being called

2002-10-24 Thread David Derry
If you mean , the docs states "Renders an HTML element of type reset." the behavior of the is to reset the form values to their initial value. This is handled on the client end, so the initial values would be what was first displayed when the page was rendered. If you want to be able to restore

Re: Validator later rather than sooner?

2002-10-24 Thread David Derry
Sorry. No I meant ValidatorActionFormdidn't realize that you were on 1.0.2. Forget what I said. It applies to 1.1 using the Validator. What about doing your validation in the Action rather than the forms validate method? You could continue to use a common form (I'm guessing that yo

*reset* why is it not being called

2002-10-24 Thread Anthony Mutiso 2
I have a form that on succesful submission loops back to the same page but more data is displayed at the bottom of the page. My problem is that the reset button in the form only clears the form to the data that was in the form after the last submit. So every time I submit, if I press reset nothin

Action Errors

2002-10-24 Thread Bhamani, Nizar A TL56E
I have a form page, which is using the Validations Plugin to perform certain validations. If on a page, I get an error because of required field value is missing, the error message is displayed correctly. However, if I put correct values later, the ActionErrors is still set (ActionError.size() ==

Dynamic Forms using XML

2002-10-24 Thread Bhamani, Nizar A TL56E
I have a scenario where, I need to develop Dynamic forms using an XML. i.e. the XML will specify what fields (all types of fields) need to be displayed on what page (i.e. page1, page2, etc). Has anybody out there worked on a similar scenario using Struts? Any help/input on this will be greatly ap

Re: Validator later rather than sooner?

2002-10-24 Thread David Graham
Maybe you could subclass the UserForm into AdminUserForm and EndUserForm? David From: "Michael Lee" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: Validator later rather than sooner? Date: Thu, 2

Re: Validator later rather than sooner?

2002-10-24 Thread Michael Lee
If by ValidatorActionForm you mean ValidatingActionForm then I can't (shouldn't). It recommends what I suggested as a possible solution in the original post. That is, overriding the UserForm and using that form for the appropriate action mapping in the struts-config.xml. I would be overriding the v

Re: Validator later rather than sooner?

2002-10-24 Thread Michael Lee
ActionForm reused across many actions, not the whole app. Its a UserForm. Between admin create user, admin edit, end user edit and create, etc, it would not make sense to have multiple aciton forms that all have 95% of the same data. I'm just wondering how to split up the validator without using pa

Re: Validator later rather than sooner?

2002-10-24 Thread Michael Lee
We do use the same form. That's the problem. - Original Message - From: "bachan s" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, October 24, 2002 3:02 PM Subject: Re: Validator later rather than sooner? > > Instead of writing different action for

Re: Validator files questions

2002-10-24 Thread James Holmes
That file shouldn't have been there and has been removed in the nightly builds. You can disregard it. -james http://www.jamesholmes.com/struts/ --- Vincent Stoessel <[EMAIL PROTECTED]> wrote: > In my struts 1.1b2 dist, I got 3 Validator related > files in my WEB-INF. > > validator-rules.xml > v

RE: Printing User Guide

2002-10-24 Thread Bradley G Smith
Yes I believe you are correct. Quoted blocks to seem to be the culprit. There are times when it is more convenient to have a printed page for reference and reading and this problem makes that difficult to do. Brad

RE: JavaScript Validation: MinLength & MaxLength Functions Don't Work

2002-10-24 Thread Nekkalapudi, Viplava
That's what we implemented now and are going to test it. Anyway, Thanks. -Original Message- From: bachan s [mailto:bachan_anand@;yahoo.com] Sent: Thursday, October 24, 2002 4:04 PM To: Struts Users Mailing List Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: RE: JavaScript Validation

Validator files questions

2002-10-24 Thread Vincent Stoessel
In my struts 1.1b2 dist, I got 3 Validator related files in my WEB-INF. validator-rules.xml validation.xml validator.xml In Chuck's book, he only refers to the first 2. What is validator.xml for? Thanks. -- Vincent Stoessel Linux Systems Developer vincent xaymaca.com -- To unsubscribe, e-mail

RE: JavaScript Validation: MinLength & MaxLength Functions Don't Work

2002-10-24 Thread bachan s
Hi, If you have noticed the validation would stil occur at the back end (java part). If you want password also to be validated at front end change you validator-rules.xml - javascript function validateMinLength to the following code . This should work fine.Let me know. Bacha

RE: Printing User Guide

2002-10-24 Thread Skip Hovsmith
If believe that the minimum width of the page is determined by the largest blockquoted text in the document to be printed. If this width is less than a printed page width, the print routine will format the output to the page width, but if it's larger, you're out of luck unless you can shrink the pr

RE: JavaScript Validation: MinLength & MaxLength Functions Don't Work

2002-10-24 Thread Nekkalapudi, Viplava
It looks like the min/max length JavaScript functions do NOT work on HTML "password" fields. We just verified this. I totally agree with "Hajratwala". Struts should not impose this limitation on the developers. It is the developers responsibility to control the amount of security-related informa

RE:

2002-10-24 Thread Karr, David
> -Original Message- > From: Chen, Gin [mailto:Gin_Chen@;tvratings.com] > Sent: Thursday, October 24, 2002 7:46 AM > I'm not sure but I wonder if u can "fool" struts into doing this > with the new Struts-EL. > I wonder if u do something like assuming that ur singleton is > class Bla

Re: Only one DynaValidatorForm

2002-10-24 Thread bachan s
Hi, In this case it would be better to do it this was. Any other suggestions ! Bachan Heligon Sandra <[EMAIL PROTECTED]> wrote: With DynaValidatorForm it is possible to use the same Form for multiple views (JSP page), isn't it

RE: NEED HELP with Customised Struts Exception Handling

2002-10-24 Thread Trieu, Danny
First of all you need to implement the execute method and let the exception throws out of your methods And here is the config for your exception to handle the handler exception -Original Message- From: Gudla, Madhuri [mailto:MGudla@;americanaships.com] Sent: Thursday, October 24

FormBean property "dynamic" problems

2002-10-24 Thread Adam Sherman
I have a form-bean: type="org.apache.struts.validator.DynaValidatorForm"> For the action: input="viewSchedule" name="viewScheduleForm" scope="request" type="com.teachandtravel.presentation.actions.ViewScheduleAction" validate="true"> If I mark it dynamic="true", no

Re: Single sign on?

2002-10-24 Thread Craig R. McClanahan
On Thu, 24 Oct 2002, amolk wrote: > Date: Thu, 24 Oct 2002 12:44:01 +0530 > From: amolk <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: Single sign on? > > I tried using a singleton for this purpose

RE:

2002-10-24 Thread Couball, James
Why not have your singleton hold a reference to the bean object that carries the data? This is a classic case of "any problem in computer science can be solved with an additional layer of abstraction." James. > -Original Message- > From: Roland Carlsson [mailto:roland.c@;swetravel.se] >

RE: [OT]

2002-10-24 Thread Craig R. McClanahan
On Thu, 24 Oct 2002, Jerry Jalenak wrote: > > Is it friday already? Don't tell me I missed another whole day this week! > Even on a Friday, this thread would have been about 10 messages to long already ... Craig -- To unsubscribe, e-mail:

Re: [OT - MethodUtils] How to invoke method from DynaActionForm

2002-10-24 Thread Craig R. McClanahan
On Thu, 24 Oct 2002, Jerry Jalenak wrote: > Date: Thu, 24 Oct 2002 08:58:06 -0500 > From: Jerry Jalenak <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: [OT - MethodUtils] How to invoke method from DynaAction

RE: [OT - MethodUtils] How to invoke method from DynaActionForm

2002-10-24 Thread Jerry Jalenak
Craig, Thanks for the reply. After I had sent the post I figured out that I was trying to make this a lot harder than it is. Ended up using the 'get' method for DynaActionForm here's the whole method: public static void populateMap(HashMap hm, DynaActionForm daf) th

[sub-apps] smthg missing... (?)

2002-10-24 Thread Vincent PROSPER
Hi, This is a newbie question about sub-apps in struts 1.1.b2... I have got two webapps, named portal.war and listing.war and I want listing.war to become a sub-app of portal.war (does it make sense or am I misunderstanding something?) So what I basically did in the portal project is: *

RE:

2002-10-24 Thread Chen, Gin
i didnt have my coffee today.. i was copying and pasting names and must have put it in the wrong place. :-P sorry. -Tim -Original Message- From: Karr, David [mailto:david.karr@;attws.com] Sent: Thursday, October 24, 2002 11:14 AM To: 'Struts Users Mailing List' Subject: RE: > -Origi

Printing User Guide

2002-10-24 Thread Bradley G Smith
I have noticed that when I try to print out the user guide, that each section has a slightly larger right margin so that when I try to print the 3rd section or so (Model Components or View Components) the right margin of the text is truncated and therefore unusable. I have noticed this with other J

RE: [sub-apps] smthg missing... (?)

2002-10-24 Thread Vincent PROSPER
Wow! If this is really the case, shame on me! But why talking about "sub web-apps"??? Why not rather speaking of "src subparts" or "cvs fashion modules"? In my former opinion, I thought I could mate all my projects into a single one, with keeping webapps independency, i.e. without gathering them

Validator later rather than sooner?

2002-10-24 Thread Susan Bradeen
Is it general practice, or recommended, to develop a Struts application using the Action/ActionForm classes first (getting everything working properly) and later switch to the Validator classes, OR to use the Validator classes (implementing validation) right from the beginning? I have done a l

RE: Printing User Guide

2002-10-24 Thread Karr, David
It's not something you've done wrong. I don't believe that anyone has spent the time to implement a "Printable Page" feature in the manual set. You might try printing it in landscape mode, but that has its own annoyances. > -Original Message- > From: Bradley G Smith [mailto:bgsmith01@;fs

[tiles:put / logic:present] lost 'role' attribute

2002-10-24 Thread Vincent PROSPER
Hi, Ok, my question may be obvious for some of yours, but I guess I am not the only newbie having this kind of trouble (I hope ;-) All I wanna do is to customize jsp pages (made of struts tiles) depending on user's role. Here is my trouble: I've got a tile (among others with same concerns wrt ro

Re: Printing User Guide

2002-10-24 Thread jmattucci
no the same thing happened to me last night "Bradley G Smith" <[EMAIL PROT

Re: Validator later rather than sooner?

2002-10-24 Thread V. Cekvenich
If you do iterative development I add Validation in late iterations. .V Richards, Devin N (Devin) wrote: Since the validator classes extend the standard struts classes, I would get everything working correctly and then add the validator in after. We did this and it worked well (except for the cur

RE: Validator later rather than sooner?

2002-10-24 Thread Vincent PROSPER
Hi, in my opinion - and small experience, I had not difficulties when switching to the Validator. The only things I had to do were: - removing validateXXX() method, XXX being a (set of) field in my form - adding the right rules in my validation.xml Where you might get in trouble is that validat

Re: [OT]

2002-10-24 Thread micael
Okay, I'll bite: YOU DON'T LOOK LIKE A NEWT. At 07:33 AM 10/24/2002 -0400, you wrote: She turned me into a newt! -Original Message- From: Andrew Hill [mailto:andrew.david.hill@;gridnode.com] Sent: Thursday, October 24, 2002 7:12 AM >>"..ng() values witch is not very us.." A witch! burn

Re: Validator later rather than sooner?

2002-10-24 Thread Susan Bradeen
Excellent. Thank you (and Devin and Vince) for the quick response. I'd rather do things one step at a time, but I wasn't quite sure about this one! Thanks again. Susan "V. Cekvenich" <[EMAIL PROTECTED]> Sent by: news <[EMAIL PROTECTED]> 10/24/2002 02:04 PM Please respond to "Struts Users Ma

RE: embedding email address in

2002-10-24 Thread Karr, David
> -Original Message- > From: Scott Hodson [mailto:scott@;ubero.com] > Sent: Thursday, October 24, 2002 11:19 AM > > > > > > Attribute value scriptlets have to be for the ENTIRE value, not a portion of it. You have to do this: If you're using the nightly build, you could

RE: embedding email address in

2002-10-24 Thread Madel,Kurt
As your error suggests, you can't put a Struts tag in as the parameter of another Struts tag, but you can add a Struts tags as a parameter of a regular html tag. This should work: "> Kurt Madel Programmer, CSMi (703) 823-4300 ext. 170 -Original Message- From: Scott Hodson [m

embedding email address in

2002-10-24 Thread Scott Hodson
I have a contact bean, which stores contact info. While displaying contact info I want to show the e-mail address as well as having a mailto: hyperlink to the email address. mailto:";> What do I replace with? I've tried all of the following and none work ...a

RE: [sub-apps] smthg missing... (?)

2002-10-24 Thread Vincent PROSPER
Could someone please confirm this assertion? Vince -Original Message- From: Vincent PROSPER [mailto:Vincent.Prosper@;Alkinos.com] Sent: Thursday, October 24, 2002 7:28 PM To: bachan s Cc: [EMAIL PROTECTED] Subject: RE: [sub-apps] smthg missing... (?) Wow! If this is really the case, sh

404 error looking for stylesheet

2002-10-24 Thread Joe Polanik
Page location: /myApp/WEB-INF/jsp/myPage.jsp myPage.jsp contains this results in a log entry of "GET /myApp/WEB-INF/jsp/styles/myJsp.css HTTP/1.1" 404 693 (correct location of style sheet) In the arkives I found suggestions to use the rewrite function. That didn't work either This

Re: Validator later rather than sooner?

2002-10-24 Thread Michael Lee
Along the same thread, we are having a validation design problem. We have broken most of our Action classes up into multiple classes. Before we had one and used the property in the action mapping. That makes the Action classes much more readable. Problem is, these action classes still just use one

Re: Validator later rather than sooner?

2002-10-24 Thread John Nicholas
Vincent PROSPER wrote: Another thing I dont like in Struts Validator is that translation comes preformatted (error title is not i18N compliant, encapsulated in .. and with an ugly ): you loose the ability of putting a well displayed error beside each field of your form (this is not the case if y

Re: Validator later rather than sooner?

2002-10-24 Thread David Graham
You have one ActionForm class in your whole system? If that's the case then that's your main problem. The rule is one ActionForm per logical html form the user sees. It sounds like you used to have only one Action as well but split it up. That's what you should do with the forms. David

Re: Validator later rather than sooner?

2002-10-24 Thread bachan s
Instead of writing different action forms you can have different entries in your struts config with the same Object type (i.e action form ).In this was you can have different rule for each form using the validator framework. Does this sound feasible. Michael Lee <[EMAIL PROTECTED]> wrote:Along

Error creating ActionForm instance of class 'MyForm'

2002-10-24 Thread Vikas Malla
My tomcat error log shows me these errors. How can I have class not found exception when I am running the same application through the webserver and it works fine. I have this class in my WEB-INF/classes. But when I run my tests using task in ant, I get this problem. I no more get these errors

RE: embedding email address in

2002-10-24 Thread Scott Hodson
Thanks, that worked. -Original Message- From: Karr, David [mailto:david.karr@;attws.com] Sent: Thursday, October 24, 2002 11:32 AM To: 'Struts Users Mailing List' Subject: RE: embedding email address in > -Original Message- > From: Scott Hodson [mailto:scott@;ubero.com] > Sent:

Re: Validator later rather than sooner?

2002-10-24 Thread Dave Derry
You can also validate based on the action rather than the form. Just use the action type rather than the form name, and be sure to extend ValidatorActionForm rather than ValidatorForm. Dave Derry - Original Message - From: "bachan s" <[EMAIL PROTECTED]> > > Instead of writing different

[Validator] StrutsValidatorUtil.getActionError

2002-10-24 Thread Jerry Jalenak
In the latest nightly build the StrutsValidatorUtil.getActionError method has been deprecated. I took a look at the JavaDoc but it hasn't been updated to reflect this, nor does it indicate what the new method is. Does anyone know? TIA Jerry Jalenak Web Publishing LabOne, Inc. 10101 Renner Blvd.

RE: [sub-apps] smthg missing... (?)

2002-10-24 Thread James Mitchell
You cannot have a .war file used as a sub app (they're called 'Modules' btw) under another web app (.war). You will need to refactor your code so that both code bases are built into a single webapp and deployed as such. If you are not sure what I mean or not sure where to start, please download t

Validator and multi-tiered nesting

2002-10-24 Thread Zeitlin, Mike
Using an example, let us say that I have a CalendarForm, and this Form has a Collection of MonthBeans, and each MonthBean has a collection of DayBeans. How can I reference fields in the DayBean in the validation.xml? It seems that using indexedListProperty will only allow me to go to the colle

JavaScript Validation: MinLength & MaxLength Functions Don't Work

2002-10-24 Thread Nekkalapudi, Viplava
My team can't get the Struts client-side (i.e. JavaScript) validation framework to work. We want to ensure that a password is between 6 and 30 characters. Has anyone been able to get these checks to work? The "required" field check works, but the "minlength" and "maxlength" do not. Here's what ou

Re: Validator later rather than sooner?

2002-10-24 Thread bachan s
That also sounds good. Can you please tell how this entry would look like in validation.xml if we want to validate based on action type. maxlength 16

RE: [sub-apps] smthg missing... (?)

2002-10-24 Thread Craig R. McClanahan
On Thu, 24 Oct 2002, Vincent PROSPER wrote: > Date: Thu, 24 Oct 2002 20:22:18 +0200 > From: Vincent PROSPER <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE: [sub-apps] smthg missing... (?) > > Could s

Re: [sub-apps] smthg missing... (?)

2002-10-24 Thread Eddie Bush
You don't include the war. You have to include the contents of the war :-) Obviously, you may wind up having to create a directory for the modules JSP files etc if you want to maintain a unique namespace. That will also necessitate some small modification to your config files. I think the go

Re: JavaScript Validation: MinLength & MaxLength Functions Don't Work

2002-10-24 Thread bachan s
Can you try removing the required from the depends for password and give minlength and maxlength. Since minLength is mentioned required is not necesary. Try it and let ue know. this may be considered as a bug in struts too. Thanks ! Bachan "Nekkalapudi, Viplava" <[EMAIL PROTECTED]> wrote: My

Third party user authentication w/ cookies, custom tag

2002-10-24 Thread Wendy Smoak
I have a custom JSP tag that looks for a cookie and if it's not there, sends the user off to log in with our campus-wide authentication thing. I put a parameter on the URL, and that login page [not mine] authorizes the user, sets the cookie, and then sends him back to the URL I provided. Now tha

RE: embedding email address in

2002-10-24 Thread Scott Hodson
That doesn't work, I already tried it. For starters, you'll get errors because you're using double-quotes both in the tag and the embedded tag. Once you fix that, the mailto: link will just be, literally, the tag, not is expected evaluation. -Original Message- From: Madel,Kurt [mailto

RE: Third party user authentication w/ cookies, custom tag

2002-10-24 Thread Madel,Kurt
You could use a Servlet Filter, and apply it to whatever pages necessary. I am using a filter to check to see if the current user has a User bean in their session; if they don't I create it. If they do, then the filter just sends the request on to Struts. Kurt Madel Programmer, CSMi (703) 823-430

RE: JavaScript Validation: MinLength & MaxLength Functions Don't Work

2002-10-24 Thread Nekkalapudi, Viplava
We tried the same thing by just specifying the "minlength" for test purpose. But it didn't work. --> depends="minlength"> and removed the stuff for maxlength. -Original Message- From: bachan s [mailto:bachan_anand@;yahoo.com] Sent: Thursday, October 24, 2002 2:39 PM To: Struts Users Mail

Re: Validator later rather than sooner?

2002-10-24 Thread Dave Derry
OK..now I haven't done this, so this is just based on my understanding. If this is incorrect, hopefully someone else will step in. Let's say that you have the following action mapping Then in validation.xml change > > That also sounds good. > Can you please tell how this entry would look

Re: JavaScript Validation: MinLength & MaxLength Functions Don't Work

2002-10-24 Thread Dave Derry
This has been explained before. I think it was by Ted. The reason has to do with security. Specifying bouinds on the length of a password limits the universe of potential passwords that a cracker would need to test. And of course if he/she saw a message saying "Password must be between 6 and 30 cha

RE: embedding email address in

2002-10-24 Thread Karr, David
> -Original Message- > From: Scott Hodson [mailto:scott@;ubero.com] > Sent: Thursday, October 24, 2002 12:54 PM > > That doesn't work, I already tried it. For starters, you'll > get errors > because you're using double-quotes both in the tag and > the embedded > tag. Once you fix tha

RE: JavaScript Validation: MinLength & MaxLength Functions Don't Work

2002-10-24 Thread Hajratwala, Nayan (N.)
interesting ... sorry if this has been discussed to death already. If so, i'll shut up. =) Shouldn't the decision of displaying the validation be up to the application developer? For example, when changing a password, you would have a spot to enter old & new passwords, but would likely want to

RE: Validator and multi-tiered nesting

2002-10-24 Thread Padma Ginnaram
You can try specifying rules for every monthbean "monthBean[0].dayBeans, monthBean[1].dayBeans" as your indexed list property. or you can extend the validate method and call the validations on each MonthBean yourself ActionErrors errors = super.validate(.

RE: JavaScript Validation: MinLength & MaxLength Functions Don't Work

2002-10-24 Thread bachan s
Could you please send across your jsp and validation.xml file ??? "Nekkalapudi, Viplava" <[EMAIL PROTECTED]> wrote:We tried the same thing by just specifying the "minlength" for test purpose. But it didn't work. --> depends="minlength"> and removed the stuff for maxlength. -Original M

RE: Open an other window for information

2002-10-24 Thread James Mitchell
Sorry for not getting back sooner. Based on your response, I don't understand your correlation to "Help Menu".you really just need help opening a new window. Is this correct? James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org "Only two things are infinite, the uni

RE: different resource bundles & validation framework

2002-10-24 Thread Rainer Mueller
Greg, thanks for your reply! Who has an idea when bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10868 will be part of the nightly build? I checked jakarta-struts-src-20021023 which is still the buggy version! Thanks, Rainer > The problem you are reporting is logged as bug > http

Only one DynaValidatorForm

2002-10-24 Thread Heligon Sandra
With DynaValidatorForm it is possible to use the same Form for multiple views (JSP page), isn't it ? How one indicates which parameter validated for a given page/action ? For example I defined the following form:

RE:

2002-10-24 Thread Chen, Gin
Hey Roland, I'm not sure but I wonder if u can "fool" struts into doing this with the new Struts-EL. I wonder if u do something like assuming that ur singleton is class Blah and it defines a static method called getInstance() [since its a singleton it should] then u should be able to make

Struts validator for date field

2002-10-24 Thread Nicolas De Loof
Hello, I would like to use Struts validator to validate my form fields that are date formatted BUT are not mandatory. I tried this : datePatternStrict dd/MM/ ... but it validates my date field even if it is left blank, and

RE: Managing User defined Web Content design advice?

2002-10-24 Thread Greg Hess
Thanks Cedric, I really like the tiles solution. One of my main concerns as this application is in a hosted environment is hogging resources . I would like to avoid not having the user content existing in memory. I am going to have to test with large amounts of content and see the size of the bean

RE: PDF generation with Struts

2002-10-24 Thread Stefan.Landro
Try using stxx. -Original Message- From: Daniel Haynes [mailto:danielhaynes@;rulefinancial.com] Sent: Donnerstag, 24. Oktober 2002 15:29 To: 'Struts Users Mailing List' Subject: RE: PDF generation with Struts Report Action from our app below Dan public ActionForward executeAction (Acti

Need help on design

2002-10-24 Thread Hari
Hi, Can somebody help me on this. As of now, my action classes are sending data in ActionForm as value objects to business objects. Will there be any performance degradation if i use Properties or hashtable in place of value objects to send data in the Actionform and send it to business objects.

RE: PDF generation with Struts

2002-10-24 Thread Hajratwala, Nayan (N.)
that is what FOP does as well ... http://xml.apache.org/fop/index.html --- - Nayan Hajratwala - Chikli Consulting LLC - http://www.chikli.com -Original Message- From: Daniel Jaffa [mailto:jaffad@;courtinnovation.org] Sent: Thursday, October 24, 2002 9:53 AM To: Struts Users Mailing List

Re: PDF generation with Struts

2002-10-24 Thread Adolfo Miguelez
Have a look to FOP from Apache XML bunch. Regards, Adolfo. From: Daniel Jaffa <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: PDF generation with Struts Date: Thu, 24 Oct 2002 09:52:54 -0400 I am using

[OT - MethodUtils] How to invoke method from DynaActionForm

2002-10-24 Thread Jerry Jalenak
I know that BeanUtils.populate will populate a JavaBean with values from a HashMap provided the property name match. Does anyone know of method that will go the other direction (i.e. JavaBean to HashMap)? I have a need to grab all of the properties from a DynaActionBean and populate a HashMap. I

Submit Using and

2002-10-24 Thread Madel,Kurt
This may seem somewhat trivial. Never the less, look and feel is very important to a web site. Before using Struts, we have always used hyperlinks to submit forms. I am able to submit a Struts with an tag, but it bypasses the client side validation created by the Validation plug-in. The clien

  1   2   >