Re: Single sign on?

2002-10-24 Thread amolk
I tried using a singleton for this purpose but it fails since each webapp gets its own instance because of different classloaders. Havent gone into teh details of classloaders but is there anything like a 'common' classloader as you are mentioning? If its there, it would be used exactly like how

Checkbox problem

2002-10-24 Thread Kishore, Sahu
In my form bean I have an attribute which is an Arraylist of objects who in turn contain many attributes one of which is a string representing a checkbox of my screen. Problem : -When I check anyof the check boxes and proceed to the next screens and comeback again to the screen having

RE: Open an other window for information

2002-10-24 Thread Heligon Sandra
Not exactly, on my JSP page I have a menu bar with a Help menu, for example LOGO HOME ADMIN ... HELP Body of the page Footer I would like to open a new InternetExplorer window when the user click on the Help item (command of the menu). In this new

RE: Conditional colour cell with logic:iterate

2002-10-24 Thread Heligon Sandra
Thanks a lot for your example, but is it possible to not mix Java code with Struts/HTML tags ? -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: 23 October 2002 18:32 To: Struts Users Mailing List Subject: RE: Conditional colour cell with logic:iterate Oops...

Re: Conditional colour cell with logic:iterate

2002-10-24 Thread kiuma
Go to www.w3c.org and search 4 css (to get more info) 4 your sample here create a file ( say common.css ) and write .warning { background-color: #FF8000; } .error { background-color: #FF; } .normal { background-color: #FF; } in your html/jsp header section insert link

Re: Managing User defined Web Content design advice?

2002-10-24 Thread Cedric Dumoulin
Greg Hess wrote: 2) Create new files for each body of content and simply jsp:include or bean:include the page into the template. The problem here is that as the number of links and content is user defined and I only know how to use the include tags with static resources. Sure I could include

Re: [TILES] Problem using struts actions in tile's template

2002-10-24 Thread Cedric Dumoulin
You can add a try/catch around the RequestDispatcher.forward(..) call, catch the undesired exception, and do an include when the exception happen. This should work. Cedric Ken Riley wrote: Thanks Cedric, Danny, James for all of your help. I understand what you are saying

RE: Best Practices Example App?

2002-10-24 Thread John Menke
Adam, we have an example application using Struts and tiles at http://basicportal.sourceforge.net -jm -Original Message- From: Adam Sherman [mailto:adam;teachandtravel.com] Sent: Wednesday, October 23, 2002 4:14 PM To: Struts Users Mailing List Subject: Best Practices Example App?

html:options /

2002-10-24 Thread Roland Carlsson
Hello! I'm trying to use html:options/ but the only thing I get get into the list are Object.toString() values witch is not very useful for the user. What I like to do is the equal to option value=%= myObj.getId() %%= myObj.getName() %/option Can this be done? Thanks in advance Roland Carlsson

Re: html:options /

2002-10-24 Thread avasey
html:select property=carrier %-- The form's property to be populated --% html:options collection=carriers property=id labelProperty =name/ /html:select carriers is a list of Carrier objects in my Session Context

RE: html:options /

2002-10-24 Thread Andrew Hill
..ng() values witch is not very us.. A witch! burn her! burn her! -Original Message- From: Roland Carlsson [mailto:roland.c;swetravel.se] Sent: Thursday, October 24, 2002 19:05 To: Struts Users Mailing List Subject: html:options / Hello! I'm trying to use html:options/ but the only

[OT] html:options /

2002-10-24 Thread Galbreath, Mark
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 her! burn her! -Original Message- From: Roland Carlsson

Re: html:options /

2002-10-24 Thread Roland Carlsson
Can't carriers be a collection that I can get from the ActionForm? Regards Roland Carlsson - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 1:11 PM Subject: Re: html:options / html:select property=carrier

RE: [OT] html:options /

2002-10-24 Thread Andrew Hill
a newt? -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24, 2002 19:33 To: 'Struts Users Mailing List' Subject: [OT] html:options / She turned me into a newt! -Original Message- From: Andrew Hill

Re: html:options /

2002-10-24 Thread deepak
Yes you can. for e.g. bean:define id=carriers name=CarrierForm property=carrierVector/ - Original Message - From: Roland Carlsson [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 5:04 PM Subject: Re: html:options / Can't carriers be a

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
I got betta -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Thursday, October 24, 2002 7:39 AM a newt? -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24, 2002 19:33 She turned me into a newt!

RE: [OT] html:options /

2002-10-24 Thread Andrew Hill
Burn her anyway! -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24, 2002 19:46 To: 'Struts Users Mailing List' Subject: RE: [OT] html:options / I got betta -Original Message- From: Andrew Hill

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
Now, how can we tell if she's really a witch? -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Thursday, October 24, 2002 7:46 AM Burn her anyway! -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24,

Re: [OT] html:options /

2002-10-24 Thread Rúben Carvalho
is she made of wood? Burn her! Burn her! Rúben - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 12:49 PM Subject: RE: [OT] html:options / Now, how can we tell if she's really a witch?

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
Now, how can we be certain she's made of wood? -Original Message- From: Rúben Carvalho [mailto:ruben.carvalho;inesc.pt] Sent: Thursday, October 24, 2002 7:51 AM is she made of wood? Burn her! Burn her! Rúben - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To:

RE: [OT] html:options /

2002-10-24 Thread Andrew Hill
We could try building a bridge out of her! -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24, 2002 19:58 To: 'Struts Users Mailing List' Subject: RE: [OT] html:options / Now, how can we be certain she's made of wood? -Original

Re: [OT] html:options /

2002-10-24 Thread ruben
Does wood sink in the water? Rúben - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 12:58 PM Subject: RE: [OT] html:options / Now, how can we be certain she's made of wood? -Original

Re: [OT] html:options /

2002-10-24 Thread ruben
AH Ha, can't we make bridges out of stones too? Rúben - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 12:58 PM Subject: RE: [OT] html:options / Now, how can we be certain she's made of wood?

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
Now, now...what is the distinguishing property of wood? -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Thursday, October 24, 2002 8:05 AM We could try building a bridge out of her! -Original Message- From: Galbreath, Mark

RE: [OT] html:options /

2002-10-24 Thread Andrew Hill
We burn witches so witches must be made of wood. So if shes made of wood then shes a witch! -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24, 2002 19:50 To: 'Struts Users Mailing List' Subject: RE: [OT] html:options / Now, how can we tell

Re: [OT] html:options /

2002-10-24 Thread ruben
But, what else floats in the water? King Arthur's turn Rúben - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 12:54 PM Subject: RE: [OT] html:options / We burn witches so witches must be made of

Re: html:options /

2002-10-24 Thread Roland Carlsson
I found whats wrong... my bean aren't a bean... since a bean have to have a public no argument constructor and my is a Singleton... so I'll guess that I have to live with a little ugliness in the view. % request.setAttribute(parts, demo.DBApplication.getInstance().getAllParts()); % Thanks for

RE: [OT] html:options /

2002-10-24 Thread Andrew Hill
It floats! -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24, 2002 20:10 To: 'Struts Users Mailing List' Subject: RE: [OT] html:options / Now, now...what is the distinguishing property of wood? -Original Message- From: Andrew Hill

SV: [OT] html:options /

2002-10-24 Thread Marcus Andersson
A duck! -Ursprungligt meddelande- Från: ruben Till: Struts Users Mailing List; [EMAIL PROTECTED] Skickat: 2002-10-24 14:10 Ämne: Re: [OT] html:options / But, what else floats in the water? King Arthur's turn Rúben - Original Message - From: Andrew Hill [EMAIL PROTECTED] To:

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
So if we weigh a duck and the witch, what can we deduce? -Original Message- From: Marcus Andersson [mailto:marcus.andersson;active-tv.com] Sent: Thursday, October 24, 2002 8:13 AM A duck! -Ursprungligt meddelande- Från: ruben Till: Struts Users Mailing List; [EMAIL PROTECTED]

RE: [OT] html:options /

2002-10-24 Thread Robert Taylor
ummmvery small rocks? robert -Original Message- From: ruben [mailto:ruben.carvalho;inesc.pt] Sent: Thursday, October 24, 2002 8:11 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: [OT] html:options / But, what else floats in the water? King Arthur's turn

Re: [OT] html:options /

2002-10-24 Thread ruben
If the weigh is the same, SHE'S A WITCH By the way, did you dress her up like this? Rúben - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 1:19 PM Subject: RE: [OT] html:options / So if we

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
Well, maybe just the noseand the hat. BUT SHE'S STILL A WITCH! -Original Message- From: ruben [mailto:ruben.carvalho;inesc.pt] Sent: Thursday, October 24, 2002 8:25 AM To: Struts Users Mailing List Subject: Re: [OT] html:options / If the weigh is the same, SHE'S A WITCH By the

RE: [OT] html:options /

2002-10-24 Thread Andrew Hill
And she has got a wart! -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24, 2002 20:30 To: 'Struts Users Mailing List' Subject: RE: [OT] html:options / Well, maybe just the noseand the hat. BUT SHE'S STILL A WITCH! -Original

Re: [OT] html:options /

2002-10-24 Thread Brian Hickey
She's not a newt or wood. She is a parrot and she's pinin' for the fjords.. :) B - Original Message - From: Robert Taylor [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 24, 2002 8:18 AM Subject: RE: [OT] html:options / ummmvery small

RE: [OT] html:options /

2002-10-24 Thread John Menke
she turned me into a newt! -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Thursday, October 24, 2002 8:32 AM To: Struts Users Mailing List Subject: RE: [OT] html:options / And she has got a wart! -Original Message- From: Galbreath,

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
Speaking of attention to detail ;-) -Original Message- From: John Menke [mailto:john;eagleinfosystems.com] Sent: Thursday, October 24, 2002 8:42 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [OT] html:options / she turned me into a newt! -Original

different resource bundles validation framework

2002-10-24 Thread Rainer Mueller
we have different resource bundles registered in struts-config.xml file using the latest nightly build of struts message-resources key=common parameter=resources.common / message-resources key=error parameter=resources.error / I am able to access the resources via bean:message

RE: [OT] html:options /

2002-10-24 Thread Galbreath, Mark
And what might be your name, most wise and thoughtful knight? -Original Message- From: ruben [mailto:ruben.carvalho;inesc.pt] Sent: Thursday, October 24, 2002 8:25 AM If the weigh is the same, SHE'S A WITCH By the way, did you dress her up like this? Rúben - Original

RE: [OT] html:options /

2002-10-24 Thread John Menke
Who are you who are so wise in the ways of science? -Original Message- From: Galbreath, Mark [mailto:Galbreath;tessco.com] Sent: Thursday, October 24, 2002 8:49 AM To: 'Struts Users Mailing List' Subject: RE: [OT] html:options / And what might be your name, most wise and

RE: [OT] html:options /

2002-10-24 Thread Jerry Jalenak
Is it friday already? Don't tell me I missed another whole day this week! -Original Message- From: John Menke [mailto:john;eagleinfosystems.com] Sent: Thursday, October 24, 2002 8:00 AM To: Struts Users Mailing List Subject: RE: [OT] html:options / Who are you who are so wise

RE: [OT] html:options /

2002-10-24 Thread Andrew Hill
Almost :-) Another 3 hours to go for me. But it *feels* like friday. Should be friday in New Zealand by now! Come to think of it should be friday already in Sydney also... -Original Message- From: Jerry Jalenak [mailto:Jerry.Jalenak;LABONE.com] Sent: Thursday, October 24, 2002 21:01 To:

RE: Checkbox problem

2002-10-24 Thread Sri Sankaran
I suppose you have several checkboxes corresponding to the List of objects. Are you using the html:multibox tag? If not, you should. The Struts framework will save the selected values in a String array that you provide. The value stored will be the value of the checkbox. For example

NEED HELP with Customised Struts Exception Handling

2002-10-24 Thread Gudla, Madhuri
I have an Action class( see BookAction below ), which calls 'SchedulingDelegate.updateRotation()' inside the 'try' block. The call to 'updateRotation()' throws a 'TestProcessException'. MY OBJECTIVE IS: I want this 'TestProcessException' to be handled by the struts framework and automatically

PDF generation with Struts

2002-10-24 Thread Bruno Collet
Hi all, Is there an easy way to generate PDF documents using Struts? Bruno __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ -- To unsubscribe, e-mail:

NEED HELP with Customised Struts Exception Handling

2002-10-24 Thread Gudla, Madhuri
I have an Action class( see BookAction below ), which calls 'SchedulingDelegate.updateRotation()' inside the 'try' block. The call to 'updateRotation()' throws a 'TestProcessException'. MY OBJECTIVE IS: I want this 'TestProcessException' to be handled by the struts framework and automatically

RE: [OT] html:options /

2002-10-24 Thread Oliver Burn
Sorry - half an hour to go. :-) -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Thursday, 24 October 2002 23:09 To: Struts Users Mailing List Subject: RE: [OT] html:options / Almost :-) Another 3 hours to go for me. But it *feels* like friday.

Re: PDF generation with Struts

2002-10-24 Thread kiuma
A lot: Docbook 4 example on sf.net there are many projects One that is commercial, but a good product is elixir report Bruno Collet wrote: Hi all, Is there an easy way to generate PDF documents using Struts? Bruno __ Do you Yahoo!? Y! Web

RE: PDF generation with Struts

2002-10-24 Thread Daniel Haynes
Report Action from our app below Dan public ActionForward executeAction (ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { MessageResources messages = getResources(request); ActionMessages

Validation information in jsp tags

2002-10-24 Thread Ralph Wagner
I have written an extension of Struts.It is inspired by the idea to define validation related information directly in the jsp file. Further information at http://strutsvaltags.sourceforge.net Keine verlorenen Lotto-Quittungen,

question about Action overhead and best practice

2002-10-24 Thread Andy Kriger
I have the current setup JSP (behind an Action) - Action - JSP (behind an Action) The Action in the middle does several things, none particularly large (let's say 10 lines of code each). It would probably be cleaner design to separate the tasks into separate actions. However, I am curious about

RE: PDF generation with Struts

2002-10-24 Thread Hajratwala, Nayan (N.)
not sure about integration w/ Struts, but take a look at FOP. It is easy to use, and we have used it successfully in a couple instances. http://xml.apache.org/fop/index.html --- - Nayan Hajratwala - Chikli Consulting LLC - http://www.chikli.com -Original Message- From: Bruno Collet

RE: different resource bundles validation framework

2002-10-24 Thread Greg Hess
The problem you are reporting is logged as bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10868 in buzilla and I see there are two patches posted. I am not sure how the bug process works and how these posted patches should be dealt with? Greg -Original Message- From: Rainer

Re: PDF generation with Struts

2002-10-24 Thread Daniel Jaffa
I am using an cool product called xmlMill, you build an XML document then you run a transformation on the xml page, and a PDF is gen'd. Very cool, very fast dan - Original Message - From: Daniel Haynes [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday,

Submit Using html:link and html:javascript

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 html:form with an html:link tag, but it bypasses the client side validation created by the Validation

[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.

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 an

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

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 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

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

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 : field property=date depends=date arg0 key=myForm.date/ var var-namedatePatternStrict/var-name

RE: html:options /

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

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: form-bean name=loginForm dynamic=true

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

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

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

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 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: embedding email address in html:link

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 a tag and the embedded bean:write tag. Once you fix

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

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 action path=/path/to/myLogonAction type=com.something.my.package.MyLogonAction name=logonForm

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 Mailing

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)

RE: embedding email address in html:link

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 a tag and the embedded bean:write tag. Once you fix that, the mailto: link will just be, literally, the bean:write tag, not is expected evaluation. -Original Message-

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

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

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

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. formset form name=logonForm field property=value(username) depends=minlength,maxlength arg0

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 someone

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

[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

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

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 junit task in ant, I get this problem. I no more get these

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

RE: embedding email address in html:link

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 html:link -Original Message- From: Scott Hodson [mailto:scott;ubero.com]

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: [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,

embedding email address in html:link

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. logic:notEmpty name=contact property=email html:link href=mailto:; bean:write name=contact property=email

RE: embedding email address in html:link

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: logic:notEmpty name=contact property=email a href=mailto: bean:write name=contact property=email filter=true /

RE: embedding email address in html:link

2002-10-24 Thread Karr, David
-Original Message- From: Scott Hodson [mailto:scott;ubero.com] Sent: Thursday, October 24, 2002 11:19 AM logic:notEmpty name=contact property=email html:link href=mailto:%=contact.getEmail()% bean:write name=contact property=email filter=true / /html:link /logic:notEmpty

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 Mailing

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

Re: Printing User Guide

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

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

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

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 by

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 DynaActionForm I

RE: [OT] html:options /

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: mailto:struts-user-unsubscribe;jakarta.apache.org

  1   2   >