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 9067505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T16:57:27+00:00 2026-06-16T16:57:27+00:00

How can i read UI Components(text box,label,buttons etc.,) and positions in Panel Using JSF?.This

  • 0

How can i read UI Components(text box,label,buttons etc.,) and positions in Panel Using JSF?.This Positions(X & Y Coordinates) will be save into xml file?.

Update:-

In my screen user can drag and drop the UI Component in different positions in panel at run time then click on save button.Those Components with positions into xml file.These my requirement.Please suggest to me what is the best approach ?

  • 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-06-16T16:57:28+00:00Added an answer on June 16, 2026 at 4:57 pm

    JSF components weren’t really designed to support things like that (fixed X&Y coordinates).

    They mainly generate HTML output which are usually styled and positioned with CSS provided by the user, and the result is interpreted by some browser. Different browsers do not always interpret things the same way and there is no guarantee that the stylized HTML elements will work the same anyway, since there is a great variety of screen resolutions, screen and window sizes, etc.

    Maybe you’d have better luck if you explain what exactly you are trying to achieve.

    Having said that, in the client side you do have a way to get the positioning of the HTML elements generated by JSF, check out the examples in the answers to this question: Getting the co-ordinates of a component.

    UPDATE: following the question update, what you want is to use a dashboard component. Check out the one from PrimeFaces (with code samples): https://www.primefaces.org/showcase/ui/panel/dashboard.xhtml You’ll need to store the item index and the column index for each widgetId (that may be the positions you would store in an XML).

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

Sidebar

Related Questions

You can read this question where I ask about the best architecture for a
I can read unmanaged memory in C# using UnmanagedMemoryStream, but how can I do
I can read settings like this, for example: final String mytest = System.getString(this.getContentResolver(), System.AIRPLANE_MODE_ON);
I can read XLS file with this code : string path =@c:\r\1.xlsx; OleDbConnection MyConnection
how to make php can read log file in /var/log/.... I tried this code
In this text I read Be alert for a component that is just a
I've read that the core JSF components support the f:param and f:attribute tag, in
How I can Read the RGB-Pixel by Pixel values from CGImagea also after how
In main I can read my config file, and supply it as runReader (somefunc)
In C++ I Can Read The MAC Address Of The NIC and Use It

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.