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?
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.
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
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]
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
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
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
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
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
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
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
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
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]
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]
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
,
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
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]
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
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
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.
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
21 matches
Mail list logo