RE: Multiple forms in one JSP + one Action

2004-08-12 Thread Kataria, Satish
Why would you want to have an action related to 2 forms. A form typically means a business functionality and an action is the trigger for that business functionality. If you are saying that a single functionality encompasses more than one form then there is problem in the design. I think u shld giv

Re: Plugin struts validator framework to JSF

2004-08-12 Thread Craig McClanahan
On Fri, 13 Aug 2004 15:22:46 +0900, Prasad, Kamakshya <[EMAIL PROTECTED]> wrote: > Dear Craig, > > Could you please elaborate more on this? Kindly if possible some code > snippets which may help me understand it better. > As I said in my previous message, the nightly builds of the Struts-Faces i

RE: Plugin struts validator framework to JSF

2004-08-12 Thread Prasad, Kamakshya
Dear Craig, Could you please elaborate more on this? Kindly if possible some code snippets which may help me understand it better. Thanks and Regards, KP -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, August 13, 2004 3:12 PM To: Struts Users Mailing Lis

Re: Plugin struts validator framework to JSF

2004-08-12 Thread Craig McClanahan
On Fri, 13 Aug 2004 14:51:25 +0900, Prasad, Kamakshya <[EMAIL PROTECTED]> wrote: > HI, > > Thanks a lot for the information. > I was looking through the examples of Struts-faces integration library. > What I found was in the backing bean method a url with query string > parameters is created to di

RE: xdoclet and struts forms

2004-08-12 Thread Jesse Alexander (KXT)
7 developers... working in one location or distributed? if it's local: I do not think it's already a critical size, because the edits on the struts-config.xml should not be SO frequent that it becomes a problem. EG. when you meet for a coffee in the morning all it takes are 30 seconds to check wh

RE: jdk 1.4.x support

2004-08-12 Thread David Friedman
Funny, kids. I'm on Struts v1.1 with Jdk 1.4.2_04_B05. Though I think the latest stable JDK is 1.4.2_05. Regards, David -Original Message- From: Yakov Belov [mailto:[EMAIL PROTECTED] Sent: Friday, August 13, 2004 1:44 AM To: Struts Users Mailing List Subject: Re: jdk 1.4.x support Mor

RE: Plugin struts validator framework to JSF

2004-08-12 Thread Prasad, Kamakshya
HI, Thanks a lot for the information. I was looking through the examples of Struts-faces integration library. What I found was in the backing bean method a url with query string parameters is created to dispatch to the struts action. Is this the only way to dispatch? What should be done in the c

Re: jdk 1.4.x support

2004-08-12 Thread Yakov Belov
More like, does jdk1.4 support struts 1.1? Not sure, but I presume so, unless jdk1.4 enforces standards, which are not followed in struts1.1 Technically Yours - Original Message - From: "Viral_Thakkar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 13, 2004 3:06 PM Subj

Re: jdk 1.4.x support

2004-08-12 Thread Shailender Jain
Yes, I am using jdk 1.4.2 and it is working Viral_Thakkar wrote: > Does struts 1.1 supports jdk 1.4.x? > > > > Regards, > > Viral > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: Bean-Map-Forms: what do I need Niall

2004-08-12 Thread Michael McGrady
Niall Pemberton wrote: I don't have anything that implements Map - but I developed a LazyDynaMap and flavours of ActionForm which use it Apparently you have forgotten our discussion a few days ago. I have implemented a BeanMapForm which you said the nightlies would allow me to use, since they no

jdk 1.4.x support

2004-08-12 Thread Viral_Thakkar
Does struts 1.1 supports jdk 1.4.x? Regards, Viral

Re: Loosing request attributes

2004-08-12 Thread Ruth, Brice
Ensure that the request attributes are set in the ActionForm, this is the only way that you can ensure that they'll still be there when the validate fails. Leandro Melo wrote: Hi, when a user request hits the ActionForm's validate method and bounces back, i'm loosing some request attributes that

Re: Bean-Map-Forms: what do I need Niall

2004-08-12 Thread Niall Pemberton
I don't have anything that implements Map - but I developed a LazyDynaMap and flavours of ActionForm which use it To use it you need... * Struts Nightly Build http://cvs.apache.org/builds/jakarta-struts/nightly/ * BeanUtils 1.7.0 Release http://jakarta.apache.org/site/binindex.cgi * L

Re: A character decoding problem

2004-08-12 Thread jthompson
Try this: Regards, John [EMAIL PROTECTED] Ph (09) 372-5010 |-+> | | Leandro Melo | | | <[EMAIL PROTECTED]| | | oo.com.br> | | || | |

A character decoding problem

2004-08-12 Thread Leandro Melo
Hi, i got a weird thing happening. Actually it's not that weird, it has very sense, but anyway, i would like to avoid that. Ther word "you" in portuguese is "você". I got some error messages like that. error.invalid.name=Vocç deve digitar o nome. What in english would be error.invalid.name=You

Loosing request attributes

2004-08-12 Thread Leandro Melo
Hi, when a user request hits the ActionForm's validate method and bounces back, i'm loosing some request attributes that i had set for the page. In other words, if the user inputs some data that don't pass the validate method, the page comes back with a few request scope attributes missing. Is the

Re: Importing Struts context

2004-08-12 Thread Leandro Melo
Worked perfectly Jim! Thanks, ltcmelo > Try this instead of html:errors: > > > > > > > > > If that works then you can mangle the html however > you want of course. = _ Leandro Terra C. Melo Eng. de Controle e Automação - UFMG __

Re: Multiple image tags

2004-08-12 Thread Leandro Melo
LOL!!! You wouldn't believe if i tell you that it was what i first thought! I speak portuguese (from Brazil). ltcmelo --- Michael McGrady <[EMAIL PROTECTED]> escreveu: > Leandro Melo wrote: > > >Allright! > >Actually, my first languages "are" c++ and pascal. > >Why did you ask anyway!? > > > >

Bean-Map-Forms: what do I need Niall

2004-08-12 Thread Michael McGrady
Niall, You have set up the nightly commons and struts, apparently, so that a form that implements Map can be used. What all do I have to do to use this? I am presently using Struts 1.1. Thanks Michael - To unsubscribe, e-m

Re: Multiple image tags

2004-08-12 Thread Michael McGrady
Leandro Melo wrote: Allright! Actually, my first languages "are" c++ and pascal. Why did you ask anyway!? Thanks again, ltcmelo LOL I meant your SPOKEN or READING language, Leandro, not your computer language. Michael - To un

Re: xdoclet and struts forms

2004-08-12 Thread Hubert Rabago
I'm not saying you should switch the whole team over now, but it might help you to be aware that you can break down your struts-config.xml into several files, each containing its own set of form beans and action declarations. I usually break it down by functionality, so it's easier for me to find

Re: xdoclet and struts forms

2004-08-12 Thread Craig McClanahan
On Thu, 12 Aug 2004 13:59:06 -0400, Laran Evans <[EMAIL PROTECTED]> wrote: > I hear what you're saying. However, I work in a team of 7 developers. > If each developer can make changes to the struts-config.xml file we'll > have 7 people working on the same file at the same time. If we generate > t

Re: xdoclet and struts forms

2004-08-12 Thread Laran Evans
I hear what you're saying. However, I work in a team of 7 developers. If each developer can make changes to the struts-config.xml file we'll have 7 people working on the same file at the same time. If we generate the struts-config.xml file with XDoclet we will all in fact be working on separ

Re: Multiple image tags

2004-08-12 Thread Leandro Melo
Allright! Actually, my first languages "are" c++ and pascal. Why did you ask anyway!? Thanks again, ltcmelo > ATTACHMENT part 9 message/rfc822 > Data: Wed, 11 Aug 2004 14:17:11 -0700 > Para: "Struts Users Mailing List" > <[EMAIL PROTECTED]> > De: Michael McGrady <[EMAIL PROTECTED]> > Assunto: R

RE: lifetime of ActionForm objects

2004-08-12 Thread Jim Barrows
> -Original Message- > From: Woodchuck [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 12, 2004 9:29 AM > To: Struts Users Mailing List > Subject: RE: lifetime of ActionForm objects > > > > --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > > > > > -Original Message- > >

Re: HTML question

2004-08-12 Thread Bill Siggelkow
Erez Efrati wrote: Hi, I am looking for a good place / group to place a small HTML question. Can someone point me to such? Thanks, Erez Wow -- I googled for "html mailing list" and really didn't find anything! Personally, I think you post it here and probably get a response -- just tag

RE: Validator - Javascript question

2004-08-12 Thread Ratnakar Parakala
Thanx Andy for the reply, In validation.xml, I have configured identical like this: maxlength 8 secondProperty user

Re: Multiple forms in one JSP + one Action

2004-08-12 Thread Michael McGrady
Hollaway, Shedrick CIV (TRFKB C600) wrote: Rick wrote: Guys, This is what I wanted to do without using any javascript. Why don't you just tell us what you want to do without giving the html? Then we can see what html you really might need. If your html were adequate, you would not have to ask

RE: java.net.ConnectException: Connection refused

2004-08-12 Thread Martin Gainty
Jim et al Assuming you are using 1.75 Hibernate I found this config from http://cvs.sourceforge.net/viewcvs.py/hibernate/Hibernate/hibernate.properties?rev=1.75 #MySQL #hibernate.dialect cirrus.hibernate.sql.MySQLDialect #hibernate.connection.driver_class org.gjt.mm.mysql.Driver #hibernate.connecti

RE: Nested Lists

2004-08-12 Thread Jim Barrows
> -Original Message- > From: Ankur Gupta [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 12, 2004 9:17 AM > To: 'Struts Users Mailing List' > Subject: Nested Lists > > > Hello, > nest list example > > I have it structured like above. But, having difficulty > saving the values >

Re: Validator & mutliple masks

2004-08-12 Thread Erik Weber
Thanks Bill, I will try that. Erik Bill Siggelkow wrote: Erik Weber wrote: I have two possible masks which are acceptable for a phone number text input. Is there a way to tell the validator plugin (in validation.xml) that either of two masks is acceptable for a given field? Thanks, Erik Why don

RE: HTML question

2004-08-12 Thread Robert Taylor
Start here: http://www.htmlhelp.org/faq/html/ BTW, I found this using Google. http://groups.google.com/groups?q=HTML+&ie=UTF-8&hl=en&btnG=Google+Search You may want to search Google Groups to find an answer to your HTML question. robert > -Original Message- > From: Erez Efrati [mailto:[

Re: Validator & mutliple masks

2004-08-12 Thread Bill Siggelkow
Erik Weber wrote: I have two possible masks which are acceptable for a phone number text input. Is there a way to tell the validator plugin (in validation.xml) that either of two masks is acceptable for a given field? Thanks, Erik Why don't you just use alternation in the regex? ---

RE: lifetime of ActionForm objects

2004-08-12 Thread Woodchuck
--- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Woodchuck [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 12, 2004 7:24 AM > > To: struts > > Subject: lifetime of ActionForm objects > > > > > > the following is my understanding, can someone please

RE: Multiple forms in one JSP + one Action

2004-08-12 Thread Jim Barrows
> -Original Message- > From: Hollaway, Shedrick CIV (TRFKB C600) > [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 12, 2004 9:13 AM > To: 'Struts Users Mailing List' > Subject: RE: Multiple forms in one JSP + one Action > > > Thanks to all, for gliding me back to the light. Jim, you

RE: Validator - Javascript question

2004-08-12 Thread Andy Schmidgall
Ratnakar, oIdentical should be an array containing all the objects that should be validated for the current validator. This function (identical()) is dynamically generated from your form and field definitions in validation.xml. You will need to loop through the oIdentical array and perform your va

Nested Lists

2004-08-12 Thread Ankur Gupta
Hello, I have a list of passengers in a form and each passenger contains a list of addresses. How do I map this scenario in Struts? : :

HTML question

2004-08-12 Thread Erez Efrati
Hi, I am looking for a good place / group to place a small HTML question. Can someone point me to such? Thanks, Erez

RE: Multiple forms in one JSP + one Action

2004-08-12 Thread Hollaway, Shedrick CIV (TRFKB C600)
Thanks to all, for gliding me back to the light. Jim, you were right I was over engineering it. I'll put down the oil, screwdriver and jackhammer then digest Rick's suggestions. again thanks, Shed > -Original Message- > From: Rick Reumann [mailto:[EMAIL PROTECTED] > Sent: Thursday, August

RE: Problem depoying struts-blank.war

2004-08-12 Thread Martin Gainty
Jim et al: Did you check the validation.xml conforms to validator 1.1 DTD on the validator.xml (see) http://www.mail-archive.com/[EMAIL PROTECTED]/msg01486.html thanks, Martin Gainty (cell) 617-852-7822 From: "Jim Barrows" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTEC

Re: Multiple forms in one JSP + one Action

2004-08-12 Thread Rick Reumann
Rick Reumann wrote: Sorry this of course should be -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] HTML and Email Client: Eudora

2004-08-12 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 11, 2004 5:34 PM > To: Struts Users Mailing List > Subject: [OT] HTML and Email Client: Eudora > > > I am trying to see the tags in list emails, but the code is > not showing > up. I am u

RE: lifetime of ActionForm objects

2004-08-12 Thread Jim Barrows
> -Original Message- > From: Woodchuck [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 12, 2004 7:24 AM > To: struts > Subject: lifetime of ActionForm objects > > > the following is my understanding, can someone please verify that i > have it correct? > > - when a form is first su

Re: Multiple forms in one JSP + one Action

2004-08-12 Thread Rick Reumann
Hollaway, Shedrick CIV (TRFKB C600) wrote: Rick, my apologies for being unclear here, html:text is html-el:text and I am using JSTL to retrieve data and iterate with (c:foreach). There are alot more fields involve here each ActionForm corrolate to a database tables(Atable = Aform, Btable = Bform).

RE: Multiple forms in one JSP + one Action

2004-08-12 Thread Jim Barrows
> -Original Message- > From: Hollaway, Shedrick CIV (TRFKB C600) > [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 12, 2004 8:28 AM > To: 'Struts Users Mailing List' > Subject: RE: Multiple forms in one JSP + one Action > > > Rick, my apologies for being unclear here, html:text is >

RE: Multiple forms in one JSP + one Action

2004-08-12 Thread Jim Barrows
> -Original Message- > From: Hollaway, Shedrick CIV (TRFKB C600) > [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 12, 2004 5:51 AM > To: '[EMAIL PROTECTED]' > Subject: Multiple forms in one JSP + one Action > > > I am unable to find a solution or an alternate way of having > multip

RE: Indexed properties and DynaActionForm

2004-08-12 Thread Jim Barrows
> -Original Message- > From: Jaakko Rytinki [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 12, 2004 3:05 AM > To: 'Struts Users Mailing List' > Subject: Indexed properties and DynaActionForm > > > Could someone explain why the following does not work: > > - - - - Form bean: > type

RE: Accessing bean properties problem

2004-08-12 Thread Jim Barrows
> -Original Message- > From: Janne Mattila [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 12, 2004 1:38 AM > To: [EMAIL PROTECTED] > Subject: Accessing bean properties problem > > > Let's say I have a collection of Choice objects, each having > attributes key > and name. I want to

RE: [OT] Virus checking uploaded files

2004-08-12 Thread Paul McCulloch
I've implemented this by relying on the behaviour of the virus scanner installed on the server. The scanner here will not write a file with a virus to the location on disk you ask it to - it writes it to a quarantine directory. My application uploads the file to the server & then checks to see if

Re: Problems with logic:iterate

2004-08-12 Thread Tito Eritja
I found the error, I was using Xdoclet and I didn't specify in @struts.action scope="session" Thanks tito El jue, 12 de 08 de 2004 a las 11:44, Tito Eritja escribiÃ: > I'm new on Struts, and I'm trying to use the example from book > JakartaStrutsLife, but I get an > java.lang.ArrayIndexOutOfBoun

Re: Plugin struts validator framework to JSF

2004-08-12 Thread Craig McClanahan
On Thu, 12 Aug 2004 20:46:33 +0900, Prasad, Kamakshya <[EMAIL PROTECTED]> wrote: > Hi All, > > Is it possible to plugin struts validator framework to Javaserver faces > web framework? Yes, if you use the Struts-Faces integration library -- currently available in nightly builds. You can take full

RE: Multiple forms in one JSP + one Action

2004-08-12 Thread Hollaway, Shedrick CIV (TRFKB C600)
Rick, my apologies for being unclear here, html:text is html-el:text and I am using JSTL to retrieve data and iterate with (c:foreach). There are alot more fields involve here each ActionForm corrolate to a database tables(Atable = Aform, Btable = Bform). I would like the user to be able update fie

RE: [OT] Virus checking uploaded files

2004-08-12 Thread McCormack, Chris
http://uk.trendmicro-europe.com/consumer/products/housecall_pre.php Only tested it on windows. Let me know if it works on linux. Chris McCormack -Original Message- From: Sean Radford [mailto:[EMAIL PROTECTED] Sent: 12 August 2004 16:17 To: Struts Users Mailing List Subject: [OT] Virus ch

[OT] Virus checking uploaded files

2004-08-12 Thread Sean Radford
Hi, Anyone know of a good (cheap) way to virus check uploaded files for viruses? I'm mainly needing to check Word documents for macro style viruses. What would make the problem worse is that our servers run linux... (but open to hear about Windows options) Regards, Sean -- Dr. Sean Radford, MBBS

Re: xdoclet and struts forms

2004-08-12 Thread Rick Reumann
Laran Evans wrote: I have a struts ActionForm which I would like to markup with xdoclet tags. Don't do it:) Seriously, IMO, I think it's a waste. I think it's nice having one configuration file to look it to set up all my mappings (your config.xml file). Think about it, using xdoclet if you decid

Re: Multiple forms in one JSP + one Action

2004-08-12 Thread Rick Reumann
Hollaway, Shedrick CIV (TRFKB C600) wrote: This is what I wanted to do without using any javascript. <%-- first form stuff -- using formA --%> <%-- second form stuff -- using formB -- displayed%> First Contact: value="${contact[0].fullName}" readonly="false"/>

xdoclet and struts forms

2004-08-12 Thread Laran Evans
I have a struts ActionForm which I would like to markup with xdoclet tags. The documentation for @struts.form however says "Applies to: Entity beans". Does this mean that the only ActionForm implementations xdoclet supports are implemented as EJBs? Is it reasonable for me to think that I'll be

Re: Multiple forms in one JSP + one Action

2004-08-12 Thread Thomas SMETS
First form has among other things: two attributes of the type formB1 & formB2 (with the accessors getFormB1 & getFormB2). The fields in the forms are then named : _ formB1.name, formB1.surname _ formB2.name, formB2.surname Don't forget to instanciate in the FormABean the two "sub" beans. \T,

RE: Multiple forms in one JSP + one Action

2004-08-12 Thread Hollaway, Shedrick CIV (TRFKB C600)
Rick wrote: Guys, This is what I wanted to do without using any javascript. <%-- first form stuff -- using formA --%> <%-- second form stuff -- using formB -- displayed%> First Contact: <%-- t

Accessing bean properties problem

2004-08-12 Thread Michael McGrady
At 06:58 AM 8/12/2004, you wrote: Oops, that was a typo. Should have read " /> If browsers did pick up "value" parameter, this problem would not even exist... Some browsers do. What is your problem? Why are you adding "delete" in here? There is no "name" attribute with image. I assume you

Re: Multiple forms in one JSP + one Action

2004-08-12 Thread Rick Reumann
ppk123 wrote: you can submit multiple forms using javascript like document.forms[0].submit(); .. and so on.. keep in mind to have different targets for each forms. Yea there are ton of Javascript tricks you can do but usually you want to avoid this kind of stuff if possible. My guess is there is

Re: Multiple forms in one JSP + one Action

2004-08-12 Thread Michael McGrady
ppk123 wrote: you can submit multiple forms using javascript like document.forms[0].submit(); .. and so on.. keep in mind to have different targets for each forms. This is, I think, just going to confuse this guy. Tell us what you want to do, guy! --

Re: Multiple forms in one JSP + one Action

2004-08-12 Thread ppk123
you can submit multiple forms using javascript like document.forms[0].submit(); .. and so on.. keep in mind to have different targets for each forms. - Original Message - From: "Rick Reumann" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, August 1

Validator & mutliple masks

2004-08-12 Thread Erik Weber
I have two possible masks which are acceptable for a phone number text input. Is there a way to tell the validator plugin (in validation.xml) that either of two masks is acceptable for a given field? Thanks, Erik - To unsubscri

lifetime of ActionForm objects

2004-08-12 Thread Woodchuck
the following is my understanding, can someone please verify that i have it correct? - when a form is first submitted, Struts will create an instance of the ActionForm and then attempt to populate the submitted field data via the JavaBean convention into the ActionForm object - this ActionFor

Re: Multiple forms in one JSP + one Action

2004-08-12 Thread Rick Reumann
Hollaway, Shedrick CIV (TRFKB C600) wrote: Micheal I was trying to submit all three at one time. I've been doing Struts for a long time now and have never run across a case where I had to do submit more than one form from one click. You can have as many forms as you want on a page though and you

RE: Multiple forms in one JSP + one Action

2004-08-12 Thread Hollaway, Shedrick CIV (TRFKB C600)
Micheal I was trying to submit all three at one time. But you're that is not an option. So, I have to do something like this: first.jsp <%-- first form stuff -- using formA --%> <%-- second form stuff -- using formB --%> <%-- third

Re: Accessing bean properties problem

2004-08-12 Thread Janne Mattila
Oops, that was a typo. Should have read " /> If browsers did pick up "value" parameter, this problem would not even exist... Do you realize, Janne, how few browsers will pick up the value of value? At 01:37 AM 8/12/2004, you wrote: " /> -

RE: works on ly in Internet Explorer

2004-08-12 Thread Slattery, Tim - BLS
> The following works only in Internet Explorer, not in > Mozilla, Netscape or Opera. Anyone have any idea how to fix it? > > > action='/upload'> > > > onclick='browse.click();file.value=browse.value;browse.disabled=true' > value='Select a File...'/> Mozilla hues to the W3C stand

Re: Multiple forms in one JSP + one Action

2004-08-12 Thread Rick Reumann
Hollaway, Shedrick CIV (TRFKB C600) wrote: I am unable to find a solution or an alternate way of having multiple forms in one jsp and upon submit one action handling all forms.The jsp will have the forms as follows: <%-- first form stuff -- using formA --%> <%-- se

Re: Multiple forms in one JSP + one Action

2004-08-12 Thread Michael McGrady
At 05:50 AM 8/12/2004, you wrote: I am unable to find a solution or an alternate way of having multiple forms in one jsp and upon submit one action handling all forms.The jsp will have the forms as follows: You can have many forms but can submit only one at a time. What are you trying to do? Mic

works only in Internet Explorer

2004-08-12 Thread Michael McGrady
The following works only in Internet Explorer, not in Mozilla, Netscape or Opera. Anyone have any idea how to fix it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Multiple forms in one JSP + one Action

2004-08-12 Thread Hollaway, Shedrick CIV (TRFKB C600)
I am unable to find a solution or an alternate way of having multiple forms in one jsp and upon submit one action handling all forms.The jsp will have the forms as follows: <%-- first form stuff -- using formA --%> <%-- second form stuff -- using formB --%>

Re: Accessing bean properties problem

2004-08-12 Thread Michael McGrady
Do you realize, Janne, how few browsers will pick up the value of value? At 01:37 AM 8/12/2004, you wrote: " /> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Plugin struts validator framework to JSF

2004-08-12 Thread Matthias Wessendorf
Hi, the MyFaces-JSF-Impl. (http://myfaces.org) uses some Validator-rules for its custom-validators. but you can also use client-side validation in JSF via Commons-Validator. The CoreJSF-Book tells you examples on it. Hope it helps. Regards, Matthias > -Original Message- > From: Prasad

Plugin struts validator framework to JSF

2004-08-12 Thread Prasad, Kamakshya
Hi All, Is it possible to plugin struts validator framework to Javaserver faces web framework? Are there any examples available in the net? Kindly advice me on this. KP - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

obtaining MessageResources

2004-08-12 Thread Erik Weber
How do I obtain a MessageResources by name that I have configured in struts-config.xml from outside of an Action class, where I have no Struts object references to work with (in other words, starting with some static method call)? I tried using MessageResourcesFactory but I'm not having any luc

Indexed properties and DynaActionForm

2004-08-12 Thread Jaakko Rytinki
Could someone explain why the following does not work: - - - - Form bean: - - - - Action Mapping: - - - - Prepopulated form: - - - - Action: DynaActionForm dynaForm = (DynaActionForm) myForm; List myList = (List) dynaForm.get("values"); The form shows up fin

Problems with login:iterate

2004-08-12 Thread Tito Eritja
I'm new on Struts, and I'm trying to use the example from book JakartaStrutsLife, but I get an java.lang.ArrayIndexOutOfBoundsException: in The problem occurs in getUser(index) function, as users has no lineItems

Accessing bean properties problem

2004-08-12 Thread Janne Mattila
Let's say I have a collection of Choice objects, each having attributes key and name. I want to iterate the collection on JSP, display it's contents and add a delete button for each choice. Delete button value should contain "delete_" appended with each choice's key. Following works: (1)