Primefaces fetch dropdown values on show

UI Components for JSF
Post Reply
leolaneely
Posts: 1
Joined: 09 May 2022, 11:53

11 May 2022, 03:23

I have a strange situation where one needs to dynamically populate dropdown values. The best idea I have come up with is creating a button, which triggers ajax request that fetches new dropdown values and on complete updates the dropdown and displays it.

I was wondering if there is any other more elegant way of handling situations like this. I am using the latest primefaces version 11.0.0.
a library for solving wordle-style puzzles

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

11 May 2022, 15:07

PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 49 guests