[
https://issues.apache.org/jira/browse/OFBIZ-4259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicolas Malin updated OFBIZ-4259:
---------------------------------
Attachment: OFBIZ-4259-POC.patch
PurposePOC.png
To continue on the icons subject, I created a little POC on form field with
purpose.
The idea, if a field have a purpose, the ModelFormField take given attribute if
present on definition form or try to found information on site properties
(widget-field-purposes.properties).
This method give the possibility for a button submit, a link or other field to
set many generic information : title, style (for icons or other ;) ) and
different attributes that list not actualy fixed.
> Add famfamfam icons has generic and add possibility to surchage
> ---------------------------------------------------------------
>
> Key: OFBIZ-4259
> URL: https://issues.apache.org/jira/browse/OFBIZ-4259
> Project: OFBiz
> Issue Type: Improvement
> Components: framework, themes
> Affects Versions: SVN trunk
> Reporter: Nicolas Malin
> Assignee: Jacques Le Roux
> Priority: Minor
> Labels: icons, images
> Fix For: SVN trunk
>
> Attachments: Icons.jpg, OFBIZ-4259-POC.patch, OFBIZ-4259.patch,
> OFBIZ-4259.patch, PurposePOC.png, famfamfam.zip, remove-img-OFBIZ-4259.patch
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> I add possibility to use famfamfam icons contains in
> framework/images/webapp/images/icons.
> If you want use specific icon, it's possible to define a attribute
> VT_ICONS_LOC that contains the way to themes icons directory to use
> I improve form renderer to passe a flexible string on image-location
> attribute and screen and form renderer to display an image with a text.
> To try it, deploy famfamfam.zip on framework/images/webapp/images directory,
> apply the patch and go to exemple component (see screenshot ;) )
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira