Author: jleroux
Date: Mon Sep 12 10:09:27 2011
New Revision: 1169672

URL: http://svn.apache.org/viewvc?rev=1169672&view=rev
Log:
Makes First and Last names optional in createPerson service. This allows to 
implement simple create user login screen where user is able create account in 
system with username and password and then later populate rest of the account 
information.

I did not change simple-methods where processor-name="person" is called (in 
call-map-processor) because I think we want this change only in createPerson 
service. Hopefully with the comment it will be now quite obvious

Modified:
    ofbiz/branches/release10.04/applications/party/servicedef/services.xml

Modified: ofbiz/branches/release10.04/applications/party/servicedef/services.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/party/servicedef/services.xml?rev=1169672&r1=1169671&r2=1169672&view=diff
==============================================================================
--- ofbiz/branches/release10.04/applications/party/servicedef/services.xml 
(original)
+++ ofbiz/branches/release10.04/applications/party/servicedef/services.xml Mon 
Sep 12 10:09:27 2011
@@ -79,9 +79,11 @@ under the License.
         <attribute name="description" type="String" mode="IN" optional="true"/>
         <attribute name="externalId" type="String" mode="IN" optional="true"/>
         <attribute name="statusId" type="String" mode="IN" optional="true"/>
-        <override name="firstName" mode="IN" type="String" optional="false"/>
-        <override name="lastName" mode="IN" type="String" optional="false"/>
-    </service>
+        <!-- First and Last names are here optional. This allows to implement 
simple create user login screen where user is able create account 
+            in system with username and password and then later populate rest 
of the account information. -->
+<!--        <override name="firstName" optional="false"/>
+        <override name="lastName" optional="false"/>
+-->    </service>
     <service name="createPersonAndUserLogin" engine="simple" 
require-new-transaction="true"
             
location="component://party/script/org/ofbiz/party/party/PartySimpleMethods.xml"
 invoke="createPersonAndUserLogin" auth="false">
         <description>Create a Person and UserLogin</description>


Reply via email to