Re: Action executing twice

2002-05-27 Thread Adam Hardy
IIRC it's an HTML bug in a certain browser. Is the problem browser specific? Struts Newsgroup (@Basebeans.com) wrote: >Subject: Re: Action executing twice >From: "jambo" <[EMAIL PROTECTED]> > === >Not sure about the archives but if you use use a token then you can simply >ignore multiple submiss

RE: Repopulating data between forms.

2002-05-27 Thread SATISH.T
Hi If u have a list of individual objects to be displayed on screen in the form of an editable list and u want to access the edited values in ur next action class, then I suggest u to use the nested tags concept. It avoids all the trouble of hidden fields and u would be able to access the data

Validator and radio buttons

2002-05-27 Thread Todd Pierce
Can anyone help? I am using the Validator add on to do some client-side form validation, but have been unsuccessful in getting it to work with radio buttons or checkboxes. Any advice? -- To unsubscribe, e-mail: For additional commands, e-mail:

Repopulating data between forms.

2002-05-27 Thread Andrew van der Voort
I have a list page, that can display different categories of staff. In the form that supports the page I have a Collection of staff types, and an attribute that holds the selected staff type. One of the actions that can be performed from this page is to edit one of the displayed staff. In the for

Cannot find ActionMappings or ActionFormBeans collection

2002-05-27 Thread Harinath
Can somebody, tell me the cause of this exception. I think there is something wrong with my configurations in my struts-config.xml. But i am unable to figure out. javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection at org.apache.struts.taglib.html.Form

RE: Problem with session

2002-05-27 Thread Duffey, Keven
Well, if you are using a post Servlet 2.2 or later container, each web app gets its own application space. You can not share references across apps, including session data. You can probably use a "global" repository, like JNDI or something, if you need to share across apps, but that would be ve

Problem with session

2002-05-27 Thread Sudhir
Hi, I have got two applications, one using struts(app1) and the other without struts(app2). Now I want to provide a link in the app2 to access app1. They are working good. But if I try to call the session variables from the app2 to app1, it is not getting the values. Any suggestions. -- To un

RE: Managing forms that post to remote URL's ?

2002-05-27 Thread niall . pemberton
What about writing your own tag? > from:Greg Hess <[EMAIL PROTECTED]> > date:Thu, 23 May 2002 15:15:26 > to: [EMAIL PROTECTED] > subject: RE: Managing forms that post to remote URL's ? > > You are the first person to respond to my question. My only problem was the > alteration o

Dynamic form in struts 1.0.2

2002-05-27 Thread Andreas Guillemot
Hi I'm using Struts 1.0.2 and I've been struggling a while with a problem and I still don't know how to find a solution. I have a form filled from a database query. Some text 1 Some text 2 ... The user fills the form with some values in the "ordervalue"-fields and posts it to a new wind

[ANN] Struts Tips

2002-05-27 Thread Ted Husted
Struts Tips is a twice-weekly column featuring practical cut-and-paste advice for Struts developers. The columns will first run on the MVC-Programmers list and later be available through Husted dot Com and JGuru. MVC-Programmer List - http://www.basebeans.com:8081/mailman/listinfo/mvc-programm

Re: bean:write .. format=XXX

2002-05-27 Thread Ted Husted
Yes, that's the idea, Jeff. [EMAIL PROTECTED] wrote: > > I have been looking for more documentation on the new format attribute in the > bean write tag. > > I have found very little doc's. Could point me to or let me know if I am on > the right track. > > It seems I can send the bean write

bean:write .. format=XXX

2002-05-27 Thread Jeff_Mychasiw
I have been looking for more documentation on the new format attribute in the bean write tag. I have found very little doc's. Could point me to or let me know if I am on the right track. It seems I can send the bean write tag a java.util.Date object or a native float and it will display it a

Re: Getting an object from a Hashtable

2002-05-27 Thread Ted Husted
The Struts 1.0 ActionServlet and custom tags were written to rely on the pre-Commons BeanUtils, which did not support maps. I don't believe anything along these lines is going to be available to a Struts 1.0 application. You'd have to replace the ActionServlet too, at which point it really wouldn'

Re: How to chain Actions

2002-05-27 Thread Ted Husted
The best thing, really, is to have a business object to do each thing. You can then call one, the other, or both from an Action. In practice, the Action should be less like a method and more like a macro. It just calls this business method or that business method, or this one and then that one. Th

Re: Struts Validator

2002-05-27 Thread Chuck Cavaness
This may be of no help, but I didn't see that you had the dynamic attribute to "true" like this: Chuck At 02:42 PM 5/27/2002 -0300, you wrote: >Hi, > >Has anyone used the server-side validation with DynaActionForms using >the Struts Validator included in Struts 1.1-b1? > >There are two classe

Struts Validator

2002-05-27 Thread Fernando Esteban Barril Otero
Hi, Has anyone used the server-side validation with DynaActionForms using the Struts Validator included in Struts 1.1-b1? There are two classes (DynaValidatorForm and DynaValidatorActionForm) in the package org.apache.struts.validator, but when I tried always generates a NullPointerException whi

Re: Action executing twice

2002-05-27 Thread @Basebeans.com
Subject: Re: Action executing twice From: "jambo" <[EMAIL PROTECTED]> === Not sure about the archives but if you use use a token then you can simply ignore multiple submissions (which are gunna happen anyway) "Kumar Achanala" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... HI, I

RE: html taglib usage slooow

2002-05-27 Thread Jeff_Mychasiw
Thanks Jon, I have thought of that. This would be our first Struts project and I am still trying to understand what features to use and not use, so I would like to stay way from these types of tags. Having said that, a form with 25 text fields, may turn into a form with 70 tags (not includi

[ANNOUNCE] Struts Wizard Beta for ECLIPSE v2.0

2002-05-27 Thread emmanuel.boudrant
Hello struts, Eclispe Struts Wizard v1.0 just released. This is Same UI like JBuilder Wizard but with SWT. Feature : - ActionForm, Action, input JSP and struts-config.xml generation powered by eclipse framework. - Compatible with Tomcat plugin from Sysdeo. - And some bugs... Available at ht

struts-user@jakarta.apache.org

2002-05-27 Thread Abhishek Goel
Hi, can somebody help me to know how actually works. actually i need a next button which forwards it to some jsp page. i want to know how should i proceed. Regards Abhishek -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: html taglib usage slooow

2002-05-27 Thread Jon.Ridgway
Hi Jeff, A bit of a late reply I know, but if you have to wrap every output tag with various bits of logic to work out if the field is enabled etc, why not write your own custom tags that extend html:text etc and imbed the logic in them. Also if you don't require localization try setting at th

RE: Help !

2002-05-27 Thread James Mitchell
Send an email to mailto:[EMAIL PROTECTED] then when it replies, reply to that msg. Later James Mitchell > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Sunday, May 26, 2002 5:01 PM > To: [EMAIL PROTECTED] > Subject: Help ! > > > Hello ! > > Can someon

Struts and Portlets

2002-05-27 Thread RODRIGO . SANTOS1
Hi There, Do you know if Struts and Portlets are compatible concepts? I don´t know enough about Portlets, but I know it´s a framework responsable for mounting a unified view from distinct applications (the portlets are the views for these applications). IBM has a framework for portals, a

Re: How to chain Actions

2002-05-27 Thread Damien VIEL
Hi, I think that the best solution is to link the 2 actions with the mapping defined in the Struts-config file. When the first one is finished, you call the appropiate forward mapping and then execute the second Action. Do not forget to set the needed object in the session or in the request object

Re: DynaActionForm reset vs ActionForm reset (URGENT, TIA)

2002-05-27 Thread Adolfo Miguelez
Posting to my own question: As I workaround I figure out to override the Struts 1.1 DynaActionForm with a customized one which has a reset doing nothing, and specify in struts-config the dyna forms with type="the customized DynaActionForm". However I am afraid that I am missing something. Ado

html:text and iso8859-2

2002-05-27 Thread Nyári Gyõzõ
Hi! The html:text tag don't display Strings, encoded in iso8859-2, properly. (Displays '?' for some charaters.) I'm using struts 1.0.2 and take the Strings from a database. Knows anyone a solution for this problem? Thanks, Mojo -- To unsubscribe, e-mail: For addition

Re: DynaActionForm reset vs ActionForm reset (URGENT, TIA)

2002-05-27 Thread Adolfo Miguelez
Hi All, I run in same issue that Jay Paulsen did weeks ago. He did not get any answer so I would like to post if back. The point is that, Action Form reset() method does nothing which for my application is find. The problem arises when, migrating to DynaActionForms, reset() methods actually r

Re: multiple languages.

2002-05-27 Thread @Basebeans.com
Subject: Re: multiple languages. From: "Emmanuel Cornette" <[EMAIL PROTECTED]> === found in the javadoc for the package org.apache.struts.util (package summary) : Using MessageResources With Struts If your application uses the Struts controller servlet, you can optionally configure Struts to loa

RE: File upload failure in struts 1.1b - FIX

2002-05-27 Thread Don Elliott
Probably a good idea to wait until the fix is done properly - I saw this fix in the mail archives and it seemed to fix our problems, but I also don't have the time to do all the appropriate multi-platform / multi-servlet standards tests... Regards, Don -Original Message- From: Jeremy Prel

Help !

2002-05-27 Thread knut-harald.langoren
Hello ! Can someone please help me to get off this list. I have tryed to send to the unsubscribe address, but my mail get rejected, so I'm trying to send from another address. I'm registered in the list as [EMAIL PROTECTED] Please help ! Sincerely -Knut Harald Langøren -- To unsubscribe, e-

multiple languages.

2002-05-27 Thread mhanel
I want the user to select one language during login. How do I set this Language in struts? So that struts doesn't automatically detect the defaultlanguage of the browser. It should take the one I set. thanks in advance. ---

Retreive a value from Bean

2002-05-27 Thread Sujith Kumar S
hi, I want assign the value returned from a bean to a variable in the JSP page. How can i implement it in struts. can anybody help me... _ Click below to visit monsterindia.com and review jobs in India or Abroad http://monsterindia.redif

How to chain Actions

2002-05-27 Thread mhanel
How do I best chain Actions? For example one to save data from a formular and one for getting the data for the new page. Or is it better to have just one action which can do both jobs? Is there any good article on the web?

Re: jsp:include - Illegal to flush within a custom tag

2002-05-27 Thread Cedric Dumoulin
Yes, Struts tags are considered as "custom tags" by the compiler. In fact, all tags except the ones starting by are custom tags. You have certainly put your inside the body of a tag implementing BodyTag interface (like the tag). It is not possible to do a flush inside such tag. automa

Re: Struts + Tiles: Design Question

2002-05-27 Thread Cedric Dumoulin
Hello, You can have the ... tag in a common tiles ancestor inserting sub-tiles. Each sub-tiles can have tags like or . There is an example of that in tiles documentation (tiles-doc/tutorial/invoice/*.jsp). In this example, editInvoice.jsp declare the form, and then insert editAddress.jsp

html:file property type ?

2002-05-27 Thread [EMAIL PROTECTED]
Which must be the type of the property of a formbean when used as property-attribute of a html:file tag. And how is this html:file handled, should one implement some sort of multipart request handler in the formbean ? thx -- To unsubscribe, e-mail: For additional