Hello,
It seems that I lost my attributes of the form. It seems that my form is
reinitialized when the form is redisplayed.
My form is well defined in my struts-config.xml file as to be used in
session scope.
However, I would like to keep these parameter because I would like to fill
the form at
collection=CMP labelProperty=CMP_LIB
property=CMP_ID/
/html:select
CMP is an ArrayList stored in the request.
Thanks in advance
Yann VERLYNDE
Ingénieur d'Etudes
Oxade Ingénierie
13, Place Kossuth
75009 PARIS
Tel : 01 42 82 99 38
Fax : 01 42 82 99 35
www.oxade.com
--
To unsubscribe, e-mail
)%
html:select property=selectCMP onchange=choix(this)
logic:notPresent name=selectCMP scope=request
html:option value=0Choisissez votre Cadre Emploi/html:option
/logic:notPresent
html:options collection=CMP labelProperty=CMP_LIB property=CMP_ID/
/html:select
Thanks in advance
Yann VERLYNDE
Subject: Re: Problem with pre-select html:select Tag
Hi Yann,
Should I know what is in your javascript function choix(this) ?
Patrice
- Original Message -
From: Yann Verlynde [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Sent: Friday, November 22, 2002 5:15 PM
Subject: Problem
the content of the second list, isn't it ?
- Original Message -
From: Yann Verlynde [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Sent: Friday, November 22, 2002 5:15 PM
Subject: Problem with pre-select html:select Tag
Hello,
I have already read a lot of posts to implements
don't remove the form from the request (or the
session) in your action, or do something like setSelectCmp() ?
- Original Message -
From: Yann Verlynde [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, November 22, 2002 5:56 PM
Subject: Re: Problem with pre
Hello,
This code doesn't work. How can I do I put a bean value in my option tag?
html:option value='bean:write name=cmp property=CMP_ID/'
Thanks in advance
Yann VERLYNDE
Ingénieur d'Etudes
Oxade Ingénierie
13, Place Kossuth
75009 PARIS
Tel : 01 42 82 99 38
Fax : 01 42 82 99 35
tried
bean:define id=foo name=cmp property=CMP_ID/
html:option value=%=foo%
Sri
-Original Message-
From: Yann Verlynde [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 12:28 PM
To: Struts
Subject: Problem with html:option
Hello,
This code doesn't work. How can I do I put
Hello, I tried to connect Struts with Oracle Database, when I did a
dataSource.getConnection(); on my datasource I have the following exception:
Can I have Helps please?
Thanks in advance.
javax.servlet.ServletException: Servlet execution threw an exception
at
Hello,
Excuse me for this silly question but I don't understand the difference between these
2 attributes in html:javascript tag
dynamicJavascript=false
staticJavascript=true
Thanks in advance
, but do you have an INPUT type=file tag in
your
jsp?
Brian
- Original Message -
From: Yann Verlynde [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 12:12 PM
Subject: Re: Problem with multipart/mixed and file Tag
When I try
Hello,
I have a problem with this code (a form with content multipart/mixed and an form
class).
This is my form:
html:form action=jsp/Upload.do enctype=multipart/mixed
Please select the file that you would like to upload:br /
html:file property=theFile /br /br /
If you checked
=multipart/form-data
instead of enctype=multipart/mixed?
-Original Message-
From: Yann Verlynde [mailto:yverlynde;oxade.com]
Sent: Tuesday, November 05, 2002 3:46 AM
To: Struts
Subject: Problem with multipart/mixed and file Tag
Hello,
I have a problem with this code (a form
Hello,
This is my code in an Action Class, I don't receive the upload file. The fileItems
element is null.
How can I do to upload a file?
Thanks in advance
public ActionForward execute(ActionMapping mapping,
ActionForm form,
with FileUpload
are you using multipart in your form declaration on the jsp page?
-Original Message-
From: Yann Verlynde [mailto:yverlynde;oxade.com]
Sent: Monday, November 04, 2002 10:41 AM
To: Struts
Subject: Problem with FileUpload
Hello,
This is my code in an Action Class, I don't
If I want to have a message in a JSP, I use:
bean:message key=email.protocol bundle=APPLICATION_CONFIGURATION/
How do u do to take back all the messages?
If I want to have a message in a JSP, I use this code:
bean:message key=email.protocol bundle=APPLICATION_CONFIGURATION/
But I want to have all the messages resources in my JSP,
How can I do that please?
Thanks in advance
).
If you insist on using JSP then you should just use scriplet variables
like
%
String emailProtocol = POP3
%
and call it using
%= emailProtocol %
Do I get your question right?
Hope it helps,
Lucas
-Original Message-
From: Yann Verlynde [mailto:yverlynde;oxade.com
Hello,
This is my struts-config.xml:
message-resources parameter=com.oxade.struts.ApplicationResources/
message-resources parameter=com.oxade.struts.Configuration null=false
key=APPLICATION_CONFIGURATION/
In my Action:
MessageResources messages =
the second configuration properties.
- Original Message -
From: Yann Verlynde [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 9:24 AM
Subject: Multiple Ressources
Hello,
This is my struts-config.xml:
message-resources parameter
20 matches
Mail list logo