Author: lektran
Date: Tue Aug 26 13:40:38 2008 New Revision: 689214 URL: http://svn.apache.org/viewvc?rev=689214&view=rev Log: A few sfa fixes Modified: ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/contact/ContactServices.xml ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/controller.xml ofbiz/trunk/applications/marketing/widget/sfa/forms/ContactForms.xml ofbiz/trunk/applications/marketing/widget/sfa/forms/LeadForms.xml Modified: ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/contact/ContactServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/contact/ContactServices.xml?rev=689214&r1=689213&r2=689214&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/contact/ContactServices.xml (original) +++ ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/contact/ContactServices.xml Tue Aug 26 13:40:38 2008 @@ -22,7 +22,7 @@ xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/simple-methods.xsd"> <simple-method short-description="Create Contact" method-name="createContact"> <set field="parameters.roleTypeId" value="CONTACT"/> - <if-compare field="parameters.quickAdd" operator="not-equals" value="true"> + <if-compare field="parameters.quickAdd" operator="not-equals" value="Y"> <call-simple-method method-name="createPersonRoleAndContactMechs" xml-resource="org/ofbiz/party/party/PartySimpleMethods.xml"/> <else> <call-map-processor processor-name="person" in-map-name="parameters" out-map-name="personCtx" Modified: ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/controller.xml?rev=689214&r1=689213&r2=689214&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/controller.xml (original) +++ ofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/controller.xml Tue Aug 26 13:40:38 2008 @@ -171,7 +171,8 @@ <response name="success" type="view" value="FindContacts"/><!-- This need to be fixed --> <response name="error" type="view" value="FindContacts"/> </request-map> - <request-map uri="quickAddContact"> + <request-map uri="quickAddContact"> + <security https="true" auth="true"/> <event type="service" invoke="createContact"/> <response name="success" type="view" value="viewprofile"/> </request-map> Modified: ofbiz/trunk/applications/marketing/widget/sfa/forms/ContactForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/ContactForms.xml?rev=689214&r1=689213&r2=689214&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/forms/ContactForms.xml (original) +++ ofbiz/trunk/applications/marketing/widget/sfa/forms/ContactForms.xml Tue Aug 26 13:40:38 2008 @@ -100,9 +100,9 @@ </form> <form name="QuickAddContact" type="single" target="quickAddContact"> - <field name="firstName" title="${uiLabelMap.CommonFirst} ${uiLabelMap.CommonName}*" widget-style="required"><text size="17"/></field> - <field name="lastName" title="${uiLabelMap.CommonLast} ${uiLabelMap.CommonName}*" widget-style="required"><text size="17"/></field> - <field name="emailAddress" title="${uiLabelMap.CommonEmail}"><text size="17"/></field> + <field name="firstName" title="${uiLabelMap.CommonFirst} ${uiLabelMap.CommonName}*" widget-style="required"><text size="15"/></field> + <field name="lastName" title="${uiLabelMap.CommonLast} ${uiLabelMap.CommonName}*" widget-style="required"><text size="15"/></field> + <field name="emailAddress" title="${uiLabelMap.CommonEmail}"><text size="15"/></field> <field name="quickAdd"><hidden value="Y"/></field> <field name="submitButton"><submit/></field> </form> Modified: ofbiz/trunk/applications/marketing/widget/sfa/forms/LeadForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/LeadForms.xml?rev=689214&r1=689213&r2=689214&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/forms/LeadForms.xml (original) +++ ofbiz/trunk/applications/marketing/widget/sfa/forms/LeadForms.xml Tue Aug 26 13:40:38 2008 @@ -125,10 +125,10 @@ </form> <form name="QuickAddLead" type="single" target="quickAddLead"> - <field name="firstName" title="${uiLabelMap.CommonFirst} ${uiLabelMap.CommonName}*" widget-style="required"><text size="17"/></field> - <field name="lastName" title="${uiLabelMap.CommonLast} ${uiLabelMap.CommonName}*" widget-style="required"><text size="17"/></field> - <field name="groupName" title="${uiLabelMap.CommonGroup}"><text size="17"/></field> - <field name="emailAddress" title="${uiLabelMap.CommonEmail}"><text size="17"/></field> + <field name="firstName" title="${uiLabelMap.CommonFirst} ${uiLabelMap.CommonName}*" widget-style="required"><text size="15"/></field> + <field name="lastName" title="${uiLabelMap.CommonLast} ${uiLabelMap.CommonName}*" widget-style="required"><text size="15"/></field> + <field name="groupName" title="${uiLabelMap.CommonGroup}"><text size="15"/></field> + <field name="emailAddress" title="${uiLabelMap.CommonEmail}"><text size="15"/></field> <field name="quickAdd"><hidden value="Y"/></field> <field name="submitButton"><submit/></field> </form> |
Free forum by Nabble | Edit this page |