RE: Urgent: Call ActionClass from link

2004-01-22 Thread Brian Holzer
Have a link call an Action? Try to use the html:link / tag like this: strutshtml:link href=Action.do paramId=custPIC paramName=dataItem paramProperty=custPICBstrutsbean:write name=dataItem property=custPIC //B /strutshtml:link Brian

Master-detail form

2003-08-27 Thread Brian Holzer
Brian Holzer IT Analyst Saskatchewan Government Insurance email: [EMAIL PROTECTED] phone: (306) 751-1629 fax: (306) 569-7683

Re: Best way to understand Struts

2003-02-26 Thread Brian Holzer
Hi Puneet, Here are a couple of URLs that may help you out. http://www.mycgiserver.com/~eboudrant/?nostat=true#uml11 http://www.mycgiserver.com/~eboudrant/?nostat=true#uml11 Brian Puneet Agarwal 02/26/03 05:41am Hi Amit, Since no-one has replied to this question, shall we understand

Re: Best way to understand Struts

2003-02-26 Thread Brian Holzer
Sorry about that, I meant to add this URL http://rollerjm.free.fr/pro/Struts.html Brian Brian Holzer 02/26/03 09:41am Hi Puneet, Here are a couple of URLs that may help you out. http://www.mycgiserver.com/~eboudrant/?nostat=true#uml11 http://www.mycgiserver.com/~eboudrant/?nostat

Re: How to link to an Action which has no Form.

2003-02-13 Thread Brian Holzer
I just do this phtml:link href=petrol.doPetrol/html:link/p this works for me. Brian Brian Holzer IT Analyst Saskatchewan Government Insurance email: [EMAIL PROTECTED] phone: (306) 751-1629 fax: (306) 569-7683 Bert

RE: Radio buttons inside an iterate tag?

2002-10-10 Thread Brian Holzer
Hi Wendy, Have you tried html:radio name=resView property=key value=Your scriplet from before/ You need to specify name=resView because this is the handle to each object during the iterate. Brian Wendy Smoak 10/10/02 09:00am John wrote: I think the body of the tag is the value, so

RE: Where's the form-bean???

2002-10-03 Thread Brian Holzer
Hi Jeff, Is that because your Action is populating the form before forwarding to the page? And if not, what exactly is your Action doing? Brian Lowe, Jeff [EMAIL PROTECTED] 10/03/02 07:22am Hi Jason, Thanks for the reply. You've got it right in what I'm doing. However I think I

[struts-example.war] Cannot find message resources under keyorg.apache.struts.action.MESSAGE

2002-09-04 Thread Brian Holzer
Hi all, Excuse me for posting this again, but I posted it on Friday and the whole [VOTE] thing was dominating the list, and I receieved no responses. I am using Silverstream version 3.7.3 and in searching the mail archive to try to solve this problem I have only seen reference to Tomcat

[struts-example.war] Cannot find message resources under keyorg.apache.struts.action.MESSAGE

2002-08-30 Thread Brian Holzer
** High Priority ** Hi all, I tried to find the fix for this in the mail archive but was unsuccessful. I downloaded the nightly build from 20020829 and deployed the struts-example.war successfully. However when I try to access the app I am getting the following exception.

RE: [VOTE] Should this list discontinue it's long,treasuredheritage of relaxed fridays?

2002-08-30 Thread Brian Holzer
Do you feel this list should discontinue it's long heritage of relaxed fridays? ( X ) Yes ( ) No Actually Fridays I don't care about but like Craig says the rest of the week should be struts stuff.

RE: Form not keeping changed values

2002-07-18 Thread Brian Holzer
Hi Pam, I believe that if you set the scope of your form to session, rather than request and set redirect=true for the definition of your local forward in the struts-config.xml file. I think that your changes should remain in tact when you get to the next Action ( this assumes, of course

Struts and cookies

2002-06-06 Thread Brian Holzer
Hi all, I am hoping that this is an easy question. I have ActionA, jspA and ActionB. In ActionA I add a cookie to the response passed into the perform() method. Cookie cookie1 = new Cookie( SGI, autodev01 ); response.addCookie( cookie1 ); Then I exit ActionA with the following

ActionForms, Value Objects, Data Transfer Objects????

2002-05-30 Thread Brian Holzer
Hello all, I have been quite interested in the discussions that have gone in this list that deal with data persistence since I am trying to design a persistence/concurrency layer for our projects. However I get quite confused by the different terms that are used in different threads, let

Re: option groups

2002-05-14 Thread Brian Holzer
Hey Mike, I think that you should look into the nested tags. I implemented a similar case with the following in my JSP but I found all I needed in the tutorials at http://www.keyboardmonkey.com/struts/index.html nested:iterate property=possibleProfiles

Re: ReadOnly data in a Form question

2002-04-10 Thread Brian Holzer
I'm not sure what exactly you are trying to do, but you can put that extra data into your form, and then define the fields in your JSP as this strutshtml:text property=property_name size=20 readonly=true /. Brian Chappell, Simon P [EMAIL PROTECTED] 04/10/02 07:40am I have no problem with

Re: Validate question - forwarding to action rather thaninput jsp page

2002-01-31 Thread Brian Holzer
If you want to forward to an action, then specify the action ( input=/actionname.do) instead of a jsp. [EMAIL PROTECTED] 01/31/02 01:27am Hi I want to use the validate functionality in a Form. What I want to know is if an non empty ActionErrors object is returned does it always get

Re: Need help on logic:iterate

2002-01-31 Thread Brian Holzer
This is only a debugging type suggestion, but you could put your interate inside of a logic:present name=user property=schedule SCHEDULE WAS FOUND your iterate /logic:present tag and make sure that the collection is being found. Brian

Threading issues

2002-01-31 Thread Brian Holzer
Hi there, I have not yet had to develop an application that had to deal with threading issues before. From reading the documentation I see that all users, are using the same instance of the Action class. Can anyone give me some basic pointers on things to do or avoid in order to avoid

Re: Help with simple iterate through an array

2002-01-25 Thread Brian Holzer
Hey Andrew, I think that I might have figured this one out. I am not postive but lets give this a try. In your page you have the following code snippet pageContext.setAttribute(poassets, assets, PageContext.PAGE_SCOPE); % table logic:iterate id=poassets scope=page name=myassets type

Re: How to get List/Collection from request attribute withform validation.

2002-01-24 Thread Brian Holzer
Hi there, I just went through this exact same issue. What I ended up doing, is in the struts-config file I changed the validation to false and then called the ActionForm.validate() method from my Action class. If the ActionErrors returned from that method is not empty, then I had to get

RE: ActionForm and request parameters

2002-01-24 Thread Brian Holzer
If you are doing an initial display, are you not loading the form values from within an Action? If so, request parameters are easily accessed as the request is one of the parameters to your perform() method by using the request.getParameter( paramName ); Brian [EMAIL PROTECTED] 01/24/02

redirect vs forward

2002-01-24 Thread Brian Holzer
Hey there, I am kind of confused about what the difference is between a forward and a redirect. In reading the documentation on the logic:forward and redirect tags. With the forward tag, whether a forward or redirect is sent, is determined by the redirect param in the action definition.

RE: ActionForm and request parameters

2002-01-24 Thread Brian Holzer
) Tech Question? (mailto:[EMAIL PROTECTED]) -Original Message- From: Brian Holzer [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 24, 2002 12:40 PM To: [EMAIL PROTECTED] Subject: RE: ActionForm and request parameters If you are doing an initial display, are you not loading the form

Re: help needed---missing source code of some of the classesin struts

2002-01-22 Thread Brian Holzer
From the download page, there is a link for downloading the source and a link for downloading the executables. Go back to the download page and check that you have downloaded the right stuff. Brian [EMAIL PROTECTED] 01/22/02 08:02am I have downloaded the source code of Struts ,but I donot

Re: same problem--help needed---missing source code of some ofthe classesin struts

2002-01-22 Thread Brian Holzer
where exactly the source files are put if at all the ones that I am looking for. I will be very much thankful if this issue gets resolved. Thank you so much for the patience Best regards Amit K - Original Message - From: Brian Holzer [EMAIL PROTECTED

RE: html:text

2002-01-22 Thread Brian Holzer
Hi there, I was having the same problems until I started using the 1.0.1 release. Brian [EMAIL PROTECTED] 01/22/02 01:22pm Well you have greater problems than the readonly issue you mentioned earlier. You cannot have custom tags as attributes of other nested tags. However you can have

Re: Struts and dual forms help!

2001-12-11 Thread Brian Holzer
The mailing list archive is at http://www.mail-archive.com/ then enter struts as your search parameter. I haven't played with templates yet so I can't help with the second question. Brian [EMAIL PROTECTED] 12/11/01 08:15am I think my original questions were lost due to other asking

Re: Cannot find bean xyz in scope null

2001-11-21 Thread Brian Holzer
Hi there, Assuming that the results from your request.setAttribute() method in your action, is the ArrayList returned from your getReservationInfo () method, then you should be able to iterate without using the bean:define tag. Try this for your iterate logic:iterate name=InfoBean

RE: Options tag question

2001-11-21 Thread Brian Holzer
It looks to me like your bean:define and html:options tags are coded properly. You might want to check that your ArrayList is not empty which would probably cause the NPE. I haven't used the scope and toscope parameters yet, but the documentation says that the toscope param is used when

Re: Comparing two variables using logic:equal

2001-11-20 Thread Brian Holzer
Wouldn't you want to have your value clause look like this value=%=testVar% rather than value=%=i% [EMAIL PROTECTED] 11/19/01 06:22am I am trying to compare a bean property with a variable or another bean property using the logic:equal tag but its not working. e.g. 1 % int testVar = 2 %

RE: Struts and Silverstream

2001-10-27 Thread Brian Holzer
there. Often when I use a iterate I have to specify a lot more parameters. I will have to try it out with out them and see how it goes. Glad your up and going, let me know if you have any other problems or design questions. Jeff Krueger -Original Message- From: Brian Holzer

Re: SilverStream 3.5.2

2001-10-25 Thread Brian Holzer
You need to get into the 3.7 versions, and the more recent the better. [EMAIL PROTECTED] 10/24/01 06:08am NO -- Original Message -- From: Tim [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 24 Oct 2001 13:41:13 +0800 Hi, I'd like to inquire

Re: SilverStream 3.5.2

2001-10-25 Thread Brian Holzer
To those answering this Silverstream question: I am using 3.7.2 Has anyone else had any problems with the server creating a new session for each JSP you go to rather than maintaining one session? I am trying to save some objects in the session for use throughout my app, but a new session is

Re: Using ApplicationResources.properties for submit button

2001-10-25 Thread Brian Holzer
Try something like this strutshtml:submit property=userAction strutsbean:message key=button.delete/ /strutshtml:submit Brian [EMAIL PROTECTED] 10/24/01 09:26am How is it possible to use a String defined in ApplicationResources.properties for the value of a submit

Re: View-Document approach

2001-10-24 Thread Brian Holzer
Hi Nicolas, I think I get what you are trying to do here. How about just a link to get you there rather than a button. Here is the code from my jsp which iterates through a collection of users and sets up a link for each which goes to the same Action, but the key is passed as a request

Re: Problem with iterate tag

2001-10-23 Thread Brian Holzer
John, I am doing the same thing and this is how I am coding it. strutslogic:iterate name=UserCollection id=user tr class=body td nbsp; nbsp; nbsp; strutshtml:link href=edituser.do paramId=APP_USER_ID paramName=user paramProperty=APP_USER_ID