Hi Civici,
I am currently using primefaces 0.9.2. I have noticed a potential bug in the Calendar component. The component offers a input parameter called "popupIcon", but this field is ignored in the calendar renderer.
Instead the calendar renderer always uses the default icon from Primefaces. The code in CalendarRenderer.java shows the problem.
writer.writeAttribute("src", ResourceUtils.getResourceURL(facesContext, DEFAULT_POPUP_ICON), null);
I would imagine that it was intended to use the popupIcon parameter instead of the default icon if the parameter was supplied into the tag?
We are having to use client side script to override the image icon on a page render. It would be preferable to use primefaces "out of the box" functionality.
Thank you
Colm
Bug in Calendar component?
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hi colm, you're right, we added that attribute to make the icon customizable but turns out it's ignored. This is a trivial fix that'll be included in 0.9.3. Thanks for notifying us.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Good news, issue is fixed, please see;
http://code.google.com/p/primefaces/iss ... ail?id=233
You can get it via a 0.9.3-SNAPSHOT;
http://repository.prime.com.tr/org/prim ... -SNAPSHOT/
Thanks!
http://code.google.com/p/primefaces/iss ... ail?id=233
You can get it via a 0.9.3-SNAPSHOT;
http://repository.prime.com.tr/org/prim ... -SNAPSHOT/
Thanks!
-
- Information
-
Who is online
Users browsing this forum: No registered users and 54 guests