Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6936937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:17:56+00:00 2026-05-27T12:17:56+00:00

I am using JSF 2.0, PF 3.0M3 and GF 2.1. I want to upload

  • 0

I am using JSF 2.0, PF 3.0M3 and GF 2.1.

I want to upload a file by giving it a custom name. I would like to use multiple file upload feature of PF.

This is how I want it to be –

Choose Upload Cancel – PF controls for multiple file uploads.

Name: My first uploaded image File :- (selected from choose control of fileupload control) test.jpg

Name: My second image File: test2.jpg

After the user enters the custom names for file and presses upload button, it should save the file and custom name in db.

Is this possible using “Multiple” file upload feature?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:17:57+00:00Added an answer on May 27, 2026 at 12:17 pm

    I think the better solution would be to let the user upload the files he wants and then provide a dialog/panel(or whatever) with an inputText and a submit button, for every file uploaded, where the user can insert the new name of the file if he wants, because there may be files that he doesn’t want/need to rename them. And you will have to implement a java class that renames the correct file.

    If you want something more sophisticated, after uploading all the files, you could provide an interface showing all of them (if they are images, you can show a preview), or even a treeTable with all the files, and then implement a contextMenu for every selected file from the treeTable. This context menu could have a rename subMenu item or even some delete and download items.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using JSF 2.0 with Facelets and I want to do something like this:
I am using JSF and I want to use message bundles so I added
Am using JSF 1.2 and am trying to implement Captcha as per this link
I am using JSF and Primefaces in my web application. In this i am
I'm using JSF 2.0 and want to fill a selectOneMenu with the values of
I am using JSF tags within an XHTML file. My intention is to enable
I am using JSF 2.1 and ICEFaces 2 and I have a tabset like:
I am using JSF 2.1. I'm trying to use TinyEditor on a <h:inputTextarea> .
I am using JSF 2.1. I'm trying to use TinyEditor on a . Here
Using jsf I want to edit a employee profile, when user will click on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.