Author: arunpatidar
Date: Sat Jul 2 08:38:37 2016
New Revision: 1751037
URL:
http://svn.apache.org/viewvc?rev=1751037&view=revLog:
Applied patch from jira issue - OFBIZ-7421 - Required client side validation on sending BIRT report by mail. Thanks Anurag Chandak for your contribution.
Modified:
ofbiz/trunk/specialpurpose/birt/widget/birt/BirtForms.xml
Modified: ofbiz/trunk/specialpurpose/birt/widget/birt/BirtForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/birt/widget/birt/BirtForms.xml?rev=1751037&r1=1751036&r2=1751037&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/birt/widget/birt/BirtForms.xml (original)
+++ ofbiz/trunk/specialpurpose/birt/widget/birt/BirtForms.xml Sat Jul 2 08:38:37 2016
@@ -25,7 +25,7 @@ under the License.
<field name="sendFrom"><text/></field>
<field name="sendTo"><text/></field>
<field name="subject"><text/></field>
- <field name="birtReportLocation" tooltip="Example is component://birt/webapp/birt/report/example.rptdesign"><text/></field>
+ <field name="birtReportLocation" tooltip="Example is component://birt/webapp/birt/report/example.rptdesign" required-field="true"><text/></field>
<field name="birtContentType">
<drop-down>
<option key="text/html" description="text/html"/>
@@ -39,7 +39,7 @@ under the License.
<option key="application/vnd.oasis.opendocument.presentation" description="application/vnd.oasis.opendocument.presentation"/>
</drop-down>
</field>
- <field name="attachmentName"><text/></field>
+ <field name="attachmentName" required-field="true"><text/></field>
<field name="sendButton" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
</forms>