Re: Re[2]: Best Practices for Logging?

2002-12-11 Thread Gemes Tibor
2002. december 11. 02:34 dátummal Craig R. McClanahan ezt írtad: If I'm understanding what you are doing correctly, doesn't this make the logging level global to all logging in your application? The approach Struts uses internally (essentially a category name per class) lets you make much

how to submit a form using html:link

2002-12-11 Thread Amit Badheka
Is it possioble to submit a form using html:link tag. I want to call a servlet that resided on another war file. I am able to call it by click on html link. But, my requirement is to submit the form.

How to Format default input text value according to user request?

2002-12-11 Thread Renato Aganippe
Hello everybody, Please help, I can't get through this problem and it drives me crazy! I need to initialize the default field value from a html:text tag with a timestamp field from a Bean according to the user's request Locale. I am looking for an equivalent of formatKey attribute from

RE: Re: Re[2]: Best Practices for Logging?

2002-12-11 Thread shirishchandra . sakhare
Hi, If I'm understanding what you are doing correctly, doesn't this make the logging level global to all logging in your application? The approach Struts uses internally (essentially a category name per class) lets you make much more fine grained decisions about wanting DEBUG messages from

Re: Validator with separate modules (Tiles too)

2002-12-11 Thread Cedric Dumoulin
Hi, Tiles now allow to have one Tiles factory for each module (since 2/3 weeks). But, for backward compatibility, you need to enable it. Add the following property value in your Tiles plugin declaration: set-property property=moduleAware value=true / Remember that you need to declare

Request is Missing in MultiPart/form File Upload

2002-12-11 Thread Rajesh_Gangadharan
Hi , I am facing a crazy problem.I am using Struts1.1.b2.In that after the file upload I want to redirect the page to some other JSP..As normal I used mapping.findForward(somejsp)..It is not working... In console the error is coming that Orginal Request is missing..Pls help to solve

RE: how to submit a form using html:link

2002-12-11 Thread Andrew Hill
Yes, ... BUT you will need to use javascript. ie: a href=javascript: document.forms[0].submit()Submit/a i guess for the tag the syntax would be something very similar: html:link href=javascript: document.forms[0].submit()Submit/html:link -Original Message- From: Amit Badheka

Re: how to submit a form using html:link

2002-12-11 Thread Gemes Tibor
2002. december 11. 09:52 dátummal Amit Badheka ezt írtad: Is it possioble to submit a form using html:link tag. I want to call a servlet that resided on another war file. I am able to call it by click on html link. But, my requirement is to submit the form. You are not forced to use html:link.

RE: how to submit a form using html:link

2002-12-11 Thread Mouratidis, Georg
-Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 11. Dezember 2002 09:58 To: Struts Users Mailing List Subject: Re: how to submit a form using html:link You are not forced to use html:link. It is useful for url rewriting, which is not needed by you. So

Re: how to submit a form using html:link

2002-12-11 Thread Gemes Tibor
2002. december 11. 10:00 dátummal Andrew Hill ezt írtad: Yes, ... BUT you will need to use javascript. ie: a href=javascript: document.forms[0].submit()Submit/a i guess for the tag the syntax would be something very similar: html:link href=javascript:

RE: How to Format default input text value according to user request?

2002-12-11 Thread Míguel Ángel Mulero Martínez
The Locale object exists in the Actions. Use an Action before the JSP that creates this bean. In this way you can format the text before call the bean:write Regards, Miguel -Mensaje original- De: Renato Aganippe [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 11 de diciembre de 2002

RE: how to submit a form using html:link

2002-12-11 Thread Andrew Hill
Yep. Its a waste of time and server resources, but he did ask... -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 17:08 To: Struts Users Mailing List Subject: Re: how to submit a form using html:link 2002. december 11. 10:00 dátummal

Re: How to Format default input text value according to user request?

2002-12-11 Thread Renato Aganippe
Miguel, Thanks for your answer but I don't have any problem with bean:write tag but with html:text tag. Regards, Renato - Original Message - From: Míguel Ángel Mulero Martínez [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, December 11, 2002 10:13 AM

Re: How to Format default input text value according to user request?

2002-12-11 Thread Gemes Tibor
2002. december 11. 09:48 dátummal Renato Aganippe ezt írtad: Hello everybody, Please help, I can't get through this problem and it drives me crazy! I need to initialize the default field value from a html:text tag with a timestamp field from a Bean according to the user's request Locale.

DynaActionForm in session scope

2002-12-11 Thread Charles
Hi all, Can a DynaValidatorForm be in session scope? Whenever I submit a page that uses a DynaValidatorForm, which is in session scope, it resets itself and all the previously stored data are lost. I did not call the form reset function at all. I thought by adding the scope=session attribute in

Re: struts, tiles ans roles

2002-12-11 Thread Cedric Dumoulin
Hi, Christian Simonutti wrote: Hi there. I'm on the way to get into struts 1.1-b2 with tiles and have to develope a web-application with a lot of roles. In the sample chapter of Struts in Action, there is an example with the role attribute in the tiles:put statement, but according to

urgent

2002-12-11 Thread Amit Badheka
Hi All, I have a requirement to call a servlet from a action class or jsp. The servlet is residing on the war file other than struts app. Hence, there are two different context. The servlet is used for file upload so my jsp should contain multipart/form data. so, I have to call post method of

Re: DynaActionForm in session scope

2002-12-11 Thread Gemes Tibor
2002. december 12. 02:29 dátummal Charles ezt írtad: Hi all, Can a DynaValidatorForm be in session scope? Whenever I submit a page that uses a DynaValidatorForm, which is in session scope, it resets itself and all the previously stored data are lost. I did not call the form reset function at

Re: DynaActionForm in session scope

2002-12-11 Thread Gemes Tibor
2002. december 12. 02:29 dátummal Charles ezt írtad: Tried searching the message list at nagoya but the search function doesn't seem to be working. http://www.google.com/search?q=struts-user+session+reset+DynaActionForm+site%3Awww.mail-archive.com Tib -- To unsubscribe, e-mail:

RE: urgent

2002-12-11 Thread Andrew Hill
No joy with the javascript submit() huh? :-( Are you getting any error messages? Are you submitting to the correct url? (ie: forms action is set appropriately) -Original Message- From: Amit Badheka [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 17:36 To: Struts Users

Re: urgent

2002-12-11 Thread Gemes Tibor
2002. december 11. 10:35 dátummal Amit Badheka ezt írtad: If I am using html:link I am able to call the servlet, but the form data can not be passed. I also tried with action forward but it is not calling servlet.(may be b'cos it is not in same context). Is there any way to achieve

common validation error page

2002-12-11 Thread David Mulligan
Got a quick validation question. All validation errors that occur from action forms are to be displayed on a common error page. Not the input page of the action! How do I setup the validator to forward to this common error page when there are problems? e.g. Something like the below will work

how to dynamically generate several file upload fields

2002-12-11 Thread matthew yee-king
Hello I have a form where the user uploads several files. The number of files they have to upload is defined in a database, i.e. it can change. How can I write a form that generates the correct number of file upload fields automatically and stores the uploaded files into a FormFile array in an

RE: how to submit a form using html:link

2002-12-11 Thread Deepika Malik
you can submit the form in html:link by using sth like this html:link href=javascript:redirectUser('/meterTransfer.do'); function redirectUser(strAction) { document.formname.action=strAction; document.formname.submit(); } where strAction is the action mapping in struts-config and

RE: how to dynamically generate several file upload fields

2002-12-11 Thread Andrew Hill
I had a similar problem. At first I tried using a FormFile[] array like one does with other non-file fields, but it just didnt work, and I dont believe its supported, though it may be that I was doing something wrong? :-( I thought of a few other (rather bad) solutions. The most obvious involves

Re: urgent

2002-12-11 Thread Amit Badheka
Hi Andrew, thanks for reply, If I give the below url as action and submit the form I am getting error as not a valid url /http://localhost:7001/ManageStyle/servlet/stylegeneralinfoservlet.ser and if I try with ActionForward from action then it is not giving any error, but also not doing

Re: how to dynamically generate several file upload fields

2002-12-11 Thread matthew yee-king
Another idea you might try is similar to what I ended up doing. This involves having a single file input field. The user can only upload one file at a time, but after each upload they are brought back to the form to add more. This is implemented by having the form in session scope and the

RE: how to dynamically generate several file upload fields

2002-12-11 Thread Andrew Hill
Well you can do it for text fields already - just pump out several fields with the same name. Works for almost all field types actually. ...just not files :-( I think to get multiple files working (ie: array of FormFile) would need changes to the classes in the struts upload package. I would

Re: how to dynamically generate several file upload fields

2002-12-11 Thread Gemes Tibor
2002. december 11. 11:10 dátummal matthew yee-king ezt írtad: that sounds like the best solution to me for the moment. I need a quick solution as ever ;) Im still trying to think up a nicer way to do it that covers all my needs. If you come up with something better do let me know as Id be

Re: how to dynamically generate several file upload fields

2002-12-11 Thread Gemes Tibor
2002. december 11. 11:21 dátummal Andrew Hill ezt írtad: I think to get multiple files working (ie: array of FormFile) would need changes to the classes in the struts upload package. I would imagine that it is not simple (mainly on the evidence that nobodys done it yet!). Oh, I haven't think

RE: urgent

2002-12-11 Thread Andrew Hill
hmmm. Whats in the actual html/javascript then? (for the forms action property). Are you rendering the action with a form tag, or setting it at submit time with javascript? -Original Message- From: Amit Badheka [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 18:30 To: [EMAIL

RE: how to dynamically generate several file upload fields

2002-12-11 Thread Andrew Hill
Yeh. I rememeber reading in the html specs (or was that the 'draft' for file uplaoding with html) that it would support multiple files, alas the browsers dont. One can of course have multiple input type=file elements, but I dont think this can be mapped to the same property in the actionForm as an

RE: how to dynamically generate several file upload fields

2002-12-11 Thread Andrew Hill
Aha. here we go. Its a known limitation to be resolved later. Heres the link to bugzilla: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6847 -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 18:39 To: Struts Users Mailing List Subject:

Re: urgent

2002-12-11 Thread Amit Badheka
I am setting it as action attribute for html:form tag. But after getting that error I created one action class and then tried to forward using ActionForward (as it is a proper way). With this it is not giving any error but also not accessing the servlet. I checked out the url, it is correct as

RE: urgent

2002-12-11 Thread Andrew Hill
Just saw your other email. Submitting from an action and forwarding from that instead of the browser seems a good idea but Ive not tried it myself for resources outside the same webapp. Im not sure if it works or what needs to be done to make it work for that situation. Sorry :-( If you cant find

Re: whither validator taglib?

2002-12-11 Thread Enrico Donelli
Brian Moseley wrote: (apologies if this topic has been discussed before- i'm getting an error when searching the list archive: text search not supported for this list or some such.) chapter 12 of struts in action refers to a javascript taglib that doesn't appear to exist. i see the

Re: how to dynamically generate several file upload fields

2002-12-11 Thread matthew yee-king
I've got this working nicely now. And its not a /total/ HCI disaster by any means :). cheers - matthew On Wed, 11 Dec 2002 10:10:17 + matthew yee-king [EMAIL PROTECTED] wrote: Another idea you might try is similar to what I ended up doing. This involves having a single file input

RE: How to Format default input text value according to user request?

2002-12-11 Thread Edgar P. Dollin
If I were doing this I would do it either in the validate() or reset() functions of my form bean during the load action. Edgar -Original Message- From: Renato Aganippe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 4:18 AM To: 'Struts Users Mailing List' Subject: Re: How

RE: how to dynamically generate several file upload fields

2002-12-11 Thread Andrew Hill
Wow. That was quick. I spent ages when I did it. Good work :-) -Original Message- From: matthew yee-king [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 19:43 To: Struts Users Mailing List Subject: Re: how to dynamically generate several file upload fields I've got this

RE: SOLVED common validation error page

2002-12-11 Thread David Mulligan
Solved by overriding the RequestProcessor and inserted the below code. Now, if we got validation errors the request is forwarded to the form input (if it exists), otherwise to the validation_error forward. // Has an input form been specified for this mapping? String input = mapping.getInput();

RE: how to submit a form using html:link

2002-12-11 Thread Bill Chmura
Do you mean you want to have the html link start the submit of the form? You should just be able to add javascript to do the form.submit if that is what you are looking for -Original Message- From: Amit Badheka [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:52 AM To:

Re: urgent

2002-12-11 Thread Amit Badheka
Thanks Andrew for help, I am not finding anyway ,as yet to do it with struts action hence for the time being I am doing it by submitting thru javascript. Amit Badheka. - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Sent: Wednesday, December 11,

Map-backed ActionForms

2002-12-11 Thread Pat Quinn
I'm using the Map-Backed action form approach as detailed here: http://jakarta.apache.org/struts/userGuide/building_controller.html#map_action_form_classes I have a form bean with a one instance of a Value Object(i.e.customersVO), this value object contain an ArrayList(i.e. CustomerDetails) of

Prepopulating DynaActionForm which has an indexed property

2002-12-11 Thread Srinivas Bhagavathula
Hi, I am reposting this question, did not get any input for my last post. Hope someone can give me some inputs here. thanks, srinivas How can I prepopulate an DynaValidator/DynaAction form which has an indexed property? this is my form definition form-bean name=myForm

DynaForm example

2002-12-11 Thread Mark
Hello Anybody have any pointers for using Mapped backed Action forms (MBAF). I've read the documentation, MBAF fits the task in hand. I just need an example or a clear explaination of how to get something up and running. Many thanks in advance mark -- To unsubscribe, e-mail: mailto:[EMAIL

Re: DynaForm example

2002-12-11 Thread Pat Quinn
If you look at my last posting i've detailed how i'm using a List-Backed action form... mapped-backed is very similar. From: Mark [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: DynaForm example Date: Wed, 11 Dec 2002 15:06:53 +0100

RE: Prepopulating DynaActionForm which has an indexed property

2002-12-11 Thread Robert Taylor
Try this: DynaBean newForm = DynaActionFormClass.getDynaActionFormClass(myForm).newInstance(); String[] firstNames = new String[employee.numberOfPersons()]; for (int i= 0; i employee.numberofPersons() ; ++ i) firstNames[i] = employee.firstName(); // do you mean

Constructing absolute URL in struts 1.1-b2

2002-12-11 Thread Andrew Watters
I'm trying to create an absolute URL to redirect to. The URL is generated dynamically at runtime so I can't declare it in the config file for the module. My controller code ends with - String url = getPaymentServerUrl(); // Returns an absolute URL ActionForward forward = new ActionForward(url,

Re: Prepopulating DynaActionForm which has an indexed property

2002-12-11 Thread Mark
I'm doing the same kind of thing, I don't think dynaform supports arrays so that might explain why it isn't digging what its being sent. The mapped backed action form is the puppy you need to get your head 'round (as do i). Read the latest docs on 'map backed action forms'.. This basically puts

Struts Tags Helper

2002-12-11 Thread Heligon Sandra
I read on the site http://codecentral.borland.com/codecentral/ccweb.exe/prodcat?prodid=3catid= 11 that an new open tool StrutsTagsHelper is available but I don't know where I can find/download the file StrutsTagsHelper.jar. Sandra -- To unsubscribe, e-mail:

Re: DynaForm example

2002-12-11 Thread Mark
I have seen it and i'm hoping to have the same problem as you in the next hour or so.. Cheers mark On 11-12-2002 15:13, Pat Quinn [EMAIL PROTECTED] wrote: If you look at my last posting i've detailed how i'm using a List-Backed action form... mapped-backed is very similar. From:

RE: Constructing absolute URL in struts 1.1-b2

2002-12-11 Thread Edgar P. Dollin
This is a known bug and the solution is not known at this time although it is stated it will be fixed. If you need an immediate solution you might consider using javax.servlet.RequestDispatcher from ServletRequest.getRequestDispatcher. Edgar -Original Message- From: Andrew Watters

RE: Prepopulating DynaActionForm which has an indexed property

2002-12-11 Thread Srinivas Bhagavathula
Thanks Robert!!! That worked...appreciate the help From: Robert Taylor [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Prepopulating DynaActionForm which has an indexed property Date: Wed, 11 Dec 2002

Re: Prepopulating DynaActionForm which has an indexed property

2002-12-11 Thread Mark
I'm doing the same kind of thing, I don't think dynaform supports arrays so that might explain why it isn't digging what its being sent. The mapped backed action form is the puppy you need to get your head 'round (as do i). Read the latest docs on 'map backed action forms'.. This basically puts

Struts site and programmer listing on Jarkarta Resources site

2002-12-11 Thread Bill Blackmon
I've recently completed a Struts-driven site and would like to have it and my firm listed on the Jakarta Resources pages. There doesn't seem to be any way to submit this information. Can anyone give me an email address or something to send the information to? Thanks, Bill Blackmon -- To

Re: Map-backed ActionForms

2002-12-11 Thread Mark
Pat How do i get to my FormBean in my action class usually: MyForm theForm = (MyForm) form; But when i try to compile javac says 'no', is there something i'm missing or does javac hate me :)? On 11-12-2002 14:49, Pat Quinn [EMAIL PROTECTED] wrote: I'm using the Map-Backed action form

Re: Constructing absolute URL in struts 1.1-b2

2002-12-11 Thread Andrew Watters
Thanks Edgar for your prompt reply. It is good to know I'm not going mad - I searched the archives but couldn't find anything. I tried both request.getRequestDispatcher.forward and response.sendRedirect but in both cases I got an IllegalStateException because the response was already committed. I

Re: Map-backed ActionForms

2002-12-11 Thread Justin Ashworth
That should work. Are you certain that MyForm is extending ActionForm? - Original Message - From: Mark [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, December 11, 2002 9:54 AM Subject: Re: Map-backed ActionForms Pat How do i get to my FormBean in

Re: Map-backed ActionForms

2002-12-11 Thread Pat Quinn
You access your form bean in the very same way as before theres nothing new there. From: Mark [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Map-backed ActionForms Date: Wed, 11 Dec 2002 15:54:36 +0100 Pat How do i get to my

Re: Map-backed ActionForms

2002-12-11 Thread Mark
Dooh.. I assumed i had to pass the form to the excute method as a dynaform.. Cool i'll be back soon. On 11-12-2002 15:59, Pat Quinn [EMAIL PROTECTED] wrote: You access your form bean in the very same way as before theres nothing new there. From: Mark [EMAIL PROTECTED] Reply-To:

Tile attribute has no value question

2002-12-11 Thread Joao Araujo
Hi, I have the following definition on my tile-defs.xml file: tiles-definitions definition name=mainLayout page=/pages/layouts/basicLayout.jsp put name=header value=/pages/header.jsp / put name=menu value=/pages/mainMenu.jsp / put name=body

Tiles editor, help

2002-12-11 Thread Heligon Sandra
I have developed a Struts application with Tiles definition. I used JBuilder7, but it was a trial edition. Now I use JBuilder6, but with JBuilder7 I was able to display Tiles definition with a friendly API without used XML syntax. I don't remember which

RE: Constructing absolute URL in struts 1.1-b2

2002-12-11 Thread Edgar P. Dollin
I use the RequestDispatcher without a problem. I don't believe struts does commits (I think I read something about tiles making commits however). Edgar -Original Message- From: Andrew Watters [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 9:56 AM To: [EMAIL PROTECTED]

static elements in forms

2002-12-11 Thread Edgar Dollin
I have worked around this and it is not major, but does anyone know the reason why optionsCollection can't take a [ public static Collection ] from a form bean as input? This is an issue for me since if a select list is related to the form, not the application, I prefer to keep it as part of the

RE: Tiles editor, help - StrutsConsole new version ?

2002-12-11 Thread Heligon Sandra
It seems that it is the StrutsConsole extension that allows to have Tiles extension. I have downloaded the last version 3.1 of StrutsConsole but it doesn't work. I think that the console.jar is not the same for all the IDE, but only one .zip is available on the site

RE: Tiles editor, help - StrutsConsole new version ?

2002-12-11 Thread James Holmes
If you visit the help section of my website it gives you details on how to install Struts Console for each of the specific IDEs. http://www.jamesholmes.com/struts/console/help.html -james --- Heligon Sandra [EMAIL PROTECTED] wrote: It seems that it is the StrutsConsole extension that allows

Re: Constructing absolute URL in struts 1.1-b2

2002-12-11 Thread Andrew Watters
Thanks again, it must be something in our application that is causing the exception then. Off I go to investigate... Andrew - Original Message - From: Edgar P. Dollin [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, December 11, 2002 4:22 PM Subject:

RE: Tiles editor, help - StrutsConsole new version ?

2002-12-11 Thread Emmanuel Boudrant
Hi Sandra, Struts console work fine with my JBuilder6, did you read http://www.jamesholmes.com/struts/console/help.html#jbuilder -emmanuel Heligon Sandra lt;[EMAIL PROTECTED]gt; a écrit : It seems that it is the StrutsConsole extension that allows to have Tiles extension. I have downloaded

Map-backed ActionForms with JSTL

2002-12-11 Thread Justin Ashworth
Hi, Has anyone been able to successfully access properties in a map-backed ActionForm with JSTL? I haven't been able to come up with the expression language to retrieve properties out of a Map in my ActionForm. If this is possible, what is the syntax? I have tried c:out

Re: static elements in forms

2002-12-11 Thread David Graham
Probably because of the JavaBean spec. I'm not too familiar with the details but static variables may not be accessible the same way member variables are. David From: Edgar Dollin [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL

Transforming a String to valid HTML encoding

2002-12-11 Thread Hirschmann, Bernhard
Hello! Is there a parser around, which is able to parse a String with special characters (like in the German language), and can transform them into valid html encoding? (like schouml;n for schön) Best regards Bernhard -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: Using the key of a HashMap in an html:option tag ?

2002-12-11 Thread Kris Schneider
The problem is that the type of the property that the tag handler exposes as an attribute has to be assignable from the type of the expression. Taking the current example: html:select styleClass=field property=assignedTo logic:iterate id=element name=employees html:option value=%=

RE: Tiles editor, help - StrutsConsole new version ?

2002-12-11 Thread Heligon Sandra
I have the StrutsConsole tab when I open a struts-config.xml file but I don't have this tab with the tiles-def.xml file. I read that It can be due to the DOCTYPE but this DOCTYPE seems good: !DOCTYPE tiles-definitions PUBLIC -//Apache Software Foundation//DTD Tiles Configuration//EN

RE: Map-backed ActionForms with JSTL

2002-12-11 Thread Jarnot Voytek Contr AU HQ/SC
not a JSTL expert here, but have you tried ${profilePage.property[ID]}? -Original Message- From: Justin Ashworth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 10:34 AM To: Struts Users Mailing List Subject: Map-backed ActionForms with JSTL Hi, Has anyone been able to

Re: Transforming a String to valid HTML encoding

2002-12-11 Thread Andrew Watters
Can you use java.net.URLEncoder.encode(String s,String enc) (since J2SE 1.4)? - Original Message - From: Hirschmann, Bernhard [EMAIL PROTECTED] To: Struts User Mailing List (E-Mail) [EMAIL PROTECTED] Sent: Wednesday, December 11, 2002 4:34 PM Subject: Transforming a String to valid HTML

RE: Transforming a String to valid HTML encoding

2002-12-11 Thread Dennis van den Berg
Hi, from javadoc of struts: org.apache.struts.util.ResponseUtils. filter public static java.lang.String filter(java.lang.String value)Filter the specified string for characters that are senstive to HTML interpreters, returning the string with these characters replaced by the corresponding

Help! StrutsL-EL error (HTML tag)

2002-12-11 Thread Hohlen, John
I'm currently encountering the following error in my JSP trying to use Struts-EL tags. Error in using tag library uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class 'org.apache.strutsel.taglib.html.ELImageTag' has no setter method corresponding to TLD declared attribute 'styleId',

I cannot unsubscribe from Struts Email list

2002-12-11 Thread Ota, Larry W
I wish to unsubscribe to this mailing list. I've tried to unsubscribe by following: To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] It's been a few days since I sent that out, and I am still receiving all posts. I love the info and plan on getting back onto the list when the time is

RE: I cannot unsubscribe from Struts Email list

2002-12-11 Thread Arnaud HERITIER
Did you send this e-mail with the SAME e-mail address you used to register to the mailing-list ??? -Message d'origine- De : Ota, Larry W [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 11 décembre 2002 17:54 À : Struts Users Mailing List (E-mail) Objet : I cannot unsubscribe from Struts

RE: Map-backed ActionForms with JSTL

2002-12-11 Thread Kris Schneider
Assuming you've got something like: public ProfilePageForm extends ActionForm { private final Map map = new HashMap(); public void setProperty(String key, Object value) { map.put(key, value); } public Object getProperty(String key) { return map.get(key); } } As a standard

Re: I cannot unsubscribe from Struts Email list

2002-12-11 Thread Eddie Bush
The process goes like: - send the email you did - wait for a reply - reply to that reply - receive notification that you're off the list If that process fails you, you could always contact the owner at [EMAIL PROTECTED] and have them manually remove you. Ota, Larry W wrote: I

Re: Help! StrutsL-EL error (HTML tag)

2002-12-11 Thread Brian Moseley
Hohlen, John wrote: I'm currently encountering the following error in my JSP trying to use Struts-EL tags. Error in using tag library uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class 'org.apache.strutsel.taglib.html.ELImageTag' has no setter method corresponding to TLD declared

Design tools and Struts

2002-12-11 Thread Moyer, Alan L
I'm interested in finding what web design tools (Example: Dreamweaver) work well with Struts. With a good tool, the effort to go from web page design to JSP with struts tag libraries should be mimimized. Any recommendations? Tools to avoid? Thanks much, Al This transmission is intended only

RE: Help! StrutsL-EL error (HTML tag)

2002-12-11 Thread Karr, David
I think I found the problem in the latest code base. Adding styleId to html-el:image required one more change that I didn't think of. I had to uncomment the use of the styleId attribute in the BeanInfo class. I've submitted a fix which will hopefully be in tonight's build (if the problem

Re: Help! StrutsL-EL error (HTML tag)

2002-12-11 Thread Brian Moseley
Karr, David wrote: I think I found the problem in the latest code base. Adding styleId to html-el:image required one more change that I didn't think of. I had to uncomment the use of the styleId attribute in the BeanInfo class. I've submitted a fix which will hopefully be in tonight's build

tiles:insert page=?

2002-12-11 Thread ajTreece
Folks... I tried to search the archives, but for some reason any text search returns no data... Could just be me! I have a tile def and in it I have the following code: tiles:insert page=some-jsp/ The challenge is the some-jsp page to be inserted could be one of many. Is it possible to set

Cannot find bean under name org.apache.struts.taglib.html.BEAN

2002-12-11 Thread aduprat . struts
Hello all. I'm back with my modules problems. Someone taold me that hmtl:form is bugged in struts 1.1 and that it is for this reason i can find any action when in a module witch is not the default one. So i transformed my html:form... /html:form in FORM.../FORM Then i have another problem :

RE: Cannot find bean under name org.apache.struts.taglib.html.BEAN

2002-12-11 Thread James Childers
Then i have another problem : Generated page comes with an error : javax.servlet.ServletException: Cannot find bean under name org.apache.struts.taglib.html.BEAN Check your form bean and make sure it has getters/setters for each element in the html:form/html:form tag. If it is getting

Re: RE: Cannot find bean under name org.apache.struts.taglib.html.BEAN

2002-12-11 Thread aduprat . struts
I'm sure each property of the form has a getter in the for bean cause it was working in struts 1.0 without any module... can it be becuse i put FORM in place of html:form ? Message d'origine Sujet: RE: Cannot find bean under name org.apache.struts.taglib.html.BEAN Date: Wed, 11 Dec

RE: Help! StrutsL-EL error (HTML tag)

2002-12-11 Thread Karr, David
If that's the case, then I'll have to look at this closer tonight. I can only work on minor testing and changes during the day here. -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 9:22 AM To: Struts Users Mailing List Subject:

Struts design: All actions in one ActionClass

2002-12-11 Thread Jordan Thomas
Hi, What is the best way to design my application? Is it better to a) Put all my actions for a particluar area (i.e. creating, editing and deleting user accounts) in one Action class or b) Use a seperate action class for every action in my application or c) Put all of the actions for a

Re: Design tools and Struts

2002-12-11 Thread Gemes Tibor
2002-12-11, sze keltezssel Moyer, Alan L ezt rta: I'm interested in finding what web design tools (Example: Dreamweaver) work well with Struts. With a good tool, the effort to go from web page design to JSP with struts tag libraries should be mimimized. I was told that the Dreamweaver MX (or

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Nelson, Laird
-Original Message- From: Jordan Thomas [mailto:[EMAIL PROTECTED]] What is the best way to design my application? Is it better to a) Put all my actions for a particluar area (i.e. creating, editing and deleting user accounts) in one Action class or b) Use a seperate action

Re: Struts design: All actions in one ActionClass

2002-12-11 Thread Patrice
For me, it's easy to maintain seperate actions. If you want to group different actions in one Action class, you might use a DispatchAction with a method for each process. Hope it helps Patrice - Original Message - From: Jordan Thomas [EMAIL PROTECTED] To: Struts-User [EMAIL PROTECTED]

Re: Struts design: All actions in one ActionClass

2002-12-11 Thread David Graham
Definitely b. It will be far easier to maintain. If you're worried about having a lot of actions you can look at DispatchAction or using DynaBeans. David From: Jordan Thomas [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts-User [EMAIL PROTECTED] Subject:

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Chappell, Simon P
Abolutely go with option B. We did this and if you keep all of your actual business logic outside of your actions (the only way to fly) then you end up with lots of small and easy to understand/maintain actions. This worked for us, so I'm not speaking from theory here. :-) Simon

Re: tiles:insert page=?

2002-12-11 Thread ajTreece
Please disregard... I figured it out. Thanks... ajTreece wrote: Folks... I tried to search the archives, but for some reason any text search returns no data... Could just be me! I have a tile def and in it I have the following code: tiles:insert page=some-jsp/ The challenge is the

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Ron Day
where do you do your business logic ? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 12:52 PM To: Struts Users Mailing List Subject: RE: Struts design: All actions in one ActionClass Abolutely go with option B. We did this and

RE: Struts design: All actions in one ActionClass

2002-12-11 Thread Chappell, Simon P
In business logic classes completely outside of the Struts arena. Check out the PowerPoint presentation that I have on my website's Struts page. http://simonpeter.com/techie/java/struts/index.html This will explain some of the layering and separation that we put into our recent system. Simon

Multiple submits in form with same display label

2002-12-11 Thread Viggio, Alex
The UI spec for a page I must implement in a Struts 1.0.2 app calls for multiple submit buttons on the form all having the label Edit to indicate a desire to modify specific sets of data for a large data object. Other than the submit buttons, the page does not have any read/write form controls,

  1   2   >