How to put image in the Schedule event?
-
- Posts: 18
- Joined: 16 Jun 2010, 22:56
How to put one or more image at the Schedule event?
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
1. p:schedule = (uses or wrapper of) jquery fullCalendarmanuel.fgj wrote:How to put one or more image at the Schedule event?
Someone is asking the same question as you, but they are working directly with fullCalendar and most likely not with primeFaces (in the equation). There is an example provided at this URL.
http://stackoverflow.com/questions/5562 ... icular-day
2. You may want to search google for the following:
a. stackoverflow fullcalendar event add image
b. primefaces jquery fullCalendar
3. You may want to submit a New Issue (http://code.google.com/p/primefaces/issues/list) to PrimeFaces team, and ask them the same question, and include the following sample jquery client side code. I don't know if you can do it from JSF managed bean or not (actually, i'm sure there is a way, but you'd have to ask, or hopefully someone else here will respond).
Below, provided by Doomsday @ URL above:
I used background images to decorate my event slot (in agendaDay view).
Code: Select all
.fc-event {
background: url('tick.png') no-repeat;
min-height: 49px;
min-width: 64px;
}
In month view, Fullcalendar set for you an identifier to each cell :
.fc-day1 ....fc-dayN or
.fc-week0 .fc-sun...N
You can set CSS style for each desired cell, or set-it via jquery in a dynamic way.
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
lamon19, can you please reply with a URL, and how this can be used in a JSF/PrimeFaces web application? Thanks.lamon19 wrote:Web Calendar playscript is a large calendar playscript that can be easily coeducational into any web situation. Web calendar playscript has a user-friendly disposal country that lets you modify your calendar flag and filler to grapple your programme. You can create unqualified total of calendars and add contrastive events to each of them.
Replica furniture
Melbourne furniture
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
-
- Information
-
Who is online
Users browsing this forum: No registered users and 23 guests