Package it.cilea.osd.jdyna.widget

Examples of it.cilea.osd.jdyna.widget.WidgetFile


                }
                if (prop.getTypo().getRendering() instanceof WidgetFile)
                {
                    EmbeddedFile file = (EmbeddedFile) pe.getValue();
                    WidgetFile widget = (WidgetFile) (prop.getTypo()
                            .getRendering());
                    List<String> attributes = new LinkedList<String>();
                    List<String> valuesAttributes = new LinkedList<String>();
                    attributes.add(NAMEATTRIBUTE_VISIBILITY);
                    valuesAttributes.add(prop.getVisibility().toString());

                    attributes.add(NAMEATTRIBUTE_MIMETYPE);
                    valuesAttributes.add(file.getMimeFile());

                    attributes.add(NAMEATTRIBUTE_FILEEXTENSION);
                    valuesAttributes.add(file.getExtFile());

                    ExportUtils.createCustomValueWithCustomAttributes(
                            element,
                            shortName,
                            ConfigurationManager.getProperty("dspace.url") + "/"
                                    + widget.getServletPath() + "/"
                                    + file.getFolderFile() + "/?filename="
                                    + file.getValueFile() + "."
                                    + file.getExtFile(), attributes,
                            valuesAttributes);
View Full Code Here

TOP

Related Classes of it.cilea.osd.jdyna.widget.WidgetFile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.