Switch off Initializing and Processing Output

2002-12-04 Thread Bernhard Oberndorfer
Hello How can I switch off Initializing and Processing Messages in catalina.out. The messages look like that: Dec 2, 2002 11:04:51 AM org.apache.struts.util.PropertyMessageResources init INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true My log-file is full

[ANN] Struts WML Tag Library 'raw prerelease' available

2002-12-04 Thread Davor Cengija
[ Re-post from struts-devel list ] Struts-wml taglib, 'raw prerelease' is available here: https://sourceforge.net/projects/struts-wml/ Here's the release note: This is a fully functional 'prerelease' which includes source code, sample application, documentation, binary and libraries. It's

Downloaded struts1.0.2 does not contain commons*.jar

2002-12-04 Thread vaibhavi
Hello, I have downloaded struts latest version. I could not find commons-*.jar files in the lib directory. Now I have to carry out database connectivity. I don't have the access to the org.apache.commons.sql.util.* classes due to unavailability of the above jar files. How could I manage to get

RE: Loosing form data when chaining actions

2002-12-04 Thread shirishchandra . sakhare
Hi, To ensure that The same form is being shared,u neeed to make sure that the name and scope attributes for both the actions are same. And in As the second point VEDRE mentioned, u dont ned to keep the form in the session scope as the actions are directly called one after another so are

RE: Downloaded struts1.0.2 does not contain commons*.jar

2002-12-04 Thread Miguel Angel Mulero Martinez
Look at jakarta.apache.org, under commons. -Mensaje original- De: vaibhavi [mailto:[EMAIL PROTECTED]] Enviado el: miercoles, 04 de diciembre de 2002 10:26 Para: [EMAIL PROTECTED] Asunto: Downloaded struts1.0.2 does not contain commons*.jar Hello, I have downloaded struts

RE: Downloaded struts1.0.2 does not contain commons*.jar

2002-12-04 Thread vaibhavi
Hi, Thanks for reply but the thing is that there are lot many jars under common list which should I go for.Here is the error list which I am getting if u can come to know about my exact problem. D:\strutstest\WEB-INF\srcjavac org/apache/struts/webapp/example/l*.java

Can I take form[] into action class.

2002-12-04 Thread D, Gopinath (MED)
Hi, I've set the colletion of bean into session and iterated to present the collection in my JSPs. Now how will i take back the collection to my action classes.. I know we handle this using string[] in the getter setter methods of the bean to take back the colletion to action servlet.

RE: Simple Doubt

2002-12-04 Thread edgar
If you don't mind writing tag libraries to simplify client code you can go with option 2. You end up with an interface that is richer for the user as you can compress dozens of actions to a single jsp. If you just want to write jsp and use the tags out of the box the only alternative is 1.

RE: Submitting the entire list contents.

2002-12-04 Thread edgar
In your actions you can save the items in the cart as a side effect of other actions. One solution is to set up a collection object in the session which you populate from various other forms and at the checkout action grab the collection from the session for processing. Edgar -Original

abstract class

2002-12-04 Thread Mohan Radhakrishnan
Hi, If an action has two different behaviours then it is advised to use an abstract method in the base class that the sub-action can override. Our base action's perform method has to pass control to a sub action's method for the varying behavior. But if we use an abstract method then the

Re: struts 1.1. modules examples.

2002-12-04 Thread aduprat . struts
What do you mean with : where you need to modify the config initialization parameter to be a comma-delimited list of all the config files for all the modules I declared my module as this : init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value

RE: Validator question

2002-12-04 Thread ROSSEL Olivier
Hello, I am new to using Struts' Validator framework and am trying to write a sample application based on the example distributed with Validator download from D. Winterfeldt's site. In the file jsRegistration.jsp, there are the following lines: html:form action=registration

tiles: some questions

2002-12-04 Thread Chris Ruegger
Question 1: I'm setting up an app to use Tiles. I'm using tiles definitions in an XML file and I successfully start at my welcome page, which is inserted into the master template. Now suppose this page has direct links to other JSPs, like this: html:link page=nextpage.jspnext page/html:link

RE: Downloaded struts1.0.2 does not contain commons*.jar

2002-12-04 Thread Miguel Angel Mulero Martinez
I user (for the connection pool): commons-collections.jar commons-dbcp.jar commons-pool.jar included all in tomcat. -Mensaje original- De: vaibhavi [mailto:[EMAIL PROTECTED]] Enviado el: miercoles, 04 de diciembre de 2002 10:58 Para: 'Struts Users Mailing List' Asunto: RE:

how to access property of the Data Source Configuration

2002-12-04 Thread vaibhavi
Hi, I have congifured my struts-config.xml for databse as follows !-- == Data Source Configuration === -- !-- data-sources data-source set-property property=autoCommit value=false/ set-property property=description

Re: abstract class

2002-12-04 Thread Brian Hickey
Mohan, Two different behaviors is what you wish then you need to derive from a concrete base class. Abstract classes are more likely to provide conformance to an architecture or signature template. In Struts, folks usually inherit from the Action class to create certain behaviors. If you need to

RE: abstract class

2002-12-04 Thread Andrew Hill
snip So your sub class (a derivation of your base class) needs to call into its super class, it is done with a super() call. The super() call is (and must be) the first statement in the subclass's overriding method. /snip Thats just for constructors. Ive got a few places where a subclass

Re: abstract class

2002-12-04 Thread Brian Hickey
LOL! Yes. 'Tis true. I would suggest a different approach, but it is irrelevant. I am simply trying to help someone to find an answer. Thanks for the explanation :o) Brian - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent:

Re: question about findForward()

2002-12-04 Thread Kevin HaleBoyes
--- Emmanuel Boudrant [EMAIL PROTECTED] wrote: You need a redirection. In a redirection, the request (who containt the form) is not propagate. Just put in forward declaration : forward name=toto path=/path_to_toto.jsp redirect=true/ If your form is stored in session scope, you need to

Struts-EL Tag Library Problem

2002-12-04 Thread Nekkalapudi, Viplava
Our team is trying to use the latest nightly build version (12/03/2002) of the Struts-EL subproject. It appears that the latest TLDs do no match the source code. For example, earlier today I encountered the following error for the ELBaseTag at runtime: No setter method corresponding to TLD

FW: Struts-EL Tag Library Problem

2002-12-04 Thread Nekkalapudi, Viplava
Our team is trying to use the latest nightly build version (12/03/2002) of the Struts-EL subproject. It appears that the latest TLDs do no match the source code. For example, earlier today I encountered the following error for the ELBaseTag at runtime: No setter method corresponding to TLD

RE: Struts-EL Tag Library Problem (More Info)

2002-12-04 Thread Nekkalapudi, Viplava
Here are some additional details from my server log. It appears there is no setHtmlComment method with 1 argument in the library code: [java] Dec 3, 2002 2:25:03 PM CST Info HTTP [WebAppServletContext(2839100,edge,/edge)] r solved taglib uri '/WEB-INF/struts-html-el.tld' to taglib-location

RE: Struts-EL Tag Library Problem (Even More Info)

2002-12-04 Thread Nekkalapudi, Viplava
I have figured out my problem. I'm using the Struts 1.1 Beta 2 release with the nightly build version (12/03/02) of the struts-el project. These are obviously not compatible. I want to stick with the B2 version of Struts, so does anyone know what nightly release of the Struts-EL project is

Problem using Servlet 2.3 DTD with Struts

2002-12-04 Thread Mark Woon
Hi all. I've been wanting to use filters lately and finally got around to trying it out, but am having trouble with my web.xml file (which only has Struts related entries) and Struts. The first thing I did was update the DOCTYPE in my web.xml to use web-app_2_3.dtd. Now, I'm getting: Parse

RE: Nested Tag

2002-12-04 Thread Sri Sankaran
I am not familiar with WebSphere however nested tags work just fine with Struts 1.0.2 and Struts 1.1bx or nightly. The only difference is that with Struts 1.0.2 it is a separate download from http://www.keyboardmonkey.com/next/index.jsp. Sri -Original Message- From: Shryock, Chad

RE: Nested Tag

2002-12-04 Thread Wendy Smoak
Sri wrote: I am not familiar with WebSphere however nested tags work just fine with Struts 1.0.2 and Struts 1.1bx or nightly. Do nested tags provide anything that the new expression-language tags and JSTL do not provide? So far I haven't used nested tags; I just want to make sure I'm not

Using DynaValidatorForm in session scope

2002-12-04 Thread Emily Harsh
Could someone please validate my understanding of the requirements for using forms in session scope? Following the rule that anything stored in the session must implment Serializable, is it true that one shouldn't use DynaValidatorForms in the session scope? Instead a concrete class should be

calling ACTION from SEARCH button, results displayed in new window

2002-12-04 Thread Cook, Graham
How do you go about calling an action from a SEARCH button on a JSP, and passing in one of the JSP fields to the action in order to bring up a popup window with data related to the field on the JSP. eg. like part of a name that you want to search on?

RE: Nested Tag

2002-12-04 Thread Sri Sankaran
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 9:34 AM To: 'Struts Users Mailing List' Subject: RE: Nested Tag Sri wrote: I am not familiar with WebSphere however nested tags work just fine with Struts 1.0.2 and Struts

Re: calling ACTION from SEARCH button, results displayed in new windo w

2002-12-04 Thread Gemes Tibor
2002. december 4. 15:43 dtummal Cook, Graham ezt rtad: How do you go about calling an action from a SEARCH button on a JSP, and passing in one of the JSP fields to the action in order to bring up a popup window with data related to the field on the JSP. eg. like part of a name that you want to

odd behaviour form beans?

2002-12-04 Thread David Bolsover
I have seen some odd behaviour relating to initial capital letters I have the following on a jsp: html:text property=PCBSerial / Note the capital P html:text property=function1 / Note the lower case f In the corresponding Actionform: private String pCBSerial = ; private String function1 = ;

Re: tiles: some questions

2002-12-04 Thread John Nicholas
Chris Ruegger wrote: Question 1: I'm setting up an app to use Tiles. I'm using tiles definitions in an XML file and I successfully start at my welcome page, which is inserted into the master template. Now suppose this page has direct links to other JSPs, like this: html:link

RE: calling ACTION from SEARCH button, results displayed in new windo w

2002-12-04 Thread Cook, Graham
The field on the form is part of a company name, the popup window will be a list of all names in the database that match what the user has typed in the input field. I know that I need to use Javascript to create the popup, what i need to know is whether or not i can pass the JSP field into a

html:form relative action howto?

2002-12-04 Thread Pablo Casado
hello, how do I do the following, --struts config-- action path=/x/y/myaction ... forward name=success path=myjsp.jsp /action action path=/a/b/myaction ... forward name=success path=myjsp.jsp /action --myjsp.jsp -- html:form action=whichever action that forwarded to me so the possible

Re: calling ACTION from SEARCH button, results displayed in new w indo w

2002-12-04 Thread Gemes Tibor
2002. december 4. 16:31 dtummal Cook, Graham ezt rtad: The field on the form is part of a company name, the popup window will be a list of all names in the database that match what the user has typed in the input field. I know that I need to use Javascript to create the popup, what i need to

readonly property in html:text tag not working

2002-12-04 Thread Jaisankar
Hi, In my .jsp page, I have the following code. td align=left html:text property=id size=6 maxlength=6 readonly=true/ /td I'm getting Unable to find setter method for attribute: readonly while compiling that .jsp file. Looking for help. regards Jai

Dynamically generated forms

2002-12-04 Thread Mark
Hello I'm building a form based on values stored in a db.. So i run some sql and read this into a struture (fanbabbydozy)... I make sure the struture is available to my jsp and Action class (same thing). So i can iterate through the results, and do the things one does with data strutures.

How to get the action mapping

2002-12-04 Thread Jordan Thomas
Hi All, A newbie with a basic question (I hope...). How do I get the action mapping from the current request? thanks Jordan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Struts-EL Tag Library Problem (Even More Info)

2002-12-04 Thread Karr, David
If it's possible at all, you might try the first few nightly builds that included Struts-EL. I know the first one won't work very well, as I made some major mistakes in the first commit. It was a few days before I got it mostly right. Whether this (combining 1.1b2 with a nightly struts-el)

Re: struts 1.1. modules examples.

2002-12-04 Thread Craig R. McClanahan
On Wed, 4 Dec 2002 [EMAIL PROTECTED] wrote: Date: Wed, 4 Dec 2002 12:00:44 CET From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: struts 1.1. modules examples. What do you mean with : where you need to modify the config

RE: readonly property in html:text tag not working

2002-12-04 Thread Richard Doust
There's an attribute called disabled that makes it impossible for the user to modify the field's value if set to true. Maybe that would suit your purposes? -Original Message- From: Jaisankar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 11:17 AM To: [EMAIL PROTECTED]

Dynamically generated forms

2002-12-04 Thread Mark
Hello I'm building a form based on values stored in a db.. So i run some sql and read this into a struture (fanbabbydozy)... I make sure the struture is available to my jsp and Action class (same thing). So i can iterate through the results, and do the things one does with data strutures.

Dynamically generated forms

2002-12-04 Thread Mark
Appologies if this message appears multiple times... Hello I'm building a form based on values stored in a db.. So i run some sql and read this into a struture (fanbabbydozy)... I make sure the struture is available to my jsp and Action class (same thing). So i can iterate through the

Dynamically generated forms

2002-12-04 Thread Mark
Appologies if this message appears multiple times... Hello I'm building a form based on values stored in a db.. So i run some sql and read this into a struture (fanbabbydozy)... I make sure the struture is available to my jsp and Action class (same thing). So i can iterate through the

RE: test jsp pages developed by tag developers to test the tags

2002-12-04 Thread Vijay Balakrishnan
No, what I meant was - I saw some pages being used by the developers of the tags to test these tags out through various nesting conditions.I didn't see those in the various examples folders which comes along with the struts distribution. -Original Message- From: [EMAIL PROTECTED]

RE: readonly property in html:text tag not working

2002-12-04 Thread Wendy Smoak
In my .jsp page, I have the following code. html:text property=id size=6 maxlength=6 readonly=true/ I'm getting Unable to find setter method for attribute: readonly while compiling that .jsp file. You didn't say what version of Struts you're using. I'm on a recent nightly build (Nov 18th, I

Re: tiles: some questions

2002-12-04 Thread Paul Hodgetts
John Nicholas wrote: Yes, you want to have all page access go through the controller even when it seems like it's not doing anything. There is a default Action for this. action path=/mypath type=com.aapromo.RestrictedForewardAction forward name=success

why no styleId for html-el:image?

2002-12-04 Thread Brian Moseley
why does html-el:image not support styleId like most of the other html tags do? i found a message in the archive with the justification for options not supporting it, but not for image. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: Struts-EL Tag Library Problem (Even More Info)

2002-12-04 Thread Brian Moseley
Karr, David wrote: If it's possible at all, you might try the first few nightly builds that included Struts-EL. I know the first one won't work very well, as I made some major mistakes in the first commit. It was a few days before I got it mostly right. Whether this (combining 1.1b2 with a

How does Struts handle arrays of fields?

2002-12-04 Thread David Graham
I have a set of hidden fields all named deletedId but with different values. What type should this be in my ActionForm? It works if I have private String[] deletedId; and related accessor methods. My problem is that I want to use the JSTL's EL to get the size of this array. I tried

RE: why no styleId for html-el:image?

2002-12-04 Thread Karr, David
Because I forgot to add it to html-el:image after I added it to html:image, even though I noted it was missing in the struts-html-el.xml file, that's why. I'll update that, hopefully today. -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED]] why does html-el:image not

Request losing data after container security check

2002-12-04 Thread Michael Lee
I have a screen a.jsp that calls a.do which then forwards to b.jsp I have a form called AForm.java. I have a field called email in AForm.java. In a.jsp a user can set email, call a.do and then forward to b.jsp which does a bean:write name=aForm property=email/. This works just fine and outputs

problem with startup of 1.1

2002-12-04 Thread Curtis, Sean
Hey all.. just trying to get my server started witht the web-example, and Im getting an initialization error trying to deploy the sample app: anyone have a similar problem that they could share some insight on? Thanks Sean .. [04/Dec/2002:14:13:59] info ( 3323): Loading IWSSessionManager

Re: Request losing data after container security check

2002-12-04 Thread David Graham
If the session times out then you probably want the user to go back to the start page anyways. Request data is only stored by the container long enough to complete a request for one page so it won't be around after that request. David From: Michael Lee [EMAIL PROTECTED] Reply-To: Struts

Re: Help with Multiple Input!

2002-12-04 Thread Jana Navaneethan
Hi, Thanks for your valuable suggestion. It solved my problem. I have a basic question, How can I retrieve messages from my properties file in my form bean? I need to do this for some checkbox labels and values I want to use the messages from the ApplicationResources.properties file. Your

Internet is still required to startup validator plugin

2002-12-04 Thread Dan Tran
Hi, my struts app uses nightly build of struts and common-validator on 12/03. And I am still having the problem with http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14506 My configurations are: 1.4.1 JKD, Tomcat 4.1.12, W2K, no internet connection My validator files (validator-rules.xml,

Re: tiles: some questions

2002-12-04 Thread John Nicholas
Paul Hodgetts wrote: John Nicholas wrote: Yes, you want to have all page access go through the controller even when it seems like it's not doing anything. There is a default Action for this. action path=/mypath type=com.aapromo.RestrictedForewardAction

redundant tag declarations and JSTL

2002-12-04 Thread Brian Buckley
Hello: My JSPs contain a bunch of include file statements inside of nested:.. tags. For example, nested:nest property=xxx %@ include file=/util/xxx/editor.jsp % /nested:nest They work great. However, when I attempt to add JSTL into my pages, I get a compile error when Tomcat attempts to

get key value for a hashmap row-similar to result in jstl

2002-12-04 Thread Vijay Balakrishnan
HI, I am trying to get the key values for a hashmap row from a collection of hashmaps.I want to access the specific key value from the hashmap eg: I want to access the key value nameId from the hashMapQuestionRow directly.How can i do that ? I am doing it this way right now.Is there an easier

Re: redundant tag declarations and JSTL

2002-12-04 Thread David Graham
You might try putting all your taglib declarations into a taglibs.jsp file and include that file on the rest of your pages. This has the added benefit of localizing the declarations to one place. David From: Brian Buckley [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL

Re: How to figure out the caller of in a Tiles JSP file?

2002-12-04 Thread Colin Kilburn
Hi Zsolt, Did you ever figure out a programmatic way to do this? I'd be very interested in knowing how as well. Anyone else? Colin Zsolt Koppany wrote: Hi, in Tiles JSP files, request.getRequestURI() seems to return the URL of the includes Tiles file. How can I figure out the URL of the

Re: Help with Multiple Input!

2002-12-04 Thread David Graham
Struts stores a MessageResources object in the ServletContext under the Globals.MessagesKey. You can grab it from there or use ResourceBundle.getBundle(). See the javadoc for more details. David From: Jana Navaneethan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL

RE: How does Struts handle arrays of fields?

2002-12-04 Thread Karr, David
If I'm seeing your problem correctly, you probably know by now that the EL only references bean properties, except when it's referencing collections :) . It checks whether something is a collection before it checks whether it is a bean, so creating a SUBCLASS of a collection class and adding bean

RE: How does Struts handle arrays of fields?

2002-12-04 Thread David Graham
My custom Collection class is not a subclass of anything. It implements the Collection interface and adds a getSize() method so the EL will work . This solution works. What I really need to know is if Struts can populate a Collection class instead of a String[] for arrays of fields. It acts

RE: get key value for a hashmap row-similar to result in jstl

2002-12-04 Thread Vinh Tran
Another option is to add some supporting fields to retrieve a hashMapQuestionRow by key. For example: class hashMapQuestionRows { private String currentKey; private hashMapQuestionRow currentQuestionRow; public getHashMapQuestionRow() {

Re: Request losing data after container security check

2002-12-04 Thread Michael Lee
?This doesnt sound right. Its just an http request. It shouldn't lose anything except session data. The container should route the http request and all the request items from the form. thanks, Mike - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: why no styleId for html-el:image?

2002-12-04 Thread Brian Moseley
Karr, David wrote: Because I forgot to add it to html-el:image after I added it to html:image, even though I noted it was missing in the struts-html-el.xml file, that's why. I'll update that, hopefully today. cool, thanks. i thought it was something like that :) i tried to work up a patch,

Internationalization of checkbox label

2002-12-04 Thread Jana Navaneethan
Hi, I want to use values, labels for the multibox from my application properties file. I want to create a String[] in my form bean containing elements from properties file (keys). for example in the code below I want to create string [] items form my properties file, i.e. UPS should come

action-mapping

2002-12-04 Thread LUCERO,DENNIS (HP-Boise,ex1)
I am a newbie but I am a little confused about the following. In the struts api it states the following about the forward property of the action mapping class Exactly one of the forward, include, or type properties must be specified. But, in the examples I downloaded with the struts package

Re: Request losing data after container security check

2002-12-04 Thread David Graham
The session only times out if it's idle; it won't timeout in mid request. You lose session data when it times out. You lose request data after the response has been sent for a particular request. David From: Michael Lee [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL

Re: Internationalization of checkbox label

2002-12-04 Thread David Graham
Your items array should contain keys in your message resources. Then use the bean:message or fmt:message tag to output the key's value. David From: Jana Navaneethan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

Re: action-mapping

2002-12-04 Thread David Graham
It's talking about the properties of the action element. You can define multiple forwards for an action to use. David From: LUCERO,DENNIS (HP-Boise,ex1) [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: ' ([EMAIL PROTECTED])' [EMAIL PROTECTED] Subject:

Re: Internationalization of checkbox label

2002-12-04 Thread Jana Navaneethan
How do I use bean:message in my ActionForm ? Thanks, Jana. - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 04, 2002 4:11 PM Subject: Re: Internationalization of checkbox label Your items array should contain keys in your message

Re: Request losing data after container security check

2002-12-04 Thread Michael Lee
i know. a.jsp calls a.do which forwards to b.jsp user enters data in a.jsp user leaves session times out user clicks submit on a.jsp a.do action is of scope request when we get to b.jsp, it should display the data entered on a.jsp (verify screen) it does not if the session times out and the user

RE: get key value for a hashmap row-similar to result in jstl

2002-12-04 Thread Vijay Balakrishnan
Hi Vinh, I have already defined that and am getting a row which is a hashmap composed of columns and values for eg nameId is a column within this hashmap row.This same concept is used in *result* I think in JSTL. logic:iterate id=hashMapQuestionRow name=ac property=hashMapQuestionRows I want to

Re: Internationalization of checkbox label

2002-12-04 Thread David Graham
You don't; you use it where you're using bean:write right now. David From: Jana Navaneethan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Internationalization of checkbox label Date: Wed, 4 Dec 2002

Re: Request losing data after container security check

2002-12-04 Thread David Graham
That's the way session time outs are supposed to work. This is a security feature when people leave in the middle of something. The user must complete the transaction in one sitting. If you don't want that to happen then set your session timeout to an incredibly large number of minutes or (I

RE: get key value for a hashmap row-similar to result in jstl

2002-12-04 Thread Vinh Tran
Unless I completely misunderstand your question..just do the following... Assuming you added the properties as I described in my previous post logic:iterate ... jsp:setProperty name=hashMapQuestionRows property=currentKey value=%= nameId %/ bean:define id=currentRow

problem using html:form in different struts-modules

2002-12-04 Thread jzimmek
Hi, i want to use seperate modules in my application (i.e. general, account, registration ... ). At the bottom of my website is a login panel ( username and password field ). I used the html:form jsp-tag to render the login panel, but i seems like the html:form tag cannot lookup action

Re: problem using html:form in different struts-modules

2002-12-04 Thread Michael Delamere
Hi Jan, Try : html:form action=/account/Login.do Regards, Michael :-) - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 04, 2002 11:14 PM Subject: problem using html:form in different struts-modules Hi, i want to use seperate modules

if condition with or

2002-12-04 Thread Jana Navaneethan
Hi, I want to use logic:equal in my JSP to replace the following code. if (count = 0 || count = 2 || count = 4) do something. How to achieve this using logic:equal By the count is index value of the iterator i.e indexId. Thanks in advance, Jana. -- To unsubscribe, e-mail:

Re: action-mapping

2002-12-04 Thread Emmanuel Boudrant
You a 3 type of action-mapping : A simple forward action path=/toto forward=/toto.jsp/ A simple include action path=/toto include=/toto.jsp/ Or a typed action : action path=/toto type=com.toto.TotoAction forward name=success path=/ok.jsp/ forward name=failure path=/error.jsp/ /action With

Best indexed reference/nested bean alternative for Struts 1.0.2 app?

2002-12-04 Thread Alex
I have a requirement to implement a JSP with a certain look and feel in an existing pseudo Struts 1.0.2 application. The rendered HTML would have this approximate look (assuming the last action was the user clicking the Add Participant button to add the new row with the type here placeholder

Re: Dynamically generated forms

2002-12-04 Thread micael
I am not sure I understand where you are coming from, Mark, but I think I do. If you intend to dynamically generate a struts form, I think that is trouble. Struts forms are the dynamicer that generates the html dynamicee. So, don't you want to use struts (or something else) to dynamically

Re: problem using html:form in different struts-modules

2002-12-04 Thread zet
Hi, i already tried to use html:form action=/account/Login.do but i only get an error: [ServletException in:/jsp/tiles/general/footer.jsp] Cannot retrieve mapping for action /account/Login' - Original Message - From: Michael Delamere [EMAIL PROTECTED] To: Struts Users Mailing List

RE: why no styleId for html-el:image?

2002-12-04 Thread Karr, David
You'll find that humorous then, because all I did was add the attribute to the tld. It was already completely handled in the tag class, it just wasn't recognized by the JSP compiler. -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED]] Karr, David wrote: Because I

RE: How does Struts handle arrays of fields?

2002-12-04 Thread Karr, David
You can call it a subclass, or you can say it implements something. It's the same thing. I believe that you'll get into trouble if you try to make a class which is both a bean AND a collection. You'll end up having to make a bean which contains a collection property AND a size property. I'm not

Tool for visually documenting Tiles hierarchy?

2002-12-04 Thread Chetty, Arun
Is anyone aware of any tools in the market that would help visually document the complete Tiles hierarchy used in an application. If not, any ideas on how you would go about doing this. A speedy reply would be greatly appreciated Thanks in advance Arun -Original Message- From: Karr,

Re: problem using html:form in different struts-modules

2002-12-04 Thread Michael Delamere
Jan, are you doing a redirect in order to get to your login screen? If so, try redirect=false ... I remember having a similar problem... Regards, Michael - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, December 04, 2002

Validator DTD - local resolution

2002-12-04 Thread Frost, Gary [IT]
Hi, I posted a message a few days ago about my validator not working, that a message was present in my logfile outputs saying that Jakarta.apache.org could not be resolved. Jorge Martins helped me out by telling me how to set up a proxy in my webserver (Tomcat 4) (-DproxySet=true,

Restrict acces to certain pages/actions

2002-12-04 Thread Steve Vanspall
Hi there, I was wondering if struts had some mechanism to restrict acces according to user level. Basically our users may be of variying levels in our system. From customer to administrator. This is defined by a columns in a table in our database. Each user should have differing levels of

Re: Tool for visually documenting Tiles hierarchy?

2002-12-04 Thread James Holmes
Struts Console allows you to visually edit the Tiles config file. http://www.jamesholmes.com/struts/ -james --- Chetty, Arun [EMAIL PROTECTED] wrote: Is anyone aware of any tools in the market that would help visually document the complete Tiles hierarchy used in an application. If not, any

Re: Restrict acces to certain pages/actions

2002-12-04 Thread Eddie Bush
Struts doesn't provide any custom authentication/authorization mechanism -- make use of that which is provided by your servlet container (lookup container-managed authentication). Once this is done, Struts does provide you ways to build selective content, based upon the roles you've given to

Re: Tool for visually documenting Tiles hierarchy?

2002-12-04 Thread Emmanuel Boudrant
And Easy Struts for Eclipse soon ;) -emmanuel http://easystruts.sf.net James Holmes lt;[EMAIL PROTECTED]gt; a écrit : Struts Console allows you to visually edit the Tiles config file. http://www.jamesholmes.com/struts/ -james --- Chetty, Arun wrote: Is anyone aware of any tools in the

RE: if condition with or

2002-12-04 Thread Todd Pierce
How you do it depends on what you're trying to do. logic:equal probably won't do it for you, as it doesn't have anything that works like an or operator. If you're formatting the content based on whether it's odd or even , I use a boolean flag in the % scriptlet code %. If you want to use tags, I

RE: Restrict acces to certain pages/actions

2002-12-04 Thread Steve Vanspall
yeah, no the admin section is fine. Pity struts doesn't have anything, in the process of a conversion from tomcat to websphere (business partnership thing), So I am trying to get away from any container specific configurations. -Original Message- From: Eddie Bush [mailto:[EMAIL

Re: Dynamically generated forms

2002-12-04 Thread Mark
My silly billy theory was correct then.. :) I ended up doing just that .. The cheque the cigar and medal are in the post.. Thanks micael On 4-12-2002 23:29, micael [EMAIL PROTECTED] wrote: I am not sure I understand where you are coming from, Mark, but I think I do. If you intend to

accessing html:image value

2002-12-04 Thread John Devine
The documentation lists a value attribute for the html:image tag, but I can't seem to get it to do anything for me. Is this attribute of use or just a leftover since it inherited from the html:submit tag? I would like to use an html:image in a list of query results to activate an action on a

RE: accessing html:image value

2002-12-04 Thread John Devine
Ignore this question -- browsers ignore the value of the input type=image. Apparently it's used just for javascript, though I can't see how. Guess I'll just us a link-image with a javascript submit. -Original Message- From: John Devine [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

File Uploads

2002-12-04 Thread Wendy Cameron
I noticed in struts there is a package for file uploads? Does anyone know how to handle file uploads from servlet and populate bean with required uploaded file? Anyone have some sample code? Regards Wendy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

  1   2   >