Rain Theme Selection

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
SNW
Posts: 4
Joined: 07 Apr 2020, 00:18

11 Dec 2021, 01:14

Rain theme settings are displayed by a button contained within its config.xhtml file. I would like to use the overlay as it is but move the cog button (that shows the config xhtml) to a Rain main menu item. What is the best approach to achieve this?

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

15 Dec 2021, 10:22

Hi,

You cannot use custom elements such as radiobutton in the menu. So you need to create menuitems and bind some js methods to them. Please check PrimeFaces.RainConfigurator.* methods in config.xhtml and don't forget to bind them.

Best Regards,

SNW
Posts: 4
Joined: 07 Apr 2020, 00:18

16 Dec 2021, 04:25

Thanks for your guidance.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

16 Dec 2021, 19:47

You're welcome!

Post Reply

Return to “Rain - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests