Antw: RE: multibox always checked

2001-09-26 Thread Marion Schwarz
Yes, that's what I figured out at last. One more question: I notice that even objects in session scope cannot be used by different frames. When my frameset is built, the first frame contains a jsp page which is called with a parameter. This page puts the parameter in session scope. The second

Grid View

2001-09-26 Thread Dudley [EMAIL PROTECTED]
Hi all, Could u guys please help me out here. What we want to do is to be able to display a list of taxpayers along with specific attributes that we can either check or uncheck using checkboxes, then submit the form and update these attributes. Has anyone got nay experience with Grid like views

Re: JSP is not creating and/or populating an action form? [SOLVED]

2001-09-26 Thread Peter Pilgrim
Oh! You have been a naught boy! Please take this white chalk write on the Java blackboard [ I MUST MAKE SURE THAT MY JAVA BEANS REALLY DO DERIVE FROM THE STRUTS ACTIONFORM CLASS IF THE ACTIONSERVLET IS TO CREATE AND INSTANTIATE THEM! ] x 10 Here is the extract of

rewrite?

2001-09-26 Thread David A. D. Konrad
Hi list, Can anyone explain what the following exception in Tomcat means...? Parse Error at line 138 column 50: Element type rewrite must be declared. org.xml.sax.SAXParseException: Element type rewrite must be declared. TIA best regards,

RE: Deployment Problem in iPlanet using Strut Example !!

2001-09-26 Thread
Thank you, trish But since me pass the javac problem, I still couldn't get it work. There are showing some message list below : [26/¤E¤ë/2001 17:37:17:7] info: -- [26/¤E¤ë/2001 17:37:17:7] info: action: init [26/¤E¤ë/2001 17:37:17:7] info:

Difficulty to integrate struts validator

2001-09-26 Thread Marcel Andres
Hi I developed a struts application (jakarta-tomcat-3.2.1, struts 1.0). So far, everything runs well. Then, I integrated the Struts Validator by David Winterfeldt (version 0.5). From now on, I get the following error as soon as I call a page whith field, which should be validated. Is there

Re: link with dynamic page attribute

2001-09-26 Thread chiji nwankwo
Hi, Im in a bit of dilema, I understand Ted's last statement. But what I don't understand is what I should do if the parameters which are used by the html:link (forward) tag are generated on the fly. I can't hard code all the forwards in my config file because I don't know how may

Re: [Newbie] Display multiple error messages in a list

2001-09-26 Thread Peter Pilgrim
If it aint broke, why fix it? -- Peter Pilgrim | |++44 (0)207-545-9923 \ \ ___ / / ... . - ( * ) --- -- _Cafe_Savannah,_San Antonio,Ibiza__ -- This e-mail may contain confidential and/or privileged

Re: New struts site!

2001-09-26 Thread Peter Pilgrim
Looks ok, except for message from the CEO!!! -- Peter Pilgrim | |++44 (0)207-545-9923 \ \ ___ / / ... . - ( * ) --- -- _Cafe_Savannah,_San Antonio,Ibiza__

Re: populating a form bean without using a submit button

2001-09-26 Thread Rogerio Zamboim
Hi David/Chiji, I have used this solution to my problem and works fine. Basically, the difference is that instead of calling the jsp page in a success, I´m forwarding the same action (listCalsses.do). Sure, I had also to control the flow (forwards) in my action class. If you need more example,

can you please remove me from the list !

2001-09-26 Thread Ramana Reddy Meda
From: §õ¦Vºa [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Deployment Problem in iPlanet using Strut Example !! Date: Wed, 26 Sep 2001 17:41:23 +0800 Thank you, trish But since me pass the javac problem, I still couldn't get it work. There are showing some

Re: link with dynamic page attribute

2001-09-26 Thread Will Jaynes
I'm not sure I understand your recent email. But given your original example (non working): html:link page=/ServiceReport.do?operation=deleteoperationActivityId=bean:getProperty name=activity property=id// You can do: html:link page=/ServiceReport.do?operation=delete

RE: Display JSPs based on language/country/variant

2001-09-26 Thread Padma Ginnaram
Title: RE: Display JSPs based on language/country/variant You can support this by using tiles. This framework supports a concept called definition that can be localized. It also supports forwarding struts actions to these definitions. Write an action that forwards the request to a

Using html:errors/

2001-09-26 Thread Anna Englund
Hi, I'm new with Struts and have a question on how to display error messages. In my Action I detect an error and take the following actions: - Create an ArrayErrors object, errors - Add a new ArrayError to errors - Save errors in request - Retrieves the messages with html:errors/ in my jsp

RE: Using html:errors/

2001-09-26 Thread bruno . morin
Is the error.company.updatecollision defined in the ApplicationResources.properties files in the Web-inf/classes/ repertory ? -Message d'origine- De: Anna Englund [mailto:[EMAIL PROTECTED]] Date: mercredi 26 septembre 2001 15:55 À: [EMAIL PROTECTED] Objet: Using html:errors/ Hi, I'm

RE: Using html:errors/

2001-09-26 Thread bruno . morin
If she hadn't declare the struts-html.tld, she should have a struts error message like html tag is not defined -Message d'origine- De: Jonathan M Crater [mailto:[EMAIL PROTECTED]] Date: mercredi 26 septembre 2001 15:58 À: [EMAIL PROTECTED] Objet: Re: Using html:errors/ are you

Re: Using html:errors/

2001-09-26 Thread K
Had you added error.company.updatecollision=Your Error Message in the WEB-INF/Classes/ApplicationResources.properties file - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 26, 2001 9:59 PM Subject: RE: Using html:errors/ Is the

Re: Using html:errors/

2001-09-26 Thread Jonathan M Crater
are you declaring the html tag library before you try to use the errors tag? %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % Anna Englund wrote: Hi, I'm new with Struts and have a question on how to display error messages. In my Action I detect an error and take the following

multi form pages

2001-09-26 Thread Hogan, John
There's been quite a bit of discussion on the list about multi-page forms, but nothing on multi-form pages. Does anyone know if a single jsp can contain more than one form sectionthat reference different ActionForm objects? TIA. JohnH

Re: Using html:errors/

2001-09-26 Thread Jonathan M Crater
not true. i just created a jsp page with html:errors/ without declaring the tag library. the source code of the generated jsp looks like this: html:errors/ [EMAIL PROTECTED] wrote: If she hadn't declare the struts-html.tld, she should have a struts error message like html tag is not

RE: Using html:errors/

2001-09-26 Thread bruno . morin
You're right. Apologies to Jonathan M Crater -Message d'origine- De: David Winterfeldt [mailto:[EMAIL PROTECTED]] Date: mercredi 26 septembre 2001 16:11 À: [EMAIL PROTECTED] Objet: RE: Using html:errors/ If you don't declare the taglib at the top of the JSP, you won't get any error

Re: multi form pages

2001-09-26 Thread Tom Tibbetts
I don't see why not. Each form is an entity on to itself At 10:10 AM 9/26/01 -0400, you wrote: There's been quite a bit of discussion on the list about multi-page forms, but nothing on multi-form pages. Does anyone know if a single jsp can contain more than one form section that reference

Re: multi form pages

2001-09-26 Thread steven . valin
What you are asking is really an HTML question. I don't believe you will have any problem with multiple forms on a single page. However, I do believe that only the parameters of the submitted form will be sent to the server. I've never tried this and am willing to be corrected by anyone who

Re: Reusable/composable Struts components?

2001-09-26 Thread Gary Johnston
Gabe, I absolutely agree. I was mentally coming at it from the bottom up: How do I get a good, general reuse mechanism working at all? If/when that is figured out, immediately all the other issues you mention need to be addressed in order to have a real, usable solution. I'd love to find out

Re: Using html:errors/

2001-09-26 Thread Anna Englund
Yes, I am. I use a lot of the other html tags, such as html:text without problem. //Anna --- Jonathan M Crater [EMAIL PROTECTED] wrote: are you declaring the html tag library before you try to use the errors tag? %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % Anna Englund wrote:

Re: multi form pages

2001-09-26 Thread Michelle Popovits
Has anyone tried embedding a form within a form. In which case when the embedded form is submitted only parms within the form would be submitted, and when the outer form is submitted would it include all parms including those within it's embedded forms. I haven't tried this, but I would be

RE: Reusable/composable Struts components?

2001-09-26 Thread Michael Nash
Gary (and all): This is exactly the kind of issue that led us to integrate Struts with Expresso (our OSS app framework) - we had addressed the issue of packaging components and their interaction with Expresso, so I guess we were coming at the problem from the other direction :-)

Re: multi form pages

2001-09-26 Thread dhay
Pretty sure this is not allowed in html, so won't be allowed in Struts. Dave Michelle Popovits [EMAIL PROTECTED] on 09/26/2001 11:16:04 AM Please respond to [EMAIL PROTECTED]; Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject:

Re: multi form pages

2001-09-26 Thread Michael Baldwin
Nested forms are not supported by IE and Netscape. I know that you will not be able to post the values of a child form when the parent is submitted. Depending on the browser's implementation of the HTML standards you should get fairly wacky effects... I suggest that you make one form with

Re: multi form pages

2001-09-26 Thread David Winterfeldt
I don't think you can embed a form in a form in a standard html form. You could use JavaScript to copy values from an inner form to hidden fields in the outer form when it is submitted though. David --- Michelle Popovits [EMAIL PROTECTED] wrote: Has anyone tried embedding a form within a

WML version of Struts?

2001-09-26 Thread Matt Parker
Hi there, Are there any plans to incorporate WML support into Struts? Is it simply a matter of wrapping the WML tags like Struts currently does for HTML? TIA, Matt

DataSource problem with NIGHTLY-BUILD version- 20010911 of STRUTS

2001-09-26 Thread BinhMinh Nguyen
I have no problem using Datasource in STRUT version 1.0, but when I upgrade STRUTS to nightly version, I have a problem using datasource. Here how it happens I first replace the XML parser and JAXP so that it can support Namespace. Then I follow the instruction in the Nighlt Release and I

Struts Integratration module for Forte4J ?

2001-09-26 Thread Jeff_Mychasiw
Are there any plans to provide an integration module for forte? I have seen the announcement of the new GUI tools for struts. Our team is starting to use FF4J and I am hoping to use Struts in the future as well. I think a integration module would be a good fit. I have seen several

New Struts User

2001-09-26 Thread Ken . Swanson
Hi, I am trying to use Struts and have not been able to make it work in my environment. I am running Visual Age for Java 3.5.3 (JSP 1.1 Servlet 2.2). I followed the instructions for setup and have double checked them. I am getting the following error in my browser when I invoke a jsp. I was

RE: dynamic forwards

2001-09-26 Thread Martin, Margaret
Lisa, I haven't tried it myself, but according to the doc for the html:link tag, you can specify a bean that returns a map which specifies all of the parameters... the contents of that bean clearly could change between invocations, thus giving you dynamic parameters... Hope this helps -

Re: New struts site!

2001-09-26 Thread Steven Elliott
Just thought you should know but on both Netscape 6 and IE 5 I get a SSL error? Are you using a private certificate? //* Steven Elliott [EMAIL PROTECTED] Head of Technology VTV Learning Corporation Los Angeles - Boston - Lisbon (http://www.vtvLearning.com/)

Re: dynamic forwards

2001-09-26 Thread Gregor Rayman
Martin, Margaret [EMAIL PROTECTED] wrote: I have tried it. It works. (at least the CVS version) -- gR Lisa, I haven't tried it myself, but according to the doc for the html:link tag, you can specify a bean that returns a map which specifies all of the parameters... the contents of that

Dual-list UI

2001-09-26 Thread Eric Rizzo
Has anyone come up with a good way to implement a dual-list interface using Struts? I mean a UI where there are two lists, a source and a destination, and buttons to move items between them. Obviously, the lists would be created with html:select tags, and the source list can be populated

Re: Dual-list UI

2001-09-26 Thread Marcelo Vanzin
Eric Rizzo wrote: The Action is not interested in what is selected in the list, but instead the list's entire contents. There are JavaScript solutions that I can think of, but I'm hoping that someone may have found a way to do it without resorting to that ugliness. I've

Re: Dual-list UI

2001-09-26 Thread Michael Baldwin
{Off topic} I made something to do this a while back as part of a prototype. It takes a reference to two select boxes: the one that you are trying to move from and to (i.e., origin and destination). It works pretty well with IE and NS4.x. It puts things in a sequential order in the two lists

Re: Dual-list UI

2001-09-26 Thread Matt Raible
The only way that I've found to do this is to use javascript to set all the destination elements as selected when you submit. Matt --- Eric Rizzo [EMAIL PROTECTED] wrote: Has anyone come up with a good way to implement a dual-list interface using Struts? I mean a UI where there are two

Re: Dual-list UI

2001-09-26 Thread Michael Baldwin
Whoops. Ignore that. I gave you a solution to a slightly different problem. Sorry. Eric Rizzo wrote: Has anyone come up with a good way to implement a dual-list interface using Struts? I mean a UI where there are two lists, a source and a destination, and buttons to move items between

Re: dynamic forwards

2001-09-26 Thread Gregor Rayman
lisa ward [EMAIL PROTECTED] wrote: Another quick question. How would I be able to initialize the hashMap. the problem Im facing is that when I use a forward the submit is not called so the values are not initialized in my bean. Here an quick and dirty example. (Dirty beacuse it uses

All user's roles

2001-09-26 Thread Mike Douglass
Is there any way to get all roles for a currently authenticated user? We are about to implement a jsp application which allows a user to select one of a number of roles which will determine the functionality available in later pages. Essentially, I want to create a drop down box of all valid

Re: Validation Framework: validating field length

2001-09-26 Thread Matt Raible
This will work perfectly - thanks! Matt --- David Winterfeldt [EMAIL PROTECTED] wrote: I have plans to add a min and max length for convenience, but haven't had the time (even though they aren't a lot of work). Currently you can use regular expression to limit length. 5 letters ^\w{5}$

RE: All user's roles

2001-09-26 Thread Gogineni, Pratima
I looked for this in servlet api 2.2 too but couldnt find it either - so had to do isUserInRole for each and every role ... would be great if someone has a better suggestion. Thanks Pratima -Original Message- From: Mike Douglass [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 26,

Use an image for submit button

2001-09-26 Thread Thinh Doan
I'd like to replace the following with an image instead of a button: html:submit property=submit value=Login styleClass=verdanaCAPCopy/ Is there a way to do it? In html, it's a...img.../a Thank you for your response. Thinh

Application Resource reload.

2001-09-26 Thread Mark Gordon
Is it possible to reload the applicationresource.properties file without restarting the web server/servlet container? Is it possible to reload the struts-config.xml? Thanks, Mark

Re: Application Resource reload.

2001-09-26 Thread Marcelo Vanzin
Mark Gordon wrote: Is it possible to reload the applicationresource.properties file without restarting the web server/servlet container? Is it possible to reload the struts-config.xml? The default webapp comes with some mapping to do that (I think they are commented out by

Re: Use an image for submit button

2001-09-26 Thread Marcelo Vanzin
Thinh Doan wrote: Is there a way to do it? In html, it's a...img.../a Actually in HTML it's more like input type=image ..., which you have in Struts in the form of html:image http://jakarta.apache.org/struts/struts-html.html#image -- []'s Marcelo Vanzin Touch

RE: WML version of Struts?

2001-09-26 Thread Brett Porter
Title: RE: WML version of Struts? Have a look around the struts website. It's already listed. http://jakarta.apache.org/struts/todo-1.1.html It doesn't have a volunteer yet, so it is a way off. If you are going to do it anyway, maybe you should discuss it with the maintainers and write it

Hiring Struts guru

2001-09-26 Thread Shahid Ahmed
Hi, My group has an immediate opening for someone with demonstrable technical skills/expertise in Struts framework. Location is San Jose, California, USA. If you are interested and has solid experience, please contact me. cheers, shahid

Re: dynamic forwards

2001-09-26 Thread lisa ward
Hi again, The values in your hash map have been hardcoded in, which works fine. But what do I if I do not know what the user's selection will be in advance. Take for instance, if I have a set of checkboxes on my page, I would like to be able to initialize the map with the values that the

ActionError() problem

2001-09-26 Thread Gao, Gang
Title: ActionError() problem Hi, How can I use ActionError() to construct the error message that is not define in the message property file? Who can give me a example. I want display a dynamic error message such as ith line got some error !. Who can give me a explanation about second

question about setter in actionform

2001-09-26 Thread Ricco Lee
besides submit the form, how can i trigger the setters method in the actionform to set the property values in the formbean? thanks _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

example struts app

2001-09-26 Thread Seetharaman Narayanan
Hello All Can anyone tell me what are the prerequisites to run the example application which comes with the struts download? I tries running tha app, but couldnt getpass the index.jsp, because when I click on any of the links in index.jsp, I get a Servlet Exception. Here is what I did.

prefix matching for an action

2001-09-26 Thread Jeff Boortz
I am trying to achieve the following: struts-config action-mappings action path=/myAction/* type=com.company.action.MyAction / /action-mappings /struts-config Essentially, I would like for a URL such as http://www.company.com/app/myAction/filename to trigger my action (assume in this

RE: example struts app

2001-09-26 Thread Brett Porter
I believe if you use Tomcat 3.2 there are additional steps required (check in the install docs). Tomcat 4.0 should work as is. The example may be using a PostgeSQL database (I've seen the data source in the setup), but it seemed to work for me without one set up. I deployed it into Resin

RE: example struts app

2001-09-26 Thread Seetharaman Narayanan
Hi Brett, Thank you for being a nice help. Here is what I got. I think I have set up all the pre-requisites(otherwise I wouldnt even seen the index.jsp). The war file after its deployed creates a directory and puts in all the files in exact locations. This is what the installation notes

RE: example struts app

2001-09-26 Thread Brett Porter
From the installation guide... Tomcat 3.1 and prior - Not recommended. Use Tomcat 3.2.1 or later. It seems to me it's using an old servlet spec. You shouldn't need struts.jar in the classpath (and its probably best not to), because it is in the examples' WEB-INF/lib directory (where it

RE: example struts app

2001-09-26 Thread Seetharaman Narayanan
Thanks a lot. That lastinformation may be the key to this problem. Have a nice one Brett! Seetharaman -Original Message-From: Brett Porter [mailto:[EMAIL PROTECTED]]Sent: Wednesday, September 26, 2001 5:08 PMTo: '[EMAIL PROTECTED]'Subject: RE: example struts app From

Re: Using html:errors/

2001-09-26 Thread martin . cooper
Is there any easy way I can see if I've made some mistake regarding the message resources file? Yes. Add this to your web.xml: init-param param-namenull/param-name param-valuefalse/param-value /init-param This will cause a string based on the message key to be displayed

RE: Using html:errors/

2001-09-26 Thread Lou Morin
Make sure that error.company.updatecollision is defined correctly in your ApplicationResources.properties file ... I had a similar problem. Lou From: David Winterfeldt [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Using html:errors/ Date: Wed, 26 Sep 2001

Re: populating a form bean without using a submit button

2001-09-26 Thread David M. Karr
chiji == chiji nwankwo [EMAIL PROTECTED] writes: chiji Hi, chiji Is it possible to populate a form bean without using the submit button to post the form.  I am using the link tag to forward chiji the user from one page to another, but at the same time I would like the contents of

Bad File Argument to include error

2001-09-26 Thread Bhamidi Krishna
Hi, I get an exception which reads like this : org.apache.jasper.compiler.CompileException: C:\tomcat\webapps\struts_practice\index.jsp(10,0) Bad file argument to include. I am using tomcat on Windows 98. Can someone help me how to solve this problem. The stack trace follows if that is of

RE: Bad File Argument to include error

2001-09-26 Thread Brett Porter
Title: RE: Bad File Argument to include error Looks to me like you are specify a file to include that doesn't exist with jsp:include/ or %@include file= % BTW, posting a 30 line exception will not help as much as the 1 line (line 10 of index.jsp) where the error occured (and perhaps a

RE: Bad File Argument to include error

2001-09-26 Thread Bhamidi Krishna
Thankyou Brett, I went thru the mailing archives and found a solution. Krishna. _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

RE: ActionError() problem

2001-09-26 Thread Brett Porter
Title: ActionError() problem You have answered your own question :) Use a message properties file, and have the property value as something like error.lineError=error at line {0} then call new ActionError( "error.lineError", lineNo ); the {0} will be replaced with value0 (likewise