Anyone?
ryangr wrote:
Apparently the code sample of the button got messed up...the actual code
can be seen here: http://pastie.org/422358
--
View this message in context:
http://www.nabble.com/TextProvider-issue-upgrading-from-2.0.14-to-2.1.6-tp22628594p22660388.html
Sent from
I have a subtoolbar with 6 options on it with the labels being pulled in from
a message resource bundle. Each subtoolbar is defined like this
(substituting Location/locations for each of the other categories):
li s:url action= class=active ../../images/icons/drive.png s:text
Apparently the code sample of the button got messed up...the actual code can
be seen here: http://pastie.org/422358
--
View this message in context:
http://www.nabble.com/TextProvider-issue-upgrading-from-2.0.14-to-2.1.6-tp22628594p22628675.html
Sent from the Struts - User mailing list archive
?s:submit /
/s:form
Cheers
Chris M
-Original Message-
From: ryangr grigg...@gmail.com
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/419709
Obviously it isn't
Here is the converter code: http://pastie.org/419709
Obviously it isn't doing anything other than outputting the values being
passed in, but none of the values contain anything yet as the parameters are
getting lost somewhere so there's no point in processing them yet.
musomesa wrote:
I
'
Ryan
Lukasz Lenart wrote:
2009/3/17 ryangr grigg...@gmail.com:
Element_settings=com.rjssoft.webdocs.setting.Setting
But you should put there
com.rjssoft.webdocs.setting.SettingList =
com.rjssoft.webdocs.setting.Setting
Regards
--
Lukasz
http://www.lenart.org.pl
an
entirely different pattern with a custom TypeConverter...
ryangr wrote:
This is probably going to be a really simple solution, but after
searching I still haven't quite found an answer so I appreciate any help
with this. I'm using 2.0.14 and trying to do type conversion on a custom
with settings[1].value, etc.
Ryan
Lukasz Lenart wrote:
2009/3/16 ryangr grigg...@gmail.com:
ERROR com.opensymphony.xwork2.util.InstantiatingNullHandler - Could not
create and/or set value back on to object
ognl.OgnlException: settings [java.lang.IllegalArgumentException:
argument
type mismatch
...@eb7f1c7f
o (java.util.ArrayList): []
toClass: class com.rjssoft.webdocs.setting.SettingList
It appears both values objects (value and o, respectively) are completely
empty...
Ryan
ryangr wrote:
That makes sense...I've added a converter for it similar to others that
already exist
Yes, I have it listed in the xwork-conversion.properties file as such:
com.rjssoft.webdocs.setting.SettingList=com.rjssoft.webdocs.converter.SettingListConverter
Ryan
Lukasz Lenart wrote:
It's strange but anyway you should be able to use Struts2 / XWork2
convertion mechanism, did you
Yes.
Hence why I'm confused! :confused:
:-D
Ryan
Lukasz Lenart wrote:
2009/3/16 ryangr grigg...@gmail.com:
Yes, I have it listed in the xwork-conversion.properties file as such:
com.rjssoft.webdocs.setting.SettingList=com.rjssoft.webdocs.converter.SettingListConverter
And the file
Somewhere in here it appears to be losing the values because the parameter
interceptor has them then once it hits the converter they disappear:
com.opensymphony.xwork2.interceptor.ParametersInterceptor - Setting params
settings[0].value = [ 192.168.1.1 ] settings[0].title = [ SMTP Server
This is probably going to be a really simple solution, but after searching I
still haven't quite found an answer so I appreciate any help with this. I'm
using 2.0.14 and trying to do type conversion on a custom collection (called
settings in this case, it is just an extended ArrayList). I'm
I have a custom tag declared in my view as such:
wd:documentTypeList id=document.type selectedType=s:property
value=%{document.type} / showNoneOption=true /
The problem is it then throws an exception with the message Unterminated
lt;wd:documentTypeList tag.
Obviously there's a problem with the
newton.dave wrote:
ryangr wrote:
I have a custom tag declared in my view as such:
wd:documentTypeList id=document.type selectedType=s:property
value=%{document.type} / showNoneOption=true /
The problem is it then throws an exception with the message Unterminated
lt;wd:documentTypeList
Is it possible to pass a parameter from one Action to another Action?
For example, I have FooAction and BarAction. From BarAction's reload
action result I want to return to FooAction but pass it a relevant id for
FooAction to set upon loading.
--
View this message in context:
I'm trying to migrate from 2.0.14 to 2.1.6 and am getting the following error
in my console preventing my app from starting:
Feb 9, 2009 2:23:02 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter struts2
java.lang.NullPointerException
at
problem in xwork:
https://issues.apache.org/struts/browse/WW-2956
setting devMode to false would prevent it.
musachy
On Mon, Feb 9, 2009 at 3:41 PM, ryangr grigg...@gmail.com wrote:
I'm trying to migrate from 2.0.14 to 2.1.6 and am getting the following
error
in my console preventing my
... *scratches head*
-Ryan
Jeromy Evans - Blue Sky Minds wrote:
ryangr wrote:
With that being said...I can populate the list groups just fine, but
when
I try to use user.groups to get the other list it throws an exception
that
says: The requested list key 'user.groups' could not be resolved
I have the following for code in my JSP:
s:optiontransferselect
name=user.groups
list=user.groups
listKey=id
Sorry for the confusing title...I couldn't think of a more succinct
description.
Basically what is happening is that I have a standard CRUD setup in my app
to manage my own User objects.
When I edit a user and submit the changes back to the Action, the id
attribute (just a standard UUID
21 matches
Mail list logo