Hi
I would like theme aware and "Prime" versions of the h:button and h:link of JSF 2.
I can not find any information about these so would like to help implement them as well if its wanted.
Basically its Prime support for the bookmarkable features in JSF2.
Feature list (for h:button):
- attribute image (same function as p:commandButton)
Have a demo app for JSF 2 and PrimeFaces that demonstrates the usage I wish to implement with p:button.
http://code.google.com/p/web-showcases/ ... ress.xhtml
best Regards Robert Alexandersson
Feature request for p:button and p:link
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hi Robert,
Actually I was thinking about this, we have p:linkButton and I was planning to replace it with p:button that does what h:button does with a nicer look and feel.
Please see;
http://code.google.com/p/primefaces/iss ... il?id=1037
You can track the progress by voting.
Regarding h:link, we don't style links so not sure if we need to extend it.
Actually I was thinking about this, we have p:linkButton and I was planning to replace it with p:button that does what h:button does with a nicer look and feel.
Please see;
http://code.google.com/p/primefaces/iss ... il?id=1037
You can track the progress by voting.
Regarding h:link, we don't style links so not sure if we need to extend it.
Just FYI. You can simulate h:button by h:link like
You have to apply .ui-* CSS selectors for theming of course. So, what we really need is only styled h:link
Code: Select all
<h:link styleClass="button">
a.button {
display: inline-block;
background: lightgray;
border: 2px outset lightgray;
cursor: default;
}
a.button:active {
border-style: inset;
}
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
great work!
Eclipse June, Tomcat 7, PrimeFaces 3.3.1, Mojarra 2.0.6
Sisagil.com - Agilidade para as melhores empresas
Sisagil.com - Agilidade para as melhores empresas
-
- Information
-
Who is online
Users browsing this forum: No registered users and 11 guests