Please take a look on the thread to reproduce the scenario.
Thanks Sharan Foga for your report !
I will commit the same thing in the release0904 branch in my next commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768479 13f79535-47bb-0310-9956-ffa450edef68
1. use the contactListName instead of description (description is most often empty since there is no field to enter it)
2. use the min of the name.length() or 12 to avoid out of bounds exceptions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768362 13f79535-47bb-0310-9956-ffa450edef68
1. Added renderScreenBegin and renderScreenEnd methods to ScreenStringRenderer.java.
2. Updated HtmlScreenRenderer.java and MacroScreenRenderer.java to emit the <DOCTYPE> element first - before any widget comments or template content.
3. Removed <DOCTYPE> elements from templates that no longer need them.
4. Added screen and section boundary comments to MacroScreenRenderer.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767996 13f79535-47bb-0310-9956-ffa450edef68
As it is not good practice to keep two request same and change the case only (For ex: we have CreateLead & createLead).
I think it creates ambiguity.
The best practice(as far as I learned) is to use "New" prefix for all the request if you are using the form only to create a record.
Although if you are using the same form for create & update then you should add "Edit" prefix before each request.
SFA will be bit large very soon so its safe to remove such issues in early stage.
Here is the code snippet :
<request-map uri="CreateLead">
<security https="true" auth="true"/>
<response name="success" type="view" value="CreateLead"/>
</request-map>
<request-map uri="createLead">
<security https="true" auth="true"/>
<event type="service" invoke="createLead"/>
<response name="success" type="request" value="viewprofile"/>
<response name="error" type="view" value="CreateLead"/>
</request-map>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767904 13f79535-47bb-0310-9956-ffa450edef68
But this is not as simple as the original issue is due to Labels Manager.
If you put a sole space (ie > < ) for CommonEmptyHeader, then if you do some modifications with Labels Manager in this file and then save the file you will get
<property key="CommonEmptyHeader">
<value xml:lang="en"/>
</property>
In order to cope with this I tried to write directly at SaveLabelsToXmlFile.saveLabelsToXmlFile[93] the String " " which should be ok. But I guess I would have to change the format passed to UtilXml.writeXmlDocument some lines below since else it write "&#160;" and not " " as intended. Not sure it's possible though. And I have no time to look at it right now.
And we will have to deal with that in a complete way since else we will find an even worst trouble later (as soon someone will use Labels Manager to save changes in this file)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767845 13f79535-47bb-0310-9956-ffa450edef68
Thanks Akash Jain, this is indeed the right way to upload patches, one with diff and other with formatting changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767449 13f79535-47bb-0310-9956-ffa450edef68
Initial work is done by Harsha Chadhar (data preperation, service, form, screens) with the help of Pranay Pandey.Thanks to both & special thanks to Anil Patel for providing useful details in b/w Implementation. Then I took the charge as there were some issues here and there.
(Two points are covered in this patch and remaining will be covered soon. So be patient for the complete availability of the feature :-) )
After completion of this work we should provide the Document on confluence to use this feature.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767400 13f79535-47bb-0310-9956-ffa450edef68
Patch from Akash Jain (reviewed and tested by Pranay Pandey), Part of OFBIZ-2329 (https://issues.apache.org/jira/browse/OFBIZ-2329).
Note: I have done little modifications to the new labels part of this patch.
This issue completes the functionality of the Verify Pick feature added recently. I would like to port these changes to release09.04 later today
if I do not see any objections.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767394 13f79535-47bb-0310-9956-ffa450edef68