File Upload on Visual Composer

Dear colleagues,
I need to build the functionality to do a File upload on Visual Composer. The user should be able to select a file from his local PC and upload it into a table or DSO.
I have created a function module that uses the function 'GUI_UPLOAD' to do the upload. If I execute the FM from transaction SE37 it works fine, selects the file and loads the data into the table. However, if I embed that FM into Visual Composer it does not work anymore.
Is it because it uses GUI technology that cannot be called from java environment of VC?
Anybody has a hint on how to solve this? Is there any standard functionality to do it?
Thanks,
Salvador Gimeno

Hi,
Salvador  Gimeno wrote:
Dear colleagues,
I need to build the functionality to do a File upload on Visual Composer. The user should be able to select a file from his local PC and upload it into a table or DSO.
I have created a function module that uses the function 'GUI_UPLOAD' to do the upload. If I execute the FM from transaction SE37 it works fine, selects the file and loads the data into the table. However, if I embed that FM into Visual Composer it does not work anymore.
Is it because it uses GUI technology that cannot be called from java environment of VC?
Yes, the GUI_UPLOAD relies on the "SAP Gui connection" which is not possible in a Web environnement like the Visual Composer.
In languages such as Web Dynpro (Java or ABAP) or BSP, you can upload file to the server.
You might have to "mix" technologies to provide upload and still keep using VC.
Salvador  Gimeno wrote:
Anybody has a hint on how to solve this? Is there any standard functionality to do it?
I think this upload functionality is about to be released with Ehp1

Similar Messages

  • I get a file upload popup when composing an email using Godaddy webmail. How can I prevent this from happening?

    When I try to compose an email from Godaddy's webmail in the Firefox browser. My steps are as follows:
    -Open Firefox.
    -Log in to Godaddy webmail.
    -I hit the compose button.
    -New window pops up. This is the window that I would compose an email in.
    - Right after the compose window loads, I get another window that pops up. This window says "File Upload" in the upper left corner.
    If I exit that window I can then compose my email, and life is good until I want to compose another email. Then the problem repeats. I have contacted Godaddy support and the problem is not on their end. Also the problem DOES NOT happen when using another browser (Internet Explorer).

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • Refesh data on visual composer

    Good day everybody,
    i am busy with the design and coding the solution for the visual composer, but my challenge now is to find out how to clear or refresh data on visual composer. what i have done is that i created one big structure that will display different output data based on the selection screen. e.g if i have selected employees who exceeded overtime hours then it displays data accordingly and if select employees per cost centre it must display data accordingly but what is happening is that data overwrite the other.My function module works perfectly from where i get data from. On the visual composer what i have done is for each field i have a condition based on the output e.g.(if output = 1) BOOL(IF(#ID[ACA6OX]@OUTPUT == '1', true, false)) if (output = 2) BOOL(IF(#ID[ACA6OX]@OUTPUT == '2', true, false)) and (if output = 3) BOOL(IF(#ID[ACA6OX]@OUTPUT == '3' OR TRIM(#ID[ACA6OX]@OUTPUT)== '', false, true)). But is still overwrites can anyone help me in this regard as to how can i clear the visual compser.
    Thanks in advance,
    Themba.

    Hi,
    Salvador  Gimeno wrote:
    Dear colleagues,
    I need to build the functionality to do a File upload on Visual Composer. The user should be able to select a file from his local PC and upload it into a table or DSO.
    I have created a function module that uses the function 'GUI_UPLOAD' to do the upload. If I execute the FM from transaction SE37 it works fine, selects the file and loads the data into the table. However, if I embed that FM into Visual Composer it does not work anymore.
    Is it because it uses GUI technology that cannot be called from java environment of VC?
    Yes, the GUI_UPLOAD relies on the "SAP Gui connection" which is not possible in a Web environnement like the Visual Composer.
    In languages such as Web Dynpro (Java or ABAP) or BSP, you can upload file to the server.
    You might have to "mix" technologies to provide upload and still keep using VC.
    Salvador  Gimeno wrote:
    Anybody has a hint on how to solve this? Is there any standard functionality to do it?
    I think this upload functionality is about to be released with Ehp1

  • Visual composer open file-dialog

    Hi,
    is possible to open an file dialog  in Visual composer to get the filenamepath as in R3 do the function ws_filename_get or like you and a file to customer message?.
    Thanks.

    Hi Pedro,
    your question isn't clear for me. Do you want a file dialog for uploading data? Do you want a file dialog for storing your model to the local file system?
    Uploading data is not possible with VC, therefore you have to use other technologies like the KM or an integrated Web Dynpro Application. Exporting the model to the local file system is possible via the menu bar.
    Best Regards,
    Marcel
    PS: If you question isn't answered now, don't hesitate to ask again.

  • Where to get the par file for visual composer application?

    Hi Gurus,
    I have referred few forum postings about transporting VC iview .
    to do that first we have to deploy the par file of the Visual composer application into the target system(QA & Prod) where ever we want to import it........
    Now my query is I went to System admin->support-Portal runtime->Root Folder-->Portal apps........
    where i have seen my Visual composer application name and otpion to download when I downloeded it it has downloded in unknown format............can i deploy this to SDM of the target system?
    Or I need to change the file format into par or par.bak file?
    please tell me how to go about it.........
    higher points will be rewarded for the useful inputs.......
    Thanks in Advance,
    Dharani

    Hi Dharani,
    Tools --> Options --> Compiler --> Check box deploy for par and mention the namespace and vendorname in the PAR prefix name
    Very similar to how its done in NWDS.
    Cheers,
    Rahul.

  • From Visual Composer to Developer Studio

    Masters I need some help here!
    I import into the developer studio a *.par file, made with visual composer, so I can modify it from the developer studio.
    The project don't compile because the "GmlDynController" class is missing, so as there's not import sentence in the *.java file, I searched (all over the PC where was install the portal and Visual Composer) for the *.jar or folder containing "GmlDynController" and nothing I found.
    I searched all over the sap's sites "GmlDynController" and nothing was display.
    I only know that is a class introduce by the visual composer and if it's use must be at somewhere.
    ¿Does anybody could tell me where is the GmlDynController?
    Thanks a lot for your time.

    Hi,
      Finding the classesfor the par files is a time consuming task. here are some means tools which will help you find them.
    Jar Class finder is a tool which will help you in this
    download info JAR Class Finder
    plugin installation: Using JAR Class Finder
    Regards,
    S.Divakar

  • Error in accessing the visual composer

    I am just trying to access the VC from the portal url. I am getting the following error.
    Visual Composer - Permission denied
    Roles specification: You don't have a Visual Composer role.
    Contact your administrator to get help
    What role need to add to my userid?
    can u tell me how to proceed further. I am new to the visual composer.
    Regards
    Vijay

    HI Vishal
    I checked the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/portal">vc Wiki</a> and found the following:
    you cannot find these roles, then make sure that you have installed the following files:
    Goto the SWDC -> http://service.sap.com/swdc
    Click on SAP Support Packages -> Entry by Application Group -> SAP Netweaver -> NETWEAVER -> (NW04s or applicable) -> Entry by Component -> Enterprise Portal
    Scroll all the way to the bottom and download the following files for deployment
    Visual Composer Base
    VCBASE08P_1-10003602.SCA <-- Newer than what you listed before
    Visual Composer Flex
    VCFLEX08P_1-10003616.SCA
    Visual Composer Framework
    VCFRAMEWORK08P_1-10003624.SCA
    Visual Composer GP Kits 7.00
    VCKITGP08_0-10003617.SCA
    Visual Composer XX Kits 7.00
    VCKITXX08_0-10003615.SCA
    Web Dynpro Extensions 7.00
    WDEXTENSIONS08_0-10003618.SCA
    The VCRole and other VC content is part of com.sap.visualcomposer.portalcontent.sda that is included in VCFRAMEWORK08_0-10003624.
    Best regards,
    Martin

  • How to read a text file from Visual Composer

    Hi VC Experts,
    Please suggest me how can we read a textfile from  the local machine and pull the data from Visual Composer.
    Regards
    Kiran

    Hy kiran, is not possible to read data from flat file and put it in visual composer but you can :
    1) load this file in BI by ETL, for example on DSO object and then you can create a bex query to retrive the data
    2) if you want display the content of this file , you can use KM.
    Regards,
    Andrea

  • Solution Composer v/s Visual Composer

    I was wondering if Solution Composer is the appropriate tool to perform AS-IS business process mapping of a system. Is Visual Composer a better alternative?
    If I edit and customize a solution in the Solution Composer, will it port to Solution Manager?

    Kevin,
    The answer depends on what you are trying to accomplish, also you should understand that there is a key difference between the two tool sets you mention.
    Solution Composer is a high level representation of SAP capability across the different processes and industries. Since it is customisable, it is useful for showing at a high level a map between SAP enabled scenarios and a given current business model. Visual Composer is a tool that can do two things, 1) Create simple composite applications running on NW 7.0 portal as iViews :  2) Used as a reporting tool in the same scenario as option 1.
    If you are trying to do an AS-IS of an existing SAP system and do not have a documented Business Blueprint linked to a Business Process Hierarchy in Solution Manager then the answer may be yes, you could possbily use Solution Composer.
    However if this was more of a normal AS-IS situation covering business processes on non SAP enabled systems you may be better off doing the AS-IS using a tool such as ARIS (or other modelling tools such as Casewise or Livemodel). Even Visio used in a structured way combined with a generic Business Process Procedure document (in word format) would work. This depends on wether your organisation has a formal approach to Business Process Management.
    By the way, you can save Solution Composer models as HTML files, these could then be uploaded and stored within a BPH template on Solution Manager at either Scenario or Process level.

  • Error while making iview with visual composer

    I am trying to make an iview usign visual composer.
    In the document that i have for making the iview , it says that when you have the bapi list you need to drag and drop the bapi to the empty iview pane . When i do so it gives me the following error ...
    "Portal request failed
    (com/sap/mdi/ObjectFactory)"
    What do i do ?
    Would appreciate a prompt help!
    thanks again for making me move ahead
    I had a conversation with a parson on the forum named Venkat . I am posting the same for other people in the forum to understand what exactly is my problem and how much have we explored .
    Regards
    Deepak Singh
    Hi Venkat ,
    I tried to do so research on the problem and it is being talked about in a thread on the forum . They ask to refer to the sap note 765461 to resolve the mdi reference . In the note they ask you to refer the installation guide of the installed version of EP . I have EP 6.0 SP2 . The installation guide says the following ...
    7.1.2 Adding References
    To enable some of the features in the portal environment, add references to reference file.
    To add a reference:
    1. With a text editor, open the file:
    Windows: <installation drive>:\usr\sap\<SAP J2EE instance name>\j2ee\<instance
    number>\cluster\state\services\file\work\managers\reference.txt
    Unix: /usr/sap/<SAP J2EE instance name>/j2ee/j2ee_<instance number>/
    cluster/state/services/file/work/managers/reference.txt
    2. Look for the line:
    reference service:eisconnector library:jco
    3. After the line mentioned in previous step, add the following in a new line:
    reference service:eisconnector library:com.sap.mdi
    4. Save your changes and close the file.
    5. Delete the file:
    Windows: <installation drive>:\usr\sap\<SAP J2EE instance name>\j2ee\<instance
    number>\cluster\state\services\file\work\managers.bin
    Unix: /usr/sap/<SAP J2EE instance name>/j2ee/j2ee_<instance number>/
    cluster/state/services/file/work/managers.bin
    6. Restart the SAP J2EE Engine. See Starting the SAP J2EE Engine [Page 60].
    7. Restart the SAP J2EE Engine again.
    I did the same ....but now my server is not starting . By chance i didn't keep a bakup of the file which they asked me to delete .
    Now what do i do ?
    I think i am stuck up badly here .
    EVERYBODY IN THE FORUM PLEASE HELP
    I am not sure how a thing that is mentioned in the installation guide cannot work !
    Regards
    Deepak Singh
    Deepak,
    It is not that bad. By deleting you are recreating that managers.bin file during startup based on the reference.txt and library.txt (recollecting from my memory). This could also happen if there is a typo or some special characters in the reference.txt
    I don't know what J2EE patch you are at, but after PL22 you can actually add the reference using the "add reference" command from the administrator console.
    could you please send the error you are getting? To revert back the simplest thing is removing the line you have added and restart.
    Hope this helps.
    -Venkat Malempati
    Note: Please reward points if your problem is solved or useful.
    Venkat ,
    I am using J2EE engine 6.20 SP2 .I tried to get the server started by the following two methods
    1) I removed my entry in the reference.txt file and then start the engine by running go.bat from the required path .
    2) I got the original file managers.bin which i deleted and then placed in the required path and restarted the server
    Both the options didn't work .
    I am not getting any error when i restart the server. When i run the batch file go.bat it starts the console and shows me the various managers loading . After it shows the Clustermanager loading , it stops and gets stuck .
    Not sure what should i do now .Is reinstallation the only solution ?
    Is there a solution from the administrator console ?
    Regards
    Deepak Singh
    Deepak,
    No you don't need to re-install. Try the following.
    1. First start the state controller by runing go.bat in the following directory.
    /usr/sap/xxx/j2ee/cluster/state/go.bat
    You get the message waiting for cluster manager.
    2. start the server in a different window
    /usr/sap/xxx/j2ee/cluster/server/go.bat
    You get the message waiting for cluster manager
    3. Start the dispatcher
    /usr/sap/xxx/j2ee/cluster/dispatcher/go.bat
    Please let me the know the error messages.
    You can chat with me between 10:00 - 11:00 PM US EST.
    Regards
    -Venkat Malempati

    People ,
       I tried to do what venkat suggested . Infact I had mailed him the snapshot of the screen when i start the state controller as he suggested . For other people in the forum this is what is happening . When i start the state controller it displays an error and then the window closes immediately . I have managed the screen shots somehow and in those i could find two messeges in the begining and the end which could be useful for debugging the problem ...they are
    1) [DBMS]: ID3004:DB file header do not match exception .
    com.inqmy.services.dbms.server.interfaces.DatabaseException: Error while opening database ...
    2) ID000544: Error statrting service dbms. DBMS service not started properly due to: Errro while opening database
    [Framework -> criticalShutdown] Service dbms startup error !
    After the state controller window closes i run the server in a different window and i get a message waiting for the cluster manager as suggested . Now i start the dispatcher and i get the same messege there as well ie waiting for the cluster manager .
    What is to be done now . Is this information sufficient to suggest me something ? Please let me know if you require any other information .
    Regards
    Deepak singh

  • Error while compiling model in Visual Composer 7.1.

    Hi,
    I am getting a error while compiling model in Visual Composer 7.1.
    An exception occurred at the server while running the build process, reason: Extension with id com.sap.vc.runtimeproviders.null not found. For more details please refer to the log file.
    Can any one please tell me what the error is?

    Hello
    This problem usually indicates the model Runtime provider is not set properly
    Please goto configure pane and check the RT provider that is et for the model or any other model in the same DC
    Also services usages require this property to be set accordingly
    To make sure the services are set properly please look into the configuration pane when the respective service usage is selected (and check the same)
    Please let me know if this helped or not
    Guy

  • Visual Composer 7.0 on SAP 2004s

    Hi All,
    I have installed SAP 2004s on my server. I also want to install VC 7.0 on this.
    Can anyone let me know whether VC is automatically installed with 2004s or we need to install it seperately? Also, if it it comes with 2004s how can we configure it for use.?
    Where can I find some installation and configuration guides for VC 7.0?
    Thanks in advance.

    Hi all,
    Thanks for the suggestion till now.
    we are currently using 2004s SP6. the inst.  config guide given is for SP8.
    but i can see that some visual composer archive files are already deployed on the server.
    are they enough to start configuring the system? if yes can you tell how to configure the system. can moving to SP8 be useful?
    Already deployed files on the server..
    com.sap.visualcomposer.vcbase.default
    com.sap.visualcomposer.vcflex.default
    com.sap.visualcomposer.vcfrwork.default
    com.sap.visualcomposer.vckitbi.default
    com.sap.visualcomposer.vckitgp.default
    com.sap.visualcomposer.vckitxx.default
    com.sap.visualcomposer.wdext.default

  • Visual Composer 7.0

    Good day,
    Can anyone please give advice or help regarding the visual composer. I am currently busy trying to design on visual composer but i am currently having some difficulties. I have installed the VC on my PC and install all necessary system requirements e.g microsoft xml parser 4.0 and adobe svg viewer 3.0. But when i try to do some changes on the model i cant the form is in read-only mode.
    Regards,
    Themba

    Hi Themba,
    If VC prperly working from other PC...then you need to trobleshoot on your PC...
    1. Please clear browser cookies and Temp and histrory file from browser (ex. Internet Explorer, mozila)
    2. Maintain IP and Host Name in host file entry for your VC server at go to (RUN >> Drivers >> etc >> hosts file)
    then open new browser and login to portal adn try again.
    Hope it helps,
    Regards,
    Arun

  • How to access PI/XI Webservice in Visual Composer 7.0 SP14

    Hi all,
    is there anybody who can describe how to connect to the pi/xi system and access webservices published by the xi, in Visual Composer?
    Thank you for your help!
    Kind regards, Patrick.

    Hi,
    There are two ways to get the services into VC.
    1St Method.
    If you have the Zip file or XML file of your system(which you can get from the portal where these systems configured) then import it in under systemadministration->transport->import ->zip or XML.
    then you have to creat a alias for this system and do the usermapping then it will appear in VC
    2nd Method.
    You have to configure the systems in the portal then you have to creat a alias for this system and do the usermapping then it will appear in VC.
    Regards,
    Govindu

  • Calendar & File Upload Components - Threadinar6

    Hi All,
    This is the sixth in the "Threadinar" series , please see Threadinar5 at
    http://swforum.sun.com/jive/thread.jspa?threadID=99473 for details
    In this Threadinar we will focus on the
    "Calendar" and "File Upload" Components
    Let us begin our discussion with the Calendar Component.
    Calendar Component
    You can drag the Calendar component "calendar component icon" from the Palette's Basic category to a page open in the Visual Designer to create an entry field with an integrated calendar pop-up to help the user pick dates for the field.
    You can also drop the calendar on a container component, like a table cell or group box.
    After dragging the component to the Visual Designer, you can work with the following useful properties of the Calendar Component:-
    General
    * id. Type: String
    The name of the Calendar component in the page bean and the JSP file.
    Appearance
    * columns. Type: int
    The number of character columns used to render the component. The default value is 20.
    * dateFormatPattern. Type: String
    The format of the date to be entered by the user. It is not usually necessary to set this property because a pattern is chosen automatically based on the locale.
    If you prefer to specify a date format, click the ellipsis button (...) to the right of the property and select a predefined date format from the property editor's list. You can also add your own formats. If you add a format, the values you can enter are limited to some combination of yyyy for the year, MM for the month, and dd for the day separated by separator characters. Typical separator characters are / (slash), . (period), and - (dash). For example, the following date formats are acceptable:
    o MM/dd/yyyy
    o yyyy.MM.dd
    o MM-dd-yyyy
    * dateFormatPatternHelp. Type: text
    Text that appears below the date entry field and shows the format pattern that the date entry field accepts. If you have not set the dateFormatPattern property, the help text is chosen automatically for you. If you have set the dateFormatPattern property, you should bind the dateFormatPatternHelp property to a localized string that matches the setting for each locale you want to support.
    * label. Type: String
    A label that appears next to the text entry field, typically describing what the user is supposed to enter.
    o Note: The label property is not as flexible as the Label component. You can use the Label component if you want more control over the label's appearance, such as positioning of the label relative to the component.
    * labelLevel. Type: int
    A number that affects the appearance of the label. 1 (Strong) is larger and bold. 2 (Medium), the default, is smaller and bold. 3 (Weak) is smaller and normal (not bold). This property takes effect only if the label property is set.
    * style. Type: String
    Cascading Style Sheet rules (CSS level 2) to be applied to the component. For example:
    position: absolute; left: 288px; top: 312px
    You can enter values directly or click the ellipsis (...) button to use the Style Editor.
    o Note: This property overrides any settings in the theme or the project CSS file for this component. If a style specified in this property does not appear to take effect, it is because an area of the component is obscured by a child component that has different style settings.
    For a list of CSS2 style attributes, see the web page at
    http://www.w3.org/TR/REC-CSS2/propidx.html
    * styleClass. Type: String
    A space-separated list of CSS2 style classes to be applied when the component is rendered. The style classes must be defined in the project's style sheet or in the theme's CSS file. If you click the ellipsis button (...), you see a list of all styles you can add to this property. For information on adding CSS classes and rules to the project's cascading style sheet, see CSS Editor.
    o Note: See the note above under the style property description for an explanation of why a class added to this property might appear to have no effect on the component.
    o Note: If you add a CSS style class from the current theme to your project CSS file and you redefine the style class, the change affects all components that use this style class. However, you can add your own style classes to the project CSS file that redefine the default style classes, and then when you add them to this property, the changes affect only this instance of this component.
    For the defaulttheme.jar CSS style classes for this component, see Calendar Component CSS Classes.
    Data
    * maxDate. Type: java.util.Date
    The last date that the user can select. The default value is four years from the date set in the minDate property, for a total span of five years.
    * minDate. Type: java.util.Date
    The earliest date that the user can select. The default value is the value of the selectedDate property, which defaults to the current date if that property is not set.
    * required. Type: boolean
    If selected, the user must enter a value for the calendar before the page can be submitted. If you add a Message component to the page and link its for property to this component, an error message will be displayed if the user tries to submit the page without entering a value.
    * selectedDate. Type: Date
    A java.util.Date object representing the calendar date selected by the user. If you right-click the component and choose Bind to Data, you can bind this property to a data provider or object that can process the user entered value on the server.
    When the component displays initially, if this property is not set, its value defaults to the current date. If you provide values for minDate and maxDate, you can also provide a value for this property that initially displays a date in that range.
    * validator. Type: MethodBinding
    Indicates the JavaServer Faces validator that is called when the value is submitted. A validator ensures that the correct value is entered by a user. Choose a validator from the drop-down list. If you choose (null), no validator is called. If you choose a validator, also select the required property to ensure that the validator is used. For descriptions of JavaServer Faces validators, see the list of topics at List of Validators.
    o Note: If you define your own validate method, for example, by right-clicking the component and choosing Edit Event Handler > validate, any value you might have set in this property is overridden.
    File Upload Component
    You can drag the File Upload component "file upload component icon" from the Palette's Basic category to the Visual Designer to create an entry field and a browse button that opens a file chooser dialog on the local system, enabling the user either to select a file or to type a file name into the entry field. When the page is submitted, a copy of the file's contents is sent to the web application.
    The component is similar to an HTML <input type="file"> element.
    * Note: This component is neither supported by nor available in portlet projects due to security reasons.
    * Note: The size of the component in the Visual Designer might not match the size of the component when it is rendered in a web browser, making the component appear to line up correctly in the Visual Designer, but not when the page is rendered in the user's web browser. Also, the rendering of this component can differ depending on the web browser. Be sure to test the component in the web browsers that you expect your users to use. For example, if you add a width setting to the style property that is smaller than the setting in the columns property, Internet Explorer observes only the width setting, while the Mozilla browser ignores it and sets the width according to the number of characters in the columns property.
    The File upload component uses a filter, a com.sun.rave.web.ui.util.UploadFilter object that is configured for you in the web application's deployment descriptor. The UploadFilter uses the Apache commons fileupload package. You might need to change these settings in the following two cases:
    * The server holds the uploaded file in memory unless it exceeds 4096 bytes; otherwise, the server holds the file contents in a temporary file. You can change this threshold by modifying the sizeThreshold parameter for the UploadFilter filter entry in the web application's web.xml file.
    * By default, the File Upload component can handle files up to one megabyte in size. You can change the maximum file size by modifying the maxSize parameter for the UploadFilter filter entry in the application's web.xml file.
    o
    A negative value for the maxSize parameter indicates that there is no file size limit. Setting the parameter to a negative value is not recommended for security reasons. For example, if you allow unlimited file sizes, a malicious user could mount a denial of service attack on your site by using extremely large files
    * To change the settings for the UploadFilter object in the web.xml file:
    1. In the Files window, expand project-name > web > WEB-INF.
    2. Double-click the web.xml node to open the file in the XML editor.
    3. Click the Filters toolbar button.
    4. In the UploadFilter section under Initialization Parameters, you can change the values for the maxSize and sizeThreshold parameters.
    The contents of the uploaded file, together with some information about it, are stored in an instance of com.sun.rave.web.ui.model.UploadedFile. By using this object, you can get the content of the file as a String or write the contents to disk, as well as get properties such as the name and the size of the file. In the interest of conserving memory, the contents and file data are only available during the HTTP request in which the file was uploaded. To access the contents of the uploaded file, bind the uploadedFile property to a bean property of type com.sun.rave.web.ui.model.UploadedFile. Have the setter or an action method process the file.
    The UploadedFile interface has methods for getting the name and size of the file, determining the file's MIME type (such as text/plain or image/jpeg), getting the file's contents as bytes or as a String, and writing the contents to disk. To learn more, in the Java editor, right-click on UploadedFile in a declaration statement and choose Show JavaDoc from the pop-up menu.
    * To set the component's properties, select the component and edit its properties in the File Upload Properties Window.
    * Right-click the component and choose one of the following pop-up menu items:
    o Edit validate Event Handler. Opens the Java Editor with the cursor positioned in the component's validate method so you can insert code to validate the value of the component.
    o Set Initial Focus. Gives this component focus when the user opens the page.
    o Auto-submit on Change. Causes the form to be automatically submitted if the value of the component changes. Sets the component's JavaScript onclick property to common_timeoutSubmitForm(this.form, 'component-id');. At runtime, this code causes the form to be automatically submitted if the user changes the component value. Once the form is submitted, conversion and validation occur on the server and any value change listener methods execute, and then the page is redisplayed.
    A component configured to Auto-submit on Change can use virtual forms to limit the input fields that are processed when the form is submitted. If the auto-submit component is defined to submit a virtual form, only the participants in that virtual form will be processed when the auto-submit occurs.
    o Bind to Data. Bind the component's text property to an object or to a data provider. For more information, see Bind to Data Dialog Box.
    o Property Bindings. Bind any of the component's properties to an object or data provider, such as the uploadedFile property to a bean property of type com.sun.rave.web.ui.model.UploadedFile.
    o Configure Virtual Forms. Enables you to add the component to a virtual form.
    For more details on using the "File Upload Component" Please see this tutorial
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/file_upload.html
    Please share your comments, experiences, additional information, questions, feedback, etc. on these components.
    ------------------------------------------------------------------------------- --------------------

    Of interest relating to file upload component to users : "Saving Uploaded Files Uploaded by the File Upload Component " Check the blog:
    http://blogs.sun.com/roller/page/divas

Maybe you are looking for