Using Barcelona theme without material inputs functionality

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
hasantolak
Posts: 16
Joined: 05 Dec 2018, 16:38

05 Dec 2018, 16:45

Hi
I would like to know about the PrimeFaces Barcelona theme, is that possible to use normal input without material inputs functionality? Before the licensing, I need to know this information. Thanks in advance.

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

06 Dec 2018, 09:03

Hi,

You can easily override it using SASS files.

Best Regards,

hasantolak
Posts: 16
Joined: 05 Dec 2018, 16:38

06 Dec 2018, 13:46

Thanks for the answer.

I understan, we need to modify SASS file to do this.

The main question, is that possible to extend PrimeFaces name space directly to use

<p:inputText, <p:selectOneMenu etc. by using PrimeFaces name space

xmlns:p=http://primefaces.org/ui without involving Barcelona name space

xmlns:pa=http://primefaces.org/barcelona?
Because, most of to time I need to use normal input boxes such as <p:inputText.

I understand that, there is no restriction to use Barcoleno name space or PrimeFaces name space to use at the same time in the same pages.

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

07 Dec 2018, 09:01

I understan, we need to modify SASS file to do this.
- Yes. It is very easy to do.
...
xmlns:p=http://primefaces.org/ui without involving Barcelona name space

xmlns:pa=http://primefaces.org/barcelona?
...
- Barcelona Layout have a custom menu component to use sidebar. If you want to use it, please add xmlns:pa=http://primefaces.org/barcelona namespace. Note: You can use it in the only menu.xhtml under WEB-INF.
For all PrimeFaces components, please use xmlns:p=http://primefaces.org/ui.

hasantolak
Posts: 16
Joined: 05 Dec 2018, 16:38

10 Dec 2018, 13:54

Hi aragon ,
Thanks for your helpful answer to my questions.

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

10 Dec 2018, 14:24

Hi,

You're welcome!

Post Reply

Return to “Barcelona - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests