RE: Validation message Help

2006-08-09 Thread Tejas Bavishi
Hi Possible solution: Write tags to check if the error message is set in the request and correspondingly apply the style on the text boxes to render them in RED color and also show the same error message. Thanks & regards Tejas -Original Message- From: Krishna, Hari [mailto:[EMAIL PROTEC

Validation message Help

2006-08-09 Thread Krishna, Hari
Hi I have a registration page where i have a list of text boxes (all are mandatory).Is it possible to show one single error message for all the fields while highlighting all of them in RED color?Please get me ur advice.I know only one way of validation where we show multiple mandatory validation

EventActionDispatcher, specifying event from ActionClass not JSP?

2006-08-09 Thread Mississippi John Hurt
I'm using EventActionDispatcher and it works fine dispatching to events from jsp. But I have an ActionClass that I want to forward to another ActionClass so how can I do a Struts forward so that I can specify which event on the 2nd ActionClass to invoke? I can only do a /2ndActionClass.do which w

Re: Multiple Image Submit Buttons in Form?

2006-08-09 Thread Paul Benedict
Use EventAction or EventActionDispatcher from Struts 1.2.9. If you are using a previous version of Struts, just pluck out these classes into your source folders. Mississippi John Hurt <[EMAIL PROTECTED]> wrote: Hi, What's the best way to handle a page that has 3 clickable image buttons: A list

Multiple Image Submit Buttons in Form?

2006-08-09 Thread Mississippi John Hurt
Hi, What's the best way to handle a page that has 3 clickable image buttons: A list of Items indexed, each row has an image button, if clicked, routes to a EditItem action. An Add Item image button, that routes to a AddItem action. An input text box, with a Search image button, that routes to a S

Map-based nested bean

2006-08-09 Thread Scott Van Wart
(Struts 1.2.9, Tomcat 5.5.17) I have something similar to the following in my ActionForm: public class MyForm extends ActionForm { public static class NestedBean { private String name; private String value; // String getName(), String getValue(), void

RE: Retrieving the from web.xml

2006-08-09 Thread Adam Gordon
If I understand what you are doing correctly you can use the security-constraint element in web.xml to define what URL patters require authorization and which ones do not. If you use JAAS, then you don't need to handle the redirecting as it will forward it to the login page you specify (using the

Re: How to retrieve parameters off URL in JSP via Struts

2006-08-09 Thread Adam Gordon
A, if only the taglib docs were documented in a more thorough manner Since I wanted to render some Struts tags based on the presence of a parameter, I discovered the "logic:present" element and used the "parameter" attribute. Hooray for me! -adam Adam Gordon wrote: Quick question:

How to retrieve parameters off URL in JSP via Struts

2006-08-09 Thread Adam Gordon
Quick question: Is there a way to retrieve a parameter off a URL via struts in a JSP? I.e. if I have http://server.name/path/foo?mood=happy, is there a struts tag that I can use to get the value of "mood"? Thanks, -Adam - T

[s2] Struts2 confluence unaccessable

2006-08-09 Thread tm jee
Hi guys, Anyone notice http://confluence.twdata.org/homepage.action is not accessible? rgds

Retrieving the from web.xml

2006-08-09 Thread Aladin Alaily
Hello, I have a filter in which I check that the users are properly authenticated. When the user needs to be redirected, I am able to retrieve the following: 1) context path (using the request) 2) action path (using the ActionConfig) ... but I cannot retrieve the url-pattern from web.xml! I ha

[OT][ANN] JAVAWUG BOF XXI / 5th Sept 2006 @ 18:30 / SkillsMatter

2006-08-09 Thread Peter . Pilgrim
Hi All I would like announce the twentieth first birds-of-a-feather (BOF 21) of the Java Web Users Group. The event will take place on Tuesday 5th September 2006, starting from 18:30 at Skills Matter Limited 1 Sekforde Street LONDON EC1R 0BE Map: mapPhone:

RE: Browser History by HTTP-REFERER

2006-08-09 Thread George.Dinwiddie
Monkeyden said: > Sorry George, I misread one of the previous posts in my > response to yours. You're correct. JSP is not the place for > this type of authentication/validation, although I don't know > that I would want everything to ActionServlet handles to > require a referer. I dont suspec

RE: Struts Version from struts.jar

2006-08-09 Thread Samere, Adam J
Have a look at the manifest in the jar. META-INF/manifest.mf -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 9:10 AM To: user@struts.apache.org Subject: Struts Version from struts.jar I have struts.jar in WEB-INF/lib folder. How to find whic

Struts Version from struts.jar

2006-08-09 Thread Raghuveer
I have struts.jar in WEB-INF/lib folder. How to find which version of struts is being used by my web application ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: RE : Validator1.3 Struts 1.3

2006-08-09 Thread Niall Pemberton
Did you get any log output from when your webapp started up? Maybe there are errors there. Niall On 8/9/06, Jean-Marie Pitre <[EMAIL PROTECTED]> wrote: Ok thank you. But It still does not work, and I don't know why ? The struts example works well, but not my application. I changed validation

RE: validation of two form properties

2006-08-09 Thread fea jabi
can someone help me wih this please? Thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: validation of two form properties Date: Tue, 08 Aug 2006 15:50:58 -0400 have form properties a and b have to validate that property b is

Re: Dynamic directory creation and access

2006-08-09 Thread Thomas Joseph
Would be great is someone has similar experience and could share it so that I can have a bigger pool of ideas. I am wanting something like the geocities FileManager. i.e.user should be able to do all file manipulations - mkdir, rm, del, move, rename etc with files and folders. Any pointers or idea

RE: Using variable of a tag in a scriplet...how to??

2006-08-09 Thread Vishal Seth
You wanted to do that in a scriplet right? If you want it within a taglib then use can use "c" taglib. Vishal -Original Message- From: Gaet [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 5:49 PM To: Struts Users Mailing List Subject: Re: Using variable of a tag in a scriplet

Re: Using variable of a tag in a scriplet...how to??

2006-08-09 Thread Gaet
Thanks vishal (or seth ;o) )! That works, but is there no taglib to get a pageContext attribute? Thanks for your help Gaet - Original Message - From: Vishal Seth To: Struts Users Mailing List Sent: Wednesday, August 09, 2006 12:12 PM Subject: RE: Using variable of a tag in

RE : Validator1.3 Struts 1.3

2006-08-09 Thread Jean-Marie Pitre
Ok thank you. But It still does not work, and I don't know why ? The struts example works well, but not my application. I changed validation-rules.xml, validation.xml with new DTD and retrieve new jar (inside lib struts example) ; I have always the same error, I become to be crazy :-) NB: My

RE: Using variable of a tag in a scriplet...how to??

2006-08-09 Thread Vishal Seth
Try getting it thru pageConext.getATtribute(). ..I am still not 100% got the hang of ur problem..but you can try using this -Original Message- From: Gaet [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 3:38 PM To: Struts Users Mailing List Subject: Using variable of a tag in a

Using variable of a tag in a scriplet...how to??

2006-08-09 Thread Gaet
Hi all the list, I need to use the variable defined in a collection tag in a scriptletand I can't get it work! I'm trying some codes and I don't understand why the following doesn't work, could you help me please? <%= myHashMap.get(employeeVar.getId())) %

Re: Validator1.3 Struts 1.3

2006-08-09 Thread Niall Pemberton
Looks like something has gone wrong loading the validation config. Can you check your logs to see if there were any errors? Also take a look thru' the upgrade notes (you'll need to check them all to go from 1.1 to 1.3) for upgrading from 1.1 to 1.3 http://wiki.apache.org/struts/StrutsUpgrade Th

loadMessages?

2006-08-09 Thread Konrad Billewicz
Hello, I would like to get ActionMessages saved in the request. It is something opposite to saveMessages. How should I do it? Best regards, Konrad Billewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command