Joe Germuska wrote:
At 9:02 AM -0600 1/31/05, Hubert Rabago wrote:
I only recently became aware of BeanUtils' non-static object
counterparts,
and I haven't had a chance to use them yet or figure out if Struts can
use them.
I think I raised this question recently on the user list, but if not,
it'
I think as far as configuration is concerned, it shouldn't be about
the developer configuring multiple BeanUtils instances, but
configuring how individual fields should be formatted. This is what I
went for with FormDef.
http://www.rabago.net/struts/formdef/manual.htm#specifyingformats
On Mon, 3
At 9:02 AM -0600 1/31/05, Hubert Rabago wrote:
Last time I checked (which was a couple of months back), Struts uses the
static methods of BeanUtils. This means that they just use the same
instance used by all classes for the same application. The same goes for
ConvertUtils.register(). So, from w
Last time I checked (which was a couple of months back), Struts uses the
static methods of BeanUtils. This means that they just use the same
instance used by all classes for the same application. The same goes for
ConvertUtils.register(). So, from what I understand, once you register a
conver
Kishore Senji wrote:
The idea is that the Converter should be available only when saving the
specific form (atleast for now).
Once you register it, the same converter is available for that type
from that point onwards. It doesn't matter whether you do it in the
Plugin or an Action. So, if you want
Wouldn't you then run into possible conflicts if you have other areas
of the code or other forms using BeanUtils?
On Sun, 30 Jan 2005 14:34:37 -0600, Kishore Senji <[EMAIL PROTECTED]> wrote:
> > The idea is that the Converter should be available only when saving the
> > specific form (atleast for
> The idea is that the Converter should be available only when saving the
> specific form (atleast for now).
Once you register it, the same converter is available for that type
from that point onwards. It doesn't matter whether you do it in the
Plugin or an Action. So, if you want your Converter t
Robert Taylor wrote:
If the Converters are valid across the entire application, you
can register them using a ServletContextListener or a Struts Plugin.
ServletContextListeners are only available for containers supporting
the Servlet 2.3 spec or higher.
The idea is that the Converter should be avai
If the Converters are valid across the entire application, you
can register them using a ServletContextListener or a Struts Plugin.
ServletContextListeners are only available for containers supporting
the Servlet 2.3 spec or higher.
/robert
Robin Ericsson wrote:
Robert Taylor wrote:
The reason for
Robert Taylor wrote:
The reason for the error is that the beanutils package cannot convert
the date string into a Date object. You can either populate the form
with the formatted date or register a Converter to handle the
conversion appropriately. I haven't yet used Converter but this problem
has
The reason for the error is that the beanutils package cannot convert
the date string into a Date object. You can either populate the form
with the formatted date or register a Converter to handle the
conversion appropriately. I haven't yet used Converter but this problem
has been answer many tim
Hi,
This is my form:
This is how I populate it:
List days = new ArrayList();
--fill list--
form.set("days", (MyClass[]) days.toArray(new MyClass[days.size()]));
This is my jsp-code:
The generated html seems correct as it finds the actual data in the
MyCla
12 matches
Mail list logo