Re: struggling with indexed/repeating input fields

2002-11-19 Thread Leonardo Maciel
Kevin, I finally got logic:iterate ... html:text ... indexed=true/ ... /logic:iterate to work. The sample code came from http://www.mail-archive.com/struts-user@jakarta.apache.org/msg12084.html Thank you Dave. I built Dave's code on top of struts-example. All necessary code is attached. On the

Re: struggling with indexed/repeating input fields

2002-11-19 Thread Leonardo Maciel
/ /action === Try it out. Cheers, Leo From: Leonardo Maciel [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: struggling with indexed/repeating input fields Date: Tue, 19 Nov 2002 15:33:04 + Kevin, I

RE: Re: struggling with indexed/repeating input fields

2002-11-19 Thread Leonardo Maciel
=== Try it out. Cheers, Leo From: Leonardo Maciel [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: struggling with indexed/repeating input fields Date: Tue, 19 Nov 2002 15:33:04 + Kevin, I finally got

RE: iterate tag - can you set an increment?

2002-11-19 Thread Leonardo Maciel
%=idx.toString()% or %=idx.intValue()% From: Karr, David [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: iterate tag - can you set an increment? Date: Tue, 19 Nov 2002 09:34:17 -0800 Certainly. It's

RE: iterate tag - can you set an increment?

2002-11-19 Thread Leonardo Maciel
Yes I do it to set the row bgcolor. logic:iterate id=result indexId=inx name=test.SEARCH_RESULT type=test.SearchResult % if ( inx.intValue() % 2 == 0 ) { % tr % } else { % tr bgcolor=#cc % } % From: Andy Kriger [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED]

RE: Re: struggling with indexed/repeating input fields

2002-11-19 Thread Leonardo Maciel
the the internal array list representation upon request. This approach eliminated the IndexOutOfBoundsError on submit of our form. -Original Message- From: Leonardo Maciel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 12:18 PM To: [EMAIL PROTECTED] Subject: RE: Re: struggling

preselect radio button

2002-11-19 Thread Leonardo Maciel
Sorry bother with basic stuff, but does preselect value works on radio button? -- I have the JSP code: TRTD bean:write name=SurveyDetailForm property=bFlag / html:radio property=bFlag value=YesYes/html:radio html:radio property=bFlag value=NoNo/html:radio /TD/TR -- That produces: Yes O

Re: preselect radio button

2002-11-19 Thread Leonardo Maciel
associated with the form tag. Name: The attribute name of the bean whose properties are consulted when rendering the current value of this input field. If not specified, the bean associated with the form tag we are nested within is utilized. Thank you Leo From: Leonardo Maciel [EMAIL PROTECTED

Re: Example of indexed properties and DynaBean?

2002-11-18 Thread Leonardo Maciel
of indexed form elements. Btw, does your exception gets thrown when you submit your form data or when you display the form the first time? Regards Christoph Leonardo Maciel schrieb: You are not alone :( I also have tried several combinations same BeanUtils exceptions. My environment is jakarta

Re: Example of indexed properties and DynaBean?

2002-11-17 Thread Leonardo Maciel
You are not alone :( I also have tried several combinations same BeanUtils exceptions. My environment is jakarta-struts-1.1-b2 on Apache Tomcat/4.1.12 JSDK=1.4.1_01-b01 I also tried with JSDK1.3.1-06 where I got the exception: java.lang.reflect.InvocationTargetException:

Re: How can I access the form bean object from JSP?

2002-11-16 Thread Leonardo Maciel
bean:define id=pickAName name=theForm property=beanInForm type=type.of.the.bean / %=pickAName.getMethod()% From: Zsolt Koppany [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: How can I access the form bean object from JSP? Date: Sat,

logic:iterate......html:text... indexed=true/.../logic:iterate

2002-11-16 Thread Leonardo Maciel
Quick question: logic:iterate... html:text... indexed=true/ /logic:iterate Is this feature on jakarta-struts-1.1-b2 or I need to recompile struts as suggested by Dave on article http://husted.com/struts/resources/indexed-tags.htm Thank you, Leo

RE: IndexOutOfBounds error, Struts 1.1b2, J2SDK 1.4.1

2002-11-16 Thread Leonardo Maciel
Good Saturday! I believe I am getting the same bug. I am getting: Caused by: java.lang.IndexOutOfBoundsException: Index: 2, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:508) at java.util.ArrayList.get(ArrayList.java:320) at test.IndexedForm.getParameter(IndexedForm.java:28) ...

RE: [OT]Need magic incantation [Friday alert!]

2002-11-15 Thread Leonardo Maciel
If you don't have a car, no problem, walkToYourCar throws CarException() So your Friday would be like this: === try{ walkToYourCar(); } catch(CarException e) { getToNearestPub(); // don't mater how } === Just a suggestion, I haven't try. Let me know if it works ;) Leo From: Drew

html:text indexed=true inside logic:iterate help!

2002-11-12 Thread Leonardo Maciel
Hi all, I search the list and found some good samples, but I'm still unable to execute the following code. The newEntryContinue.do action shows the correct name and description values with the bean:write and the text boxes When I submit I get: javax.servlet.ServletException: BeanUtils.populate

RE: Need Urgent help

2002-06-13 Thread Leonardo Maciel
logic:present name=beaninstance property=method logic:equal name=beaninstance property=method value=A DO SOME. /logic:equal /logic:present -Original Message- From: Yaman Kumar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 10:40 AM To: Struts Users

RE: ActionForm question

2002-06-13 Thread Leonardo Maciel
Isn't it the input attribute of the action tag in the struts-config.xml file? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 4:40 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: ActionForm question I am looking into the

RE: Javascript and Struts

2002-06-13 Thread Leonardo Maciel
a href=javascript:openWindow('reportDelivery', '/budsDev/jsp/reportDeliveryQP.jsp',1,350,300) or if you want open the page with reportNav action (that's what I use): a href=javascript:openWindow('reportDelivery','fullPath/reportNav.do?action=Load',1,350,300) or, not sure if they work, if

RE: max length on html:textarea

2002-06-10 Thread Leonardo Maciel
not on Struts 1.0.2 :( -Original Message- From: Tim Sawyer [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 8:24 AM To: [EMAIL PROTECTED] Cc: Tim Sawyer Subject: max length on html:textarea Can I set a maximum length of text in an html:textarea ? Tim. -- To unsubscribe,

RE: max length on html:textarea

2002-06-10 Thread Leonardo Maciel
not on Struts 1.0.2 :( -Original Message- From: Tim Sawyer [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 8:24 AM To: [EMAIL PROTECTED] Cc: Tim Sawyer Subject: max length on html:textarea Can I set a maximum length of text in an html:textarea ? Tim. -- To unsubscribe,

RE: mapping

2002-06-06 Thread Leonardo Maciel
request.getHeader(referer);returns the URL of the caller page. or you can set different property names previous and summary on your html:submit button -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 1:54 PM To: 'Struts Users

RE: Multiple search on single page - approach

2002-06-05 Thread Leonardo Maciel
paging. http://jsptags.com/tags/navigation/pager/ -Original Message- From: stsrut strut [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 4:58 PM To: Struts Users Mailing List Subject: Multiple search on single page - approach Hello All, I have single page ( JSP) which has

RE: Button pressed

2002-06-03 Thread Leonardo Maciel
set the property on JSP file: html:submit property=edit value=Edit/ on action class: if (request.getParameter(edit) != null ) { // means edit was pressed } -Original Message- From: Carlos Fernandez [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 2:27 PM To: Struts

RE: Help needed.........Need to Pass values from the popup to the ac tion handler

2002-05-23 Thread Leonardo Maciel
write a JavaScript function on your parent window !-- function fromPopup(par1, par2, ...) { document.forms[0].field1.value = par1; document.forms[0].field2.value = par2; ... } -- from the popup, when exiting, call the parent window

RE: how do i pass multiple parameters

2002-05-20 Thread Leonardo Maciel
whenever I want to pass multiple parameters I use anchor a href='index.do?value=bean:write name=bean property=p/value1=bean:write name=bean property=p1/value2=bean:write name=bean property=p2/' bean:write name=bean property=label/ /a -Original Message- From: siraj

RE: Calendar in XML/java script

2002-05-20 Thread Leonardo Maciel
http://www.mattkruse.com/javascript/calendarpopup/documentation.html -Original Message- From: Uma Munugala [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 1:20 PM To: '[EMAIL PROTECTED]' Subject: Calendar in XML/java script Hi All I want a help. Iam using Apache, tomcat

RE: stuts-config.xml file

2002-05-20 Thread Leonardo Maciel
The javadocs has a brief explanation of the properties defined on struts-config.xml See Class ActionMapping at: http://jakarta.apache.org/struts/doc-1.0.2/api/index.html For me, the only not too intuitive tag is name. But since it is a reference to the form name declared on the form-bean

RE: stuts-config.xml file

2002-05-20 Thread Leonardo Maciel
be - right ? ;) Muki -Original Message- From: Leonardo Maciel [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 2:33 PM To: Struts Users Mailing List Subject: RE: stuts-config.xml file The javadocs has a brief explanation of the properties defined on struts-config.xml

RE: logic:match question

2002-05-15 Thread Leonardo Maciel
In some programming languages '0' is a character while 0 is a string. try to use 0 instead. -Original Message- From: Graham Lounder [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 9:02 AM To: [EMAIL PROTECTED] Subject: logic:match question Hello all, I'm not sure what is

RE: class cast exception

2002-05-15 Thread Leonardo Maciel
Is MyActionForm the name (form-bean) for the action on struts-config.xml file ? form-bean name=MyActionFormBean type=path.to.MyActionForm/ action ... name = MyActionFormBean -Original Message- From: Thorsten Maus [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 9:10

RE: Applying struts submit and reset button tags functionality to images

2002-05-15 Thread Leonardo Maciel
use html:img tag -Original Message- From: Yaman Kumar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 9:26 AM To: Struts Users Mailing List Subject: Applying struts submit and reset button tags functionality to images Hi, Can any one help in applying struts submit /reset buttons

RE: Applying struts submit and reset button tags functionality to images

2002-05-15 Thread Leonardo Maciel
List Subject: RE: Applying struts submit and reset button tags functionality to images I think the html:image tag renders as input type=image .../ which is what you need. At least that is what I'm using in Struts 1.0. robert -Original Message- From: Leonardo Maciel [mailto:[EMAIL

Auto-resending the information on refreshing

2002-05-10 Thread Leonardo Maciel
I want to refresh the opener window. I don't know the opener window URL, I use: window.opener.history.go(0) Is there a way to auto-resending the info and NOT to show the warning message? The page cannot be refreshed without resending the information. click retry to send the information again,

RE: Auto-resending the information on refreshing

2002-05-10 Thread Leonardo Maciel
Message- From: Leonardo Maciel [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 5:34 PM To: 'Struts Users Mailing List' Subject: Auto-resending the information on refreshing I want to refresh the opener window. I don't know the opener window URL, I use: window.opener.history.go(0

RE: Comparing Null using Logic:Equal

2002-05-09 Thread Leonardo Maciel
logic:notPresent ... /logic:notPresent if not Present it is null -Original Message- From: Mannem, Taati [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 1:25 PM To: Struts Users Mailing List Subject: Comparing Null using Logic:Equal Guys, Thanks for the help on

RE: Comparing Null using Logic:Equal

2002-05-09 Thread Leonardo Maciel
so use both logic:present ... display column /logic:present logic:notPresent ... display some other data /logic:notPresent hope I am clear!! -Original Message- From: Mannem, Taati [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 1:37 PM To: Struts Users Mailing List

RE: Comparing Null using Logic:Equal

2002-05-09 Thread Leonardo Maciel
=subscription property=type filter=true/ /td ... ... ... .. logic:present but the result is I wont do whatever Taati wants!;) It is just the same.. May I know where I am goofing up! Regards, Taati -Original Message- From: Leonardo Maciel [SMTP:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 1

RE: Comparing Null using Logic:Equal

2002-05-09 Thread Leonardo Maciel
: Leonardo Maciel [SMTP:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 1:38 PM To: 'Struts Users Mailing List' Subject: RE: Comparing Null using Logic:Equal so use both logic:present ... display column /logic:present logic:notPresent ... display some other data

RE: calling an action as a forwards

2002-05-07 Thread Leonardo Maciel
sure forward name=nextAction path=/path/nextPage.do -Original Message- From: Emerson Cargnin - MSA [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 7:58 PM To: Struts Users Mailing List Subject: calling an action as a forwards Have someone used an action calling other other

RE: Re:html input elements don't work

2002-05-06 Thread Leonardo Maciel
are you including all struts taglib in your JSP page? i.e. % taglib uri=/WEB-INF/struts-html.tld prefix=html % -Original Message- From: siraj [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 04, 2000 12:32 AM To: Struts Users Mailing List Subject: Re: Re:html input elements don't work

RE: Embed bean:write inside html:link?

2002-05-03 Thread Leonardo Maciel
for one single parameter use html:link page=/process.do paramId=foo paramName=foobean:write name=foo//html:link -Original Message- From: Shane Bouslough [mailto:[EMAIL PROTECTED]] Sent: Friday, May 03, 2002 4:15 PM To: [EMAIL PROTECTED] Subject: Embed bean:write inside html:link? Hi

RE: html:select help!

2002-05-01 Thread Leonardo Maciel
For your number 2. Inside the iterator you can have something like this html:select property=result logic:iterate id=cType name=cList logic:equal name=cType value=USA option selected style=background-color:#FFAA00; font-style:italic; color:blue value=bean:write name=cType/

RE: html:select help!

2002-05-01 Thread Leonardo Maciel
: html:select help! Does this actually work (at least in IE)? -Original Message- From: Leonardo Maciel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 11:58 AM For your number 2. Inside the iterator you can have something like this html:select property=result logic:iterate

what question?

2002-05-01 Thread Leonardo Maciel
Where is the question? To cool you guys, Baskin-Robbins is holding their annual Free Scoop Night from 6 p.m. to 10 p.m. TODAY, May 1, 2002. 8*) -Original Message- From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 2:36 PM To: Struts Users

RE: html:options

2002-05-01 Thread Leonardo Maciel
insert line html:option value /html:option like this: html:select property=stateCode html:option value /html:option html:options collection=states_codes property=name labelProperty=value/ /html:select Actually html:option value / should do -Original Message- From:

RE: Help this newbie......

2002-04-30 Thread Leonardo Maciel
Have you look at the file struts-config.xml? The link is defined there Thx Leo -Original Message- From: Ketan Malekar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 9:21 AM To: [EMAIL PROTECTED] Subject: Help this newbie.. hi All, I want to use struts framework in my

RE: Storing date time stamp within html form

2002-04-30 Thread Leonardo Maciel
I use two variables on the form with respective get/set methods, Timestamp timestampDate; String stringDate; The user enter the date on the String field. On validate() method on the form I convert from String to Timestamp. If there is an exception the user gets invalid date format message,

RE: Need Help: Please do help me

2002-04-30 Thread Leonardo Maciel
We use option 1. Our UserAction extends Action and checks for session value user_id. If a particular action needs to verify if the user had logged in (meaning the login action had setup user_id), that action should extend UserAction. I don't see redundancy of code here, do you? Leo

RE: Pagination

2002-04-30 Thread Leonardo Maciel
or from Jakarta http://jakarta.apache.org/taglibs/doc/page-doc/intro.html -Original Message- From: Mark Nichols [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 12:23 PM To: [EMAIL PROTECTED] Subject: Re: Pagination This is a little different than you describe but it may

RE: Getting index inside iterate / pager tag

2002-04-29 Thread Leonardo Maciel
have you try ti use indexId? logic:iterate id=results name=nameSearchResults scope=session indexId=inx type=dhs.vcm.vis.form.NameSearchResultsForm indexId = The name of a page scope JSP bean that will contain the current index of the collection on each iteration. I don't have a sample code,

RE: Getting index inside iterate / pager tag

2002-04-29 Thread Leonardo Maciel
Since indexId defines the name on the JSP bean you can use it as any other bean. !-- defining it -- logic:iterate id=results name=nameSearchResults scope=session indexId=inx type=dhs.vcm.vis.form.NameSearchResultsForm !-- write index number -- bean:write name=inx/ !-- use it on html:link - NOT

RE: Popup Windows

2002-04-29 Thread Leonardo Maciel
what I have done is forwarding to a jsp page that opens a new window and self-close. It uses javaScript though. //struts-config.xml !-- Process a user logon -- action path=/logon_client

RE: logic equals problem

2002-04-26 Thread Leonardo Maciel
also /logic:notEqual/ shouldn't it be /logic:notEqual -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 10:38 AM To: Struts Users Mailing List Subject: RE: logic equals problem This may be a stupid question, but

RE: some help ...

2002-04-26 Thread Leonardo Maciel
Great! Welcome to the list. Don't be scare. Today's Friday. BEER'S day. Let's have some. I am sure Mark agrees with that. Anyway don't forget to browse The Jakarta http://jakarta.apache.org/struts/index.html I particular like the Javadocs

RE: NEWBIE HELP

2002-04-24 Thread Leonardo Maciel
That is TV generation. They don't like to read it they want to see it. There is nothing to do with where you from. RTFM please! -Original Message- From: Barry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 11:02 AM To: Struts Users Mailing List Subject: Re: NEWBIE HELP

RE: No WRAP attribute in html:textarea?

2002-04-24 Thread Leonardo Maciel
If you want just one line use html:text instead. It won't wrap. I don't see a wrap attribute for textarea on Struts 1.0 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 1:30 PM To: [EMAIL PROTECTED] Subject: No WRAP attribute in

RE: Inside WEB-INF or ourside WEB-INF? Struts security.

2002-04-19 Thread Leonardo Maciel
Maybe because they are just samples. -Original Message- From: Micael Padraig Og mac Grene [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 6:21 PM To: [EMAIL PROTECTED] Subject: Inside WEB-INF or ourside WEB-INF? Struts security. Most sample apps have the jsp pages and images

RE: Passing parameters

2002-04-19 Thread Leonardo Maciel
use a flag variable in the form -Original Message- From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 10:09 AM To: Struts Group (E-mail) Subject: Passing parameters Hi, I am going to a jsp(A) from two different jsps(B,C). Now, when I click 'save' on A I want

RE: Action without a form.

2002-04-15 Thread Leonardo Maciel
I don't use form here. action path=/jobopp/sortOpportunity type=SortJobOppAction scope=request forward name=success path=/jobopp/listSetup.do / /action -Original Message- From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 3:09 PM To: [EMAIL

RE: Action without a form.

2002-04-15 Thread Leonardo Maciel
-Original Message- From: Leonardo Maciel [mailto:[EMAIL PROTECTED]] I don't use form here. action path=/jobopp/sortOpportunity type=SortJobOppAction scope=request forward name=success path=/jobopp/listSetup.do / /action -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

RE: How to avoid having to use these scriplets in struts1.0.2?

2002-04-11 Thread Leonardo Maciel
Try logic:present logic:present name=payrollChangeForm property=voluntaryReason/ TRTDVoluntary Reason:/TDTDbean:write name=payrollChangeForm property=voluntaryReason//TD/TR /logic:present -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11,

RE: validation=true

2002-04-05 Thread Leonardo Maciel
With validate=true the controler validates the form (calls form.validate) before instanciate the action. The value is speed. Make sure to set input on action input - Context-relative path of the input form to which control should be returned if a validation error is encountered -Original

RE: I'm stuck on the html:submit

2002-04-03 Thread Leonardo Maciel
This is how I would do: html:form action=/whatever.do table ... tr td ID=smallhtml:submit property=add value=Add /td td ID=smallhtml:submit property=update value=Update /td td ID=smallhtml:submit onclick=return confirm('Confirm Delete?'); property=delete

RE: html:link to Action

2002-04-02 Thread Leonardo Maciel
you forgot the .do html:link page=/myAction.do -Original Message- From: Johannes Wolfgang Woger [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 12:43 PM To: [EMAIL PROTECTED] Subject: html:link to Action Hi, How can i bind a html:link to an Action derived class ? html:link

RE: sorting in logic:iterate

2002-04-02 Thread Leonardo Maciel
As far as I know you have to sort the arraylist on the action class before forward to JSP page. logic:iterate is the View. You have to sort on the Model. -Original Message- From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 3:42 PM To: Struts Group (E-mail)

RE: javax.servlet.jsp.JspException: No getter method for property action of bean org .apache.struts.taglib.html.BEAN

2002-03-29 Thread Leonardo Maciel
Your html:form is trying to use a field action that is not part of your form declared on struts-config.xml. -Original Message- From: Murali SN Rao [mailto:[EMAIL PROTECTED]] Sent: Friday, March 29, 2002 8:41 AM To: [EMAIL PROTECTED] Subject: javax.servlet.jsp.JspException: No getter

RE: struts-config.xml Explanation Needed - Ryan Norman

2002-03-29 Thread Leonardo Maciel
is equal to path in action + .do have fun, Leonardo Maciel -Original Message- From: Ryan Norman [mailto:[EMAIL PROTECTED]] Sent: Friday, March 29, 2002 12:40 PM To: Struts User Mailing List Subject: struts-config.xml Explanation Needed - Ryan Norman Hi, I am Ryan Norman. I started

RE: error

2002-03-29 Thread Leonardo Maciel
I thought that by going through the login.jsp (which invokes my actionservlet) Do you mean going through the login.do ? -Original Message- From: Jose Casas [mailto:[EMAIL PROTECTED]] Sent: Friday, March 29, 2002 3:40 PM To: 'Struts Users Mailing List' Subject: error Hello, It's

RE: error

2002-03-29 Thread Leonardo Maciel
Jose, What we are trying to say is, in order to be able to see struts bean on your jsp page you need to make the request through Struts. you should call .do on your browser - http://localhost:8080/login.do The controler (actionservlet) will look into your struts-config and get the action

RE: [Q] Using html:image tag for submit button

2002-03-29 Thread Leonardo Maciel
it works fine for me ... html:form action=/pub_logon ... html:image property=camp src=/images/butn_go_white_bg.gif alt=campaign / ... -Original Message- From: Park, Dongwon [mailto:[EMAIL PROTECTED]] Sent: Friday, March 29, 2002 5:06 PM To: Struts Users Mailing List Subject: [Q] Using

RE: How to use one image as submit button?

2002-03-26 Thread Leonardo Maciel
html:img page="/image/ok.gif" name="save" / -Original Message- From: Laker,Nan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 6:44 AM To: Struts Users Mailing List Subject: How to use one image as submit button? Hi all, i want to use one image as submit button. in jsp

RE: What the best approach to access RDB within struts (no EJB) ?

2002-03-25 Thread Leonardo Maciel
DAO = Data Access Object http://java.sun.com/blueprints/patterns/j2ee_patterns/data_access_object/ Leo -Original Message- From: Dan Cancro [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 5:26 PM To: 'Struts Users Mailing List' Subject: RE: What the best approach to access RDB

RE: Problem using button instead of submit

2002-03-20 Thread Leonardo Maciel
Kelly, The difference between html:submit and input is: Struts html:submit automatically populates the form for you while input you have to explicitly populate it Your JavaScript must be something like this: function exeBtnSai(form) { form.action=beans.TstJspCtaAction.do; for (var