Re: Dynamic Tree

2002-02-25 Thread Konstantina Stamopoulou
Hello, I needed to do something similar and I found another tag lib that can be used in combination with Struts. You can find more on this site--- http://www.kobrix.com . Konstantina - Original Message - From: luvpdas [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

RE: Development Environment

2002-02-25 Thread Chris Birch
yep, it supports jsp's and has great support for XML, also dozens of other languages as it's totally configurable and if you cant configure it, you can write a plugin module to do what you want! I've been planning to write some modules to support struts development, just haven't had the time

RE: Help on WebSphere installation

2002-02-25 Thread Patrick Logé
It was on the archive part of the JAXP download site But I saved it here Http://www.plog.net/Struts-jaxp-1_0_1.zip -Original Message- From: Ben Liang [mailto:[EMAIL PROTECTED]] Sent: vendredi 22 février 2002 18:41 To: Struts Users Mailing List Subject: Re:Help on WebSphere installation

Re: Development Environment

2002-02-25 Thread Chuck Amadi
Jonathan James wrote: Windows 2000, cygwin vim - Original Message - From: Dave Wellman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 11:41 AM Subject: Development Environment Hello, Quick question, what is the preferred development environment that you

RE: ActionForm scoping problems?

2002-02-25 Thread Robert Nocera
This could be off-base, but I think you'll have better results if you change the case of your form-bean variable name from BillingIDForm to billingIDForm. I think it may be using a static class BillingIDForm and not creating an instance of the class. Change all references on the JSP page to

Re: i18n - Escape Codes....

2002-02-25 Thread Louis Leung
is your jsp pages encoded in the native encoding ? or unicode encoding ? Rustad, Aaron wrote: I am trying i18n my application by adding a Resources_ru.properties, and it seems to work. However, I can not get the Unicode characters to work correctly. I have looked at HP's example, and

Re: i18n and bean:write

2002-02-25 Thread Louis Leung
More on char encoding and i18n : http://tagunov.newmail.ru/i18n/i18n.html Rustad, Aaron wrote: I have a logon page that is internationalized and working correctly. I did this by changing the html header information to work with UTF-8 and I set the @ page contentType to work with utf-8

How to validate the xml witht the dtd in the action class

2002-02-25 Thread Yugandhar_Reddy
HI, Can anyone tell me how to validate an XML with the DTD in the Action Class. Can u quote a small example for this? or suggest a doc which explains this ?? Thanks in advance, YUg *** This e-mail (including any

Internationalized sites with struts

2002-02-25 Thread Juan Alvarado
Hello all: I am in the process of developing a struts based web site that will need to have an english and spanish version. Can anyone tell me which are the features in struts that would allow me to accomplish this. Any sample code would also be greatly appreciated. Thanks in advance,

Re: best practices for logging in

2002-02-25 Thread Andre Beskrowni
note that you can now combine the best aspects of versions 2 3 (2 involves just struts, 3 allows xml configuration) by using the declarative exception handling in the nightly build. in your Action superclass, just throw an exception if the user fails the authentication test, and trap for the

RE: dynamic input fields

2002-02-25 Thread Press, Michael
I could be mistaken, but isn't this basically what the recently added Dynamic Action Form does? What's the recently added Dynamic Action Form !? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 24, 2002 1:12 PM To: [EMAIL PROTECTED]

AW: Internationalized sites with struts

2002-02-25 Thread Oliver Reflé
If you want to display localized messages you have to create for each language an ApplicationRessources_de.properties test=Das ist ein Test ApplicationRessources.properties test=This is a test _de here is the locale Then you can print you text with bean:message key=test/ Struts then looks

Form Bean problem

2002-02-25 Thread Tim Sawyer
Hello. I'm calling a JSP page as the successful outcome of an action, and it's complaining that one of my get methods doesn't exist. I can't work out what's going on, can someone give me a nudge in the right direction? The page contains a form, for entering date of birth and marital status

RE: i18n - Escape Codes....

2002-02-25 Thread Drew Sudell
-Original Message- From: Rustad, Aaron [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 24, 2002 4:01 AM To: '[EMAIL PROTECTED]' Subject: i18n - Escape Codes I am trying i18n my application by adding a Resources_ru.properties, and it seems to work. However, I can not

Re: Form Bean problem

2002-02-25 Thread dderry
Do you have an Action Mapping for saveExtraPersonDetails.do? Does it use also use addExtraPersonDetailsForm? Do you have a form-beans form-bean name=addExtraPersonDetailsForm type=package.addExtraPersonDetailsForm/./form-beans entry in struts-config.xml? It appears to me that the

Re: Form Bean problem

2002-02-25 Thread Tim Sawyer
Dderry [EMAIL PROTECTED] wrote : Do you have an Action Mapping for saveExtraPersonDetails.do? Yes: actionpath=/saveExtraPersonDetails type=com.pancredit.tkbespoke.tjs.strutstest.action.AddExtraPersonDetailsPostAction name=addExtraPersonDetailsForm

RE: i18n - Escape Codes....

2002-02-25 Thread Rustad, Aaron
I know of this site...unfortunatly, it seems to freeze half was down, is there any other mirrors of this information (the tripod link doesn't work either). Thanks! Aaron. -Original Message- From: Drew Sudell [mailto:[EMAIL PROTECTED]] Sent: February 25, 2002 8:54 AM To: Struts Users

Anybody compiled the dynamic property code?

2002-02-25 Thread Press, Michael
I'm trying to test Kevin Wang's dynamic property code, but it won't compile with Struts 1.0, 1.0.1 or 1.0.2. Has anybody else gotten this code to compile with a particular Struts version? Or fixed it to compile? For reference, I got the code here (via husted.com's resources page) -

RE: i18n - Escape Codes....

2002-02-25 Thread Drew Sudell
-Original Message- From: Rustad, Aaron [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 11:16 AM To: 'Struts Users Mailing List' Subject: RE: i18n - Escape Codes I know of this site...unfortunatly, it seems to freeze half was down, is there any other mirrors

Re: Form Bean problem

2002-02-25 Thread dderry
Sorry Tim, I've only been learning this stuff for a couple of weeks myself. I don't know what org.apache.struts.taglib.html.BEAN is referring to here. I was just responding to what was obvious to me. maybe one of the gurus will step in. the list seems pretty quiet today though. Good luck, Dave

help with logic:iterate

2002-02-25 Thread Sriram Nookala
I have the following snippet of code in my jsp: logic:iterate id=columnName name=ParticipantImportWizardForm property=columnNameList table border=1 width=80% tr td width=50%h3 align=centerColumn Name/h3 /td td width=50%h3 align=centerType/h3 /td /tr

RE: best practices for logging in

2002-02-25 Thread Bill Page
I use a variant on 2. I have my own action, but I don't use an unimplemented method (which I wouldn't do in this case anyway, would implement it with a default, probably not requiring login , that would depend on the project). Instead I use the parameter in the config to do this (my config

Re: help with logic:iterate

2002-02-25 Thread keithBacon
Hi Sri, try html:text name=columnName / instead of property=columnName struts will then call the toString() method of your columnName objects. Often your columnName object would have a method like getName() and you would specify html:text name=columnName property=name / I hope that's right!

RE: Implement HTTP and HTTPS in a safe, flexible, and easily maintainable manner

2002-02-25 Thread Steve Earl
Michael, I had the same problem today. You'll need to change the RequestUtils source so that instead of building a map directly from the params you need to get an enum of the parameters and iterate through that, building up a map as you go along. Rebuild the jar and it works fine. hope this

RE: Implement HTTP and HTTPS in a safe, flexible, and easily main tainable manner

2002-02-25 Thread Steve Earl
Steve, Have been using your implementation of ssl today and am pretty impressed. I have got one question though. One of the jsp's I've got is made up of several frames within a frameset - so no body tag. Putting your ssl tag set to secure within the frameset didn't seem to make the page use

Re: help with logic:iterate

2002-02-25 Thread Sriram Nookala
html:text name=columnName / doesn't work since property is a required attribute. - Original Message - From: keithBacon [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; Sriram Nookala [EMAIL PROTECTED] Sent: Monday, February 25, 2002 12:19 PM Subject: Re: help with

Re: How to use html:radio?

2002-02-25 Thread dhay
Hi Larry, problem is that you are creating a bunch of radio buttons all with the same name throughout the page, due to iterate loop. You need indexed naming so struts can autopopulate the relevant fields. Cheers, Dave Maturo, Larry [EMAIL PROTECTED] on 02/22/2002 04:46:44 PM Please

RE: Implement HTTP and HTTPS in a safe, flexible, and easily maintainable manner

2002-02-25 Thread Ditlinger, Steve
Yes, it is. Can you upgrade? If not, you should be able to write your own utility that takes a Request and creates a HashMap instance containing any parameters found on it. Steve -Original Message- From: Michael Mok [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 24, 2002 7:25 PM

logic.equal tag

2002-02-25 Thread Dua, Amit
Is there a way of comparing two session variables using struts logic tag. Or we can only compare variables with constants Amit -Original Message- From: Ditlinger, Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 1:27 PM To: '[EMAIL PROTECTED]'; 'Struts Users Mailing

Re: logic.equal tag

2002-02-25 Thread Martin Fekete
try something like this ... bean:define id=newId name=yourSessionBean property=yourSessionBeanProperty / logic:equal name=beanToCompare property=propertyOfBeanToCompare value=%= newId % Feky - Original Message - From: Dua, Amit [EMAIL PROTECTED] To: 'Struts Users Mailing List'

Websphere cache error when reloading an expired JSP page

2002-02-25 Thread Murali Srinivasan
In one of our responses we set the No-Cache and Pragma headers so that the resulting JSP page is not cached. While on the subsequent page if the user hits the back button, the browser correctly responds with the Web page expired in IE 5.5 and Data missing in Netscape 4.6. However, if the user

RE: How to use html:radio? Take two

2002-02-25 Thread Maturo, Larry
Well, I got no reply the first time I posted this, but then that was on a Friday, so here goes again. I am trying to create a table of radio buttons. Each row looks something like: Required Exempt Done Gate O O * Repository Link where the O represents an unchecked

RE: Accessing database defined in struts-config

2002-02-25 Thread Javier Campoamor
Some days ago, Antony made a question and now I'm having the same problem, can some one explain to me if there is a way to access to the datasource configured in the struts-config file from a class that doesn't extend an action? Thanks in advance Javier -Mensaje original- De:

RE: How to use html:radio?

2002-02-25 Thread Maturo, Larry
Hi Dave, I actually do have indexed set to true: html:radio name=ppg property=%= ProjectForm.STATUS % value=%=ProcessStatus.EXEMPT.getMnemonic() % indexed=true / -- Larry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 12:04 PM

How-- html::form whose action is whatever action caused its display?

2002-02-25 Thread Jeff
What's the best/proper way to create a HTML:form whose action property is set to whatever action caused the jsp template containing it to be displayed in the first place? For example, suppose a form submission to /admin_action.do triggers an action class (say, AdminAction) which determines that

Re: How-- html::form whose action is whatever action caused itsdisplay?

2002-02-25 Thread Eddie Bush
I believe the typical solution to this is an attribute set in either request or session scope. Your login action could then check to see if the attribute exists, and forward to it if it does (and remove it, if it is in the session). Of course, your action knows it's own mapping, so it would set

RE: How to use html:radio?

2002-02-25 Thread dhay
Larry, Are the other indexed fields working okay? What scope is your bean in? Cheers, Dave Maturo, Larry [EMAIL PROTECTED] on 02/25/2002 01:57:16 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:'Struts Users Mailing List' [EMAIL PROTECTED] cc: Subject:

RE: i18n - Escape Codes....

2002-02-25 Thread Rustad, Aaron
Thanks for everyone's help. I have it working now to display the Russian Characters using UTF-8, but when I submit the form, the next page will not convert the parameters correctly. I have read the Anton Tagunov documentation on getting this to work, but it does not seem to work for me. This is

Re: Development Environment

2002-02-25 Thread dIon Gillard
Dave Wellman wrote: Hello, Quick question, what is the preferred development environment that you are all using, Linux - Emacs, VIM, Windows - JBuilder, VisualAge? Several: Linux + NetBeans Linux + Eclipse Windows + VAJ Windows + NetBeans/Forte Windows + WebSphere Studio AD (Eclipse 1.0)

Re: Form Bean problem

2002-02-25 Thread Sarah Farrell
The error sounds like it is referring to the taglib struts-bean.tld, whether or not it is a legitimate error, I'm not sure. Try taking out the line %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % from your jsp and change the button tags back to regular HTML where html:submit

Re: Request scope question again...

2002-02-25 Thread theron . kousek
Hi Dave: I am very sorry again to keep asking questions about this. I think I am finally starting to understand... But please pardon my ignorance. If you have the following scenario where all is defined as request scope: 1. The user hits the submit button on FORM A and FORM A's

RE: Request scope question again...

2002-02-25 Thread Jakkampudi, ChandraseKhar
Yes and no. In the scenario you outlined, there are two requests. TThe original request ends when the response comes back to the browser not when you press submit. Throughout all of your action, the request is still the same. A new request is started when you hit submit again on form B. Hope

Navigation (save first)

2002-02-25 Thread @Basebeans.com
Subject: Navigation (save first) From: Vic Cekvenich [EMAIL PROTECTED] === Let's say a user enters some data on a form. And then click on a menu to go to some other from. I want to ... interrupt this and ask Do you want to save? If yes, than call save method on a formBean, and then go to the

RE: Navigation (save first)

2002-02-25 Thread Robert
Almost sounds like you would want to capture this using JavaScript and depending on if the user says 'yes' to the save, then submit the form, otherwise go on to their menu-page. The flip side might be to have all requests go to one action, which can then determine if the form data has changed,

Re: Struts Validator help

2002-02-25 Thread David Winterfeldt
It is keyed on the property, not the message resource key. So it would be the same as the property for you html:text tag. html:errors property=email / This would represent getEmail/setEmail. David --- [EMAIL PROTECTED] wrote: Hi, I'm new to Struts and Struts Validator. I have been able

Re: help with logic:iterate

2002-02-25 Thread Arron Bates
You're basically using the markup of the nested tags. If you have the nightly build change your iterate tag to... nested:iterate property=columnNameList ...and your text tag to nested:text property=columnName / ...and of course don't forget to close the iterate tag with the

Next 'production' release

2002-02-25 Thread Eddie Bush
Hello - just curious if you all had an ETA for the next 'production' release of Struts. I like several of the features being discussed here, but we don't really want our projects to rely upon a 'Nightly Build'. Thanks so much =) Eddie

MORE help with logic:iterate

2002-02-25 Thread Saeid Zoonematkermani
Hello all; I am sorry to bring this up again but I have looked at the docs and the archives and I think I am following the instruction found in these but I still can't get the iterate tag to work correctly. So I wanted to post this question and see if I understand the methodology and

Logging in beans

2002-02-25 Thread Charlie Toohey
I would like to log some information in the Tomcat log file from my beans. But I don't want to use the ActionServlet log method, as passing an ActionServlet object as a parameter to a bean would violate the bean philosophy that beans should be completely independent of a web application

RE: How to use html:radio? Take two

2002-02-25 Thread SUPRIYA MISRA
did you reset the button to null on action form? From: Maturo, Larry [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: How to use html:radio? Take two Date: Mon, 25 Feb 2002 11:06:22 -0600 Well, I got no

RE: Logging in beans

2002-02-25 Thread Phase Web and Multimedia
log4j would work well. Schedule away a day or so to become familiar with it and download the 1.2b3 version. This will insure that you are prepared for the future changes in log4j and will keep you from programming with deprecated code. http://jakarta.apache.org/log4j/ Brandon Goodin Phase Web

Re: MORE help with logic:iterate

2002-02-25 Thread Arron Bates
In the nightly build, the nested tags will make easy work of this for you, simply swapping the tag header name a little to the following... nested:iterate property=myStudentListProperty nested:write property=name / /nested:iterate (no, you don't have to mess around with the id's and all that.

Re: help with logic:iterate

2002-02-25 Thread Sriram Nookala
The following worked for me: nested:iterate property=columnNameList tr td nested:text property=this/ / /td However if I have another String collection called columnTypeList which has the same length as the columnNameList and which also I'd like to populate and

Re: help with logic:iterate

2002-02-25 Thread Arron Bates
If you model it the other way (ie: a collections of objects that individual properties for each column. eg: ResultSet style) it will be much easier. Then you can point the iterate tag's property at the collection, and then use the nested text tags to show each of the properties within each

RE: help with logic:iterate

2002-02-25 Thread klaus . bucka-lassen
Hi Maybe I completely lost the context, but as far as I can see, you haven't wrapped the html:text within a html:form tag, right? If you just want to output text to the HTML page you're generating use bean:write name=columnName instead. Using html:text for user-input within an iterator is a

logic tag: checking presense of key or value in a map?

2002-02-25 Thread Torgeir Veimo
Is there a simple way of checking wether a map contains a given key or value? I tried something like logic:equal name=child property=properties.key value=keyname /logic:equal but I'm not shure if what I'm trying to do is supported. (The child bean has a method Map getProperties().) --