RE: Setting Values To the html:txt tag

2001-12-26 Thread Strichartz, Beth
If you have a form bean with an attribute for CompanyName, with get and set methods, than it should default if it is set prior -Original Message- From: Sudhir S. Shetty [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 26, 2001 12:43 AM To: Struts Users Mailing List Subject: Setting

New User Question..How to refer to my formbean in a sciplet

2001-12-19 Thread Strichartz, Beth
Hello, IN my jsp; I want to set a variable in my form bean (which is in scope)that requires an argument Can I %MyFormbean.setBank(code) % I get the error: Non Static method cannot be referenced from a static context How can I refer to my Form??? This message contains information which may

Help with bean:write\bean:define whn property requires an argument

2001-12-18 Thread Strichartz, Beth
Hi, I need to call a method in my Formbean that returns an object but, requires a string as an argument For example: bean:define id=bankCode name=customerResults property=bankID/ bean:write name=customerResults property=banks(bankCode) filter=true/ How can I pass arguments ??

RE: Help with bean:write\bean:define whn property requires an argumen t

2001-12-18 Thread Strichartz, Beth
Please...seriously need some help with this. -Original Message- From: Strichartz, Beth [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 3:41 PM To: [EMAIL PROTECTED] Subject: Help with bean:write\bean:define whn property requires an argumen t Hi, I need to call a method

RE: strut help

2001-12-08 Thread Strichartz, Beth
what is the return false about? try removing that a href= onClick=send('logon.do'); return false img scr=image.gif/a -Original Message- From: Kiet Nguyen [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 08, 2001 2:42 PM To: '[EMAIL PROTECTED]'; Struts-User (E-mail) Subject: strut help

Please Help with Iterate and Lookup bean value problem

2001-12-07 Thread Strichartz, Beth
Hi, I am iterating over a results set and instead of doing a bean:write... / I need to convert the property to something more meaningful. I added a method in my FormBean that will convert the value for me. But, I do not know how to properly call it. I have logic:iterate id=customerResults

Gobal Forward Confusion..

2001-12-06 Thread Strichartz, Beth
I am confused. If anyone can clear this up for me, I would appreciate it. I have a global forward to an action that will load my form before displaying the jps. If I put the following in another jsp: html:form action=/customerMaintenance/search or in the url type:

Problem with Index

2001-12-04 Thread Strichartz, Beth
In an iterate, if I do this logic:iterate id=addressResults name=customerResults property=addresses indexId=Index %=Index% the index prints out to the screen for me. But, how do I do this?? logic:iterate id=addressResults name=customerResults property=addresses indexId=Index

RE: Problem with Index

2001-12-04 Thread Strichartz, Beth
indexId=Index logic:greaterThan name=Index value=0 br /logic:greaterThan /logic:iterate HTH Andrej -Original Message- From: Strichartz, Beth [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 11:56 AM To: 'Struts Users Mailing List' Subject: Problem with Index

Help with Html errors not showing errors

2001-12-04 Thread Strichartz, Beth
1. I have the web.xml with the ApplicationResources in it. 2. I have the tag struts-html at the top of my jsp page. 3. I am saving errors in the action and forwarding to input.. in Action I have: errors.add(ActionErrors.GLOBAL_ERROR,

RE: Help with Html errors not showing errors

2001-12-04 Thread Strichartz, Beth
I am getting desperate on what to do with the issue below. Does anyone have any suggestions on what to try next.. -Original Message- From: Strichartz, Beth [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 1:32 PM To: 'Struts Users Mailing List' Subject: Help with Html errors

RE: Help with Html errors not showing errors

2001-12-04 Thread Strichartz, Beth
with error.detail but your messages file has errors.detail? Jeff -Original Message- From: Strichartz, Beth [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 2:11 PM To: Struts Users Mailing List Subject: RE: Help with Html errors not showing errors I am getting desperate on what

Test application.resources file

2001-12-04 Thread Strichartz, Beth
Hi, Can anyone tell me how to test that I am actually reading\loading the application.resources file. or How to test is action errors exist in my form (or action) after I save them. Beth. This message contains information which may be confidential and privileged. Unless you are the addressee

Logic Tag question

2001-11-30 Thread Strichartz, Beth
Hi, Any ideas on what tag, or how to compare to attributes from my form bean? Typically I would do logic:greaterThan property=number value=7 A little lower... /logic:greaterThan But, I need to see to compare two properties. Thanks, Beth. This message contains information

RE: indexed checkboxes

2001-11-01 Thread Strichartz, Beth
Why do you need the index for checkbox?? if it is to create a dynamic checkbox in an iterate, use multibox... -Original Message- From: Curt Peterson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 3:25 AM To: [EMAIL PROTECTED] Subject: indexed checkboxes Somewhere in the

Help with message creating

2001-10-25 Thread Strichartz, Beth
I want to do this: logic:messagesPresent property=name font color=redbean:message key=errors.header//font ul html:messages id=message property=name libean:write name=message//li /html:messages /ul /logic:messagesPresent But, how do I add a message when I am

adding /viewing messages like errors

2001-10-24 Thread Strichartz, Beth
I thought I read somewhere that I can add to the message bean and then in a jsp see if this message bean exists and output it kind of like errors??? errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(error.database.missing)); Can anyone point me in the right

Messages like Errors...

2001-10-24 Thread Strichartz, Beth
I thought I read somewhere that I can add to the message bean and then in a jsp see if this message bean exists and output it kind of like errors??? errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(error.database.missing)); Can anyone point me in the right

RE: Getting the value of object in the iterate....

2001-10-23 Thread Strichartz, Beth
I have the same question... Does anyone out there know??? -Original Message-From: michael duggan [mailto:[EMAIL PROTECTED]]Sent: Monday, October 22, 2001 9:19 PMTo: [EMAIL PROTECTED]Subject: Getting the value of onject in the iterate If I am iterating over a

RE: Getting the value of object in the iterate....

2001-10-23 Thread Strichartz, Beth
//td bean:define id=Patients name=Patients type=com.domain.Patients/ %= Patients.getAccount().getSsn()% /logic:iterate -Original Message- From: Strichartz, Beth [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 9:21 AM To: [EMAIL PROTECTED] Subject: RE

RE: Getting the value of object in the iterate....

2001-10-23 Thread Strichartz, Beth
How about input type=submit name=buttonSelected value=Get onclick=return doSubmit('bean:write ... /'); / instead. Or, you might have to expose the bean as a scripting variable before using it in a scriptlet. Strichartz, Beth wrote: Thanks! I got that working.. Now I am having

RE: Getting the value of object in the iterate....

2001-10-23 Thread Strichartz, Beth
Thanks Ted!! :) -Original Message- From: Strichartz, Beth [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 11:17 AM To: [EMAIL PROTECTED] Subject: RE: Getting the value of object in the iterate Ted, Is that an html:input or straight html input. I ask because the end tag

RE: How To: Radio Buttons and Regular buttons

2001-10-22 Thread Strichartz, Beth
Hi all, I have a similar questions. In my iterate I have a regular Button and I need to know which one was clicked. Therefore, I have to have a dynamic value generated in the iterate. I have tried defaulting the value to be part of the bean that I am iterating over , but this has not worked

RE: How To: Radio Buttons and Regular buttons

2001-10-22 Thread Strichartz, Beth
property will work if you use the nightly build. The name of the submit button will be suffixed with [x] where x is the interation index. You can then check that in your action. Cheers, Dave Strichartz, Beth [EMAIL PROTECTED] on 10/22/2001 05:10:45 PM Please respond to [EMAIL PROTECTED

RE: New professional STRUTS website

2001-10-01 Thread Strichartz, Beth
Love the site! -Original Message- From: Frederick N. Brier [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 30, 2001 11:36 AM To: [EMAIL PROTECTED] Subject: Re: New professional STRUTS website Beautiful site! I haven't been through it all yet, but a very impressive web application.

Help with Struts and EJBS..

2001-09-24 Thread Strichartz, Beth
Hi, I need some serious help. I am a novice Java and Struts developer. I am trying to develope a prototype that will work with backend EJBS.. I have an CustomerSearchForm, Form bean and action bean my Action class is below. Questions? 1) Is this the appropriate way to call EJBS (in an action

RE: Help with Struts and EJBS..

2001-09-24 Thread Strichartz, Beth
. Look at previous posts on how to properly implement. 2) Your form should have get and set methods? 3) Collection 4) None that I am aware of. -Original Message- From: Strichartz, Beth [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 1:09 PM To: [EMAIL PROTECTED] Subject: Help