Commits

Author Commit Message Labels Comments Date
jcarreira
Fixing type conversions issues: XWorkBasicConverter now throws a TypeConversionException if the value is not converted XworkConverter only sets field errors if there is an error, not for null conversion field errors are set using the value stack, so if the top object is not ValidationAware, this will not lose error messages git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk/src@63 e221344d-f017-0410-9bd5-d282ab1896d7
jcarreira
Fixing type conversions issues: XWorkBasicConverter now throws a TypeConversionException if the value is not converted XworkConverter only sets field errors if there is an error, not for null conversion field errors are set using the value stack, so if the top object is not ValidationAware, this will not lose error messages git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@63 e221344d-f017-0410-9bd5-d282ab1896d7
jcarreira
Updating build.xml to build with JDK1.3 (minus the editor) if JDK1.4 is not available git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@62 e221344d-f017-0410-9bd5-d282ab1896d7
plightbo
removed crap we don't use anymore git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk/src@61 e221344d-f017-0410-9bd5-d282ab1896d7
plightbo
removed crap we don't use anymore git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@61 e221344d-f017-0410-9bd5-d282ab1896d7
plightbo
OK, this is fun: * Fixed a test so it can run in an existing suite (it plays nice now) * new hacked version of Ognl that lets the CompoundRoot finally trick Ognl in to thinking there really are many roots -- this fixes type conversion for good * added a bunch of tests for type conversion and the compound root git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk/src@60 e221344d-f017-0410-9bd5-d282ab1896d7
plightbo
OK, this is fun: * Fixed a test so it can run in an existing suite (it plays nice now) * new hacked version of Ognl that lets the CompoundRoot finally trick Ognl in to thinking there really are many roots -- this fixes type conversion for good * added a bunch of tests for type conversion and the compound root git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@60 e221344d-f017-0410-9bd5-d282ab1896d7
jcarreira
XW-99: Validators now use ValueStack to find values, alleviating the problem where ModelDriven Actions would have to have different field names in validations and form fields (which would cause error messages not to show up). git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk/src@59 e221344d-f017-0410-9bd5-d282ab1896d7
jcarreira
XW-99: Validators now use ValueStack to find values, alleviating the problem where ModelDriven Actions would have to have different field names in validations and form fields (which would cause error messages not to show up). git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@59 e221344d-f017-0410-9bd5-d282ab1896d7
jcarreira
XW-98: Type conversion errors add field error messags to the Actions git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk/src@58 e221344d-f017-0410-9bd5-d282ab1896d7
jcarreira
XW-98: Type conversion errors add field error messags to the Actions git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@58 e221344d-f017-0410-9bd5-d282ab1896d7
savaki
*** empty log message *** git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk/src@57 e221344d-f017-0410-9bd5-d282ab1896d7
savaki
*** empty log message *** git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@57 e221344d-f017-0410-9bd5-d282ab1896d7
jon_lipsky
Initial Version git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@56 e221344d-f017-0410-9bd5-d282ab1896d7
jon_lipsky
Added the targets to build the editor. git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@55 e221344d-f017-0410-9bd5-d282ab1896d7
jon_lipsky
Initial Version git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@54 e221344d-f017-0410-9bd5-d282ab1896d7
jon_lipsky
no message git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk/src@53 e221344d-f017-0410-9bd5-d282ab1896d7
jon_lipsky
no message git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@53 e221344d-f017-0410-9bd5-d282ab1896d7
savaki
resolves WW-167 Added a bunch of comments to more clearly identify what's going wrong. The comments for conditions that should never occur are tongue and cheek (although still accurate :) git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk/src@52 e221344d-f017-0410-9bd5-d282ab1896d7
savaki
resolves WW-167 Added a bunch of comments to more clearly identify what's going wrong. The comments for conditions that should never occur are tongue and cheek (although still accurate :) git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@52 e221344d-f017-0410-9bd5-d282ab1896d7
savaki
resolves WW-308 also added a test for Ognl to handle automatically instantiating a dependent object if it doesn't exist. git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk/src@51 e221344d-f017-0410-9bd5-d282ab1896d7
savaki
resolves WW-308 also added a test for Ognl to handle automatically instantiating a dependent object if it doesn't exist. git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@51 e221344d-f017-0410-9bd5-d282ab1896d7
jon_lipsky
Initial Version git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk/src@50 e221344d-f017-0410-9bd5-d282ab1896d7
jon_lipsky
Initial Version git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@50 e221344d-f017-0410-9bd5-d282ab1896d7
cameronbraid
Issue number: WW-271 Bug in converter that used String.class instead of sourceObject.class when converting to string, causing sourceObject.toString() to be called instead of using the sourceObject.class converter. Addition of programatic registration of converters. Addition of programatic specification of a default converter to use as the fallback converter - when a converter isn't found in the registry. git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk/src@49 e221344d-f017-0410-9bd5-d282ab1896d7
cameronbraid
Issue number: WW-271 Bug in converter that used String.class instead of sourceObject.class when converting to string, causing sourceObject.toString() to be called instead of using the sourceObject.class converter. Addition of programatic registration of converters. Addition of programatic specification of a default converter to use as the fallback converter - when a converter isn't found in the registry. git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@49 e221344d-f017-0410-9bd5-d282ab1896d7
cameronbraid
Issue number: WW-271 Bug in converter that used String.class instead of sourceObject.class when converting to string, causing sourceObject.toString() to be called instead of using the sourceObject.class converter. Addition of programatic registration of converters. Addition of programatic specification of a default converter to use as the fallback converter - when a converter isn't found in the registry. git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk/src@48 e221344d-f017-0410-9bd5-d282ab1896d7
cameronbraid
Issue number: WW-271 Bug in converter that used String.class instead of sourceObject.class when converting to string, causing sourceObject.toString() to be called instead of using the sourceObject.class converter. Addition of programatic registration of converters. Addition of programatic specification of a default converter to use as the fallback converter - when a converter isn't found in the registry. git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@48 e221344d-f017-0410-9bd5-d282ab1896d7
jcarreira
Adding a nicer error when the result type is not defined git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk/src@47 e221344d-f017-0410-9bd5-d282ab1896d7
jcarreira
Adding a nicer error when the result type is not defined git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@47 e221344d-f017-0410-9bd5-d282ab1896d7
  1. Prev
  2. Next