Re: TextProvider issue upgrading from 2.0.14 to 2.1.6

2009-03-23 Thread ryangr
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

TextProvider issue upgrading from 2.0.14 to 2.1.6

2009-03-20 Thread ryangr
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

Re: TextProvider issue upgrading from 2.0.14 to 2.1.6

2009-03-20 Thread ryangr
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

Re: Type conversion exceptions

2009-03-19 Thread ryangr
?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

Re: Type conversion exceptions

2009-03-18 Thread ryangr
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

Re: Type conversion exceptions

2009-03-17 Thread ryangr
' 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

Re: Type conversion exceptions

2009-03-16 Thread ryangr
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

Re: Type conversion exceptions

2009-03-16 Thread ryangr
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

Re: Type conversion exceptions

2009-03-16 Thread ryangr
...@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

Re: Type conversion exceptions

2009-03-16 Thread ryangr
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

Re: Type conversion exceptions

2009-03-16 Thread ryangr
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

Re: Type conversion exceptions

2009-03-16 Thread ryangr
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

Type conversion exceptions

2009-03-13 Thread ryangr
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

Custom tag attribute as struts property?

2009-02-16 Thread ryangr
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

Re: Custom tag attribute as struts property?

2009-02-16 Thread ryangr
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

Passing parameters between Actions

2009-02-12 Thread ryangr
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:

2.0.14 - 2.1.6 filter config issue

2009-02-09 Thread ryangr
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

Re: 2.0.14 - 2.1.6 filter config issue

2009-02-09 Thread ryangr
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

Re: Optiontransferselect list issue

2008-04-02 Thread ryangr
... *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

Optiontransferselect list issue

2008-04-01 Thread ryangr
I have the following for code in my JSP: s:optiontransferselect name=user.groups list=user.groups listKey=id

Action attribute getting set to input content value incorrectly

2008-03-27 Thread ryangr
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