Re: Suggestion needed on good Struts book

2004-03-08 Thread Paul-J Woodward
Struts in Action - Manning Excellent book. Paul Global Equity Derivatives Technology Deutsche Bank [/] Janarthan Sathiamurthy [EMAIL PROTECTED] 08/03/2004 08:23 Please

Re: Suggestion needed on good Struts book

2004-03-08 Thread Janarthan Sathiamurthy
Programming Jakarta Struts - OReilly [EMAIL PROTECTED] wrote:Hi, I am a newbie to Struts. I have been looking for books on Struts and found these on Amazon Programming Jakarta Struts - OReilly Struts in Action - Manning Struts Framework - Morgan Kaufmann Struts Survival Guide - ObjectSource

Re: Struts starter

2004-03-08 Thread Mark Lowe
strikethis is strike-through formatting/strike On 8 Mar 2004, at 05:36, Martin Gainty wrote: I'll ask the dumb question What is Strike-thru formatting? ~Martin~ - Original Message - From: Joe Germuska [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, March

Own Action-Subclass: How to configure using set-property-elemen ts?

2004-03-08 Thread Tim . Adler
Hey everbody! I derived my own Action-subclass for doing multiple stuff in my webapp on every request. Part of the multiple-stuff is a method that checks if the session got lost, but only if needed at that certain point in the application (like when a formbean is used over multiple request for

RE: Own Action-Subclass: How to configure using set-property-elements?

2004-03-08 Thread shirishchandra.sakhare
Hi, Those setters will be called on the ActionMapping you specify.So the same will me available in all actions as attributes on your custom ActionMapping class(Subclass of ActionMapping.) And you have to configure the struts to use your action mapping as follows. /global-forwards !--

Re: [RMX:##] Own Action-Subclass: How to configure using set-property-elemen ts?

2004-03-08 Thread Christian Burger
Extend the base Struts Action Class. Add a getter/setter method for the property named as an XML subelelement of the action mapping in the struts-config.xml. E.g. struts-config.xml action path=/xyz type=test.Xyz className=MyActionMapping set-property

Struts Validator

2004-03-08 Thread Ramachandran
Can any one please send me the URL of where struts validator files are. I want to use the validator in my project. So i am in the need pf such class files... Thanx, Ram - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: My wizard workflow code.. doesnt work :S

2004-03-08 Thread Edd Dawson
Hi Shirish Thanks for getting back to me :) My usecase is as follows : Page 1 (RegisterSellerActionPage1.java) will let them choose a username and password (it checks the database to see that the username is not taken already, and then checks that the two passwords enter match) Page 2

Dynamic form Generation using Struts FrameWork..............

2004-03-08 Thread Amol Yadwadkar
Hi All, I am a new Bie at Struts Application. I want to develop a dynmic form by using Struts Framework.How shall I proceed in that ? It will be always appericiable to put your valuable Suggestion to it. Thankx in advance best regds, Amol

RE: Suggestion needed on good Struts book

2004-03-08 Thread Andrew Hill
+1 -Original Message- From: Paul-J Woodward [mailto:[EMAIL PROTECTED] Sent: Monday, 8 March 2004 16:31 To: Struts Users Mailing List Subject: Re: Suggestion needed on good Struts book Struts in Action - Manning Excellent book. Paul

Validator classes and validator-rules.xml

2004-03-08 Thread Chris Searle
I'm getting an odd exception: 2004-03-08 11:19:41,405 ERROR [org.apache.commons.validator.Validator] reflection: org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object, org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.Field,

Re: [Suggestion] struts-user-newbie list

2004-03-08 Thread Daniel H. F. e Silva
Hi, My point is: will Struts gurus that participate this list subscribe to one more list? I think they are too busy for increasing their email load a bit more. Newbies could get a better help if, before posting to this list, they did homework: i mean, read Struts docs, Google, etc. I'm not

RE: Multi-page session forms

2004-03-08 Thread Guillermo Meyer
Your form should have all needed fields for all pages in the workflow. And the scope for the form should be session scoped, if you want to avoid persisting all previous fields as hiddens. When cant use session scope (for whatever reason) I use a tag that generates all hidden fields given a form

RE: Suggestion needed on good Struts book

2004-03-08 Thread JAIN,VERESH (HP-India,ex2)
+1 Good book -Original Message- From: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 1:54 PM To: Struts Users Mailing List Subject: Re: Suggestion needed on good Struts book Programming Jakarta Struts - OReilly [EMAIL PROTECTED] wrote:Hi, I am a

html:multibox with DynaValidatorForm reset problem

2004-03-08 Thread Lucas Claude
Hello, As I'm using html:multibox in my JSP and need to reset the selected items, I've extended the DynaValidatorForm and written a reset() method to do this. Although the reset() method is called, the list of selected items is never reseted. What did I missed? Thanks for help. It seems the list

can struts generate strict XHTML

2004-03-08 Thread Ruud Steeghs
hi, Can Struts actually generate compliant valid XHTML 1.0 strict markup using the html:xhtml/ tag? If so, which version of Struts to use? (http://www.junlu.com/msg/22026.html, but hey, technologies may change so fast) kind regards, ruud. __ Do you Yahoo!?

Re: Suggestion needed on good Struts book

2004-03-08 Thread Dean A. Hoover
I've got: Struts in Action Programming Jakarta Struts Professional Strut Applications I like Struts in Action the best, but the pain is that I am a new Struts developer and want to develop to Struts 1.1 (or maybe even 1.2) but the books are written to Struts 1.0. Struts in Action spends 90% of

Re: Struts starter

2004-03-08 Thread Joe Germuska
At 11:36 PM -0500 3/7/04, Martin Gainty wrote: I'll ask the dumb question What is Strike-thru formatting? As noted, strike-thru formatting is just a text decoration that draws the text with a line through it. Regarding the wiki, the idea was to preserve the removed text for a while so that

RE: [Suggestion] struts-user-newbie list

2004-03-08 Thread Andrew Petro
My hope was that differentiating the lists Struts might make the email load more tractable for everyone. Struts gurus might very well look at a new list for newbies and choose not to subscribe. I don't see this as a problem. Struts gurus helping newbies is a wonderful thing, but we're all

subform definition in struts-config.xml and validation.xml

2004-03-08 Thread Dean A. Hoover
I have found cases in an application I am developing where I can use tiles to define subforms that I can use in several places. For example, I have a registration form that collects contact information. Once registered, a user can change their contact information. I defined a tiles subform to

RE: Suggestion needed on good Struts book

2004-03-08 Thread Smith, Darrin
Or for an intro book, I'd strongly suggest The Struts Framework by Sue Spielman. Good book...to the point...only 120 or so pages. -Original Message- From: Ruud Steeghs [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 7:50 AM To: Struts Users Mailing List Subject: Re: Suggestion

Struts Form Validation

2004-03-08 Thread Rous, Simon
I'm letting the user of my form build up entry fields as they need them - ie : logic:iterate id=trade name=requestForm property=tradeColl indexId=ctr html-el:text property=tradeQuantity[${trade}] / /logic:iterate giving form fields ... input type=text name=tradeQuantity[0] input type=text

RE: Struts starter

2004-03-08 Thread John McGrath
on the first hit to you personForm.do, or whatever (i presume you're not hitting the jsp directly at any point), the backing Action class should get the values from the validUser bean and populate the PersonDetailsForm bean, which then gets used by the jsp. it sounds like maybe you're using the

RE: Suggestion needed on good Struts book

2004-03-08 Thread Anderson, James H [IT]
IMHO, Struts in Action is the best, given the caveat that it's rather dated. Combine it with Professional Jakarta Struts and you should be in good shape. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, March 07, 2004 2:38 PM To: [EMAIL PROTECTED]

Performance

2004-03-08 Thread Viral_Thakkar
Hi all, I have a application developed through Struts. Application is behaving very strangely on performance side. Performance measures are different depending on the user who is logged in to the machine. Is there any relation between Windows User Profile and application performance?

validation.xml multiple select

2004-03-08 Thread Siamack
Hello Everyone: I have a multiple select option as follows: select name=countries multiple=multiple size=4 option value=FA France /option option value=GR Germany/option option value=USA America /option /select in my struts-config.xml, I use a DynaValidatorForm as follows

Re: html:errors/ throws exception [problem solved]

2004-03-08 Thread Max Kovalenkov
You're absolutely correct. Thank you! And thanks to as as for answering! Max Hubert Rabago wrote: If you're using 1.1, try passing ActionError objects instead of ActionMessage objects. The syntax should be the same, you'll just use a different object. Hubert --- Max Kovalenkov [EMAIL PROTECTED]

RE: validation.xml multiple select

2004-03-08 Thread Julio Cesar De Salvo
Hi, use this in your validator-rules.xml. validator name=required classname=org.apache.struts.validator.FieldChecks method=validateRequired methodParams=java.lang.Object, org.apache.commons.validator.ValidatorAction,

RE: [Suggestion] struts-user-newbie list

2004-03-08 Thread Daniel H. F. e Silva
Hi Andrew, Good point. Freedom of choice is very appreciated and is one the axioms of open-source community ;-) By the way, I'd like to invite all newbies and even Struts gurus to join us at #struts_users IRC channel at irc.darkmyst.org. There you can get help and meet some of the coolest

Re: validation.xml multiple select

2004-03-08 Thread Mark Shifman
http://javaboutique.internet.com/tutorials/Struts11Val/ shows how to make a custom validator for multiple selects that worked for me mas Siamack wrote: Hello Everyone: I have a multiple select option as follows: select name=countries multiple=multiple size=4 option value=FA France /option

internationalizing html:option tag, force to lookup resource file

2004-03-08 Thread Keith Hyland
Hi, Sorry if this is a repeat post, but I don't think the original went through. I'm just starting into looking at struts. Is it possible to generate a select/ options list using the html:select and html:option(s) tags, where the labelProperties (i.e. the text displayed on the end users web

roles filtered list of actions

2004-03-08 Thread Frank Seaton Taylor
Good day all, I'm a three month old web developer and have been trying to figure out how to do something described below. I've read a bunch of documentation and searched mailing lists and the web for answers, but fear that my inexperience is hampering me in that my tenuous grasp of this new

display message on success

2004-03-08 Thread roy-strutsuser
Hey guys, Let's say I have an html form that maps to an ActionForm. After the user submits the form, I would like to forward back to the html form and display some kind of success message. What's the best way to do this? Roy.

Re: display message on success

2004-03-08 Thread as as
one strategy could be to reuse the same jsp- initial.jsp (your jsp name) and add a snippet there that says: logic:present name=your beanname and then add the code for the display message here-example:h2Success! Your task succeeded. /logic:present or something of that sort Thanks! [EMAIL

Re: [Suggestion] struts-user-newbie list

2004-03-08 Thread Craig R. McClanahan
Quoting Daniel Henrique Alves Lima [EMAIL PROTECTED]: It sounds good to me ! Andrew Petro wrote: Incidentally, have there been any thoughts on this list of differentiating out a struts-user-newbie list from the main struts-user list? I think it's wonderful to have a welcoming place

RE: internationalizing html:option tag, force to lookup resource file

2004-03-08 Thread Jay Glanville
Currently, you need to use the html:option tag, not the html:options or html:optionsCollection tags. The latter two do not support I18n. Therefore, you need to iterate over a collection, placing the resource key in the html:ooption's key attribute. Here's an example of what I do: html:select

Re: display message on success

2004-03-08 Thread Melissa L Kelley
On Mon, 8 Mar 2004, as as wrote: I do it this way as well, but I use ActionMessages to store the specific message, and have the tags to display it in a base jsp that is used by all my forms via tiles. So, in my BaseLayout.jsp, I have this that shows messages that aren't errors at the top of the

Re: internationalizing html:option tag, force to lookup resource file

2004-03-08 Thread Niall Pemberton
The html:option tag already has this facility - you can specify a key attribute. If however you want yo use the html:optionsCollection tag, there was an identical discussion on this list recently. You can find the start of that thread here.. http://www.mail-archive.com/[EMAIL

Re: Struts starter

2004-03-08 Thread Frank Burns
John, You have answered my question perfectly! Thank you very much. Thanks, also, to everyone else who has given their advice on this subject. Frank. - Original Message - From: John McGrath [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, March 08,

Re: Struts Validator

2004-03-08 Thread Niall Pemberton
They are in two places, the struts specific validator files are in the struts.jar - but validator is a commons component and its class files are in commons-validator.jar. Everything is shipped with the struts binary - look in the lib folder. - Original Message - From: Ramachandran

Re: Struts Form Validation

2004-03-08 Thread Niall Pemberton
You can specify a indexedListProperty in the validation.xml field property=tradeQuantity indexedListProperty=myCollection depends=integer page=3 arg0 key=request.tradequantity.displayname/ /field Niall - Original Message - From: Rous, Simon [EMAIL

Re: Suggestion needed on good Struts book

2004-03-08 Thread Frank Burns
I would say I'm smack bang in the middle of my Struts learning curve and, in my opinion, the single most useful resource I have found is this six-part series of articles: http://www.ftponline.com/javapro/2002_09/online/servletsjsp_bkurniawan_09_13_02/ In terms of books, I've got both Struts In

Re: roles filtered list of actions

2004-03-08 Thread Craig R. McClanahan
Quoting Frank Seaton Taylor [EMAIL PROTECTED]: Good day all, I'm a three month old web developer and have been trying to figure out how to do something described below. I've read a bunch of documentation and searched mailing lists and the web for answers, but fear that my inexperience

Re: roles filtered list of actions

2004-03-08 Thread Niall Pemberton
I don't use it, but the struts-menu add on may do what you want. http://struts-menu.sourceforge.net/ Otherwise, the ModuleConfig class has a method findActionConfigs() which returns an array of ActionConfig elements. In an Action you can get the ModuleConfig from the ActionMapping. From

RE: Suggestion needed on good Struts book

2004-03-08 Thread Chappell, Simon P
Of course, back in the old days, we just used to read the source code for the example application. By the time you figured out it's convoluted approach to everything, you were an elite Struts developer! :-) In terms of books, I like Sue Spielman's book:

Re: Suggestion needed on good Struts book

2004-03-08 Thread Steve Hill
Struts In Action does cover the basics in more detail than some of the other books available, but I have to agree there really are a lot of irritating typos in there, and the provided examples sometimes don't match up with the code presented in the book. The Spielman book is a quick overview of

Re: Struts starter

2004-03-08 Thread Frank Burns
John, A final question on this, please. How do I obtain *the* PersonalDetailsForm bean from the Action class so that I can populate it? Thanks, Frank. - Original Message - From: John McGrath [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, March 08, 2004

Cookie not getting set from Tiles controller class

2004-03-08 Thread Michael Lacy
I'm wondering if anyone has encountered this. I am using a login tile that handles whether or not a login form is displayed when viewing a page. If the user is not logged in and the controller detects a remember-me cookie, the controller then calls the code I have to log in a user and passes

[OT] Database locking and deadlock

2004-03-08 Thread Shyam A
Hi, I know the subject of my mail is off-topic but I hope somebody will be able to help me out with my problem. I experienced a wierd problem today when a deadlock occured in my database - Oracle 9i, and it locked up all connections in the connection pool on my server - OC4J (Oracle 9iAS). I

RE: [OT] Database locking and deadlock

2004-03-08 Thread Robert Taylor
Is it possible that dbConnection.doUpdate() gets a new connection each time which could possibly use up (exceed max allowed) the connections in the pool. Just a guess. robert -Original Message- From: Shyam A [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 4:32 PM To: [EMAIL

Re: Use MessageResource in taglib

2004-03-08 Thread Adam Hardy
On 03/08/2004 08:35 AM Billy Ng wrote: Hi folks, I need to get a value from the properties file. I can easily do it in action subclass with the getResource().getMessage() and in jsp with the bean:message tag. However, how I can it in a taglib? MessageResources resources = (MessageResources)

Re: Validator classes and validator-rules.xml

2004-03-08 Thread Adam Hardy
On 03/08/2004 12:02 PM Chris Searle wrote: I'm getting an odd exception: 2004-03-08 11:19:41,405 ERROR [org.apache.commons.validator.Validator] reflection: org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object, org.apache.commons.validator.ValidatorAction,

Re: can struts generate strict XHTML

2004-03-08 Thread Adam Hardy
On 03/08/2004 02:12 PM Ruud Steeghs wrote: hi, Can Struts actually generate compliant valid XHTML 1.0 strict markup using the html:xhtml/ tag? If so, which version of Struts to use? (http://www.junlu.com/msg/22026.html, but hey, technologies may change so fast) Yes, I'm doing it. Can't remember

RE: [OT] Database locking and deadlock

2004-03-08 Thread Shyam A
Robert, Thanks for your response. No, the update queries use a single connection for which auto-commit is turned off. Commit is done only if all the update queries are successful. Thanks, Shyam --- Robert Taylor [EMAIL PROTECTED] wrote: Is it possible that dbConnection.doUpdate() gets a new

Re: [OT] Database locking and deadlock

2004-03-08 Thread Vic Cekvenich
Of course you could switch to a popular DAO such as iBatis or Hiberante and avoid the issue all together. There are JDBC forums on Sun. .V Shyam A wrote: Robert, Thanks for your response. No, the update queries use a single connection for which auto-commit is turned off. Commit is done only if

Re: [OT] Database locking and deadlock

2004-03-08 Thread Shyam A
Vic, Thanks for the pointer,but is there any way of salvaging the current situation?.It seems the Update operation is causing the DBMS to have row-level locks on the table,eventually leading to deadlock. Thanks, Shyam --- Vic Cekvenich [EMAIL PROTECTED] wrote: Of course you could switch to a

Re: [OT] Database locking and deadlock

2004-03-08 Thread Vic Cekvenich
Is there a way you can reproduce this w/ iSQL command line? I assume Sybase, since you said row-level. My guess is that it's not the sql, but your DAO logic somehow. It would take you only a day or so to switch that one update to http://www.reumann.net/do/struts/ibatisLesson1 .V Shyam A wrote:

Re: [OT] Database locking and deadlock

2004-03-08 Thread Shyam A
Vic, Thanks again. I'm not in a position to switch to IBatis as my application is currently in use. Right now, I'm manually killing the user sessions which lock up the table in the database. My database is Oracle 9i, and this problem seems to occur only with large numbers of concurrent users. In

html:select question

2004-03-08 Thread Au-Yeung, Stella H
Hi: I need to set a pre-defined option in html:select using the value= attribute, I thought the following will work: bean:define id=uList name=UserFormBean property=userList/ html:select property=person.id value=person.id html:options collection=uList name=UserFormBean property=userId

copyrighted documents in Struts package

2004-03-08 Thread Kevin Wang
Hi, I found two documents copyrighted by Netscape in struts package. org\apache\commons\digester\rss\rss-0.91.dtd and org\apache\commons\digester\rss\rss-0.9.dtd I believe I am using struts 1.1... did anyone notice this before?? isn't struts supposed to be open source? kevin Kevin Wang

Re: html:select question

2004-03-08 Thread Paul Stanton
i think you are trying to do the following... html:select name=UserFormBean property=userId html:options collection=uList property=id labelProperty=name/ /html:select this is assuming uList is a list of beans with id/name fields and your form has a userId field. Au-Yeung, Stella H

RE: html:select question

2004-03-08 Thread Gopalakrishnan, Jayesh
Try something like this, bean:define id=uList name=UserFormBean property=userList/ bean;define id=person name=person.id / html:select property=person.id value=%=person% html:options collection=uList name=UserFormBean property=userId labelproperty=commonName//html:select The value attribute is

Re: copyrighted documents in Struts package

2004-03-08 Thread Paul Stanton
the rss spec is owned by netscape. the dtds are therefore netscapes property - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Cookies And Session Problems

2004-03-08 Thread Ciaran Hanley
Hey, I am writing an app but am having session problems. The last user to log into the system has their details available to all other users logged in. I haven't much of an idea about session control can anybody give some pointers in the right direction? From reading I am thinking url

RE: html:select question

2004-03-08 Thread Au-Yeung, Stella H
I got a compilation errror after I changed to using %= %: Here's my error: cannot resolve symbol probably occurred due to an error in /app/fdd/shopWorkOrder/CreateShopWorkOrder.jsp line 92: html:select property=shopWorkOrder.engineerId value=%=shopWorkOrder.engineerId% My actual segment of JSP:

Re: can struts generate strict XHTML

2004-03-08 Thread amind
html xhtml=true ... /html http://jakarta.apache.org/struts/userGuide/struts-html.html#html Amin hi, Can Struts actually generate compliant valid XHTML 1.0 strict markup using the html:xhtml/ tag? If so, which version of Struts to use? (http://www.junlu.com/msg/22026.html, but hey,

Re: Updated Struts-Faces Integration Library

2004-03-08 Thread amind
to support experimentation and trigger bug reports so that we can complete a release in the next couple of months. Pick up the files dated 20040308 (or later) from: http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/ Key new features (see the README.txt file for full

Re: html:select question

2004-03-08 Thread Paul Stanton
did you try mine? Au-Yeung, Stella H wrote: I got a compilation errror after I changed to using %= %: Here's my error: cannot resolve symbol probably occurred due to an error in /app/fdd/shopWorkOrder/CreateShopWorkOrder.jsp line 92: html:select property=shopWorkOrder.engineerId

RE: Performance

2004-03-08 Thread Shoaib
I am using struts in my application.We are planning to use DynaActionForm. Can any body guide me if any there are any problems like for performance with it. Rgds Shoaib - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [OT] Database locking and deadlock

2004-03-08 Thread Vic Cekvenich
Do you have a deadly embrace? Maybe just syncronise w/ semaphorse or the like. .V Shyam A wrote: Vic, Thanks again. I'm not in a position to switch to IBatis as my application is currently in use. Right now, I'm manually killing the user sessions which lock up the table in the database. My

RE: html:select question

2004-03-08 Thread Gopalakrishnan, Jayesh
engineerId is an attribute in the dataBean shopWorkOrder. Can't I reference shopWorkOrder.engineerId inside the %= %? I guess shopWorkOrder is the attribute name of the bean. The %= % should contain a java expression. Use the bean:define to define a JSP variable and use it in %= %

Re: Cookies And Session Problems

2004-03-08 Thread Max Cooper
The last user to log into the system has their details available to all other users logged in. Be really specific about you mean here, and give a few details about the deployment environment. - What session information appears to be shared by the users? - Can you demonstrate the session problem

Re: [OT] Database locking and deadlock

2004-03-08 Thread Shyam A
Vic, Yes, I do get a deadly embrace or deadlock, as the row locks on the table multiply when they occur, holding up connections in the connection pool, eventually consuming all connections, and then all hell breaks loose. Were you referring to synchronizing with semaphores? I read somewhere

RE: Cookies And Session Problems

2004-03-08 Thread Ciaran Hanley
Basically there is only one session being maintained for all users. So If user joe logs in and is viewing client a, and along comes a second user jack who views client b, on refreshing the page joe will have jacks profile and will now see user b details as his details were the last chosen and

RE: Cookies And Session Problems

2004-03-08 Thread David Friedman
Did you accidentally set the scope of the FormBean for your Action to application instead of session or request? Regards, David -Original Message- From: Ciaran Hanley [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 7:48 PM To: Struts User Mailing List Subject: Cookies And Session

Re: display message on success

2004-03-08 Thread roy-strutsuser
Hm... I've been trying to avoid using the logic tags (as per struts documentation). Could I do something like this: c:if test=${!empty userMessages} Melissa said: I do it this way as well, but I use ActionMessages to store the specific message, and have the tags to display it in a base jsp that

validator validwhen error

2004-03-08 Thread Betty Koon
Hi, I got the following validator error, but not sure why. here is my validator.xml and the exception: formset form name=someForm field property=email depends=validwhen,email arg0 key=email.error_label/ var var-nametest/var-name

Re: reloading i18n

2004-03-08 Thread Vincent Lin
I've done this before. Struts can reload the message resources without redeploy whole web application. Try this in you action class: snip MessageResourcesFactory factory = MessageResourcesFactory.createFactory(); MessageResources resources = factoryObject.createResources(nameOfMessage);

RE: html:select question

2004-03-08 Thread Au-Yeung, Stella H
I tried the following and got the same result. Is this what you mean? If I remove the value= then I don't get the compilation error. bean:define id=eList name=ShopWorkOrderFormBean property=engineerList/ bean:define id=engineer name=ShopWorkOrderFormBean

RE: html:select question

2004-03-08 Thread Au-Yeung, Stella H
Paul wrote: html:select name=UserFormBean property=userId html:options collection=uList property=id labelProperty=name/ /html:select No I don't know how to try yours because I don't see how the above statement tells it to compare userId with person.id and then store the value into

Re: html:select question

2004-03-08 Thread Paul Stanton
the html:options tag handles this. Au-Yeung, Stella H wrote: Paul wrote: html:select name=UserFormBean property=userId html:options collection=uList property=id labelProperty=name/ /html:select No I don't know how to try yours because I don't see how the above statement tells it to

Re: html:select question

2004-03-08 Thread Paul Stanton
the most simplest solution is often the best Au-Yeung, Stella H wrote: Paul wrote: html:select name=UserFormBean property=userId html:options collection=uList property=id labelProperty=name/ /html:select No I don't know how to try yours because I don't see how the above statement tells

RE: html:select question

2004-03-08 Thread Au-Yeung, Stella H
I see. I'll try that tomorrow and let you know. Thx. -Original Message- From: Paul Stanton [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 12:05 AM To: Struts Users Mailing List Subject: Re: html:select question the most simplest solution is often the best Au-Yeung, Stella H

Re: Populating forms from other objects

2004-03-08 Thread shanmugampl
---BeginMessage--- Hi. This is the qmail-send program at apache.org. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: ezmlm-reject: fatal: Sorry, I don't accept messages of MIME

SASParser exception when using struts1.1 with weblogic8.1

2004-03-08 Thread Prasad, Kamakshya
Hi, I am using Struts 1.1 with weblogic 8.1 as the application server, for building a web based application. Whenever I starts the server or redeploys the application it throws this exception though the application works fine. java.lang.ClassNotFoundException:

Updated Struts-Faces Integration Library

2004-03-08 Thread Craig R. McClanahan
experimentation and trigger bug reports so that we can complete a release in the next couple of months. Pick up the files dated 20040308 (or later) from: http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/ Key new features (see the README.txt file for full details): * Supports