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 S

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 a

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): ../../images/icons/drive.png If you click on 3 of the 6 items to go to that respec

Re: Type conversion exceptions

2009-03-19 Thread ryangr
etSettings() { > ??return settings; > ?} > > > ?public Setting getNewSetting() { > ??return newSetting; > ?} > > > ?public void setNewSetting(Setting newSetting) { > ??this.newSetting = newSetting; > ?}; > > } > > > JSP: > > > ? >

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 h

Re: Type conversion exceptions

2009-03-17 Thread ryangr
because it throws the exceptions noted in previous emails. [view.jsp] See this link for the relevant code: http://pastie.org/419192 What am I missing that isn't in the documentation or is incorrect? Ryan Lukasz Lenart wrote: > > 2009/3/17 ryangr : >> com.rjssoft.

Re: Type conversion exceptions

2009-03-17 Thread ryangr
27;[Ljava.lang.String;@13acc52' Ryan Lukasz Lenart wrote: > > 2009/3/17 ryangr : >> Element_settings=com.rjssoft.webdocs.setting.Setting > > But you should put there > com.rjssoft.webdocs.setting.SettingList = > com.rjssoft.webdocs.setting.Settin

Re: Type conversion exceptions

2009-03-17 Thread ryangr
class com.rjssoft.webdocs.setting.SettingList Ryan Lukasz Lenart wrote: > > 2009/3/16 ryangr : >> com.opensymphony.xwork2.util.XWorkConverter  - processing conversion file >> [com/rjssoft/webdocs/admin/SettingAction-conversion.properties] >> [class=class >> com.rjssoft.webdocs.admin.S

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 Addre

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 : >> >> Yes, I have it listed in the xwork-conversion.properties file as such: >> >> com.rjssoft.webdocs.setting.SettingList=com.rjssoft.webdocs.converter.SettingLi

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 yo

Re: Type conversion exceptions

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

Re: Type conversion exceptions

2009-03-16 Thread ryangr
sn't documented... Ryan Lukasz Lenart wrote: > > 2009/3/16 ryangr : >> settings is a SettingList which is just an extended ArrayList. > > That can be a problem, generics are erased during compilation and Ognl > doesn't know how to convert array to SettingL

Re: Type conversion exceptions

2009-03-16 Thread ryangr
settings is a SettingList which is just an extended ArrayList. The rendered source looks like: Currently there is only one Setting, but adding another arbitrary entry does come up with settings[1].value, etc. Ryan Lukasz Lenart wrote: > > 2009/3/16 ryangr : >> ERROR com.opensym

Re: Type conversion exceptions

2009-03-16 Thread ryangr
file if your target is a List. > > I am wondering if you want struts to load your Settings models from the db > based on the ID. If that was the case then you would need to use an > entirely different pattern with a custom TypeConverter... > > > > ryangr wrote: >>

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 gett

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: >> " showNoneOption="true" /> >> >> The problem is it then throws an exception with the message "Unterminated >> <wd:documentTypeList tag&qu

Custom tag attribute as struts property?

2009-02-16 Thread ryangr
I have a custom tag declared in my view as such: " showNoneOption="true" /> The problem is it then throws an exception with the message "Unterminated

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: http://www.nabb

Re: 2.0.14 -> 2.1.6 filter config issue

2009-02-09 Thread ryangr
known 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 wrote: >> >> I'm trying to migrate from 2.0.14 to 2.1.6 and am getting the following

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 com.opensymp

Re: Optiontransferselect list issue

2008-04-02 Thread ryangr
uld not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - [unknown location] It is baffling me at this point because they are the same data type, and getters/setters exist for all the related objects... *scratches head* -Ryan Jeromy Evans - Blue

Optiontransferselect list issue

2008-04-01 Thread ryangr
I have the following for code in my JSP: In my action I have a "groups" variable that is an extended ArrayList and a user variable that contains an extended ArrayList also named "groups". Both "groups" variables are of the same type GroupList that is my own custom type, although it's really jus

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 stri