/formset
I have the following JSP:
html:javascript formName=autoForm onsubmit=return
validateSimpleForm(this);/
html:form action=/test
html:multibox property=selectedItems
bean:write name=car property=id/
/html:multibox
/html:form
Thanks,
Regards,
Harm de Laat
Informatiefabriek
?
Your help is highly appreciated.
Regards,
Harm de Laat
Informatiefabriek
The Netherlands.
Thanks Robert for this quick anwser.
This solved my problem. However. Is there a possibility to access
context-params from a JSP page?
Thanks,
Regards,
Harm de Laat
Informatiefabriek
The Netherlands
Robert Taylor [EMAIL PROTECTED]
02-03-2004 13:43
Please respond to
Struts Users Mailing
nl.informatiefabriek.addressbook.value.ContactValue;
import org.apache.struts.action.ActionForm;
/**
* @author harm
*
* @struts.form name = contactForm
*/
public class ContactForm extends ActionForm {
private ContactValue contactValue = new ContactValue();
/**
* @return Returns the contactValue
Struts for some time now... But
maybe some other framework has more future then Struts.
I would like to hear your opionions...
Thanks,
Regards,
Harm de Laat
Informatiefabriek
The Netherlands
-
To unsubscribe, e-mail
=request
*/
public class ChangeStateAction extends BaseAction {
// your class
}
Good luck,
Regards,
Harm de Laat
Informatiefabriek
The Netherlands
Caoilte O'Connor [EMAIL PROTECTED]
11/12/2003 01:11 PM
Please respond to
Struts Users Mailing List [EMAIL PROTECTED]
To
Struts Users Mailing
You can easily set the destination directory for your struts-config.xml.
So you can have many different sub-apps...
Regards,
Harm de Laat
Informatiefabriek
The Netherlands
Caoilte O'Connor [EMAIL PROTECTED]
11/12/2003 01:55 PM
Please respond to
Struts Users Mailing List [EMAIL PROTECTED
in production. I definitly think it's a
good product, and for sure no 'crap'.
Especially if you see what you get for *free*. Compare this to the prices
asked for BEA's or IBM's application server.
Regards,
Harm de Laat
Informatiefabriek
The Netherlands
Mark Galbreath [EMAIL PROTECTED]
10
,
Harm de Laat
Informatiefabriek
The Netherlands
Brian McSweeney [EMAIL PROTECTED]
10/09/2003 03:37 PM
Please respond to
Struts Users Mailing List [EMAIL PROTECTED]
To
'Struts Users Mailing List' [EMAIL PROTECTED]
cc
Subject
RE: ejb's and tomcat
I agree, but I was responding to your
/store_correction.do';
class=button
How can I achieve this?
Thank you very much,
Harm de Laat
Informatiefabriek
The Netherlands
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
as short as possible?
Many thanks,
Harm de Laat
Informatiefabriek
The Netherlands
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
version of the date (Dutch standard format).
What is a good way of achieving this?
Many thanks,
Harm de Laat
Informatiefabriek
The Netherlands
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi all,
I would like to display an error page if some weird exception occurs in my
code. (Maybe a RemoteException or a NullPointer).
I don't like Tomcat's default error page. Is there something I can change
in struts-config.xml to create a custom error page?
Thanks,
Harm de Laat
a RemoteException or a NullPointer).
I don't like Tomcat's default error page. Is there something I can change
in struts-config.xml to create a custom error page?
Thanks,
Harm de Laat
Informatiefabriek
The Netherlands
-
To unsubscribe, e-mail
nl.informatiefabriek.om.correction.value.CorrectionValue;
import org.apache.struts.action.ActionForm;
/**
* @author harm
*
* @struts.form
* name = deleteCorrectionForm
*/
public class DeleteCorrectionForm extends ActionForm {
private String id;
private CorrectionValue correctionValue
snip
Awww g. Thats too bad.
My heart bleeds for you. Join the club mate.
/snip
Okay, got the point! ;-)
But you will be happy to know your suggestion solved the problem.
Thanks a lot
Cheers,
Harm de Laat
Informatiefabriek
Andrew Hill [EMAIL PROTECTED]
09/19/2003 11:57 AM
Please
I think you should not use this class.
I has some bugs in it
Mohd Amin Mohd Din [EMAIL PROTECTED]
09/15/2003 12:11 PM
Please respond to
Struts Users Mailing List [EMAIL PROTECTED]
To
'Struts Users Mailing List' [EMAIL PROTECTED]
cc
Subject
RE: Dateformat for MSSQL DB
This is a
):
import nl.xbase.group.value.GroupValue;
import nl.xbase.management.struts.action.BaseForm;
/**
* @author harm
*
* @struts.form
* name = groupForm
*/
public class GroupForm extends BaseForm {
private GroupValue groupValue = new GroupValue();
/**
* @return
You can always check if its empty with the logic:empty tag.
Good luck,
Harm.
deepaksawdekar [EMAIL PROTECTED]
09/10/2003 01:26 PM
Please respond to
Struts Users Mailing List [EMAIL PROTECTED]
To
Struts Users Mailing List [EMAIL PROTECTED]
cc
Subject
getproperty for html:options tag
Java Bean.
Cheers,
Harm.
Jeff Kyser [EMAIL PROTECTED]
09/10/2003 01:35 PM
Please respond to
Struts Users Mailing List [EMAIL PROTECTED]
To
Struts Users Mailing List [EMAIL PROTECTED]
cc
Subject
Re: What's the best way to do calculations ?
Depends on your calculations.
I wouldn't do
If you already have it in the request object, you might want to consider
using javascript.
Maybe you can put the values of you second dropdown list in a html:hidden
component.
Then use javascript to populate the second dropdownlist whenever the user
changes the first one.
[EMAIL PROTECTED]
) to pass the
categories to my JSP page. In my JSP page I use the logic:iterate tags
to iterate through te collection and display the proper information.
Is this a normal / good approach? Or do I have to use ActionForm classes
for this purpose?
Thanks a lot,
Harm de Laat
Informatiefabriek
Hi all,
Is there some way 'in code' to force a servlet to re-read it's init
parameters.
Right now I have to restart my HTTP-container each time these init
parameters change
Thanks a lot,
Harm de Laat
Informatiefabriek
The Netherlands
like to do the checking. And redirect the user
to the correct page.
I cannot use something like this:
return (mapping.findForward(overview));
because the redirection page is dynamic.
Any ideas on how to achieve this?
Thanks a lot,
Harm de Laat
Informatiefabriek
The Netherlands
doing wrong. And what should I do to correct it?
Thanks,
Harm de Laat
Informatiefabriek
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yes, ofcourse
You can do this in your actions or in jsp (using struts logic tags, or use
JSTL).
Cheers,
Harm de Laat
Informatiefabriek
The Netherlands
Filip Polsakiewicz [EMAIL PROTECTED]
06/17/2003 10:01 AM
Please respond to
Struts Users Mailing List [EMAIL PROTECTED]
To
Struts
the garbage collector picks it up and destroys the object.
Good luck,
Harm de Laat
Informatiefabriek
The Netherlands
Brian McSweeney [EMAIL PROTECTED]
06/17/2003 05:17 PM
Please respond to
Struts Users Mailing List [EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
Displaying an object stored
Hi Marc,
I have pretty much the same configuration as you do (jboss, struts,
jdk1.4.1).
I don't know what is causing your exceptions. But I can tell you that I
don't suffer the same problem.
So my guess is that something is wrong.
Sorry, can't help you any further.
Cheers,
Harm.
Marc
INFO [OrdermanagerBaseAction] OrderManagerBaseAction called!
But, nothing appears in /var/ordermanager/log/ordermanager.log
Permissions, etc are all okay
What could be wrong here?
Many thanks,
Harm de Laat
Informatiefabriek
The Netherlands
:
logic:notPresent name=user
logic:redirect href=http://wonen.dev.mediatoolbox.nl/
/logic:notPresent
As you can see, I hard-coded the redirection URL into the JSP. But I don't
want hardcode this URL.
Are there any possibilities to maybe get this from a properties file?
Thanks,
Harm de Laat
.
Can anybody please help, or give me some directions?
Many thanks,
Harm de Laat
Informatiefabriek
The Netherlands
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
31 matches
Mail list logo