Package ariba.ui.aribaweb.util

Examples of ariba.ui.aribaweb.util.AWFileData.data()


            setValueForBinding(fileData.fileIncomplete(), BindingNames.fileSizeExceeded);

            // Only one binding for file data is honored. Precedence order: file, input stream, byte array.
            if (parent().hasBinding(BindingNames.file)) {
                File file = fileData.file();
                if ((file == null) && (fileData.data() != null)) {
                    throw new AWGenericException("File binding not supported for in memory file uploads");
                }
                setValueForBinding(file, BindingNames.file);
            }
            else {
View Full Code Here


                if (parent().hasBinding(BindingNames.inputStream)) {
                    InputStream inputStream = fileData.inputStream();
                    setValueForBinding(inputStream, BindingNames.inputStream);
                }
                else if (parent().hasBinding(BindingNames.bytes)) {
                    byte[] byteArray = fileData.data();
                    setValueForBinding(byteArray, BindingNames.bytes);
                }
            }
        }
        // This is here to balance the glid stack since we do not call super.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.