Re: Accessing Struts beans with keys defined in the Globals class

2004-03-26 Thread Denis . Laroche
try this session.getAttribute(Globals.LOCALE_KEY); --- Denis Laroche <[EMAIL PROTECTED]> a écrit : > Hello everybody, > > I hope it's not a

Accessing Struts beans with keys defined in the Globals class

2004-03-26 Thread Denis Laroche
ed in Globals.java. Thanks in advance for any help. -- Denis Laroche Pratt & Whitney Canada, Test Facilities phone 450-677-9411 ext. 5224 pager 514-853-9863 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: can not get forward page in an action

2003-10-03 Thread denis
Are you checking all your error logs? I sometimes get a blank page if there was an error while compiling the jsp (if I look at the source of the page only the html tags up to the struts tags are displayed). Denis - Original Message - From: "Xiuyu Zhang" <[EMAIL PROTECTED]

Re: Taking only the first value in a list?

2003-10-03 Thread denis
How about a bit more info on your jsp and class? - Original Message - From: "Smith, Johnathan M." <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, October 03, 2003 4:30 PM Subject: RE: Taking only the first value in a list? > Does not work! > > ---

Re: problem using html:select

2003-10-01 Thread denis
What is the error message you are getting? - Original Message - From: "Carlos Llona" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 01, 2003 11:57 AM Subject: problem using html:select > Hello: > > This is my litle problem > > I make a sample in struts that regi

Struts-config path

2003-09-29 Thread denis
Hello, Is it possible to enter an absolute path in the struts-config.xml? IE http://www.my-random-website.com/moduleB/index.do /> ... Thanks Denis

[OT] Apache/SSL help

2003-09-29 Thread denis
Hello, Can anyone send link explaining how to set up an SSL page on a website (Apache 1.3, Tomcat 4.1)? I am really confused and cannot find the info anywhere. Thanks, Denis

[OT]Combining sites

2003-09-26 Thread denis
actions to handle registration in site A, but I am not sure how to integrate it seamlessly into site B. Can anyone help, offer advice, and point to literature/websites that will educate me on the matter, or at least set me on the right path. Thank you, Denis

Re: html:link question (for a relative newbie)

2003-09-18 Thread denis
A quick hack you can do is: <%java.util.HashMap ha = new java.util.HashMap(); ha.put("mode","edit"); ha.put("code", code); pageContext.setAttribute("linkParams",ha);%> Edit I usually build my link hashmap in the setup action for the jsp, but you can do this. - Original Message - From:

Map backed action form

2003-09-15 Thread denis
Hello, I have a problem with my map backed form. When I try to validate the form, when I try to retrieve value it throws a null pointer exception, as if the map was null. I am successful going through my jsp and populating the bean, so i am not sure what is going on. What might be the proble

Easy Question

2003-09-12 Thread denis
Sorry for emailing so many questions. My last one (i promise) is, how do I set an to display as checked? Thanks.

Re: EL Question

2003-09-12 Thread denis
Here it is with a bit better formatting... sorry. Hello, ok so I have a map backed form and I am trying to use html-el functions to enter values into the form.I am getting an error and I am not sure why, I am not sure what other way I am supposed to define which property I need to store data into

EL Question

2003-09-12 Thread denis
Hello, ok so I have a map backed form and I am trying to use html-el functions to enter values into the form.I am getting an error and I am not sure why, I am not sure what other way I am supposed to define which property I need to store data into.So this is my JSP code: ... ... My form has

Re: Validator, DynaForms, and Collections

2003-09-12 Thread denis
that precedes the JSP. Denis - Original Message - From: "Joe at Team345" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, September 12, 2003 11:30 AM Subject: Validator, DynaForms, and Collections > Hi, > > I

Struts EL

2003-09-12 Thread denis
One, where do I get it? Two, where do I get a bit more info on its use? I know both struts and JSTL but I am not sure how to integrate the tags... for example if I want to run would that work?

Re: Really Dynamic Forms

2003-09-12 Thread denis
inside struts tags and someone mentioned at one point that I should use EL... soo, any links as to where I can read about this? Thanks, Denis - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, September 12

Re: Really Dynamic Forms

2003-09-12 Thread denis
Well. So after I write, I found http://jakarta.apache.org/struts/userGuide/building_controller.html#map_action_form_classes Thanks anyway. Regards, Denis - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Frid

Really Dynamic Forms

2003-09-12 Thread denis
eally like struts forms validation, so i'd like to use them if possible. To summarize: I have a map of properties, as well as some regular properties. I want to use a struts form to retrieve the data. I don't know how to do it so the names are dynamic. Regards, Denis

Re: [OT] JSTL question

2003-09-11 Thread denis
> > When I try to iterate over it, nothing happens! > > > > > > > > > > > > Shows something of the order [ java.com.blah.bean, java.com.blah.bean, > > > > java.com.blah.bean] &g

Re: [OT] JSTL question

2003-09-11 Thread denis
gt; > > Shows something of the order [ java.com.blah.bean, java.com.blah.bean, > > java.com.blah.bean] > > > > > > shows something like: java.com.blah.bean > > > > > > shows the value stored in the bean under the property key. > > > > &

[OT] JSTL question

2003-09-11 Thread denis
stored in the bean under the property key. However when i try to do this: nothing shows. I am really confused. What am I doing wrong? Thanks. Denis

JSTL and Struts tag nesting?

2003-09-03 Thread Denis @ Betterway
: ) /> I can't nest tags like that though, so is there another way to do this? Thanks, Denis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

is Struts action class a Design Pattern of utility class?

2003-07-16 Thread Denis Wang
Hello, all, I am not sure whether it is a good practice to: eliminate instance variables from Struts action class; and make all methods static. Basically it turns the action class into a utility class. Any comments? Thanks. Denis

Re: Why html:xxx tags? / Dreamweaver and .do extension

2003-07-06 Thread Denis Baranov
Oh-oh. Another limitation? WYSIWYG HTML anymore? Anybody? (nesting rocks indeed) Denis. Andrew Hill wrote: Another plus to the struts tags is the nesting ability, which imho rocks! (Though Im not actually using JSP so had to render the nesting details the hard way...) -Original Message

RE: struts: error/message handling: saveErrors

2003-07-03 Thread Denis Wang
Thanks a lot. it works for me. Denis -Original Message- From: Varun Garg [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 11:55 AM To: 'Struts Users Mailing List' Subject: RE: struts: error/message handling: saveErrors Instead of doing a new ActionErrors I have a func

RE: struts: error/message handling: saveErrors

2003-07-03 Thread Denis Wang
Unfortunately struts does not provide such functionalities, I doubt. Denis -Original Message- From: Jamie M. Guillemette [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 11:59 AM To: Struts Users Mailing List Subject: Re: struts: error/message handling: saveErrors we probably need to

struts: error/message handling: saveErrors

2003-07-03 Thread Denis Wang
" error will override the "Afailed" error. How can I show both "Afailed" and "Bfailed" error messages? Thanks a lot! Denis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] CCValidation

2003-07-03 Thread Denis Avdic
method (used in the validator), or do I have to write something special, and if so, what is it? I figured that a lot of struts people have dealt with this, and I am interested in what you all know, Thank you, Denis PS. I am writing CredCard because struts-user spam filter keeps rejecting any

Re: [OT] Application Security

2003-06-11 Thread Denis Avdic
Paul Thomas wrote: On 10/06/2003 17:47 Denis Avdic wrote: Hello, This is really off topic, but since everyone is working in similar conditions I though I'd ask you all a question. How is everyone handling security in your applications? More specifically, we have a site where someone vio

[OT] Application Security

2003-06-10 Thread Denis Avdic
em or something similar, where I could be at least alerted in real time that something funky is happening, and that I don't have to accidentaly stumble across the action in the log file. How are you (if you are) handling this? Are there open source tools to set this up? Commercial? T

[OT] Overnight?

2003-06-06 Thread Denis Avdic
Hey, I did not get any messages from overnight... was my mailbox full? (I hope my server didn't send returned messages and such...) Thanks, Denis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Very simple and URGENT Tag question - Please Help

2003-06-04 Thread Denis Avdic
If you are using jstl don't use logic-iterate; rather use then you can have or if it is straight string you can have Renato Romano wrote: I have a bean with an indexed property, that is myBean.getItem(int i). I can't find a way to access that property, using struts, struts-el nor jstl. I tr

RequestProcessor.processPopulate happens more than once when one Struts action forwards to another

2003-06-02 Thread Ahearn, Denis
be populated or not. This works, however it seems to me that the real problem is that Struts populates the form for each Struts action that is being forwarded to. Thanks, Denis

Re: [beer] Possible Upcoming meeting topic

2003-05-31 Thread Denis Avdic
Sometimes I think Mark is starting a religion. They'd call it Antagonism. ;) Mark Galbreath wrote: That shit sucks! why would you want to find it? -Original Message- From: Denis Avdic [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 4:13 PM To: Struts Users Mailing List Su

Re: [Friday]What is your yahoo?

2003-05-31 Thread Denis Avdic
Hm. Maybe if I used gnome instead of kde... brb Mark Galbreath wrote: nope Red Hat 7.3 here -Original Message- From: Denis Avdic [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 4:40 PM To: Struts Users Mailing List Subject: Re: [Friday]What is your yahoo? Gah! Anyone using

Re: [Friday]What is your yahoo?

2003-05-31 Thread Denis Avdic
Um, anyone using linux YM? I don't think I can chat on my client... Mark Galbreath wrote: OUT! OUT! You demons of the Down Under! -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 4:37 PM To: Struts Users Mailing List Subject: RE: [Friday]Wha

Re: [Friday]What is your yahoo?

2003-05-31 Thread Denis Avdic
Gah! Anyone using ym under RedHat 8? Vic Cekvenich wrote: I made a chat room, under "computers and internet" called "Struts". James Mitchell wrote: I go by "jmitchtx" -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org - Original Message - From: "Chapp

Re: [Friday]What is your yahoo?

2003-05-31 Thread Denis Avdic
I am very inovative: denisavdic James Mitchell wrote: I go by "jmitchtx" -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org - Original Message - From: "Chappell, Simon P" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Fr

Re: [FRIDAY] Where's the dedication?

2003-05-31 Thread Denis Avdic
Oh, man. I was hoping that THAT commercial would die quietly... Brandon Goodin wrote: You guys Yahoo!? Brandon Goodin -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 2:10 PM To: Struts Users Mailing List Subject: RE: [FRIDAY] Where's the

[beer] Possible Upcoming meeting topic

2003-05-31 Thread Denis Avdic
Seeing as we have some beer experts here... Does anyone know if Kilkenny is available anywhere on the east coast? I had it in Europe and it is the best red I've had, and I can't find it anywhere in NH, VT or western MA. D Chappell, Simon P wrote: You should try it sometime ... perhaps you'd be

Re: NPE with getResourceAsStream

2003-05-31 Thread Denis Avdic
Ugh. One of the reasons I HATE writing test code. It usually amounts to about 80% of the time spent coding. Nice thing about it, it makes my life so much easier if the specs for the application don't change. (if they do, I have to rewrite both the app and test code, blech). (PS, I noticed th

Re: how can I find the Scaffold package?

2003-05-31 Thread Denis Avdic
Leon wrote: Hi, What is the download link of the Scaffold package? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] How about you do a google search on that? It took me

Re: syntax error

2003-05-31 Thread Denis Avdic
Mark Galbreath wrote: 2. you need to wrap the whole request.get in parentheses before casting to String. Mark Really? Man, I was wondering why sometimes my casts failed... I ended up doing stuff like first storing the object needed to be cast as an Object, and then casting that Object.

Re: [OT] RE: test

2003-05-30 Thread Denis Avdic
Is it a laden swallow? José Ventura wrote: Well that depends. Would that be an european or an african swallow? - Original Message - From: "Mark Galbreath" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, May 29, 2003 4:30 PM Subject: [OT] RE: tes

Re: [OT] slackers

2003-05-30 Thread Denis Avdic
Catamount brewery, . (VT) Josh Rayls wrote: Don't forget Otter Creek, Rapscallion, and the Cambridge Brewing Company! :) -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 8:46 AM To: Struts Users Mailing List Subject: Re: [OT] slackers Mark Gal

Re: [WAY OT] Hashtable implementation

2003-05-30 Thread Denis Avdic
done it, maybe more efficiently etc... Denis Mark Galbreath wrote: This is done for you automatically with java.util.SortedMap. If you want multiple objects referenced by the same key, just put Collection's into the Map as the values: SortedMap myMap = new TreeMap(); List myList = new

Re: [WAY OT] Hashtable implementation

2003-05-30 Thread Denis Avdic
ant multiple objects under the same key then essentially you are just looking for a generic list/collection or whatever you want to call it. No? Or perhaps there are to be multiple lists - a Map containing entries that are Collections then I guess. Paul C Denis Avdic wrote: Hey, I know this

[WAY OT] Hashtable implementation

2003-05-30 Thread Denis Avdic
something out there already implementing this functionality. Thanks, Denis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: URGENT: javax.servlet.ServletException: BeanUtils.populate

2003-05-30 Thread Denis Avdic
I see that you are returning a value of userId in user contacts property in your JSP. Now, I am not familiar with DynaForms, but you have the field defined as ContactDto type. Could this be the problem? Since you are returning a string and it is expecting a ContactDto type? Can anyone confir

Re: [OT] A question long not raised....

2003-05-30 Thread Denis Avdic
No, no, he admits LOVING flashers. A fetish interest in development, looks like. ;) James Mitchell wrote: So.you admit to being a flasher? -- James Mitchell Software Developer/Struts Evangelist http://www.open-tools.org - Original Message - From: "Kamholz, Keith (corp-staff) US

Re: Indexed Fields

2003-05-30 Thread Denis Avdic
http://jakarta.apache.org/struts/userGuide/struts-html.html#text look at indexed property. hth Denis Abhinav (Cognizant) wrote: How to dynamically generate indexed html fields as well as populate them from the form bean. I am unable to do both simultaneously. My fields will be generated by

Re: dependant on prior

2003-05-30 Thread Denis Avdic
Michael Lucas wrote: Is there a way to make a pull down menu using the Struts html:option tag dependant upon another pull down menu on the same page? I want to let a user only see a list of choices based on what they chose previously. If they leave the first choice blank, then the next pul

[JSTL] Hashtable

2003-05-30 Thread Denis Avdic
Hello group, Does anyone know how to retrieve particular elements of a hash table using JSTL? I've triedbut that does not work. Any ideas? TIA, Denis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Denis Avdic
ember variable. If the widget is a button and you want to read the value, either use request.getAttribute("myButton") or use ActionForm.getMyButton. -Original Message----- From: Denis Avdic [mailto:[EMAIL PROTECTED] Sent: May 28, 2003 2:39 PM To: Struts Users Mailing List Subject: Re:

Re: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Denis Avdic
what you are saying here... Phillip Qin wrote: Because there is no member variable to store the value of submit button. Plus you cannot guarantee request.getParameter("submit") returning value for some browsers. -----Original Message- From: Denis Avdic [mailto:[EMAIL PROTECTED] Se

Re: FW: DELIVERY FAILURE: Error delivering to Chetan Khimjee/Impfleet;Router: Database disk quota exceeded

2003-05-29 Thread Denis Avdic
Somebody spoof his email and just mail unsubscribe bot. Would that work? Brandon Goodin wrote: Can we remove this guy from the Struts-User List? PLEZ Brandon Goodin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:49

Re: [APOLOGY] Re: Submit Value

2003-05-29 Thread Denis Avdic
I apologize to the entire struts-dev-team. Many things were said in a moment of panic. Denis Erik Price wrote: Denis Avdic wrote: *&*$*& damn MICROSOFT! And me for not testing on IE. Now I have to redesign half my webapp! And why is this implemented if IE (90% of population o

Re: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Denis Avdic
Actually, I just tried taking the value from request and it works. If I do request.getParameter("submit"); it returns value, but if i go myForm.getSubmit(); it does not. Weird. Only IE I can test right now is whatever comes with XP. Anyone have any other experiences with this? D

[RANT/FLAME] Re: Submit Value

2003-05-29 Thread Denis Avdic
*&*$*& damn MICROSOFT! And me for not testing on IE. Now I have to redesign half my webapp! And why is this implemented if IE (90% of population out there) cannot use the feature? Gah. Now to figure out an elegant way of fixing this Phillip Qin wrote: Don't bother trying it. Only Mozi

Re: Possible Validator Bug

2003-05-29 Thread Denis Avdic
Dontcha hate that? Raible, Matt wrote: Try changing methodparams to methodParams... -Original Message- From: Brown, Melonie S. - Contractor [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 7:46 AM To: '[EMAIL PROTECTED]' Subject: Possible Validator Bug I created a custom validator

Re: html:select / html:options

2003-05-27 Thread Denis Avdic
use optionsCollection tag property: name of the collection in the form Bean label : The property of the bean within the collection which represents the label to be rendered for each option. (ie. Name) value: The property of the bean within the collection which represents the value to be rende

RE: [OT] Help: JavaScript pop-up menu goes behind drop down list i nInternet Explorer

2003-04-02 Thread Denis Wang
Thanks a lot. I will have a try. Denis -Original Message- From: McCarthy, Jeffrey - Contractor - IMSC [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 10:24 AM To: Struts Users Mailing List Subject: RE: [OT] Help: JavaScript pop-up menu goes behind drop down list i n Internet

Help: JavaScript pop-up menu goes behind drop down list in InternetExplorer

2003-04-02 Thread Denis Wang
Hello, all, Sorry if it is off the subject of this mailing list. I use JavaScript to generate a pop-up menu. However, the menu is shadowed by my drop down list on the same page. Does anybody have any idea how to fix it. Thanks. Denis p.s. my JavaScript code to generate the menu function

Re: Right way to extends Action

2003-03-31 Thread Xavier Saint-Denis
ptions to declare in the config.xml? -Original Message- From: Xavier Saint-Denis [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 6:22 PM To: Struts Users Mailing List Subject: Re: Right way to extends Action Hum... To my modest opinion, this is how Struts is designed. The "e

Re: Right way to extends Action

2003-03-31 Thread Xavier Saint-Denis
Sent: Monday, March 31, 2003 4:41 PM Subject: RE: Right way to extends Action Ho Xavier, so, how do you know which exception are thrown? You'll discover them at runtime :( -Original Message- From: Xavier Saint-Denis [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 5:40 PM To:

Re: Right way to extends Action

2003-03-31 Thread Xavier Saint-Denis
ervletResponse _res) throws MyActionException; -Original Message- From: Xavier Saint-Denis [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 3:21 PM To: Struts Users Mailing List Subject: Re: Right way to extends Action Hi, In our application we use a similar concept : - we hav

Re: Right way to extends Action

2003-03-31 Thread Xavier Saint-Denis
Hi, In our application we use a similar concept : - we have a class like this : public abstract class BaseAction extends Action In this class : - we added some usefull field like a logger an a pointer to a singleton that retains application's data protected Log log = LogFactory.getLog(this.g

Re: Question about message-resources

2003-03-25 Thread Xavier Saint-Denis
Hi, Regarding how to manage very long Message-resources property file, you can use the following possibility : In your strust-config.xml add a : http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"; [ ]> And in the appropriate section of the "Action Mapping Definitio

and message resource

2003-03-24 Thread Xavier Saint-Denis
Hi, I have the following problem : In the strust config file I declare this : Where the "promt.empty=" is defined in the property file and used with no problem elsewhere in the code. in a tiles jsp, i use a an like this : but the message is not rendered and I wonder

what j2ee design patterns does Struts use? Dispatcher View or Serviceto Worker?

2003-03-19 Thread Denis Wang
, ActionMapping, Action Any comments welcome. Enjoy Struts, Denis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: when should classes contain other objects?

2003-03-13 Thread Denis Haskin
This is of course a general OO design question, not struts-specific, but... I'd start with this article: http://www.artima.com/designtechniques/coupling.html (and other stuff at Bill's site is well worth reading, too). Also do a google search on "java class coupling". You'll get a wealth of r

RE: how to calculate A*B in jsp, where A and B are from nested:write

2003-02-13 Thread Denis Wang
The approach resolves the problem. Just a tiny notice, type should be defined. Thanks. Denis -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 4:10 PM To: Struts Users Mailing List Subject: RE: how to calculate A*B in jsp, where A and B

RE: how to calculate A*B in jsp, where A and B are from nested:write

2003-02-13 Thread Denis Wang
Thanks for your reply. I believe this approach works. However I received exceptions: java.lang.ClassCastException: java.lang.Float... I am looking at bean:define to dig the bug out. Denis -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003

how to calculate A*B in jsp, where A and B are from nested:write

2003-02-13 Thread Denis Wang
A newbie question: Currently I have I want to calculate the area IN JSP (not to modify ActionForm) as width X depth. I suppose I am going to use scriptlet. How to achieve this? Thanks. Denis - To unsubscribe, e-mail

RE: logic:match

2003-01-28 Thread Denis Wang
thanks. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 1:26 PM To: [EMAIL PROTECTED] Subject: Re: logic:match You can't use a tag as the input into another tag's attribute. David >From: Denis Wang <[EMAIL PROTE

RE: logic:match

2003-01-28 Thread Denis Wang
thanks for your reply. the powerful if...else can absolutely solve the problem, but the architect doesn't allow me to do so. JSTL is not used elsewhere througout my application. Anyway, thanks for your input. Denis -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]]

logic:match

2003-01-28 Thread Denis Wang
Hello, all, There is something wrong with the following piece of code: ... if I change the above real time evaluation into a static one, it works. Does anybody have any hints? Thanks a lot! Denis -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands,

is this a nested transaction problem? what is a nested transaction

2003-01-22 Thread Denis Wang
d question is, which one of the followings is qualified as a 'nested transaction'? My intention is to have a coarse update for my entity bean. A) SessionFacade.facade(){ bean.setA(); bean.setB();} B) EntityBean.updateBean(){ setA(); setB(); } Answer 1: A) but not B) Answer 2: both A) and B). Thanks, Denis

RE: reset a request parameter to null

2003-01-20 Thread Denis Wang
I tried but failed, unfortunately. I guess the *operation* will be kept as a request parameter if mapping.findForward() is used, EVEN if you remove *operation* from your ActionForm. Thanks for your attention. Denis -Original Message- From: Larry Zappeterrini [mailto:[EMAIL PROTECTED

RE: reset a request parameter to null

2003-01-20 Thread Denis Wang
has been given quite a bit of attention on this list in the past and so I >>won't go into it at length. Would you please give me a hint of the subject for the past discussion? I'd like to look into it. Thanks. Denis -Original Message- From: Denis Wang [mailto:[EMAIL PR

RE: reset a request parameter to null

2003-01-20 Thread Denis Wang
thanks for your reply. just as this email's subject, I am trying to set a request *parameter* to null. Denis -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 3:28 PM To: Struts Users Mailing List Subject: RE: reset a request paramet

reset a request parameter to null

2003-01-20 Thread Denis Wang
amp;versionId=" + versionId ); All above approaches do not work. The last one comes really close to set operation="". Does anybody have a decent way to set the parameter to null? Thanks. Denis -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: forward to another page with a parameter

2003-01-20 Thread Denis Wang
Thanks a lot. What a clean solution! Denis -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 10:52 AM To: Struts Users Mailing List Subject: RE: forward to another page with a parameter Dennis, place the objectId as a parameter in the

forward to another page with a parameter

2003-01-20 Thread Denis Wang
takes one string parameter. Thanks. Denis -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Can anybody make a recommendation between Struts in Action and StrutsKick Start

2003-01-15 Thread Denis Wang
Thanks a lot! Denis -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

and Pager taglib from jsptags.com --Help!

2003-01-08 Thread Denis Wang
g for action ABCD". Does anybody have any ideas? Thanks a lot. Denis p.s. Excerpt code from the modified JSP page: <%= pageNumber %> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: possible limited supports for inheritance in struts?

2002-12-10 Thread Denis Wang
Cool!!! This is the solution to this problme. Thanks a lot for Sri and all people trying to help. I always find this mailing list amazingly helpful. Denis -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 1:19 PM To: Struts Users Mailing

RE: possible limited supports for inheritance in struts?

2002-12-10 Thread Denis Wang
Thanks for your reply. ActionForm needs access to ScheduleVO.subclassFields, which are not present in ScheduleBean. Would you please forward your jsp code, which does not use nested tage? Thanks. Denis -Original Message- From: Vinh Tran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December

RE: possible limited supports for inheritance in struts?

2002-12-10 Thread Denis Wang
may i see you sample codes? thanks. denis -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 10:37 AM To: Struts Users Mailing List Subject: Re: possible limited supports for inheritance in struts? 2002. december 10. 16:26 dátummal Denis

possible limited supports for inheritance in struts?

2002-12-10 Thread Denis Wang
Is it possibly caused by Real Time Type Identification/Reflection? Is it possibly caused by serializable? Thanks. Denis p.s. related codes 1) JSP: ... 2) ActionForm: ... private ScheduleVO scheduleVO; //The reference is in the type of ScheduleVO instead of ScheduleBean public Sch

related code RE: does ActionForm support inheritance field

2002-12-09 Thread Denis Wang
) { this.description = description; } . -Original Message- From: Denis Wang [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 9:28 AM To: struts Subject: does ActionForm support inheritance field Hello, Sorry to send the question again. But I didn't see the message appeari

does ActionForm support inheritance field

2002-12-09 Thread Denis Wang
ption field/getter/setter method from its superclass. In my JSP page, I try to access the description. But it is complained "no getter method for subclass.description in the ActionForm". Does anybody have any clue? Is it a limitation of Struts? Thanks. Denis -- To unsubscribe, e-mail:

Problems subclassing FormBeanConfig

2002-12-03 Thread Ahearn, Denis
I ran into a problem trying to subclass org.apache.struts.config.FormBeanConfig. Here is essentially what I was trying: . . . public class MyFormBeanConfig extends org.apache.struts.config.FormBeanConfig { . . . } The error I was getting was a "Cannot find message resources under key" except

RE: Error "Cannot find message resources under key ui" when attempting to subclass FormBeanConfig in struts-config.xml

2002-11-21 Thread Ahearn, Denis
by key (unless I'm off base here) Can you post the code that you are using to find the key 'ui' You might also try this. Add this to your default resource file: ui=test See if that clears up your error. -- James Mitchell Software Engineer/Struts Evangelist http://www.open-to

RE: Error "Cannot find message resources under key ui" when attempting to subclass FormBeanConfig in struts-config.xml

2002-11-21 Thread Ahearn, Denis
kClassName = callbackClassName; } } I am wondering if the "Cannot find message resources under key ui" error message I am getting is not indicative of the true problem. I really don't think anything is wrong with how I have set up my message resources, but I could be wrong. Thanks aga

Error "Cannot find message resources under key ui" when attempting to subclass FormBeanConfig in struts-config.xml

2002-11-21 Thread Ahearn, Denis
java.lang.Thread.run(Thread.java:479) I am using the Struts 1.1-b2, and Tomcat 4.1. If I remove the className="mypackage.MyFormBeanConfig" from my element, then my application works fine. Does anyone have any hints on what is causing this exception? Thanks, Denis

RE: Tiles newbie

2002-11-21 Thread Ahearn, Denis
I have never tried it, but this website implies that Tiles can run without Struts http://www.lifl.fr/~dumoulin/tiles/ -Original Message- From: Brian Hickey [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 10:21 AM To: Struts Users Mailing List Subject: Tiles newbie A cowork

Problem using nested property names with DynaActionForm - Should Struts support this?

2002-11-20 Thread Ahearn, Denis
ses to create the necessary object hierarchy for nested properties, using DynaBeans for the child objects. Thanks, Denis

RE: how to populate nested bean in actionform

2002-11-12 Thread Denis Wang
It is interesting to notice the difference between <%-- jsp comment --%> and , which will not shadow tags defined on the serverside. Have a great day! Denis -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mai

RE: how to populate nested bean in actionform

2002-11-12 Thread Denis Wang
joy coding. Denis -Original Message----- From: Denis Wang [mailto:dwang@;brandmuscle.com] Sent: Tuesday, November 12, 2002 8:20 AM To: struts Subject: how to populate nested bean in actionform Hello, Suppose I have ActionForm aForm, which has a private field aBean. aBean is a dumb data hold

  1   2   >