Q: Validator - query properties

2002-10-04 Thread gernot . pfingstl
If a html input field is required I use the validator plugin and put ...depends=required... in my validation.xml file. This works great! In the jsp pages I mark required fields with a *, until now I hardcode the * in my jsps, so if I change a field to required I had to put the * in the jsp and

Problem with Populate utility

2002-10-04 Thread Sriram Hariharan
I've a form and a corresponding value object (vo). Things work fine when I populate the form with value object (vo). BeanUtils.populate(form, BeanUtils.describe(vo)); But it doesnt work the other way around BeanUtils.populate(vo, BeanUtils.describe(form)); and throws an exception-

Re: Tiles and Internationaliation

2002-10-04 Thread Cedric Dumoulin
Yes it is. On the inserted page you will need to do: tiles:importAttribute name=title / bean:message name=title/ Cedric Vincent PROSPER wrote: Hi, I am quite new to tiles stuff (only 1 and an half day experience, switching from Struts templates...) For the moment, I am

BeanUtils getPropertyDescriptor error

2002-10-04 Thread Daniel Haynes
Hi, Having gone live with our webapp (and changed the logging) an error stated to appear in our logs. However the app is functioning fine. Is this error a problem ? The error occurs with submitions from jsps which contain radio buttons. In our action class we extract the request parameters to

Re: Tiles and Internationaliation

2002-10-04 Thread Cedric Dumoulin
Yes it is. On the inserted page you will need to do: tiles:importAttribute name=title / bean:message name=title/ Cedric Vincent PROSPER wrote: Hi, I am quite new to tiles stuff (only 1 and an half day experience, switching from Struts templates...) For the moment, I am just

Re: about ArrayList and the BeanUtils.populate() exception ?

2002-10-04 Thread Martin Grebac
Hi, could you send pieces of your code? It still doesn't work for me ;O( Thanks, Martin Vincent Berruchon wrote: No exception if you replace your ArrayList by a String[] (for the properties used by the select tag). Vincent Berruchon wrote: I get a BeanUtils.populate() exception when

global variables

2002-10-04 Thread Madhavi Thottempudi
Hi! Where can I set global variables and get them back in Struts. Because I see that Action beans extending struts Action bean doesn't get servlet in their perform method. public ActionForward perform(ActionMapping mapping, ActionForm form,

RE: Tiles and Internationaliation

2002-10-04 Thread Holman, Cal
You can use the second definition and in your template use the following - but you are still stuck with a bean:message tag - except it is in the template not the definition. tiles:importAttribute/ titlebean:message name=title scope=page //title Cal http://www.calandva.com/ -Original

CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Charlesworth, Chico
Hi, I'm trying to iterate through a Boolean Array using logic:iterate and then display these as check boxes. This works fine, but when submitting the form and resending the Boolean Array back to the Action class, only the values that are true are returned. In the struts documentation it says:

Re: global variables-update

2002-10-04 Thread Madhavi Thottempudi
I mean setting application scope variables - using setServletContext or something like that and getting them back. Any ideas?? Thanks again -M At 11:34 04/10/2002 +0100, you wrote: Hi! Where can I set global variables and get them back in Struts. Because I see that Action beans extending

Q: Validator - query properties

2002-10-04 Thread gernot . pfingstl
If a html input field is required I use the validator plugin and put ...depends=required... in my validation.xml file. This works great! In the jsp pages I mark required fields with a *, until now I hardcode the * in my jsps, so if I change a field to required I had to put the * in the jsp and

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Galbreath, Mark
a. upgrade to 1.1b2 b. don't bypass the ActionForm -Original Message- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 8:40 PM To: Struts Users Mailing List Subject: Design Problem: Multiple Object Update How would you strut gurus approach this in a Struts

RE: global variables-update

2002-10-04 Thread Divakar Satyanarayan
Madhavi , You can look at the users guide available at the struts site. You can make use of request.setAttribute( ) for setting up global variables. Refer 2.2 JavaBeans and Scope of user doc http://jakarta.apache.org/struts/doc-1.0.2/userGuide/building_model.html Regards, Divakar

RE: JavaBean question (OOPS)

2002-10-04 Thread Galbreath, Mark
Please cite a more precise reference to Hans' book. -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 7:17 PM To: Struts Users Mailing List Subject: Re: JavaBean question (OOPS) Thank you for the example, for now I will try to use it .

RE: global variables-update

2002-10-04 Thread Madhavi Thottempudi
Hi Divakar! Thanks for the suggestion. I am still confused with one thing In the example provided by struts (struts-example), I found that they are calling getServletContext from the Action bean to get a global/application scope attribute, but I felt it strange as there is no servlet

RE: DanaFormBean and Non Primative property type

2002-10-04 Thread Galbreath, Mark
RU kidding? You need more help than you can get here if you think a String is a primitive. And what kind of question is this? Are we to, like, read your mind and see your code to guess whatever it is you are trying to do in your classes? Hey! Even we are not that good. But so this post is

RE: global variables-update

2002-10-04 Thread Galbreath, Mark
It's not a bean; it's a helper (Action) class that is passed the servlet request and response objects, getting a handle on the servlet and can access the context in which the servlet resides. The context is the global/application scope; the context object is like the central switching office to

FW: [FRIDAY] failure notice

2002-10-04 Thread Galbreath, Mark
Okay, Eddie, cut it out! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 7:50 AM To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at nagoya.betaversion.org. I'm afraid I wasn't able to deliver your

RE: Tiles and Internationaliation

2002-10-04 Thread Vincent PROSPER
Cedric and Cal, Thanks a lot for both (same) answers. It works fine. Have a nice day. Vince -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 10:52 AM To: Struts Users Mailing List Subject: Re: Tiles and Internationaliation Yes it

RE: global variables-update

2002-10-04 Thread Madhavi Thottempudi
Thanks for the explanation Mark! I understand it better now. -M At 07:50 04/10/2002 -0400, you wrote: It's not a bean; it's a helper (Action) class that is passed the servlet request and response objects, getting a handle on the servlet and can access the context in which the servlet resides.

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When Ch eckBox is unchecked

2002-10-04 Thread Galbreath, Mark
This is by design and you will have to write some code to accommodate it. The HTML spec mandates that no request values are passed for unchecked checkboxes, so you will have to keep track of the checkboxes yourself. What I do is type the checkboxes as String rather than boolean in the ActionForm

RE: global variables-update

2002-10-04 Thread Galbreath, Mark
There really is no substitute for reading the API and the Servlet Specification (check out Chapter 3). The spec explains more than you probably would ever need to know about servlets and their contexts. You can download it from java.sun.com/products/servlet. Mark -Original Message-

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Andrew Hill
For multiple, you also must set values back to false in reset() (The question here of course is which checkbox refers to which element. You may need to refactor such that your checkboxes return non boolean values so you can tell which is which at the server end). The reason for this is that the

RE: Action.getResources(request) not working

2002-10-04 Thread Galbreath, Mark
how do you know it was not a correct answer if you are still asking the question? -Original Message- From: Alex Birch [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 12:34 AM To: [EMAIL PROTECTED] Subject: Action.getResources(request) not working Hi, I already asked this

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted Whe n CheckBox is unchecked

2002-10-04 Thread Charlesworth, Chico
If that is the case, then why does it work with single boolean properties? I only get this problem when working with an array. Chico -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: 04 October 2002 13:12 To: 'Struts Users Mailing List' Subject: RE: CheckBox

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Galbreath, Mark
Hey man! RU refactoring my messages? ;-) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 8:17 AM To: Struts Users Mailing List Subject: RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked For

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted Whe n CheckBox is unchecked

2002-10-04 Thread Galbreath, Mark
I'm not sure what you mean. If a checkbox or radio button is not checked, it has NO state. This means boolean false is never passed. Only boolean trues are passed in the request object. If you are defining individual objects as boolean in your ActionForm, the JVM assigns their state to false

how to use struts with goliveor other page generators

2002-10-04 Thread Andreas Niemeyer
Hello. We are planning to use struts and jsp's , but our designers works with html designtools like golive. It seems not possible for that editors to show previews of jsp's because the special libtags are unknown for them. Are there a way, for example the use of a plugin in those editors, to

RE: how to use struts with goliveor other page generators

2002-10-04 Thread Galbreath, Mark
Have you tried google.com? I got 300,000 hits on JSP design tools. -Original Message- From: Andreas Niemeyer [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 8:25 AM To: [EMAIL PROTECTED] Subject: how to use struts with goliveor other page generators Hello. We are planning

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted Whe n CheckBox is unchecked

2002-10-04 Thread Charlesworth, Chico
Yeah of course I gotcha now ... Cheers chico -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: 04 October 2002 13:26 To: 'Struts Users Mailing List' Subject: RE: CheckBox and Boolean[] Array - Incorrect Values Submitted Whe n CheckBox is unchecked I'm not sure

Re: how to use struts with golive or other page generators

2002-10-04 Thread Andreas Niemeyer
I looked at google and know that, but otherwise I think this would be a related topic to post in this group; furthermore I could imagine that here are some people which have had the same question and took their experience. Best regards, Andreas Have you tried google.com? I got

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Andrew Hill
Wrote it before I read yours. Just had a beer and a GT so my telepathic powers must have come online as a result ;-) Ahhh... I do so love Fridays. -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 20:21 To: 'Struts Users Mailing List'

RE: [FRIDAY] Telepathy

2002-10-04 Thread Galbreath, Mark
Bloody bastard! It's only 0846 in Baltimore and our dev team is doing a pub crawl starting at 1700. Won't this day ever end -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 8:42 AM To: Struts Users Mailing List Subject: RE: CheckBox and

[OT] CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Dave Derry
He's doing it as a service for those who are filtering you Mark!;-)) - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] Hey man! RU refactoring my messages? ;-) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] For multiple, you also must

RE: how to use struts with golive or other page generators

2002-10-04 Thread Galbreath, Mark
Then say so in your original post: I've searched the web without satisfactory results We are jaded from lazy people who do not put forth any effort to solve their problems before asking somebody else to do it for them. That being said, AFAIK, there are no graphic design tools that

RE: [OT] CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Galbreath, Mark
Thanks a lot, Jerry. ;-) -Original Message- From: Dave Derry [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 8:49 AM To: Struts Users Mailing List Subject: [OT] CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked He's doing it as a service

RE: [FRIDAY] Telepathy

2002-10-04 Thread Andrew Hill
Hehe, well I bet your not coming back to the office after yours ;-) (Not that Ill be here for long. Just got to wrap up one or two things. Taking this weekend off!) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 20:44 To: 'Struts Users

RE: [OT] CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Andrew Hill
rofl -Original Message- From: Dave Derry [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 20:49 To: Struts Users Mailing List Subject: [OT] CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked He's doing it as a service for those who are

Dynamic text fields

2002-10-04 Thread Miguel Angel Medina Lopez
Hi all: I want to create dynamic text fields in a form and I following the example form a previos thread of the list. In my JSP I have the following: % String name=foo; % html:text property=%= name % size=50/ and when I execute it throw the next exception:

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Charlesworth, Chico
Sorted!! Got a String[] (checkboxes), and when form is submitted the positions of the checked checkboxes are sent in this array ... % int i = 0; % logic:iterate id=flag name=myForm property=flags logic:equal name= flag value=true input type=checkbox id=checkboxes name=checkboxes

RE: Dynamic text fields

2002-10-04 Thread Galbreath, Mark
Let me put it this way: you do not have the slightest clue as to what you are doing. This is so basic to Struts, it's impossible to give any advise other than buy a book. Mark -Original Message- From: Miguel Angel Medina Lopez [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted Whe n CheckBox is unchecked

2002-10-04 Thread Galbreath, Mark
And the crowd roars!!! -Original Message- From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 8:56 AM To: 'Struts Users Mailing List' Subject: RE: CheckBox and Boolean[] Array - Incorrect Values Submitted Whe n CheckBox is unchecked Sorted!! Got a

RE: CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Andrew Hill
Hehe. Glad to here you got it going. :-) Speaking of going, Im going home, and taking my telepathic powers with me. (Which Im sure will annoy Mark who's still got the whole day ahead of him yet hehe ;-) -Original Message- From: Charlesworth, Chico [mailto:[EMAIL PROTECTED]] Sent: Friday,

Re: FW: [FRIDAY] failure notice

2002-10-04 Thread Eddie Bush
LOL - it's not me! Those headers look strangely familiar though! Galbreath, Mark wrote: Okay, Eddie, cut it out! -- Eddie Bush -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: [FRIDAY] Randy Andy

2002-10-04 Thread Galbreath, Mark
Well, one of the team just brought in lox, whitefish, cream cheese, assorted bagels, capers, red onion, tomatoes and OJ, so at least we can f*ck off for awhile. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 9:07 AM Hehe. Glad to here you

[FRIDAY] More coffee needed!!

2002-10-04 Thread Dave Derry
That's still Derry.Dave Derry! But I guess if it's easier for you...you can call be Jerry ;-) Dave Derry - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] Thanks a lot, Jerry. ;-) -Original Message- From: Dave Derry

Re: [Tiles] Conditional menu items. Help !!!!

2002-10-04 Thread LFung
Thanks a lot Cedric. I think the best solution is 3. Do you have some Controller Sample code, I'am never have been worked with it. Any way thanks for your reply. LFung. - Original Message - From: Cedric Dumoulin [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent:

RE: [FRIDAY] More coffee needed!!

2002-10-04 Thread Galbreath, Mark
Mine was a reference to yesterday (as I'm sure your changing the subject line is) and was intentional. Hey, Dave! Wake up! :-) -Original Message- From: Dave Derry [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 9:36 AM To: Struts Users Mailing List Subject: [FRIDAY] More

[1.1 b2] How to manage the struts-config programatically?

2002-10-04 Thread Ove Ranheim
How to manage the struts-config programatically. I tried both 1.1 beta 2 and the nightly build 20021004. In my TestPlugin I write; public void init(ActionServlet servlet, ApplicationConfig config) throws ServletException { ActionConfig ac = null; ForwardConfig fc = null; ac

Re: [FRIDAY] More coffee needed!!

2002-10-04 Thread Dave Derry
OK..Just got another cup of coffee. Want to pass the bagels and lox?? ;-} Dave Derry - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] Mine was a reference to yesterday (as I'm sure your changing the subject line is) and was intentional. Hey, Dave! Wake up!

Re: [1.1 b2] How to manage the struts-config programatically?

2002-10-04 Thread Eddie Bush
No offense here - serious question: Why not just use the config file and let the action servlet load it? Ove Ranheim wrote: How to manage the struts-config programatically. I tried both 1.1 beta 2 and the nightly build 20021004. In my TestPlugin I write; -- Eddie Bush

RE: [1.1 b2] How to manage the struts-config programatically?

2002-10-04 Thread Ove Ranheim
question: Why not just use the config file and let the action servlet load it? Ove Ranheim wrote: How to manage the struts-config programatically. I tried both 1.1 beta 2 and the nightly build 20021004. In my TestPlugin I write; -- Eddie Bush -- To unsubscribe, e-mail: mailto:[EMAIL

html:form focus causes a javascript error if the element is a radiobutton

2002-10-04 Thread Gilles . Vandaele
Hi there funny crew, did someone allready noticed that Struts's html:form tag generate this kind of javascript:... document.forms[AnyFormName].elements[anyFieldName].focus() ...to give the focus to the element 'anyFieldName' of the form , and that it causes a javascript error if the

Re: DanaFormBean and Non Primative property type

2002-10-04 Thread Dan Tran
Hi Mark, I was wrong, String is not a primative type. To make thing more clear, here is my class public class Duns { public Duns(); public Duns(String value); public String toString(); } I hope this is clearer this time. -D - Original Message - From: Galbreath, Mark

Accessing another action's form from within an action?

2002-10-04 Thread Davide Bruzzone
Hello all... I'd like to know if this is possible, and if so how: - A user submits a form - The request hits the appropriate action (ActionA), and when the action gets to return (mapping.findForward(forwardName));, the forwardName forward maps to another action, say: ... forward

Re: JavaBean question (OOPS)

2002-10-04 Thread Dan Tran
It is first edition, page 63. But I take it back, he uses String for the birthdate. Thanks for your dedication. -D - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, October 04, 2002 4:38 AM Subject: RE: JavaBean

Re: [1.1 b2] How to manage the struts-config programatically?

2002-10-04 Thread Eddie Bush
Hint: Struts uses the commons-digester to load the configuration (from files, currently) ... in a lot less lines of code than I can see you having in your plugin :-) I was going to add that you couldn't modify the configuration with your plugin because it would be frozen - but that appears

Re: html:form focus causes a javascript error if the element is aradio button

2002-10-04 Thread Eddie Bush
Ask Bugzilla :-) http://issues.apache.org/bugzilla [EMAIL PROTECTED] wrote: Hi there funny crew, did someone allready noticed that Struts's html:form tag generate this kind of javascript:... document.forms[AnyFormName].elements[anyFieldName].focus() ...to give the focus to the element

Re: Accessing another action's form from within an action?

2002-10-04 Thread Dave Derry
You could attach the form to the request in Action A and retrieve in in Action B. Action A: request.setAttribute( ActionAForm, theFormForActionA ); Action B: ActionAForm theForm = (ActionAForm)request.getAttribute( ActionAForm ); Would that work for you? Dave Derry - Original Message

html:form focus causes a javascript error if the element is a radiobutton

2002-10-04 Thread Gilles . Vandaele
Hi there funny crew, did someone allready noticed that Struts's html:form tag generate this kind of javascript : ... document.forms[AnyFormName].elements[anyFieldName].focus() ...to give the focus to the element 'anyFieldName' of the form , and that it causes a javascript error if the

Re: html:form focus causes a javascript error if the element is aradio button

2002-10-04 Thread Gilles . Vandaele
Got it. Tx. Gilles Vandaele 0498 52 64 12 [EMAIL PROTECTED] Eddie Bush

Re: html:form focus causes a javascript error if the element is a radio button

2002-10-04 Thread David Graham
In case you don't find it on bugzilla, I believe this is a known bug. Dave From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: html:form focus causes a javascript error if the element is a radio button

RE: Accessing another action's form from within an action?

2002-10-04 Thread Davide Bruzzone
Dave, Thanks for the suggestion... Yes, the request will work... Its shorter-lived than the session so I think that it is a better alternative. Cheers... Dave -Original Message- From: Dave Derry [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 9:04 AM To: Struts Users

[OT] [session] Shared userId

2002-10-04 Thread Aravapalli, Udaya
Hi I want to check if an user tries to login with an userId for which a session is already existing and show a message. This can also be applied if two users want to share the same userId and try to login at the same time. Whenever a session is being created by the

RE: DanaFormBean and Non Primative property type

2002-10-04 Thread Galbreath, Mark
Dan, Are you asking how to code a standard JavaBean for use as an ActionForm object? Mark -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 10:35 AM I was wrong, String is not a primative type. To make thing more clear, here is my class

RE: JavaBean question (OOPS)

2002-10-04 Thread Galbreath, Mark
Shucks...and I was ready to pounce on that one! ;-) -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 10:37 AM It is first edition, page 63. But I take it back, he uses String for the birthdate. Thanks for your dedication. -D - Original

Example Design Documentation - wanted

2002-10-04 Thread Mark Conlin
Hello All, I am working on a mid-sized project and am having difficulty with the layout and presentation of my detailed design document(s). A lot of information must be shown for each Use Case Realization. This is what I have so far; 1) The classes and jsps used 2) Description

O'Reilly struts book

2002-10-04 Thread Derrick Malone
I see that this won't be out (here in the UK at least) until the end of November. Been reading the review chapters that were available on theserverside, but there are a couple of chapters missing... does anybody out there have chapters 8, 15, 17 and 19? Perhaps these were never made available,

Parsing error processing resource path /WEB-INF/struts-config.xml

2002-10-04 Thread Ramu, Manjukumar [PRDUS]
Hello All, I am getting the following exception with Weblogic 6.1 SP3 in UNIX. My applciation is working fine in WINDOWS 2000, Just I copied the application to the Unix platform, I am getting the following error. Does anybody know what would be the problem? Thanks for the Help! -Manju

RE: O'Reilly struts book

2002-10-04 Thread Galbreath, Mark
I don't think those were ever made available. I helped edit the book and I am missing those chapters as well. Mark -Original Message- From: Derrick Malone [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 12:02 PM To: Struts Users Mailing List Subject: O'Reilly struts book I

Re: [OT] [session] Shared userId

2002-10-04 Thread James Mitchell
I know what you want to do. In the web environment, it is impossible. For every solution you can think of, I can come up with at least 2 what if scenarios that will invalidate your logic. I've been through this with at least 5 different Product Managers and there is just no way to handle it.

RE: [OT] [session] Shared userId

2002-10-04 Thread Galbreath, Mark
Not without using a persistent connection with an applet. HTTP is a stateless protocol, remember? -Original Message- From: Aravapalli, Udaya [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 11:46 AM Is there any way to determine an browser closing action by the user and

Re: [OT] [session] Shared userId

2002-10-04 Thread Eddie Bush
No - there's not a reliable way to do it. You could lower your session timeout - or simply inform your users of the consequences of not logging out. Of course, there are going to be some folks who will have Windows crash on them (!) and they might get a bit perterbed that - through no fault

[OT][FRIDAY] brain types

2002-10-04 Thread Dan Cancro
What types of brains do Struts users have? http://www.braintypes.com/news_from.htm#letters Mine's an ISTJ type -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: DanaFormBean and Non Primative property type

2002-10-04 Thread Dan Tran
Hi Mark, I am looking for way to code a custom property in a ActionForm For example: public class MyFormBean { .. public MyType getMyType() . } If this is not a right place to ask for this kind of question then please drop this. -D - Original

Persistence Framework Comparison?

2002-10-04 Thread Adam Sherman
Does anybody know a of a decent comparison of Open Source persistence frameworks? I'm embarking on a big project without time to properly evaluate them. So I need some help deciding. Thanks, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe,

RE: DanaFormBean and Non Primative property type

2002-10-04 Thread Greg.Reddin
It looks like you're trying to code a class that would be used in a form bean and accessed from your page. You do that like this: public class MyFormBean... { private Duns duns; public Duns getDuns() { return duns; } } public class Duns { public Duns(); public Duns(String

Re: Problem with Populate utility

2002-10-04 Thread Craig R. McClanahan
BeanUtils.populate() has some special logic for dealing with request parameters on an HTTP request, so it does funny things with arrays in the origin bean. Try BeanUtils.copyProperties() intead (Struts 1.1-b2 or later, or go get the current version of commons-beanutils if you're using Struts

Re: [FRIDAY] More coffee needed!!

2002-10-04 Thread john bell
See www.capucino.co.uk - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, October 04, 2002 2:56 PM Subject: RE: [FRIDAY] More coffee needed!! Mine was a reference to yesterday (as I'm sure your changing the

Re: BeanUtils getPropertyDescriptor error

2002-10-04 Thread Craig R. McClanahan
On Fri, 4 Oct 2002, Daniel Haynes wrote: Date: Fri, 4 Oct 2002 10:06:42 +0100 From: Daniel Haynes [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts-User (E-mail) [EMAIL PROTECTED] Subject: BeanUtils getPropertyDescriptor error Hi, Having gone live with

Re: global variables

2002-10-04 Thread Craig R. McClanahan
On Fri, 4 Oct 2002, Madhavi Thottempudi wrote: Date: Fri, 04 Oct 2002 11:34:50 +0100 From: Madhavi Thottempudi [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: global variables Hi! Where can I set global variables and get them back

RE: [OT][FRIDAY] brain types

2002-10-04 Thread Brad Rhoads
They ripped off Kiersey Bates and don't even seem to give them credit! See http://www.amazon.com/exec/obidos/tg/detail/-/0960695400/qid=1033749305/sr=8 -2/ref=sr_8_2/002-7896442-4256040?v=glancen=507846 However, this is a great assesment. I've used it with a number of groups over the years.

Re: how to use struts with goliveor other page generators

2002-10-04 Thread Craig R. McClanahan
On Fri, 4 Oct 2002, Andreas Niemeyer wrote: Date: Fri, 4 Oct 2002 14:25:26 +0200 From: Andreas Niemeyer [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: how to use struts with goliveor other page generators Hello. We are planning

Re: [1.1 b2] How to manage the struts-config programatically?

2002-10-04 Thread Craig R. McClanahan
Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [1.1 b2] How to manage the struts-config programatically? How to manage the struts-config programatically. I tried both 1.1 beta 2 and the nightly build 20021004. In my TestPlugin I write; public void init(ActionServlet servlet

RE: Persistence Framework Comparison?

2002-10-04 Thread Dan Cancro
Here's one from Cayenne: http://c2.com/cgi-bin/wiki?CayenneVsOther -Original Message- From: Adam Sherman [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 9:30 AM To: Struts Users Mailing List Subject: Persistence Framework Comparison? Does anybody know a of a decent

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Mark Silva
How will upgrading to 1.1b2 help me here? does it provide some feature that does what i need? i cannot seem to find it. i understand i shouldn't bypass the form, but HOW can i avoid it since these are all dynamically created inputs based on an id list? thanks, mark -Original

Re: [TILES] Frame's src attrib has html not a url

2002-10-04 Thread Cedric Dumoulin
Sri Sankaran wrote: Thanks that did it. While I understand what you are saying about needing a valid URL, wouldn't that always be the case. When the target of the Tiles attribute is an insert tag, the value can be a tiles definition name. In your case, the target is a frame tag

Re: [Tiles] Conditional menu items. Help !!!!

2002-10-04 Thread Cedric Dumoulin
There are samples in tiles-documentation war files, check how dynamic portal works. Also, the following document can help: http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf Cedric LFung wrote: Thanks a lot Cedric. I think the best solution is 3. Do you have some Controller

Business Logic Bean Question

2002-10-04 Thread Billy Ng
Hi folks, I have been reading some articles briefly talking about the business logic beans. The way I build my Struts app is to use the Action's perform or execute method to do the business logic. Then, I set the data into a bean and pass it off to the JSP. It works just fine. However, my

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Galbreath, Mark
I was only suggesting upgrading. By bypassing the ActionForm you do not allow Struts to do what it does best - set the state of a bean with values gathered from an HTML form upon submit. Your users are not really updating dynamically - that would mean in real time. They are inputting values

RE: Parsing error processing resource path /WEB-INF/struts-config.xml

2002-10-04 Thread Ramu, Manjukumar [PRDUS]
Can any body help me? -Original Message- From: Ramu, Manjukumar [PRDUS] [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 12:09 PM To: 'Struts Users Mailing List' Subject: Parsing error processing resource path /WEB-INF/struts-config.xml Hello All, I am getting the

RE: Session management for cached resources

2002-10-04 Thread James A. Hillyerd
On Wed, 2002-10-02 at 19:14, Andrew Hill wrote: Im doing something rather like this, only I called it an OperationContext which comprises a hashtable of attributes and an id to store it under in the session (passed in the request). I simply overrode the RequestProcessor so it knew to look for

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Mark Silva
Mark, I dont think you really read my email before responding. I understand the importance of the Form Action Paradigm, and why it exisits. I am using it in most places in my application. In this particular form, I have a list of objects, with multiple attributes. Each attribute name is

Re: O'Reilly struts book

2002-10-04 Thread chuckcavaness
I'm reviewing the final PDF version of the book right now and will be done with that in a week. It should be heading for the printer right after that and be out very soon. Since several chapters had to be cut for size, the Table of contents was slightly reorganized and renumbered. Every

RE: Parsing error processing resource path /WEB-INF/struts-config .xml

2002-10-04 Thread Galbreath, Mark
I am no Unix guru, but it seems to me your path is not Unix-enough. A / in Unix is your root (home) directory, not relative unless interpretted by a web server. Try an absolute path to WEB-INF. Mark -Original Message- From: Ramu, Manjukumar [PRDUS] [mailto:[EMAIL PROTECTED]] Sent:

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Galbreath, Mark
Oh...have you looked into DynaActionForm? -Original Message- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 1:22 PM To: Struts Users Mailing List Subject: RE: Design Problem: Multiple Object Update Mark, I dont think you really read my email before

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Mark Silva
you still need to declare your variables in the config file eith a DynaActionForm. This form is dependent on whats in the db at that time. does any one else have any suggestions for this design issue? thanks, mark -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Pavel Kolesnikov
On Fri, 4 Oct 2002, Mark Silva wrote: In this particular form, I have a list of objects, with multiple attributes. Each attribute name is preceded by the objects id. this list is dynamically created, so i would not know how to create the form beforehand. I was wondering if there was some

Re: Business Logic Bean Question

2002-10-04 Thread Adam Sherman
Billy Ng wrote: I have been reading some articles briefly talking about the business logic beans. The way I build my Struts app is to use the Action's perform or execute method to do the business logic. Then, I set the data into a bean and pass it off to the JSP. It works just fine.

Subject: Design Problem: Multiple Object Update

2002-10-04 Thread Scott Carlson
Mark, Upgrading to 1.1b2 would allow you access to Nested form beans. These allow you to iterate collections and create unique input fields. Checkout the documentation primer here: http://www.keyboardmonkey.com/next/Primer_partOne.jsp?content=yesplease There is a lot of documentation on it.

  1   2   >