Reporting issues / p:commandLink color

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
jepsar
Posts: 166
Joined: 03 Sep 2014, 11:41
Location: NL / BE
Contact:

28 Jul 2020, 16:45

Is there a Git repo we can use to report issues? Or should we use this forum for that?

I currently facing an issue that `p:commandLink`s are styled as white text (Diamond 1.1.0, was okay with 1.0.0).

Rule:

Code: Select all

body .ui-commandlink, body .ui-link {
    color: #ffffff;
}
In file "primefaces-diamond-cyan-light"

XHTML:

Code: Select all

  <p:column ...>
    <p:commandLink styleClass="pi pi-#{item[id] ? 'check' : 'times'}"
                   action="..."
                   process="@this"
                   update="@form"/>
  </p:column>
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub: https://github.com/jepsar
Spotify: 90s Rave, Acid, Trance, House

jepsar
Posts: 166
Joined: 03 Sep 2014, 11:41
Location: NL / BE
Contact:

28 Jul 2020, 16:51

By the way, I "fixed" it by changing my XHTML to:

Code: Select all

  <p:column ...>
    <p:commandLink styleClass="pi pi-#{item[id] ? 'check' : 'times'} ui-button text-button"
                   action="..."
                   process="@this"
                   update="@form"/>
  </p:column>
So, by adding classes `ui-button text-button`
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub: https://github.com/jepsar
Spotify: 90s Rave, Acid, Trance, House

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

30 Jul 2020, 11:29

Or should we use this forum for that?
- Yes, you can use this forum to report your issue.

I'll check commandlink issue and get back to you. Also, maybe you can use text button instead of commandlink;
https://www.primefaces.org/diamond/button.xhtml

Best Regards,

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

30 Jul 2020, 12:02

Fixed for next version.

jepsar
Posts: 166
Joined: 03 Sep 2014, 11:41
Location: NL / BE
Contact:

30 Jul 2020, 12:26

Using a button would be possible, but would require me to apply additional styling as well as I need less / no padding. I ended up added a CSS override in my project.

Thanks for the fix!
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub: https://github.com/jepsar
Spotify: 90s Rave, Acid, Trance, House

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

30 Jul 2020, 12:49

Thanks a lot for the update! You can download the latest version(1.2.0).

Best Regards,

Post Reply

Return to “Diamond - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests