Re: passing objects from one request to another

2006-02-24 Thread Michael Jouravlev
On 2/24/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: > I recommend not using session, unless it is completely necessary. I > have had memory issues, and other problems like garbage colleciton > when putting information into the session. Basically like one of the > other responders said, just populat

Re: passing objects from one request to another

2006-02-24 Thread [EMAIL PROTECTED]
Rick, It sounds like you are having a problem that I solved last week. I did not get in on the beginning of this conversation so I will give you a rough draft of what I did and you can ask me for my code if it will help your situation. I had a situation where I needed to include the result of oth

Re: Database For Resource Properties

2006-02-24 Thread James Mitchell
There's an old implementation here: http://sourceforge.net/project/showfiles.php?group_id=49385 Look for 'Message Resources Impls', there is a version of the struts- example (Mailreader) that uses a database instead of property files. -- James Mitchell EdgeTech, Inc. http://edgetechservices.ne

Re: passing objects from one request to another

2006-02-24 Thread Rick Reumann
Jim Reynolds wrote: IMOHO it is best to stay away from session information unless it is something that is necessary for the full site. imo, the Session is better than using hidden variables. People freak out over using the Session like it's something taboo. If it's a trade off between compl

Re: passing objects from one request to another

2006-02-24 Thread Jim Reynolds
I recommend not using session, unless it is completely necessary. I have had memory issues, and other problems like garbage colleciton when putting information into the session. Basically like one of the other responders said, just populate your form, do your validation, and pass it along to anothe

Re: passing objects from one request to another

2006-02-24 Thread Chris Cheshire
The problem is there is other information in the form bean that is not in the page, therefore it is not getting initialised properly. I am going with the hidden variable approach as suggested. On 2/24/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 2/24/06, Chris Cheshire <[EMAIL PROTECTED]

Re: passing objects from one request to another

2006-02-24 Thread Michael Jouravlev
On 2/24/06, Chris Cheshire <[EMAIL PROTECTED]> wrote: > I have the following chain of events in an app > > ActionA -> PageA -> ActionB -> ActionC > > All transitions are forward requests (not redirects) and PageA -> > ActionB is a POST. > > In ActionA I have a form bean prepopulated with a collecti

Re: passing objects from one request to another

2006-02-24 Thread Rick Reumann
Chris Cheshire wrote the following on 2/24/2006 5:31 PM: The problem is, since everything is in request scope, once the ActionA -> PageA forward is completed, the bean is no longer valid. Is there any way to get the bean to transfer to the next request, or do I need to use a session bean instea

passing objects from one request to another

2006-02-24 Thread Chris Cheshire
I have the following chain of events in an app ActionA -> PageA -> ActionB -> ActionC All transitions are forward requests (not redirects) and PageA -> ActionB is a POST. In ActionA I have a form bean prepopulated with a collection to display and choose one of in PageA. ActionB then needs to get

RE: [FRIDAY] Truthiness is ..

2006-02-24 Thread George.Dinwiddie
> * http://en.wikipedia.org/wiki/Truthiness http://www.testing.com/cgi-bin/blog/2006/02/20#truthish-mocks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[FRIDAY] Truthiness is ..

2006-02-24 Thread Ted Husted
"Not to worry, the new release will ship Real Soon Now." * http://en.wikipedia.org/wiki/Truthiness [Compare factoid - http://en.wikipedia.org/wiki/Factoid ] - Ted. ** http://www.husted.com/ted/blog/ - To unsubscribe, e-mail:

struts into one cluster machine

2006-02-24 Thread Miren Urkijo
Iam programing one struts application for one cluster machine. Into my beans, no struts, i must to implements the serializable If my struts application has the acton, one actionForm i must to serialize the action form for runnig well into the cluster machine? thanks

Re: Database For Resource Properties

2006-02-24 Thread Jim Reynolds
Laurie Thanks for the email That is what I would like to do... and hear this talked about quite a bit. Problem is I do not know where to begin. This bit > resource bundle implementation that loads its content from the database. > Then configure Struts with a custom ResourceBundleFactory (in >

Re: checkbox member of form Bean doesn't pass/get value from my DispatchAction.

2006-02-24 Thread Laurie Harper
[EMAIL PROTECTED] wrote: Thanks Niali: Do you have any examples or pointers for writing reset method of ActionForm ? Just override ActionForm.reset() in your ActionForm subclass and include the code to clear your checkbox property to whatever value corresponds to the checkbox not be

Re: Database For Resource Properties

2006-02-24 Thread Laurie Harper
Jim Reynolds wrote: I have a scenario where our site allows users to enter foreign languages in a database. So at anytime, the value of a langage value can change. So I am unable to use the message resources as they are static between server bumps. Anyway, it would be great if I could actually c

Re: Retrieving source form property from a target page

2006-02-24 Thread Laurie Harper
Scott Van Wart wrote: I'm fairly new to struts, so this might be a trivial question. I have an action as follows: public class MyAction extends Action { public ActionForward execute( /* ... */ ) { return mapping.findForward( "success" ); } } And a form: public class MyForm extends Actio

Re: Should we add MIME type in hosting package to make it execute .do files?

2006-02-24 Thread Laurie Harper
Legolas Woodland wrote: Thank you for reading my post. My struts application works in my own PC but it does not works on Host that i purchased. it return 404 error. Re-check how you deployed the application to your hosting provider. Does it use the same servlet container as you're using loca

Fwd: AW: AW: logic:iterate

2006-02-24 Thread Brian Holzer
**DISCLAIMER** This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee, please notify the sender immediately by e-mail if you have received this e-mai

Re: actionForward & page needs a queryString

2006-02-24 Thread Michael Jouravlev
On 2/24/06, matador <[EMAIL PROTECTED]> wrote: > how to do this? > > existing jsp (model 1 arch) is dependent on querystring parameter (e.g. ? > vId=256), so instead of posting this page to another page that updates the > db, i post it to an action class etc. fine no probs there. > > but the forwa

RE: [shale] still radio group in datatable

2006-02-24 Thread abdurrahman sahin
hi all; i need to set jsf componentss initial values while bean being loaded. according to the shale viewhelper doc. http://struts.apache.org/struts-shale/features-view-controller.html i thought i may do that in prerender() method with help of isPostBack property. whenever i try to set a components

Database For Resource Properties

2006-02-24 Thread Jim Reynolds
I have a scenario where our site allows users to enter foreign languages in a database. So at anytime, the value of a langage value can change. So I am unable to use the message resources as they are static between server bumps. Anyway, it would be great if I could actually create some type of mec

Re: [shale] still radio group in datatable

2006-02-24 Thread Gary VanMatre
> Hi folks, hi Gary, > > Now with this clay.xml my datatable is having a radio column. Wow, took so > long ... > > > The Problem was the value of the radio having a complex type with a toString > method not resolved ... > > Now my html result has entries like: > > > with the problem

actionForward & page needs a queryString

2006-02-24 Thread matador
how to do this? existing jsp (model 1 arch) is dependent on querystring parameter (e.g. ? vId=256), so instead of posting this page to another page that updates the db, i post it to an action class etc. fine no probs there. but the forward for the action class needs to go back to the posting pa

Re: checkbox member of form Bean doesn't pass/get value from my DispatchAction.

2006-02-24 Thread digant . k . joshi
Thanks Niali: Do you have any examples or pointers for writing reset method of ActionForm ? Should checkbox attribute in question in my ActionForm be Boolean or it can be String type? Right now I have it as String and value coming from DAO are "Y"/"N" which I change it t

Re: AW: logic:iterate

2006-02-24 Thread Kjersti Berg
Check out this link from the wiki: http://wiki.apache.org/struts/StrutsCatalogLazyList, the section on Indexed properties. In order for it to work, you have to set the id attribute to the same as the indexed property. Kjersti On 24/02/06, Hans-Peter Petek <[EMAIL PROTECTED]> wrote: > > Hello, > >

Re: Cannot find bean in scope Problem

2006-02-24 Thread David Delbecq
I bet a box of chocolates you forgot to define or badly defined the logic taglib in your .jsp header :) [EMAIL PROTECTED] a écrit : >Hi, > >I have a form with a List and want to show the values on my JSP. But when I >start my JSP the bean "id" cannot be found in any scopy. I dont understand >why

Cannot find bean in scope Problem

2006-02-24 Thread OJAY78
Hi, I have a form with a List and want to show the values on my JSP. But when I start my JSP the bean "id" cannot be found in any scopy. I dont understand why struts is looking for a bean "id" this is only my id value of the iterate tag of my JSP. Here is my JSP code:

Re: question

2006-02-24 Thread Niall Pemberton
Have you checked the docs? http://struts.apache.org/struts-taglib/tagreference-struts-html.html#html:errors Niall - Original Message - From: "red phoenix" <[EMAIL PROTECTED]> Sent: Friday, February 24, 2006 3:47 AM application.properties file: errors.footer= errors.header= errors.abc

AW: AW: logic:iterate

2006-02-24 Thread Hans-Peter Petek
Hello, i am really confused now - there can be only a small mistake ... :-(( If i have no getter and setter for right, the app is running, but after submitting the form, the right-object is null (of course) if i set the getter and setter for right, i get: [Servlet-Fehler]-[BeanUtils.populate]: ja

[shale] still radio group in datatable

2006-02-24 Thread Timo Schnölzer
Hi folks, hi Gary, Now with this clay.xml my datatable is having a radio column. Wow, took so long ...