[ 
http://jira.magnolia-cms.com/browse/MGNLDATA-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bert Leunis updated MGNLDATA-89:
--------------------------------

    Attachment: DataFileControl.java.patch
                config.modules.data.dialogs.dataType.xml.patch

The src for the image is something like: 
/contextPath/modules/data/config/types/animal/mammal/cow/image.png.
To get it working it should be: 
/contextPath/dataModule/typeImages/animal/mammal/cow/image.png

See: 
- the mappings defined at Configuration: 
server/URI2RepositoryMapping/dataModuleTypeImages
- info.magnolia.module.data.TypeDefinition.getIcon()
for more information.

The controlType in the dataType dialog of this field should not be "file" but 
"dataFile". The patch for the bootstrap file is attached.
The class info.magnolia.module.data.controls.DataFileControl needs a bit of new 
code too. The patch for this class is attached.

Please make sure that for the next version of the Data Module the file 
config.modules.data.dialogs.dataType.xml is bootstrapped.
Let Jan have a look at the changed DataFileControl class. I think it will not 
hurt existing data, but he might know better.


> dialog don't display Icon properly
> ----------------------------------
>
>                 Key: MGNLDATA-89
>                 URL: http://jira.magnolia-cms.com/browse/MGNLDATA-89
>             Project: Magnolia Data Module
>          Issue Type: Bug
>    Affects Versions: 1.4-rc2
>         Environment: OSX, Safari 4
>            Reporter: Boris Kraft
>            Assignee: Philipp Bärfuss
>             Fix For: 1.4
>
>         Attachments: config.modules.data.dialogs.dataType.xml.patch, 
> DataFileControl.java.patch, Picture 1.png
>
>
> The Magnolia dialogs for data module "types" allows you to select an icon 
> that represents a data type. This icon is not rendered in the dialog. It 
> seems as if only a border is rendered but not the icon itself. See attached 
> screenshot

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to