THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- What is the best practice to modify an existing component or create a new one?
- What is considered the best practice in creating a custom web application with OFBIZ?
- How to Extend an existing component in customized application?
- How to manage your source differences?
- Which variables are available in screen context?
- Tips & Tricks while working with Groovy
- Deprecating entities
- Add a WAR file
- Using locale XSD files instead of OFBiz remote (at http://ofbiz.apache.org/dtds) for validation and content completion
- UBPL Introduction
- How to know which ant tasks are available : ant -p
- Ofbiz as a development framework - release 9.04
- Ofbiz as a development framework - upcoming release 10.04
- Field Description tooltip help
- How to not have a string escaped for html : org.ofbiz.base.util.StringUtil.wrapString(uiLabelMap.yourString)
- Turning Firefox cache on/off (mostly for javascript testing)
- Validation in forms
Eclipse
...
A tip from Brajesh Patel & James Mcgill
Anchor | ||||
---|---|---|---|---|
|
Validation in forms
- include a js code like below:
Code Block Event.observe(window, 'load', function() { if ($('formName')) validateNewUser = new Validation('formName', {immediate: true}); }
- And in the respective form use the suitable class for form fields
Code Block <field ... widget-style="required"> ... </field> <field ... widget-style="validate-email"> ... </field> <field ... widget-style="validate-url"> ... </field>
A tip from Atul Vani