name=status means that you are trying to pass the status object itself as
a parameter to a method setStatus. That is not possible--you need to pass
the id of the status if you want to indicate which status the user chose,
like this for example:
s:select key=form.status name=id
list=statusList
Good Afternoon Mike-
Tough to diagnose without seeing the service interface defined in your
action
e.g.
public class HHSAction implements Preparable {
private HHSService service;
}
package quickstart.service;
import java.util.List;
import quickstart.model.Person;
public interface HHSService
called id
-Original Message-
From: Jukka Välimaa [mailto:[EMAIL PROTECTED]
Sent: Friday, April 18, 2008 12:12 PM
To: Struts Users Mailing List
Subject: Re: Clarification on Type Conversion?
name=status means that you are trying to pass the status object itself as
a parameter to a method
: Clarification on Type Conversion?
Good Afternoon Mike-
Tough to diagnose without seeing the service interface defined in your
action
e.g.
public class HHSAction implements Preparable {
private HHSService service;
}
package quickstart.service;
import java.util.List;
import
Doesn't your example indicate that it would set the field called id
-Original Message-
From: Jukka Välimaa [mailto:[EMAIL PROTECTED]
Sent: Friday, April 18, 2008 12:12 PM
To: Struts Users Mailing List
Subject: Re: Clarification on Type Conversion?
name=status means that you
5 matches
Mail list logo