RE: form-tags

2002-06-28 Thread James Mitchell
-Original Message- From: Chandra Sekharan Bhaskaran [mailto:[EMAIL PROTECTED]] Sent: Friday, June 28, 2002 2:07 AM To: [EMAIL PROTECTED] Subject: form-tags Hi, I have three questions q1) Can we have multiple struts form tags in a single jsp page. How do we achieve this

RE: form-tags

2002-06-28 Thread Vikram Goyal01
Title: Message 1. I think you can. There is no restriction on putting multiple forms as regards to W3C, so I dont think that there is restriction in struts. 2. No. AFAIK no. 3. Within Struts form tags? You can have any number of tag libraries, Struts or no Struts. I am not quite sure what

Intermediate Processing Page

2002-06-28 Thread Adrian Theuma
Hi, I have the following problem scenario. After I submit a form to perform a search or some heavy computation I'd like to forward the client to an intermediate page (which shows a loading message). In the meantime the request is processed by the server. I have tried with the

log4j and struts

2002-06-28 Thread Joe Latty
I have set up log4j to run with my app, it all works fine, however I get about 1 billion (ok maybe a billion is an exageration) DEBUG lines written from struts endless stuff like this; DEBUG 2002-06-28 17:30:48,317 (Log4JCategoryLog.java:132) - Validating input form properties DEBUG 2002-06-28

Re: how to stop struts logging

2002-06-28 Thread Virga
great! it works ! thanks guys... -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: log4j and struts

2002-06-28 Thread fabrice dewasmes
HI ! I've encountered exactly the same problem : a solution i've used is to configure your root logger to be high level (say for example ERROR) and configure your packages to be low level for your debug needs (say for example com.myCompany to be DEBUG) this could give this kind of property file

Re: title and alt properties

2002-06-28 Thread Marco Maier
Hi, I have exactly the same problem. The output is always textarea name=text1 title=???de.null??? alt=???de.null???some text/textarea I can't get rid of them. Even if I put an empty title and alt property. Any ideas? I'm using Struts 1.1-b1 with WSAD 4.0.3 TIA Marco Barbara Post wrote:

Re: ServletException: Multipart data doesn't start with boundary

2002-06-28 Thread Rob Leland
Daniel If I understand correctly you have the automatic validation turned off and are calling form.validate() your self ? If so you'll need to emulate what the RequestProcessor.java does when the validation fails, which is ActionErrors errors = form.validate(mapping, request); if

indexed property bug ???

2002-06-28 Thread fabrice dewasmes
Hello, i post this again as noone seems to care... has anyone ever tried to use the indexed property with Struts1.1 ? My problem is that i can't get it work when the form bean is in request scope. The collection that i'm getting from user input is null. Here's my jsp code : logic:iterate

RE: log4j and struts

2002-06-28 Thread Joe Latty
Works a charm, thanks. Joe -Original Message- From: fabrice dewasmes [mailto:[EMAIL PROTECTED]] Sent: Friday, 28 June 2002 5:48 PM To: Struts Users Mailing List Subject: RE: log4j and struts HI ! I've encountered exactly the same problem : a solution i've used is to configure your

Re: how to stop struts logging

2002-06-28 Thread Virga
do you really think struts using commons-logging ? why i can't find it in the jars ? or even in the source? anyway, when i modify my web.xml and put : init-param param-namedebug/param-name param-value0/param-value /init-param init-param param-namedetail/param-name

RE: indexed property bug ???

2002-06-28 Thread Lips, Kees
Hi, Just to show what I use and it works for me. This working example and code can help you to get it to work too. In the an Action class the workflowitemsbean is filled with objects of the kind workflowitembean. The workflowitemsbean is saved in request scope in the action class. In this

How can I deal with a group of dynamic input?

2002-06-28 Thread Chen Zhi feng
Hi, On my jsp page there're a group of textbox for user ot input, and the numbers of textbox is dynamic,when user needs,there generates more. for example,there are tr input type = text name = testText0 input type = text name = textText1 /tr after the end-user click a button "more",there will be

Re: title and alt properties

2002-06-28 Thread Barbara Post
Hi Marco, so let's hardcode title = and alt= in the jsp ? I do this :-/ Would be nice if not found string would return instead of locale + null + garbage By the way, if I have html:text property=myinput1 ... /, what do you think the key is ? the form is MyActionForm1 for example. Barbara

RE: indexed property bug ???

2002-06-28 Thread fabrice dewasmes
HI, thanks for your help. I tried to add the scope attribute and type attribute but it still doesn't work. How do you get each of your workflowitemberan correctly set with the user input. For example, say that your workflowItemBean has a text property 'comment' that you want your user to fill.

bug with a javascript that worked.....

2002-06-28 Thread Barbara Post
OK Struts gurus ;-) here we go : this javascript is so very simple and works well. Maybe I shouldn't use a href=... in nested: ... tag ? Gotta try html:link instead. The event that does not behave well is onMouseOver, browser tells that document.layers[...].style is not an object. But

RE: ServletException: Multipart data doesn't start with boundary

2002-06-28 Thread Daniel J. D'Cotta
Rob, Yes, I have turned off auto-validation and cale validate() explicitly in the Action. So I map my HttpServletRequest request to a MultipartRequestWrapper and call a getRequest(). But what else do I need to do ... ? Or is that all? Thanks in advance. Regards, Daniel -Original

RE: indexed property bug ???

2002-06-28 Thread fabrice dewasmes
HI, thanks for your help. I tried to add the scope attribute and type attribute but it still doesn't work. How do you get each of your workflowitembean correctly set with the user input. For example, say that your workflowItemBean has a text property 'comment' that you want your user to fill.

MessageResource strategy

2002-06-28 Thread fabrice dewasmes
Hi, no problem this time but a strategy question : is it advisable to put large blocks of html code under one message resource key ? Because sometimes you have styled text intermixed with bullets and you consider this as one content block. I'm reticent to store html code in the resource

Re: form-tags

2002-06-28 Thread slickdev
MessageI might be mistaken, but I think you can find out the answers in the struts documentation. - Original Message - From: Chandra Sekharan Bhaskaran To: [EMAIL PROTECTED] Sent: Friday, June 28, 2002 1:06 AM Subject: form-tags Hi, I have three questions q1)

Tr: bug with a javascript that worked.....

2002-06-28 Thread Barbara Post
Well, addendum : I used html:link to check things, and then I got the same error but for the function that worked, too (hide/show a table) !! My faulty function call remains : a href=%=linkTo% onMouseOver=javascript:menuHelp('Div%=indexHelp%', 'visible');

RE: indexed property bug ???

2002-06-28 Thread Lips, Kees
Hi Fabrice, I must say that I don't use a FormBean, my beans are filled by the action class from a data source (data to show only) and the data is displayed by the jsp. For each workflowitembean a line is created in the jsp, with one or more links the user may click. Each links just passes again

RE: How can I deal with a group of dynamic input?

2002-06-28 Thread Lips, Kees
Hi, Just a thought. Maybe you can put a collection in your FormBean each time the user clicks more add an element to this collection. In the jsp use the logic:iterate tag to loop thru the collection building your input tags dynamically. The logic:iterate tag also has the IndexId which can be

Re: title and alt properties

2002-06-28 Thread Marco Maier
Hi Barbara, so let's hardcode title = and alt= in the jsp ? I do this :-/ that doesn't work. The output for html:textarea property=text1 title= alt= / is also textarea name=text1 title=???de.null??? alt=???de.null??? Only if I set alt=something and title=something I get rid of the ugly

Struts 1.1-b1 with WebSphere 3.5.6 javax.servlet.UnavailableException: Parsing error processing resource path .../struts-config.xml

2002-06-28 Thread @Basebeans.com
Subject: Struts 1.1-b1 with WebSphere 3.5.6 javax.servlet.UnavailableException: Parsing error processing resource path .../struts-config.xml From: Hu Ji Rong [EMAIL PROTECTED] === Hi, I am still getting this error when try to install Struts 1.1-b1 example to my WebSphere 3.5.6 on NT4. Even

RE: indexed property bug ???

2002-06-28 Thread fabrice dewasmes
Thanks Kees for your help, looking deeply in this archive i've found to valuable posts that explains that this is a known problem. I'm not isolated !! Here are the two posts for other users that would ask the same question : first a post showing the same problem

Struts and Velocity

2002-06-28 Thread Michael Delamere
Hi, could someone direct me to a good tutorial of how to use struts with velocity. Thanks, Michael -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Struts and Velocity

2002-06-28 Thread Kasinath
Michael You cam follow documentation provided with struts distribution(struts-documentation.war). Deploy this war into any app server or webserver and go thru. Also you can download some of the public reviews posted in theserverside.com for struts Kasinath - Original Message - From:

Re: Struts and Velocity

2002-06-28 Thread Michael Delamere
Thanks, I will do that. The reason why I asked is because most of the tutorials seem to concentrate on using jsps rather than velocity. Regards, Michael - Original Message - From: Kasinath [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, March 29, 2002

'nested tags' on dynamic forms - problem

2002-06-28 Thread @Basebeans.com
Subject: 'nested tags' on dynamic forms - problem From: Tomas [EMAIL PROTECTED] === Od: Tomas [EMAIL PROTECTED] Temat: 'nested tags' on dynamic forms - problem (struts) Data: 28 czerwca 2002 10:31 hello, can you help me: how to used 'nested tags' on dynamic forms? do you have some example or

Re: title and alt properties

2002-06-28 Thread @Basebeans.com
Subject: Re: title and alt properties From: Torgeir Veimo [EMAIL PROTECTED] === Marco Maier wrote: Hi Barbara, so let's hardcode title = and alt= in the jsp ? I do this :-/ that doesn't work. The output for html:textarea property=text1 title= alt= / is also textarea

Re: Struts and Velocity

2002-06-28 Thread Ted Husted
The Struts Velocity toolset is designed so that you can easily substitute Velocity tools for the Struts taglibs. It's still prerelease, but very solid. You can get it from the CVS and build it, or there's a recent snapshot here: http://www.husted.com/struts/resources/velstruts.zip -- Ted

html:form help

2002-06-28 Thread Pete Serafin
OK ... I have what should be an easy one. When using html:form and html:text tags, how can I prevent my form from initializing integer form fields to the default values set in my ActionForm? For example, when my form renders, I always have zeros in form elements representing numbers, but I

Re: Validators on DynamicForm's problem

2002-06-28 Thread Tomasz Kuczerski
new build not heve the error Uytkownik Arik Levin ( Tikal ) [EMAIL PROTECTED] napisa w wiadomoci news:[EMAIL PROTECTED]... Hi Tom. I have the same issue on the road, But sorry I didn't try it yet. If you'll have any success please, share it here.

Re: form-tags

2002-06-28 Thread Tomasz Kuczerski
can you help me: how to used 'nested tags' on dynamic forms? do you have some example or link? please Tomas Uytkownik Vikram Goyal01 [EMAIL PROTECTED] napisa w wiadomoci news:[EMAIL PROTECTED]... 1. I think you can. There is no restriction on putting multiple forms as regards to W3C,

Design question Permission check in struts action

2002-06-28 Thread Dirk Storck
I have the following system: I have a LoginDataForm called loginDataBean in my seesion wich contains username, password and roles the user have. Than I have some actions accessing EJB through helper classes. For example I have a action /order/detail/show. If that action is called by a normal

Struts 1.1 Beta

2002-06-28 Thread Michael Delamere
Hi, how long will it _roughly_ take until 1.1 final is released? The reason why I am asking is because we are contemplating in using struts but arenĀ“t sure wether we should dive into 1.1 or not. Thanks, Michael -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Action servlet violates loader Constraints

2002-06-28 Thread Chris Hardin
I am using Struts with WebLogic 5.1 and when my web app starts up and tries to load the action servlet I get this error: Action servlet violates loader Constraints and then WebLogic crashes. Anyone got any ideas on how I fix this?

Re: Struts 1.1 Beta

2002-06-28 Thread Barbara Post
well, this beta is not bad at all, as long as you keep stuck with this list ;-) new capabilities are so great. you may dive then, and double-check everything ;-) Babs - Original Message - From: Michael Delamere [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent:

Re: title and alt properties

2002-06-28 Thread Marco Maier
That's it! If I set message-resources parameter=RpkMessageResources null=true/ then the problem disappears. This could be a bug! Thanks, Marco Struts Newsgroup (@Basebeans.com) wrote: Subject: Re: title and alt properties From: Torgeir Veimo [EMAIL PROTECTED] === Marco Maier wrote: Hi

RE: Intermediate Processing Page

2002-06-28 Thread Susmita Pati
Hi Adrian I believe this issue was discussed in this forum sometime back u can check out the archives the thread name is How to implement a CC Processing page using Struts? Hope this helps susmita -Original Message- From: Adrian Theuma [mailto:[EMAIL PROTECTED]] Sent: Friday, June 28,