Re: Newbie question about Tiles suitability.

2002-03-26 Thread Ben Peter
Hi Alex, make sure you have a look at JetSpeed at http://jakarta.apache.org/jetspeed/ Cheers, Ben Alex Colic wrote: Hi, I just got told I have to create a web site similar to myYahoo where the user can customize what they want to view on the screen. You know the type, where you can

Using Struts with Websphere 4

2002-03-26 Thread Nicolas De Loof
Hi is there any known problem for using Struts 1.0.2 on webshpere 4 ? I'd like to use struts framework on a starting project, as the first use off it in my company, and so I'd like to demonstrate to my project manager the quality of opensource software and power off forum support. bye -- To

Convert from JSP to Struts.How?

2002-03-26 Thread @Basebeans.com
Subject: Convert from JSP to Struts.How? From: Espen Lysvik [EMAIL PROTECTED] === Hi! I have a JSP that I would like to work with Struts. I have problems with the HTML:LINK FORWARD, and I know I am doing somethimg wrong, but I don't know what. Here's the code: %@ page language=java % %@ taglib

Svar: Convert from JSP to Struts.How?

2002-03-26 Thread Mikael Eriksson
Hi! I'm guessing a bit here since you did not tell what problem you had but one thing to check is that the forward strings in the html:link is declared as global forwards. (When I first did this I mistakenly thought that the string in forward would refer to an action declaration, which it did

Re: Struts plugin for Dreamweaver 4.0

2002-03-26 Thread Jon Ferguson
Andi, Check out the Ultradev taglib under Jarkarta/taglibs. Macromedia.. did not write it.. an illustrious Open-Sourcerer did! I've tested it with simple tags with good results. Cheers, Jon Andi S. Giri wrote Hello We are implementing Struts on a project, and would like to use the Struts

Off Topic how to download mirror of web site

2002-03-26 Thread @Basebeans.com
Subject: Off Topic how to download mirror of web site From: David Bolsover [EMAIL PROTECTED] === Hi Sorry - off topic - but I'm sure some at least someone in the group may have a solution. A client has asked me to produce an 'off-line' copy of his static web site - lnks go down at least 6

How to use one image as submit button?

2002-03-26 Thread Laker,Nan
Hi all, i want to use one image as submit button. in jsp file,i code the following: html:submit property="save" img page="/image/ok.gif"/ /html:submit but while executing,generated the following source code: input type="submit" name="save" value="img

RE: How to use one image as submit button?

2002-03-26 Thread M?ris Orbid?ns
You can create image submit buttons like this script language="JavaScript" function change() { document.Lemums1.action.value="change"; document.Lemums1.submit(); } /script html:hidden property="action" / a tabindex=-1 href="javascript:change()"img src="images/labot_g.gif"

RE: Tiles question: Is it possible to insert a ComponentDefinition into a Tile context dynamically?

2002-03-26 Thread Chris Cool
Hello, Cedric: Thank you for responding to my question. As you stated, I can add/overload an attribute in the current context. Specifically, I am adding a new item to an existing list. However, each item in the list is the key to a Tile definition. Most of the definitions are in the XML file,

RES: Struts/Tomcat problem

2002-03-26 Thread Kelly Prudente Pereira
Most often for me this was because i had forgotten to put struts.jar in the lib directory. Kelly Prudente Pereira Analista de Sistemas - NDS [EMAIL PROTECTED] Fóton® Informática e Serviços -Mensagem original- De: Lawlor, Frank [mailto:[EMAIL PROTECTED]] Enviada em: segunda-feira, 25

Re: How to use one image as submit button?

2002-03-26 Thread Ted Husted
You'd want to use the image tag for this. See also my Struts Tip #1 on the MVC Programmers newsgroup. news://news.basebeans.com -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services

Re: RES: Error processing message properties file.

2002-03-26 Thread Ted Husted
It usually means that the ApplicationResources.properties file is not on the container's class path. The simplest thing is to put it directly under the classes folder. The message and error tags are designed to work with the resource file, and become upset when they cannot find it. -- Ted

Re: RES: Newbie Question - Please Helpme (Cannot find ActionMapping or...)

2002-03-26 Thread Ted Husted
You might want to temporarily shift development to Tomcat or Resin, to help isolate the problem. Once you have something working there, take another run at JRun. I'd also consider contacting JRun support if you continue to have problems, since Struts compatability is something most vendors

Re: PropertyUtils and NoClassDefFoundError WLS6.1, struts 1.0

2002-03-26 Thread Ted Husted
It's possible that you may have to unpack the JAR with WebLogic. Be sure to consult the installation notes on the Web site, and whatever you can find in the archives. http://jakarta.apache.org/struts/doc-1.0.2/installation.html http://www.mail-archive.com/struts-user%40jakarta.apache.org/ --

Re: Where are the commons-*.jar files?

2002-03-26 Thread Ted Husted
The latest Jakarta JARs can always be found here http://gump.covalent.net/jars/latest/ This is also linked at the foot of the Binary Download page from the top of Jakarta. If you believe there is something amiss with the way the nightly build is handled, please enter a support ticket into

Re: HTML:select multiple=true

2002-03-26 Thread Ted Husted
It's difficult to tell what the exact problem is without seeing at least the interface code for the bean you are trying to expose. The tags access the beans, so the beans are an essential part of the equation. http://www.tuxedo.org/~esr/faqs/smart-questions.html -- Ted Husted, Husted dot Com,

Get properties from the struts-config.xml with Struts 1.1 Beta

2002-03-26 Thread Falkmar Bodo Hinueber
Hi, I've a problem with Struts 1.1 Beta, to read properties, which are set in the struts-config.xml This code works with an old version from Struts but not with Struts 1.1 Beta. Can anybody help me? Here are the sources: The web.xml : ... servlet servlet-nameaction/servlet-name

RE: PropertyUtils and NoClassDefFoundError WLS6.1, struts 1.0

2002-03-26 Thread Arnaud Heritier
I know that there's a bug in WLS6.1 SP2 (don't know if it applies to WLS 6.1) with jar containing several dots in there name. For example : commons-beanutils-1.2.jar let's see : http://dev2dev.bea.com/resourcelibrary/bugfixesdetail.jsp?highlight=bugf

Re: message keys

2002-03-26 Thread Ted Husted
The bean message tag is tied to the application resources. For this to work there must be an entry named url. There is not enough information here to determine what you are trying to do. It's possible that you may mean to use bean:write to access an url property on a bean that has been passed to

I18N question

2002-03-26 Thread liquid
Hi! In my application I have an enumeration called priority containg values low, normal and high. At one point of the application the user can enter the priority using a selection list. Localizing here works fine like this: html:select property=priorityhtml:option value=low

Re: Struts Validator: Use of anchor tag

2002-03-26 Thread Ted Husted
You probably need to escape the quote character, either by using '' or maybe \' -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Struts Newsgroup (@Basebeans.com) wrote: Subject:

Re: FW: URL Probleme II

2002-03-26 Thread Ted Husted
What I do is have it redirect to a status page that can recall the information from the model using a simple URL that I can pass with the redirect. So the cashaction send the double to the database, stores, it and the redirect goes to a page that displays the updated status (including the double

Re: [STRUTS]: MAPPING configuration error for request URI

2002-03-26 Thread Ted Husted
The best thing might be to register it with bugzilla, and include a copy of the configuration elements that might be generating the event. http://jakarta.apache.org/site/bugs.html -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585

Re: The reset() and validate() in the form.

2002-03-26 Thread Ted Husted
http://jakarta.apache.org/struts/doc-1.0.2/userGuide/building_view.html http://jakarta.apache.org/struts/doc-1.0.2/api/org/apache/struts/action/ActionForm.html http://jakarta.apache.org/struts/resources.html#tutorials http://jakarta.apache.org/struts/resources.html#articles -- Ted Husted,

Re: Is there any problem using Struts in Cluster Environment

2002-03-26 Thread Ted Husted
The best people to consult regarding this would be Weblogic support. Most vendors consider Struts compatability a priority. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Boyalla,

Re: html:link and additional parameters

2002-03-26 Thread Ted Husted
The best place to bring up whether a feature would be added would be the DEV list or by registering an enhancement request on Bugzilla. Though, reliance on the order of parameters in a query string runs counter to the HTML spec, where there is no guarantee in what order a browser will submit

Re: Programmed Actions With Struts Applications

2002-03-26 Thread Andy Noble
I don't think there is a simple Struts mechanism for this. You will probably need to invoke a separate thread that monitors the time, and when you hit 2:00am, you could invoke an action programmatically... having said that, I'm not sure why you would need the action to be a struts action, as

Beans Tutorial

2002-03-26 Thread Tarek M. Nabil
Hi everyone, I'm new to Struts, and the first thing I learned was that Struts uses a lot of Java beans :) I've done some server side Java development before, but I usually went for the spaghetti code method and when I needed to encapsualte any functionality outside of the JSP, I usually used

RE: RES: Newbie Question - Please Helpme (Cannot find ActionMapping or...)

2002-03-26 Thread Javier Campoamor
Could be that you are having a compatibility problem. We had a similar problem using Struts with Xalan in ServletExec. The problem was the version of ServletExec that we used came with some xml tools (crimson.jar, jaxp.jar, ...) that conflicted with the xml tools used by Xalan (xerces.jar,

How to iterate in this case??

2002-03-26 Thread Konstantina Stamopoulou
Hello, I need to implement the following and I have reached a dead end. Can you help me? I have the some data in my .xml described below: node name=dir1 child name=file1 link=/dir1/file1/ child name=file2 link=/dir1/file2/ node name=dir2 child name=file3

Protecting Actions in Strut 1.1 - Authorization of Actions

2002-03-26 Thread Ronald Hulen
Looking at the javadoc of the ActionConfig.java class, I see a roleNames array property. It appears that the RequestProcessor.processRoles() looks at this list of roleNames to see if a user's role is contained in this list. But I don't see in the struts-config_1_1.dtd any way of adding roles

Re: I18N question

2002-03-26 Thread liquid
Ok, sorry for posting before having thought hard enough ;-) At least i found a solution: logic:equal name=bean property=priority value=lowbean:message key=priority.low//logic:equal logic:equal name=bean property=priority value=normalbean:message key=priority.normal//logic:equal logic:equal

Re: Tiles question: Is it possible to insert a ComponentDefinition into a Tile context dynamically?

2002-03-26 Thread Cedric Dumoulin
Yes and no ;-) No, this is not a feature directly supported by Tiles Yes, as you have sources, and you know which definition factory you use, you can add directly a definition to the factory. How : create definition, retrieve the factory from context, cast it to its real implementation,

RE: Help with: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null

2002-03-26 Thread mike . witt
Problem fixed! Dave, Your suggestion that I send the jsp file was enough for me to look it over in a different light and realize that even though I was using html:form for one of my forms, the other form I was still using form ... Amazing what the threat of public exposure will do isn't it?

Problems with optionsCollection tag and Weblogic 6.1

2002-03-26 Thread Marcelo Vanzin
Hello there, I've started to use Struts 1.1, and one of the things I was testing was the html:optionsCollection tag, to replace one we coded here (based on html:options) that did the same thing. Everything worked fine when testing in Tomcat, but when running our JSPs

Is anyone else having trouble with Tomcat 4?

2002-03-26 Thread mike . witt
Everytime I try to switch a webapp to Tomcat 4, I get exceptions. Since it works on Tomcat 3 I usually just switch back and don't investigate too much. So, I'm just wondering if anyone else has these problems, and if so ...what's the problem? The most common exception I see is: 2002-03-24

RE: Using Struts with Websphere 4

2002-03-26 Thread Dave J Dandeneau
Make sure that you have the latest efixes from IBM. We ran into a performance problem with taglibs that was fixed in an efix. It wasn't a struts bug, but more of a websphere bug. Also, beware that there is a problem with null values and the string buffer in the JDK that websphere 4 uses. Some

struts get and set methods in formbeans

2002-03-26 Thread Jose Casas
Hello, I got a question about the get and set methods in the form beans. Does the get or set method need to have the name of the member variable in it? For example, if I have a member variable named userPassword do I have to have a get/set method called getuserPassword/setuserPassword or can I

RE: Problems with optionsCollection tag and Weblogic 6.1

2002-03-26 Thread Arnaud Heritier
I didn't watch the code but the difference between tomcat and weblogic is that weblogic reuse the taglibraries in the same page. Tomcat create a new TagClass for each tag instance while Weblogic reuse the first instance and call the release method. This method should reinit all default values

RE: How to use one image as submit button?

2002-03-26 Thread Leonardo Maciel
html:img page="/image/ok.gif" name="save" / -Original Message- From: Laker,Nan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 6:44 AM To: Struts Users Mailing List Subject: How to use one image as submit button? Hi all, i want to use one image as submit button. in jsp

AW: struts get and set methods in formbeans

2002-03-26 Thread Oliver Reflé
Yes it has to be the same, if you have test you have to implement getTest() and setTest() -Ursprüngliche Nachricht- Von: Jose Casas [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 26. März 2002 15:42 An: 'Struts Users Mailing List' Betreff: struts get and set methods in formbeans Hello,

Re: Off Topic how to download mirror of web site

2002-03-26 Thread Slimane Zouggari
Hi, if I understood right, what you're looking for is an offline browser... Among a lot of them, one of the most famous (under window$) is Teleport Pro (http://www.tenmax.com/teleport/home.htm) You can find a lot of other offline browser on tucows (eg.: http://tucows.skynet.be/offline95.html)

RE: Problems with optionsCollection tag and Weblogic 6.1

2002-03-26 Thread Arnaud Heritier
I don't know if it is the source of the problem but in struts 1.1 B1 the code of OptionsCollectionTag is initialized with : protected String label = label; protected String name = Constants.BEAN_KEY; protected String property = null; private String style = null; private String styleClass =

Javascript problem referencing nested form fields

2002-03-26 Thread Frederico Schuh
I'm using nested beans inside my ActionForms, and thus I have to reference those bean properties with dots (like address.number) in the JSP file. So, the generated HTML would be something like this: form name=myForm action=/something.do input type=text name=address.number /form The problem

Re: Problems with optionsCollection tag and Weblogic 6.1

2002-03-26 Thread Marcelo Vanzin
Arnaud Heritier wrote: but the release method defines : label = null; name = null; property = null; style = null; styleClass = null; value = null; Hmmm, I guess this is something that needs to be fixed. :-) I think I missed this in the code... Do you used the name and value

Re: Struts Validator: Use of anchor tag

2002-03-26 Thread @Basebeans.com
Subject: Re: Struts Validator: Use of anchor tag From: Arthur Frankel [EMAIL PROTECTED] === Got it: Use filter=false in the bean:write of the error Arthur Frankel [EMAIL PROTECTED] wrote in message news:a7d0l7$4ci$[EMAIL PROTECTED]... Due to lots of fields on a form, I am trying to offer

Re: AW: struts get and set methods in formbeans

2002-03-26 Thread Jim Crossley
I don't think that's correct. As long as you refer to the password property in your JSP, you may use getPassword/setPassword, regardless of the name of the data member they encapsulate. In other words, it's not the name of the private data member that determines the names of your public

returning the selected value from an html:select

2002-03-26 Thread josef richberg
I have the following code snippet: bean:define id=vendornames name=ProdAddForm property=vname type=java.util.Collection/ then below html:select property=vname html:options collection=vendornames property=value labelProperty=label/ /html:select I have a getter method in my

RE: Problems with optionsCollection tag and Weblogic 6.1

2002-03-26 Thread Arnaud Heritier
It's done Marcelo === DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7485. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Installation on OS-390 and Websphere 3.5.3: 503 Error

2002-03-26 Thread Steven Banks
I am having problem running a Struts Application on the OS/390. The web application starts up correctly, but when I load any URL for the Web App, the message 503 Error Application is currently unavailable for service is displayed. I am following the directions as per configuring Struts for

Re: Javascript problem referencing nested form fields

2002-03-26 Thread Arron Bates
This one is scheduled for a tips page someplace. I'm adding it to my site, but Struts home page should have one... anyways, onto the real topic As you already know, the dot notation is getting in the way and messing up JavaScript document object model. For the field you want, use...

Re: returning the selected value from an html:select

2002-03-26 Thread Jim Crossley
In your formbean, you need to distinguish between the value selected and the values able to be selected. You've accounted for the latter. You need another method to account for the former. The property referred to in your bean:define (returning a Collection) should not be the same property

Re: returning the selected value from an html:select

2002-03-26 Thread josef richberg
That I understand. What I don't understand is how to do that. How can I reference the value chosen in the select? The id is tied to the bean. --josef --- Jim Crossley [EMAIL PROTECTED] wrote: In your formbean, you need to distinguish between the value selected and the values able to be

Re: Javascript problem referencing nested form fields

2002-03-26 Thread SUPRIYA MISRA
I had the similar problem fixed by using script document.Form.elements[address.number].value=0.0; /script From: Arron Bates [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Javascript problem referencing nested

Re-Selecting a combo box entry???

2002-03-26 Thread jeffhaenn
What Im doing: Validating a form with a combobox. Problem: If there was an error, I need to re-select the values that the user selected, when I display the page again. Question: What is the syntax for this? I looked through the source code for the SelectTag and they have a method called

Re: Struts Validator: Use of anchor tag

2002-03-26 Thread David Winterfeldt
I think there is an issue with using single quotes inside error messages and variables in JavaScript. Or it might have been just variables. You should definitely be able to escape a double quote though if you have any problems with the single quote. - David --- Ted Husted [EMAIL PROTECTED]

RE: returning the selected value from an html:select

2002-03-26 Thread Chris Cool
Hi, Josef: The way I handle it is to have three properties in my action form: 1. priority is the value that will be set in action form when the html for is submitted. 2. priorityIds is the list of possible values that will be submitted for the priority. 3. priorityLabels is the list of Strings

Re: Struts Validator: Use of anchor tag

2002-03-26 Thread David Winterfeldt
My last e-mail about the issue with single quotes was referring to the JavaScript part of the Struts Validator. The filter=false is the way to go rendering the html. David --- Struts Newsgroup [EMAIL PROTECTED] wrote: Subject: Re: Struts Validator: Use of anchor tag From: Arthur Frankel

Re: returning the selected value from an html:select

2002-03-26 Thread Jim Crossley
Here's how I would do it. Change the name of the existing method that returns a collection and add a method to get the vname: public Collection getVnameList(){ return new DBAccess().getVendorNames(); } public void setVname(String value){ xx } public String getVname(){ xx } Then

Re: 1 tile - 1 controller

2002-03-26 Thread Jon Ferguson
Hi Cedric, I'm trying to fit this in the context of struts' MVClike framework... Say I wanted to re-write the Invoice example such that I not only associated the billing/shipping address information with a tile but also wanted to separate out the logic so that my 'addressController' would have

Form processing work flow

2002-03-26 Thread Roger Nell
What is the pattern for processing a form? Given: MyForm extends ActionForm MyFomAction extends Action MyForm.jsp displays the form using Struts 1.1 beta 1. Prior to calling MyFormAction.execute(), a MyForm() object is created by struts. In 1.0.x I would create the form object here.

RE: AW: struts get and set methods in formbeans

2002-03-26 Thread Jose Casas
Thanks for the replies. Does anybody else have an opinion as to which is right? Thanks. Jose Casas E-Commerce Applications (501) 277-3112 [EMAIL PROTECTED] -Original Message- From: Jim Crossley [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 9:10 AM To: Struts Users

Re: Form processing work flow

2002-03-26 Thread Nicolas De Loof
Object saved to request scope are destroyed when the request is completed (when the JSP has produced the HTML response). So you cannot get your saved Form after that. You have to put it in the session scope so that you can get it back for future requests. The problem is that struts is not

Re: AW: struts get and set methods in formbeans

2002-03-26 Thread Nicolas De Loof
Struts builds getter methods call with the property name by adding get and upperCased first char. So you can call a getPassword method from a password property declaration (in JSP), even if the underlying attribute is private String this_is_not_password_but_anything_else; so that's ok, you can

RE: AW: struts get and set methods in formbeans

2002-03-26 Thread Robert Nocera
Jose, Jim is correct, your getters and setters correspond to what is in your JSP according to the Java Bean specification. The private variable name can be whatever you want, but generally to make things maintainable and easy to understand the variable names and getter/setter names are related.

error null value not accept... helpme

2002-03-26 Thread Gilson Nascimento D Elrei
I'm receiving the error below when i try to execute a simple login application null java.lang.NullPointerException at test.struts.LoginBean.validate(LoginBean.java:30) at test.struts.LoginAction.perform(LoginAction.java:20) at

RE: error null value not accept... helpme

2002-03-26 Thread Oliver Reflé
I think your null pointer occurs in the LoginBean method validate() so can you show this code ? -Original Message- From: Gilson Nascimento D Elrei [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 5:31 PM To: 'Struts Users Mailing List' Subject: error null value not accept...

using condition in iterate tag

2002-03-26 Thread Peter Cnops
Hi, How can I declare a value out of a collection and use it as a condition in an iterate tag? I have to loop through a collection where one value is the same for several lines. As long as this value is the same, I don't write the line, else I do with the new value. I'm using Struts 1.0.2.

Re: Object Mapping w/ Struts?

2002-03-26 Thread @Basebeans.com
Subject: Re: Object Mapping w/ Struts? From: Gary Fidler [EMAIL PROTECTED] === Try Castor at http://castor.exolab.org/ -gary James A. Hillyerd wrote: I am looking for an object-mapping (to sql relational DB) solution for Struts. I have a medium sized database application which I've

Automatic form validation

2002-03-26 Thread jeffhaenn
During automatic form validation, when errors occur, does the framework pass an instance of the formbean to the target of the input attribute? None of the fields are being repopulated when it goes back to the form. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: returning the selected value from an html:select

2002-03-26 Thread josef richberg
I did that, but it did not work. It looks like it is now looking to get the names to populate the select list from the method getVname(). Maybe I was not clear in my question. I have a collection object that is populated from a database with and id,descp. Once the choice is selected I need to

RE: AW: struts get and set methods in formbeans

2002-03-26 Thread Enrique Rodriguez
De: Nicolas De Loof Struts builds getter methods call with the property name by adding get and upperCased first char. I've an example with one property that start with only one lower case character, something like this pProperty and I always get the same error, can't fing get method for

Struts connection pooling example?

2002-03-26 Thread @Basebeans.com
Subject: Struts connection pooling example? From: Preston Crawford [EMAIL PROTECTED] === Can anyone point me in the direction of a Struts connection pooling example? I'm trying to use Struts' built in connection pooling and can't find the correct documentation for this right now. Preston --

Retrofitting struts

2002-03-26 Thread Dan Cancro
Hi all, I was just wondering who's done the biggest retrofit of struts to a non-struts application. I think our code base is a couple million lines, so using metrics like that, could any of you who have done it describe what it took, and whether you'd put yourself through it again? Thanks, Dan

RE: Get properties from the struts-config.xml with Struts 1.1 Beta

2002-03-26 Thread Ditlinger, Steve
Under Struts 1.1, you now specify the mapping as an attribute of the action-mappings element in the struts-config.xml file as seen here in this snippet from the DTD: -- !-- The action-mappings element configures the mappings from submitted request paths to the corresponding Action

Upgrade

2002-03-26 Thread Honman Lee
Hi All, I had a site working with Struts 1.01 but I have recently upgraded the struts libraries to 1.1 beta. In doing so, I got disconnected somewhere and I was hoping to obtain some assistance. The error message I am getting seems to be caused by a ExceptionInInitializerError. Thanks in

DynaValidatorActionForm

2002-03-26 Thread See Yam Lim
The key passed into the validator is the action element's 'path' attribute from the struts-config.xml which should match the form element's name attribute in the validation.xml. Validator validator = StrutsValidatorUtil.initValidator(mapping.getPath(),

Re: Installation on OS-390 and Websphere 3.5.3: 503 Error

2002-03-26 Thread Steven Banks
Found part of the problem. Websphere defaults the value appserver.compliance.mode=false. This means is you do not set this value to true, you get webspheres compatibilty mode by default. Now I am getting a message: javax.servlet.UnavailableException: Missing configuration resource

PageContext -ApplicationScope lost?

2002-03-26 Thread Sunder
Hi, I have the following code in my jsp, html:select property=securityOptions multiple=false bean:define id=securityOptions name=personalForm property=securityOptions type=java.util.Collection/ html:options collection=securityOptions property=value labelProperty=label/

RE: I18N question

2002-03-26 Thread Alex Paransky
Well, the value you store in the actual field would have to be priority.low, priority.normal, or priority.hi instead of normal, high, or low. Then you can simply use the bean:message instead of bean:write. The bean:message tag will treat the property= as the key in to the resource bundle.

html:img and servlet context - doesn't get it

2002-03-26 Thread @Basebeans.com
Subject: html:img and servlet context - doesn't get it From: Matt Raible [EMAIL PROTECTED] === I am having a problem in my webapp. I setup the mapping to my images directory in my struts-config.xml as follows: forward name=images path=/images/ This works great, as I then write my images as

Re: DynaValidatorActionForm

2002-03-26 Thread David Winterfeldt
I don't see anything wrong, but I wrote the javadoc so I might be missing something. DynaValidatorForm - uses the name of your form bean (registrationForm) to retrieve the set of validation rules DynaValidatorActionForm - uses the name of your action (/registration) to retrieve the set of

Re: Automatic form validation

2002-03-26 Thread David Winterfeldt
You should have access to the bean if automatic validation fails. Are you seeing any error messages even? I would double check your struts-config.xml and your html:form tags reference to the action. David --- [EMAIL PROTECTED] wrote: During automatic form validation, when errors occur,

dynamic select box

2002-03-26 Thread Jose Casas
Does anybody have sample code that shows how to build a select box dynamically? I need to create the select box with values that come from a database. Thank you. Jose Casas E-Commerce Applications (501) 277-3112 [EMAIL PROTECTED]

RE: html:img and servlet context - doesn't get it

2002-03-26 Thread Witbeck, Shane
how about a regular HTML image tag like this: img src=%= request.getContextPath()%/images/yourImage.gif Sincerely, Shane Witbeck __ Developer, Bank of America email: [EMAIL PROTECTED] phone: 904.987.1688 -Original Message- From: Struts Newsgroup

Re: Installation on OS-390 and Websphere 3.5.3: Was 503 Error- Now What struts.jar should I use.

2002-03-26 Thread Steven Banks
I tracked the error message to the ActionServlets initMapping() routine. Specifically ... // Acquire an input stream to our configuration resource InputStream input = getServletContext().getResourceAsStream(config); if (input == null) throw new UnavailableException

Re: html:img and servlet context - doesn't get it

2002-03-26 Thread Max Cooper
Use the page attribute instead of src to have the context path prepended: html:img page=/images/logoOnpoint.gif -Max - Original Message - From: Struts Newsgroup @[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 26, 2002 11:10 AM Subject: html:img and servlet context -

RE: DynaValidatorActionForm

2002-03-26 Thread See Yam Lim
Thanks David. That's great! I got it now. -Original Message- From: David Winterfeldt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 2:14 PM To: Struts Users Mailing List Subject: Re: DynaValidatorActionForm I don't see anything wrong, but I wrote the javadoc so I might be

Re: html:img and servlet context - doesn't get it

2002-03-26 Thread @Basebeans.com
Subject: Re: html:img and servlet context - doesn't get it From: Matt Raible [EMAIL PROTECTED] === Worked like a charm - thanks Max! Max Cooper [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Use the page attribute instead of src to have the context path prepended: html:img

Returning the selected value from an html:select

2002-03-26 Thread josef richberg
Just wanted to say..this worked. thanks jim. (It didn't work the first time because I had a DB error).. Here's how I would do it. Change the name of the existing method that returns a collection and add a method to get the vname: public Collection getVnameList(){ return new

Templates and iPlanet

2002-03-26 Thread Juan Alvarado \(Struts List\)
I am trying to use the struts template mechanism in iPlanet Web Server 6.0, and whenever I come to a page in the form of: %@ taglib uri=/WEB-INF/struts-template.tld prefix=template % template:insert template='/commonElements/ceElUniversalTemplate.jsp' template:put name='title'

Accessing form properties in Javascript

2002-03-26 Thread Bhaskar Gopalan
Hi, how do i get and set form properties inside a javascript function? Do I have to use any ref to the Form Bean? Thnx, GB -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Accessing form properties in Javascript

2002-03-26 Thread theron . kousek
Perhaps someone else can correct me.I don't believe you can access this within JavaScript since JavaScript is client side and forms are server-side... You could preload hidden properties from a form selection and then access them thru JavaScript I had to set a form's propery thru

Getting a value from the request object for variable for a custom tag?

2002-03-26 Thread @Basebeans.com
Subject: Getting a value from the request object for variable for a custom tag? From: Preston Crawford [EMAIL PROTECTED] === I'm writing a custom pager for a resultset my company needs to page through. I don't return every record, just the amount and set indicated by page size and page number in

RE: Accessing form properties in Javascript

2002-03-26 Thread Bhaskar Gopalan
Without struts,it's simple. Inside javascript function: document.formName.property. How to do it when using struts? Thnx, GB -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 4:39 PM To: Struts Users Mailing List Cc: [EMAIL PROTECTED]

Multiple Selects in a JSP

2002-03-26 Thread @Basebeans.com
Subject: Multiple Selects in a JSP From: Ken Holzer [EMAIL PROTECTED] === I have two selects in my JSP and I want to be able to dynamically change the options of the 2nd select based on the choice selected from the 1st select. Is there a way to do that using the Struts tags? Thanks, Ken --

Opening a new window in Javascript

2002-03-26 Thread Bhaskar Gopalan
Hi, how do I open a new window from a Javascript function? window.open(url) does not work. Is there any other way to be followed in struts? Thnx, Bhaskar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Opening a new window in Javascript

2002-03-26 Thread Tero P Paananen
how do I open a new window from a Javascript function? window.open(url) does not work. Is there any other way to be followed in struts? The JavaScript FAQ usually helps in these type of questions: http://www.google.com/search?hl=enq=JavaScript+FAQ -TPP --

RE: Opening a new window in Javascript

2002-03-26 Thread Bhaskar Gopalan
Thanks. But I couldn't find my answer here as I am looking out for a struts solution. -gb -Original Message- From: Tero P Paananen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 5:40 PM To: Struts Users Mailing List Subject: RE: Opening a new window in Javascript how do I

Re: Multiple Selects in a JSP

2002-03-26 Thread Richard Yee
The selection takes place on the browser. Therefore, you need to use JavaScript to do it. This is unless you have a large amount of different options in select #1 and need to go to the server to get the options for select #2. You'd then need to do an onchange in select #1. That would be

  1   2   >