nested:checkbox fail to set the property to false

2003-03-07 Thread Joao Araujo
Hi, I am using nested:checkbox for a boolean property. Unfortunately, struts is not setting the property of the formbean to false when I unchecked it on the screen. On the other hand when I check the box , struts set the property correctly. Any clue?

PropertyUtils.copyProperties and DynaActionForm concepts

2003-03-07 Thread Joao Araujo
Hi, Nowadays I use PropertyUtils.copyProperties to make the copy of property from the form to the database Bean easier. But, I realized that I cant use it the same way with DynaActionForm. What have you guys been using in this situation. Ex. of using propertyUtils.

Database datasource runtime configuration

2003-03-07 Thread Joao Araujo
Hi, I am using the configuration of the datasource/database inside the struts-config.xml file. That 's been giving me some backwards. For example I wish to change the hostname after installing the whole software. I, then, need to open the file and change the configuration for this. I

Sample multipage form

2002-12-18 Thread Joao Araujo
Hi all, Where can I get a sample of multipage form.? Thanks in advance Joao, -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Bean:message question

2002-12-18 Thread Joao Araujo
Hi, Is there a way to pass a bean:message key=... as an argument to another bean message? something like bean:message key=xx arg0=bean:message key='xxx' / / Obvious the above does not work. But I wish something like this. Joao, -- To unsubscribe, e-mail: mailto:[EMAIL

html:errors location

2002-12-13 Thread Joao Araujo
Hi, According to the TIP Don't settle for html:error/ at http://husted.com/struts/tips/index.html, from Ted Husted I can add an error by the side of the property that caused it. something like this: To specify that this message is for the username

html:errors location

2002-12-13 Thread Joao Araujo
Hi, According to the TIP Don't settle for html:error/ at http://husted.com/struts/tips/index.html, from Ted Husted I can add an error by the side of the property that caused it. something like this: To specify that this message is for the username property, we would code this

RE: html:errors location

2002-12-13 Thread Joao Araujo
thank you guys. Joao, Joao, Did you do this? PUsername: html:text property=username/html:errors property=username//P PPassword: html:password property=password/html:errors property=password//P Regards, Richard -Original Message- From: Joao Araujo [SMTP:[EMAIL

Tile attribute has no value question

2002-12-11 Thread Joao Araujo
Hi, I have the following definition on my tile-defs.xml file: tiles-definitions definition name=mainLayout page=/pages/layouts/basicLayout.jsp put name=header value=/pages/header.jsp / put name=menu value=/pages/mainMenu.jsp / put name=body

Re: JSTL x STRUTS bean display

2002-12-10 Thread Joao Araujo
I have a arraylist containing a collection of beans, something like : List list = new ArrayList (); list.add(bean1_1); list.add(bean1_2); request.setAttribute (BEAN1_LIST, list); c:forEach var=item items=${requestScope.BEAN1_LIST} c:out value=${item.Field1}/ c:out

RE: JSTL x STRUTS bean display

2002-12-10 Thread Joao Araujo
should use a lower-case f to reference the properties. Thank you. Working. Quoting Frank Renaers [EMAIL PROTECTED]: c:forEach var=item items=${BEAN1_LIST} c:out value=${item.Field1}/ c:out value=${item.Field2}/ /c:forEach -Original Message- From: Joao Araujo [mailto

JSTL x STRUTS bean display

2002-12-09 Thread Joao Araujo
I have a arraylist containing a collection of beans, something like : public class Bean1 { private String field1; private String field2; Bean1 ( ){ } public String getField1 ( ) { return field1; ` } public String getField1 ( ) { return field1; ` } . } List

Where can I find documents about tiles simple menu item

2002-12-05 Thread Joao Araujo
HI, Where can I find documentation abtou t the tiles simplemenuitem. Thanks for your attention, Joao, -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

calling an action without form

2002-12-05 Thread Joao Araujo
Hi, How can I call an action without using a form. I just want some preprocessing before the page is shown. Is this the best approach? Thanks Joao, -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: calling an action without form

2002-12-05 Thread Joao Araujo
Have you read any of the documentation? A lot . Probably I got lost in a detail. Just point out I can go there again. Joao, -- James Mitchell -Original Message- From: Joao Araujo [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 10:16 PM

Re: calling an action without form

2002-12-05 Thread Joao Araujo
, sometimes you dont believe it is really true, then, gets the wrong direction. I need some rest..:) You helped a lot. Joao, http://your.domainname.com/your-action-mapping.do Scott - Original Message - From: Joao Araujo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 06

Oracle dbcp

2002-11-27 Thread Joao Araujo
Does anyone have a sample of a oracle dbcp struts-config definition. If possible send me a sample of how to access it in the bean. Joao -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Bean database access concepts

2002-11-27 Thread Joao Araujo
I am not using EJB but plain beans to access the database. I defined everything in such a way to isolate database access from action bean. Now, I have some doubts about how to access the database connection. Should I pass the connection as a parameter to the beans that accesss the

Re: Bean database access concepts

2002-11-27 Thread Joao Araujo
Have a factory class create your access beans. Before it returns a bean set the bean's dataSource property. You will configure the factory's DataSource with the one created by Struts when you app starts up. Make sense? Thanks. Joao, David From: Joao Araujo [EMAIL

dbcp Error (invalid arguments in call)

2002-11-27 Thread Joao Araujo
hi, I have the below datasource configuration in struts-config file. I dont know why I cant put it to work. I really tried but did not find the reason The message I get is Invalid arguments in call. Probably I have overlooked the error and havent found it. Thanks a lot for your attention.

bean:message

2002-11-22 Thread Joao Araujo
Hi, I would like to change the hint message of a image to something like this. html:img src='y.gif' alt=bean:message key='y.message' .. Unfortunately, I cant just put the bean:message tag inside the tag html:img ... what I have to do to change the alt message to a bundled message