Hi,
does Struts2 has a problem using own converters on nested beans? I
created a file with -conversion.properties with following
content:
order.orderPart.property=de.eposcat.xyz.converter.MyOwnConverter
When the action is running the converter is not called (sysout for
testing on both
I was missing the getPackages() method :(
- Scott
Scott Van Wart wrote:
Hi all,
I'm trying to get multiple levels of indexed, nested beans working.
I've tried a variety of solutions but I keep getting xwork or ognl
exceptions. Here's what I've tried (loosely):
p
Hi all,
I'm trying to get multiple levels of indexed, nested beans working.
I've tried a variety of solutions but I keep getting xwork or ognl
exceptions. Here's what I've tried (loosely):
public class MyAction implements Action, StrutsStatics {
private List p
ditCardBean cc;
> SinglePaymentBean[] singlePayment;
> }
>
> I have tried several different ways in my AccountAction to populate this
> bean from the data entered on the form. I can, of course, read
> multiple layers down inside my nested beans and display it in a JSP, but
> how I
the data entered on the form. I can, of course, read
multiple layers down inside my nested beans and display it in a JSP, but
how I do I allow for data entry into them?
Does one create a simple form that has a bunch of simple text fields,
and the action then uses all of these to populate the
I have a form that contains a bean with a nested collection that I'd like to
prepopulate but I'm having trouble displaying the correct information.. The
output html wiould ideally look like this:
Jon Doe
Jeff Newworth
Amy Madigan
The ActionForm contains the bean with nested beans and
Scott Purcell wrote:
I dug myself into a corner last night and cannot assemble a viable solution.
I created a bean (usercheckout) which holds two nested beans (Shipping), and (Billing).
Basically I have the user fill out a shipping form, then they fill out a Billing form.
The problem is
On 7/19/05, Scott Purcell <[EMAIL PROTECTED]> wrote:
> I dug myself into a corner last night and cannot assemble a viable solution.
>
> I created a bean (usercheckout) which holds two nested beans (Shipping), and
> (Billing). Basically I have the user fill out a shipping fo
I dug myself into a corner last night and cannot assemble a viable solution.
I created a bean (usercheckout) which holds two nested beans (Shipping), and
(Billing). Basically I have the user fill out a shipping form, then they fill
out a Billing form. The problem is, when I am trying to
Hello,
I have been using struts for a bit now, and I am trying to see if the following
situation is possible.
In a merchant checkout situation, I would like to be able to create a bean that
has nested beans inside. Eg: This will be a shopping cart checkout, and I have
the need for an overall
Works for me. If you want, I can send you code later in the day.
(Will be busy for most of the afternoon). Or, you can post more of
your code and maybe someone else will spot something.
Hubert
On 5/20/05, Brandon Mercer <[EMAIL PROTECTED]> wrote:
> Hubert Rabago wrote:
>
> >You might find the
Hubert Rabago wrote:
>You might find the nested tags interesting:
>
><%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
>
>
>
>
>
>
>
>
>
>
>
>
Still a bit miffed. I'm not sure if it's beanutils that is not copying
the List into the new bean... or i
Hubert Rabago wrote:
>You might find the nested tags interesting:
>
><%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
>
>
>
>
>
>
>
>
>
>
>
>Hubert
>
>
Looks like what I want to do. I'll go check it out, thanks for the link.
Brandon
You might find the nested tags interesting:
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
Hubert
On 5/20/05, Brandon Mercer <[EMAIL PROTECTED]> wrote:
> Hello Everyone,
> I've got an easy one, that is stupifying me because of my tiredn
Hello Everyone,
I've got an easy one, that is stupifying me because of my tiredness.
I've got a POJO with a List in it. The List is a list of beans. In my
JSP page I'm trying to iterate over the list of beans. Here goes:
public class Information {
private String name = null;
private St
ishore Senji [mailto:[EMAIL PROTECTED]
> Sent: 11 January 2005 18:58
> To: Struts Users Mailing List
> Subject: Re: Validating DynaBean nested beans with a custom validator.
>
> This shoud do it. Isn't it?
>
> private static PersonFormBean getPersonFormBean(Object
This shoud do it. Isn't it?
private static PersonFormBean getPersonFormBean(Object bean, String property)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.NoSuchMethodException{
return (PersonFormBean) BeanUtils.getProperty(bean, property);
}
Dear All,
I have a DynaValidatorActionForm like this:
When the related form is submitted the action adds the 'newPerson' to
the 'personList' and replaces newPerson, on the DynaBean, with a new
PersonFormBean. This all works fine. Now I want to add declara
The Validator plug in can recognize fields names such as
"employee.name", and that's the extent of my experience with it.
Nested forms/tags allow you to go much deeper than that, and everytime
I do, I choose to use my own validate() implementation instead of
using Validator.
On Mon, 22 Nov 2004 0
I've not been able to find any examples so I was hoping someone may have
tried this before. I am making copious use of nesting on my forms and I
was wondering if this will prevent me from using the Struts validation
framework?
--dlm
I have narrowed the behaviour down somewhat - it appears to be related
to using capital letters in properties.
If I change the name of the LocationID String in the LocationBean from
locationID to LocationID I get the following error:
[ServletException in:/WEB-INF/jsp/admin/location/locselect.jsp]
t; -Bill Siggelkow
>
>
>
> Chris Stavrianou wrote:
> > HI all,
> >
> > I am having a problem with collections of beans nested within beans.
> >
> > I have found that I can only nested beans and get property names if
> > the property names are unique acros
There is no such restriction -- please provide some code so we can help
diagnose your problem.
-Bill Siggelkow
Chris Stavrianou wrote:
HI all,
I am having a problem with collections of beans nested within beans.
I have found that I can only nested beans and get property names if
the property
HI all,
I am having a problem with collections of beans nested within beans.
I have found that I can only nested beans and get property names if
the property names are unique across the entire application.
Is this a usual quirk of the way Struts uses reflection?
Are there restrictions on
Hi
I have a subclass of DynaValidatorForm with nested Forms, some in a list
others just singular
This works ok however I want to sort the validation out.
After searching the list the only solution I have found is to add each
nested form's validation to the top level form in the valida
25 matches
Mail list logo