Taking only the first value in a list?

2003-10-03 Thread Smith, Johnathan M.
I have bean in struts that returns a list of names how can I only take the first name out of the list? Please do not transmit orders or instructions regarding a UBS account by email. The information provided in this email or any attachments is not an official transaction confirmation or account

RE: Taking only the first value in a list?

2003-10-03 Thread Smith, Johnathan M.
Does not work! -Original Message- From: Michael Ruppin [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 4:20 PM To: Struts Users Mailing List Subject: Re: Taking only the first value in a list? Try bean:write name=bean property=list[0]/ m --- Smith, Johnathan M. [EMAIL

logic:iterate within a logic:iterate?

2003-10-02 Thread Smith, Johnathan M.
In Struts 1.0.2? Can I have a logic:iterate within a logic:iterate loop?? If so can someone please send me a sample Please do not transmit orders or instructions regarding a UBS account by email. The information provided in this email or any attachments is not an official transaction

Return/Setting Forms with Arrays?

2003-09-18 Thread Smith, Johnathan M.
I am having a issues and maybe you can help me we are using struts 1.0.2 and I am building a contact system. The user can search for contacts and then I will bring back as many contacts as the search will find in a list but each contact can have 1 - X phones, pages and fax numbers so I

Return/Setting Forms with Arrays?

2003-09-18 Thread Smith, Johnathan M.
I am having a issues and maybe you can help me we are using struts 1.0.2 and I am building a contact system. The user can search for contacts and then I will bring back as many contacts as the search will find in a list but each contact can have 1 - X phones, pages and fax numbers so I

set-property in the struts-config file

2003-01-31 Thread Smith, Johnathan M.
Can someone please tell me how to use the set-property in the struts-config file? I am trying to pass a propert to one of my actions. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Pros and Cons of using Static classes with struts

2002-12-31 Thread Smith, Johnathan M.
Can someone please tell me some pros and cons of using static classes with struts -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Working with checkboxes

2002-12-03 Thread Smith, Johnathan M.
I have a page that is going to have a number(any number) of row which the client can check off rows to be updated. How do I setup my bean to handle this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Vector of fields?

2002-10-23 Thread Smith, Johnathan M.
I have a screen that the user can enter 50 products. I don't want to code product_name1, Product_price1, product_name2, Product_price2, etc in my form bean. Anyway to make struts 1.0.2 would with a vector in the form bean? or any other way to do this? -- To unsubscribe, e-mail:

Last for words with forwarding can someone please help me out here

2002-10-21 Thread Smith, Johnathan M.
I have a action that changes some values in the form bean and then forwards to a action. 1) If my first action is set to request scope and my 2nd action is also set to request scope the 2nd action does not see the form bean changes 2) If my first action is set to session scope and my 2nd action

Changing Value in Form Beans

2002-10-18 Thread Smith, Johnathan M.
How can I change the value of data in the form bean and then forward it to the next action. I know how to do the forward in my action but not how to change the value in the form bean? Johnathan Mark Smith Divisional Assistant Vice President Information Systems Division Phone: (201) 352-1387

How do I change the head and title of the page if I am using struts templates?

2002-10-18 Thread Smith, Johnathan M.
How do I change the head and title of the page if I am using struts templates? -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Need Answers on questions before going in to speed mode

2002-10-18 Thread Smith, Johnathan M.
We are about to start coding the real project now so I would like to ask some last question to know that I am going do the right road. 1) User cant go right to JSP: We are making it so the user has to go to a URI in the struts config not right to a URI is this ok 2) JSP returns always to the

RE: Downside with templates

2002-10-18 Thread Smith, Johnathan M.
consider using Tiles. I don't expect template to be removed but I also don't expect it to be enhanced when a superior templating library exists. David From: Smith, Johnathan M. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED

Pros and Cons of Hard coding a JSP page in a Struts template vs using a parameter?

2002-10-18 Thread Smith, Johnathan M.
I would like to know the pros and cons of hard coding a JSP page in a struts template. Which struts template is better on speed and memory? EXAMPLE1 % page language=java % % page import=javax.servlet.http.* % % page import=javax.servlet.jsp.* % % taglib uri=/WEB-INF/struts-template.tld

Struts Tags inside a Tag????

2002-10-18 Thread Smith, Johnathan M.
In my system we are making some custom tags but in some of the tags with have to insert struts form tags. I builded some samples but if I look at the source code from the browser the struts tags are still tags -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For

Action sending data to the form?

2002-10-18 Thread Smith, Johnathan M.
How can I send data from a action to a JSP form? -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

ApplicationResources.properties Size limit

2002-10-16 Thread Smith, Johnathan M.
Does anyone know a size limit with the ApplicationResources.properties?? We are thinking about making some properties about 1k in size and we will have a number of them? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: anyone using struts template ??

2002-10-16 Thread Smith, Johnathan M.
feature. I haven't seen too much interest in template since tiles was added to 1.1. David From: Smith, Johnathan M. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: anyone using struts template ?? Date: Wed, 16 Oct 2002 15:29:55 -0400

Downside with templates

2002-10-16 Thread Smith, Johnathan M.
I have a template like the one coded below. I would like to know the downside if any of using a parameter for the body insert jsp file? We are only coding it this way due to the project manger does not feel the need to make a template for each one so we are going to pass a parameter called body

Struts Tag to insert URI?

2002-10-14 Thread Smith, Johnathan M.
I don't want to hard code the URI into my JSP pages on where the JSP page should post back to. Does struts have a tag that I can insert into my JSP page so struts will insert the URI that was requested for this page -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

RE: Struts Tag Request

2002-10-11 Thread Smith, Johnathan M.
, Johnathan M. [mailto:[EMAIL PROTECTED]] Sent: 10 October 2002 14:02 To: '[EMAIL PROTECTED]' Subject: Struts Tag Request I don't want to hard code within my JSP file where the form actions should go back to. My JSPs always goes back to the URI that forward to them. Can someone please tell me

Struts Tag Request

2002-10-10 Thread Smith, Johnathan M.
I don't want to hard code within my JSP file where the form actions should go back to. My JSPs always goes back to the URI that forward to them. Can someone please tell me if struts has a tag that will insert the URI that called my JSP file? -- To unsubscribe, e-mail: mailto:[EMAIL

Need to make Logic Tag

2002-10-08 Thread Smith, Johnathan M.
Can someone please help me out I need. I need to make my first logic tag like the one below logic:checkuser myrole=client You are a client /logic:checkuser Any tips or samples would be great. I have to get this done fast -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Wrapping the controller?

2002-10-03 Thread Smith, Johnathan M.
From: Smith, Johnathan M. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Wrapping the controller? Date: Wed, 2 Oct 2002 14:54:25 -0400 I have to wrap the controller to add some logging code into it. Can someone please

RE: Wrapping the controller?

2002-10-03 Thread Smith, Johnathan M.
] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Wrapping the controller? Date: Thu, 3 Oct 2002 10:33:23 -0400 I overrode RequestProcessor for logging. Mark -Original Message- From: Smith, Johnathan M. [mailto:[EMAIL

Wrapping the controller?

2002-10-02 Thread Smith, Johnathan M.
I have to wrap the controller to add some logging code into it. Can someone please maybe send me a sample on how should I do it? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Access JSP in the WEB-INF

2002-09-30 Thread Smith, Johnathan M.
I was reading that I should put all my JSP inside the WEB-INF dir so clients cant access them without going to the controller. My issues is that How do I access them?? can someone please tell me how to setup my Action so I can display the JSP files?? -- To unsubscribe, e-mail:

RE: Access JSP in the WEB-INF

2002-09-30 Thread Smith, Johnathan M.
To: Struts Subject: RE: Access JSP in the WEB-INF Im in a bit of a rush right now to try and get a taxi home before the midnight charge kicks in, but Im sure there are many others out there who can give you a good example (right guys???) -Original Message- From: Smith, Johnathan M. [mailto

Access JSP in the WEB-INF - PART2

2002-09-30 Thread Smith, Johnathan M.
I moved all my JSP files under WEB-INF JSP. Now my new issue Lets take the following example. I need my user to enter vendor information and then cofirm it, then save it. Below is how my struts-config.xml file is setup action path=/PaymentVendor_AddVendor

Need Help Fast

2002-09-26 Thread Smith, Johnathan M.
This is not really a struts question but I am using struts a maybe someone can help. I system has allot of state dropdown's so I I made a tag for the programmers to insert into the JSP pages. The Tag builds a ArrayList with the states in it and then saves the states as a attribute in the

RE: Need Help Fast

2002-09-26 Thread Smith, Johnathan M.
() method somewhere. T: Ville Peurala -Original Message- From: Smith, Johnathan M. [mailto:[EMAIL PROTECTED]] Sent: 26. syyskuuta 2002 15:13 To: 'Struts Users Mailing List' Subject: Need Help Fast This is not really a struts question but I am using struts a maybe someone can help. I system

Roles??

2002-09-17 Thread Smith, Johnathan M.
I am going to be using Struts 1.0.2 How do you setup roles? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Roles without LDAP

2002-09-17 Thread Smith, Johnathan M.
Anyway to use Roles without LDAP?? Can I just save some object in the session?? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Struts in the real world

2002-09-11 Thread Smith, Johnathan M.
My firm is thinking about using struts for a banking system I would like to know if anyone has a system in struts with over 100,000 hits a day and also with more then 100 users at a time? I would also like to know if anyone has it running in WAS4 on SUN -- To unsubscribe, e-mail:

Select Options

2002-09-09 Thread Smith, Johnathan M.
I am trying to find out how to make a select (dropdown list) selected a option at the time of the page is loaded. Sample 1) I selected a option from my dropdown box and and click submit button 2) The FormAction find that I did not entered all the requested text boxs and it redisplays the page

RE: Select Options

2002-09-09 Thread Smith, Johnathan M.
Can you please help me some more with details -Original Message- From: Carl Bacher [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 12:59 PM To: Struts Users Mailing List Subject: Re: Select Options html:select property=name_of_property_in_form_bean Smith, Johnathan M

Building confirm screens in Struts

2002-09-09 Thread Smith, Johnathan M.
I have a question on how to build a confirm screen in struts. In the past I had my user enter data in one screen into text fields on a form. Once the user clicks submit I would use hiddle fields on the next screen to save the values and I would also display the values on the screen to?? I see

Actions and Parameters

2002-09-06 Thread Smith, Johnathan M.
Please keep in mind that I am new to struts and I have a project that I have to get done and a fast rate. I would like to know where should I setup a parameter/string that I need to use in every action. In my old MVC world I would make a initparameter on my control (servlet) and the control

InitParameter and Actions

2002-09-06 Thread Smith, Johnathan M.
In the pass I setup InitParameter's in my web.xml file for my control (servlet) and the control pass the string on to each model. How can I do the same thing in Struts. I need to pass a string like a database name to every action object. I would like it in a files so if I go from dev to QA to

Struts Debug Level

2002-09-06 Thread Smith, Johnathan M.
Where can I find a list of all the debug levels in struts? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Question about Action Forms and input para

2002-09-06 Thread Smith, Johnathan M.
1) Look at the code snap from struts-config.xml below, what is the input use for? actionpath=/page2 type=john.sample.Page2FormAction scope=request name=logonForm input=/page2.jsp forward name=next path=/page1.jsp/ /action 2) I have a

ActionForms

2002-09-05 Thread Smith, Johnathan M.
How can I make Struts automatically created a ActionForm -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

FormAction Code??

2002-09-05 Thread Smith, Johnathan M.
I am new to Struts and I am having a hard time. I setup break points to watch my code. WASD stops at the ActionForward and then if I try to step into the code it jumps to the findForward. Why is the code that checkk my username not getting called? public final class Page1FormAction extends