On 4/5/2018 6:52 PM, Nuno Oliveira wrote:
> Your fix worked :) and I see why it did not work, thank you.
>
> Also yes, you are right, it should be Role instead of Roles but it is a
> legacy class and the change implies a lot of fixes. It's on the "to do
> list".
>
> Once more, thank you.
You'
er Zamani wrote:
> [copy with removed links to avoid detection as spam]
>
>
> Forwarded Message ----
> Subject: Re: Type conversion collection with interface type elements
> Date: Thu, 5 Apr 2018 13:02:01 +
> From: Yasser Zamani
> Reply-To: Struts Users Mai
[copy with removed links to avoid detection as spam]
Forwarded Message
Subject: Re: Type conversion collection with interface type elements
Date: Thu, 5 Apr 2018 13:02:01 +
From: Yasser Zamani
Reply-To: Struts Users Mailing List
To: user@struts.apache.org
On 4/4/2018
On 4/4/2018 7:20 PM, Nuno Oliveira wrote:
> Hi,
>
> I am having problems populating an action variable Set by request using
> struts type conversion if the Set has the element type defined as an
> interface.
> I have a UserAction-conversion.properties file with the followi
Hi,
I am having problems populating an action variable Set by request using
struts type conversion if the Set has the element type defined as an
interface.
I have a UserAction-conversion.properties file with the following
configuration using the class implementation:
KeyProperty_roles=id
Super cool, thanks :)
2016-12-02 11:40 GMT+01:00 Miguel Almeida :
> Thank you Lukasz!
>
> I will check if/how we can inject the converter there. If we manage to
> get it working in a way that helps the ticket resolution I'll also post
> the information there.
>
>
>
> On Sex, 2016-12-02 at 09:50 +0
Thank you Lukasz!
I will check if/how we can inject the converter there. If we manage to
get it working in a way that helps the ticket resolution I'll also post
the information there.
On Sex, 2016-12-02 at 09:50 +0100, Lukasz Lenart wrote:
> Hi,
>
> JSON plugin uses its own conversation mecha
Hi,
JSON plugin uses its own conversation mechanism, check JSONPopulator
but I think it should be possible to inject XWorkConverter and use it
to convert objects - this requires implementing your own
JSONPopulator.
There is a task to do it so it should happen in Struts 2.5 ;-)
https://issues.apac
Imagine SearchAction{
private List evaluatedRecords;
}
Record is an interface so to get auto-wiring to work you'd usually
set-up a
SearchAction-conversion.properties:
KeyProperty_evaluatedRecords=id
Element_evaluatedRecords=com.bibliovigilance.model.RecordImpl
CreateIfNull_evaluatedRecords=true
;> > In order to determine the best way to prompt for and store a
>> > javax.mail.internet.InternetAddress, I began researching these pages,
>> which
>> > are broken to various degrees:
>> >
>> > https://cwiki.apache.org/confluence/display/WW/Ty
ddress, I began researching these pages,
> which
> > are broken to various degrees:
> >
> > https://cwiki.apache.org/confluence/display/WW/Type+Conversion
> > https://cwiki.apache.org/confluence/display/WW/Conversion+Annotation
> >
> > Both show "Error formatt
2015-08-19 18:55 GMT+02:00 rgm :
> In order to determine the best way to prompt for and store a
> javax.mail.internet.InternetAddress, I began researching these pages, which
> are broken to various degrees:
>
> https://cwiki.apache.org/confluence/display/WW/Type+Con
In order to determine the best way to prompt for and store a
javax.mail.internet.InternetAddress, I began researching these pages, which
are broken to various degrees:
https://cwiki.apache.org/confluence/display/WW/Type+Conversion
https://cwiki.apache.org/confluence/display/WW/Conversion
Really I was using a custom type
converter (with annotations on getters & setters) but I had
the problem that when typeconversionexception was thrown the
dynamic contents on my web page (objects retrieved from db or from
actions) didn't display.
Really I don
>
> Thank you so much, I solved the special characters problems by setting
> the struts i18n constant to ISO-8859-1!
> About the conversion error, I know it was a dev mode warning, but when
> the exception was thrown every dynamic content in my page disappeard...
> Anyway I solved the issue by
Thank you so much, I solved the special characters problems by setting
the struts i18n constant to ISO-8859-1!
About the conversion error, I know it was a dev mode warning, but when
the exception was thrown every dynamic content in my page disappeard...
Anyway I solved the issue by declaring eve
2012/9/21 Miguel Almeida :
> Sure!
>
> Here's a maven project with a failing test case.
>
> There's actually a map being built, but it's a , and the key
> reads "OGNL no conversion possible".
Got it working, but I think the main problem is with key value - it
isn't a simple string but an int that
On Fri, 2012-09-21 at 09:04 -0400, Martin Gainty wrote:
> a stupid question but i have to ask
If you mean "where is the initialisation of simpleMap e.g. simpleMap=new
java.util.HashMap();" - it's not there. I don't think you need to,
Struts initializes it. (see below)
>
> public class TypeConve
ets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
Subject: Re: Type conversion on a Map
From: mig...@almeida.at
To: user@struts.apache.org
Date: Fri, 21 Sep 2012 10:31:24 +0100
Sure!
Here's a maven project with a failing test case.
Hi,
Could you share the unit test as well ? The whole code would be the best :-)
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands
Dear all,
Considering:
1) the action property Map complexMap;
2) CodeProperty has an int id property
How would you configure type conversion and refer to it on the JSP to
populate it?
I am currently trying the following -conversion configuration:
KeyProperty_complexMap=id
Element_complexMap
Hi,
Can we define @TypeConversion annotation of the nested property at the parent
level.
For Example I have a bean
public class Bike {
private Name name;
public Name getName() {
return this.name;
}
public void setName(Name name) {
this.name = name;
}
3:25 PM
To: Struts Users Mailing List
Subject: Re: BigDecimal type conversion
Either a type convertor, or an interceptor that trims everything.
d.
On Dec 19, 2011 3:23 PM, "Biesbrock, Kevin"
wrote:
> Our application is rolling with Struts 2.2.1.
>
> One action class implements Mo
Either a type convertor, or an interceptor that trims everything.
d.
On Dec 19, 2011 3:23 PM, "Biesbrock, Kevin"
wrote:
> Our application is rolling with Struts 2.2.1.
>
> One action class implements ModelDriven and in the model we have a
> Map; where we rolled a custom type
> converter for Bus
Our application is rolling with Struts 2.2.1.
One action class implements ModelDriven and in the model we have a
Map; where we rolled a custom type converter
for BusinessObjectA and BusinessObjectB has a BigDecimal. This model has been
in production for well over 4 months with no issue; that is
value] field,
and another is , which will send data to the [original input
text] field.
User can only see the , and input data in it.
you can create some JS code, to copy the content to the
element, before the form be posted.
When the type conversion fails, and the input page displayed again,
the
I am having an issue with displaying the original value entered on a
form after failed type conversion. This "bug" is caused by my use of
getText() in the form value fields. I'm curious how one solves this
issue for making sure the field is formatted correctly upon display,
but a
On Tue, 2011-05-17 at 14:42 -0700, Jeffrey Black wrote:
> Hey there Miguel.
>
> Have a look here:
>
> http://struts.apache.org/2.0.14/docs/type-conversion.html#TypeConversion-GenericsandErasure
Thanks Jb. In my case a possible solution is to remove the generic
reference to the list (ie, ch
Hey there Miguel.
Have a look here:
http://struts.apache.org/2.0.14/docs/type-conversion.html#TypeConversion-GenericsandErasure
Best,
jb
From: Miguel
To: user@struts.apache.org
Sent: Tuesday, May 17, 2011 5:19 AM
Subject: Type conversion of List - how does one do it?
I've a
I've always struggled with type conversion of lists and I'd appreciate a
more experienced brain to help me out.
Consider the following multiple select box:
As per the documentation, "name your element people.name and the
framework will understand that it should create a new Pe
itationInterceptor.resource">Eco
> >
> >MenuGestor
> >MenuBanquero
> >MenuCliente
> >
> > [...]
> >
> > I could implement an interface for the action, but that would require
> > defin
> I could implement an interface for the action, but that would require
> defining an interface for each rule(since each rule needs different
> parameters). The second options is valid, but I like the idea of just
> declaring the getXXX method in the rule, and having the framework do t
method in the rule, and having the framework do the
work for me(mostly, the type-conversion). What do you think?
2010/12/13 Maurizio Cucchiara
> Ok, now it's definitively clear.
> First every interceptor knows exactly which action is invoked through
> action
> invocation.
&
Ok, now it's definitively clear.
First every interceptor knows exactly which action is invoked through action
invocation.
With that said your action could implement (1) your custom interface or (2)
a generic Request Aware interface in order to retrieve request parameters.
Does this answer your ques
Hi Maurizio, Li,
Thanks for your suggestion, but the problem with the approaches you
suggested is that they link the security rules too much to the actions. We
want to be as abstract as possible. For that, we have developed the
following implementation:
We created some entities called Securi
I think you don't need this bothering job.
You can:
(1)Define some properties in your base class of all your action classes.
(2)Use these properties to capture data from the request.
(3)Run your interceptor AFTER the interceptors of struts2.
But BEFORE the execution of the Action class
So,
The i
2010/12/10 Jose Luis Martinez Avial :
>The
> validation should be dinamic, so the rules should be able to receive
> information from the request.
Basing Rule Access Control on request's parameters might induce
security flow risks.
> What I would like to do is to use Struts'
> mechanism to process
Hello all,
I'm using Struts 2..1.8.1 for an application. To integrate the
security in the application we have developed an interceptor that
intercepts every request and checks a list of rules(implemented as
classes) to know if the user is allowed to execute the action. The
validation should be
What's in the logs? Is devMode turned on? Where's the rest of your
code/config?
On Fri, Sep 24, 2010 at 1:54 PM, Mead Lai wrote:
> Hello Dave,
>
> Thanks for your response so quickly.
> It is running fine, but show a blank page.No data in the page.
> There are some "conversion"-examples in "stru
Hello Dave,
Thanks for your response so quickly.
It is running fine, but show a blank page.No data in the page.
There are some "conversion"-examples in "struts2-showcase-2.1.8.1" package;
And they are seems working good.
Regards,
Mead
What are you trying to do and/or what specifically doesn't work, under what
circumstances?
Dave
On Fri, Sep 24, 2010 at 1:44 PM, Mead Lai wrote:
> Hi All,
>
> I try some type-conversion example, and do it step by step following this
> document:
>
> http://struts.a
Hi All,
I try some type-conversion example, and do it step by step following this
document:
http://struts.apache.org/2.x/docs/type-conversion.html#TypeConversion-AdvancedTypeConversion
<http://struts.apache.org/2.x/docs/type-conversion.html>Unfortunately, it
show nothing, although, I ad
Nevermind, my stacktrace came from that issue :
https://issues.apache.org/jira/browse/WW-2850
2010/5/10 Thomas Lulé :
> One last thing :
>
> Even if everything works, I still get a stacktrace when I submit the
> form to save my object.
>
> I think that the params interceptor tries to set the prope
One last thing :
Even if everything works, I still get a stacktrace when I submit the
form to save my object.
I think that the params interceptor tries to set the properties of the
object "jspProfile" I have in my form (with for example), before the
prepare interceptor initialize that object.
E
It works.
Thanks a lot Lukasz and Alex.
2010/5/10 Alex Rodriguez Lopez :
> Hi Thomas,
>
> use the paramsPrepareParams interceptor stack (or change yours), from
> struts-default.xml:
>
>
>
> ...
>
> I think this accomplishes what you are looking for (of course you need
> setters for t
Hi Thomas,
use the paramsPrepareParams interceptor stack (or change yours), from
struts-default.xml:
...
I think this accomplishes what you are looking for (of course you need
setters for the parameters that you want params interceptor to have
ready for you by the time the pre
That interceptor looks great, but is there any way to access request
parameters in the prepare() method ?
The http request provides an "archiveProfileId" parameter and I use
that parameter to load my object "archiveProfile".
2010/5/10 Lukasz Lenart :
> Use Preparable interface instead
> http://st
Use Preparable interface instead
http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/Preparable.html
Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl
-
To unsubscri
Hi,
I've got a form with mapped with "Long" variables in my
action class.
Also, my jsp displays some pre-computed information (that I retrieve
from database in my action's method).
When the user types letters in the number field, the type conversion
fails, and the JSP is r
ankarnarayanan <
sundar.sankarnaraya...@apollogrp.edu> wrote:
>
>
>
>
> *From:* Sundar Sankarnarayanan
> *Sent:* Wednesday, March 10, 2010 9:40 AM
> *To:* 'user@struts.apache.org'
> *Subject:* Type conversion for Date in es_CL Locale
>
>
>
> Hi
>
>
on
locales. This field corresponds to a java.util.date property defined inside a
pojo.
My problem is, when I have my locale set to en_US, the struts 2 type conversion
kicks in and the setter for the particular property is invoked (which I figured
by setting a debug inside the setter method
Hi. I have a simple problem: I need to divide by 100 user's input in
some fields when I'm going to store values in DB and perform the
opposite operation when loading the form again.
I thought Struts 2 type conversion was what I needed, so I created a
simple PercentageConverter, im
On Friday 29 January 2010 22:30:34 Wes Wannemacher wrote:
> I don't know if I'd go too far creating a TypeConverter... Can you
> just do something like this -
>
> YN
>
> Really, you could probably create a .tag file out of it and reuse it
> easier than creating a Type Converter.
>
> -Wes
>
I ca
the override
> via annotation so that I can execute the override where I need it and
> default to the standard convertor where I don't.
>
> Regards
> --
> View this message in context:
> http://old.nabble.com/Boolean-Type-Conversion-tp27371490p27371490.html
> Sent
override where I need it and
default to the standard convertor where I don't.
Regards
--
View this message in context:
http://old.nabble.com/Boolean-Type-Conversion-tp27371490p27371490.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
Hi,
I've a problem get the type conversion running in connection with a s:select.
I have an action (OrderABCEditAction.java) with a
"List userlist;"
variable and corresponding getter and setter. Then I do a
in the order_abc.jsp.
Then I have created a OrderABCEditAction-conversio
"...To keep conversion errors from reporting globally, change the
interceptor stack, and add additional validation rules."
Should I build my own interceptor stack without the conversion error
interceptor and use the type conversion validator only?
Titus
--
View this message i
"...To keep conversion errors from reporting globally, change the
interceptor stack, and add additional validation rules."
Should I build my own interceptor stack without the conversion interceptor
and use the type conversion validator only?
Titus
--
View this message in context:
On Wed, Dec 2, 2009 at 9:22 AM, Marsman wrote:
>
> Hi!
>
> after a type conversion error, Struts goes on in the interceptor stack and
> validates the empty action property with useless results. How can I avoid
> this? (I'm using the default interceptor stack.)
Hi!
after a type conversion error, Struts goes on in the interceptor stack and
validates the empty action property with useless results. How can I avoid
this? (I'm using the default interceptor stack.) And how can I avoid the
NoSuchMethodException thrown every time a user enters in
Stephen Turner wrote:
Hello,
I'm trying to get objects placed in a List using the type conversion
functionality built into Struts 2 (2.0.14)/Java 1.4. The bean that
should be in the list is called "Grocery", with attributes "name" and
"quantity". My action
Hello,
I'm trying to get objects placed in a List using the type conversion
functionality built into Struts 2 (2.0.14)/Java 1.4. The bean that should
be in the list is called "Grocery", with attributes "name" and "quantity".
My action class has a
Thank you very much!
-Oorspronkelijk bericht-
Van: musom...@aol.com [mailto:musom...@aol.com]
Verzonden: dinsdag 18 augustus 2009 16:00
Aan: user@struts.apache.org
Onderwerp: Re: struts 2.1.5 type conversion error
That is because you are using Struts 2.1.5. There is a bug in the type
That is because you are using Struts 2.1.5. There is a bug in the type
conversion for doubles in XWork which is fixed in
the current version (XWork 2.1.4). When you enter a zero it claims it is not a
valid value.
To use XWork 2.1.4 you need Struts 2.1.7. I have just sent the zips I promised
apache.org
Onderwerp: Re: struts 2.1.5 type conversion error
The error/warning you are talking about happens when the conversion
fails.
Essentially, after it tries the conversion and can't do it then it tries
to apply the setXXX(String xxx), but that really is not what you want at
all.
Whe
Amount(String stockAmount) so it could
>> be used by the default ognl conversion. Now I can work without
>> errors, but it seems kind of strange to me that this is the normal
>> way of working, is it?
>
> No; you shouldn't need to do that (and you're breaking Ja
l
way of working, is it?
No; you shouldn't need to do that (and you're breaking JavaBean
convention by doing so). The default type conversion should be
converting the form values to int automatically.
If it's not, something is very wrong, because this functionality has
been wor
truts 2.1.5 type conversion error
Chris,
I've changed my original setter to setStockAmountInt(int stockAmount), and kept
setStockAmount(String stockAmount) so it could be used by the default ognl
conversion.
Now I can work without errors, but it seems kind of strange to me that th
is it?
Regards,
sandy
-Oorspronkelijk bericht-
Van: musom...@aol.com [mailto:musom...@aol.com]
Verzonden: maandag 17 augustus 2009 11:53
Aan: user@struts.apache.org
Onderwerp: Re: struts 2.1.5 type conversion error
OGNL properties are JavaBean properties. In your case you are trying to d
= Integer.parseInt(stockAmount);
}
Now you have two properties even though the data is in one field.
Chris
-Original Message-
From: sandy.verfai...@roularta.be
To: user@struts.apache.org
Sent: Mon, Aug 17, 2009 4:26 am
Subject: RE: struts 2.1.5 type conversion error
Eduard,
I have
n xml or .properties file..
Regards,
SAndy
-Oorspronkelijk bericht-
Van: Eduard Neuwirt [mailto:eduard.neuw...@googlemail.com]
Verzonden: maandag 17 augustus 2009 9:38
Aan: Struts Users Mailing List
Onderwerp: Re: struts 2.1.5 type conversion error
Hi Sandy,
please use additionally t
Mailing List
Onderwerp: RE: struts 2.1.5 type conversion error
http transmits strings (not int,double,date or any other type of primitive)
Martin Gainty
je ne suis pas d'accord avec ce que vous dites.
mais je défendrai à ma mort votre droite de la dire. - Vol
augustus 2009 18:45
Aan: Struts Users Mailing List
Onderwerp: RE: struts 2.1.5 type conversion error
http transmits strings (not int,double,date or any other type of primitive)
Martin Gainty
je ne suis pas d'accord avec ce que vous dites.
mais je défendrai à ma mort votre droite de la
n seulement et n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Subject: RE: struts 2.1.5 type conversion error
> Dat
Lukasz,
The type of 'price' is a double..
Thx for answering.
Regards,
sandy
-Oorspronkelijk bericht-
Van: Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Verzonden: woensdag 22 juli 2009 9:50
Aan: Struts Users Mailing List
Onderwerp: Re: struts 2.1.5 type conversion err
Sent: Wednesday, August 05, 2009 10:04 AM
To: user@struts.apache.org
Subject: Strut2.1.6 Type Conversion Problem
I just started on strut2, I am facing a very basic problem.
for the int field it should convert the type and only shd give error if
provided an invalid integer value such as 123abc
ovi...@6cd0f9] value:
[Ljava.lang.String;@1b602b9
--
View this message in context:
http://www.nabble.com/Strut2.1.6-Type-Conversion-Problem-tp24827859p24827859.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To
2009/7/17 :
>
> Name nl
> price
>
What type has "price" in action class?
Regards
--
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/
Charles de Gaulle - "The better I get to know men, the more I find
myself loving dogs." -
http://www.brainyquote.com/quotes/authors/c/charles_
Hi,
I have made a simple struts form
Name nl
price
And an action class with getters and setters for nameNl and price.
When I submit my form, with a price > 0, for example 3, everything goes
well.
When I enter 0 or a negative number, I get the following error:
java.lang.NoSuchMethodExceptio
y advice on the matter would be welcomed.
>
> I have posted the bug under https://issues.apache.org/struts/browse/WW-3184
> attaching a simple Use Case showing what I find to be an unexpected
> behaviour.
>
> Thanks for your help!
> Denis.
> --
> View this message in c
help!
Denis.
--
View this message in context:
http://www.nabble.com/-Struts-2.1--Using-a-s%3Aselect-with-type-conversion-tp24467738p24467738.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e
Hi there,
when using domain objects in a struts action I'm facing the problem that
type conversion throws an error before validation is executed when
having non string properties.
Example:
in my action I have a property organization which has itself a property
contact. The contact o
Seems like you have it down. Why is it kind of? It is only a really type
conversion issue if you need to reconstruct the graph of Map>Bean>List from
a string posted from a web page.
mahanare wrote:
>
> kind of got a fix.
>
> here
:
>
> Hi, I need help in resolving type conversion issue in struts 2.
>
> Here is my problem definition.
>
> I have a structs 2 action class called AuditTrailAction.
> Here is the class definition. It contains a List I have given
> my AuditView bean definition below.
>
Hi, I need help in resolving type conversion issue in struts 2.
Here is my problem definition.
I have a structs 2 action class called AuditTrailAction.
Here is the class definition. It contains a List I have given my
AuditView bean definition below.
Action contains a List which intern contains
I have exactly the same error message in Struts 2.1.6. If I submit a proper
integer value from the form there is no exception, but if I enter for
example "123abc" I get ognl.MethodFailedException (NoSuchMethodException).
It looks like automatic type conversion is not working properly.
No problem -- I have learnt plenty from others too.
Cheers
Chris M.
-Original Message-
From: ryangr
To: user@struts.apache.org
Sent: Fri, 20 Mar 2009 5:12 am
Subject: Re: Type conversion exceptions
Well I'll be damned...it's working! It looks like the solution was to
??
> ???
> name='settings[].title'
> ????value='' type="hidden" />
>
> '>
> :
> ???
> ???
> name='settings[].value'
> value='' />
> ??
> ?
> ?
> ?
> ?
> ?
s.newSetting = newSetting;
?};
}
JSP:
?
??
???
'>
:
???
???
??
?
?
?
?
?
Cheers
Chris M
-Original Message-
From: ryangr
To: user@struts.apache.org
Sent: Wed, 18 Mar 2009 10:55 pm
Subject: Re: Type conversion exceptions
Here is the converter code: http://pastie.org/41970
te:
>
> I have downloaded your code and will study it so that I don't
> misunderstand. Can you also post the converter?
> If I see it I might?suggestions that fit what you are doing better.
> Chris
>
--
View this message in context:
http://www.nabble.com/Type-conversi
10 pm
Subject: Re: Type conversion exceptions
2009/3/18 :
> But then how do you plan to write a converter to convert a String[] to a
SettingList?
It's already done, just to the configuration has to be adjusted
> Also why is aggregation a bad design?
It isn't but exposing di
2009/3/18 :
> But then how do you plan to write a converter to convert a String[] to a
> SettingList?
It's already done, just to the configuration has to be adjusted
> Also why is aggregation a bad design?
It isn't but exposing directly internal field (ArrayList) it is.
Regards
--
Lukasz
ht
But then how do you plan to write a converter to convert a String[] to a
SettingList? Also why is aggregation a bad design?
Regards
Chris M
-Original Message-
From: Lukasz Lenart
To: Struts Users Mailing List
Sent: Wed, 18 Mar 2009 5:50 pm
Subject: Re: Type conversion exceptions
2009/3/18 :
> My bad -- I didn't realize SettingList extends ArrayList. Suggestion: make it
> aggregation so that SettingList has a property of type ArrayList and
> your type conversion problems will go away.
In such case SettingList is useless, it will be bad design
Regards
-
My bad -- I didn't realize SettingList extends ArrayList. Suggestion: make it
aggregation so that SettingList has a property of type ArrayList and
your type conversion problems will go away.
Chris
-Original Message-
From: ryangr
To: user@struts.apache.org
Sent: Wed, 18 Mar
2009/3/17 ryangr :
> [xwork-conversion.properties]
> Element_settings=com.rjssoft.webdocs.setting.Setting
That's ok but your SettingList is not full List implementation and you
have to specified how to convert array to SettingList that's why you
have to specified also converter for SettingList abo
rs
Chris M?
>
>> com.rjssoft.webdocs.setting.SettingList=com.rjssoft.webdocs.converter.SettingListConverter
>
-Original Message-
From: ryangr
To: user@struts.apache.org
Sent: Wed, 18 Mar 2009 6:59 am
Subject: Re: Type conversion exceptions
Okay, I'm officially very confused as to what s
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
2009/3/17 ryangr :
> com.rjssoft.webdocs.setting.SettingList=com.rjssoft.webdocs.setting.Setting
What this is for?
> com.rjssoft.webdocs.setting.SettingList=com.rjssoft.webdocs.converter.SettingListConverter
This tells Xwork which converter to call if it will need to convert
Array to SettingList
g
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>
--
View t
1 - 100 of 248 matches
Mail list logo