Hi,
how I can set the maximum width and height of the schedule component. And how can I
set the background color of the scheduleEventDialog and the headerlayout. I tried to use the styles attribute, but it
doesn't work.
Thanks for your help.
Medith
Schedule component style
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
To customize header see leftHeaderTemplate, rightHeaderTemplate and centerHeaderTemplate attributes.
Use style and styleClass attributes to change the dimensions.
Use style and styleClass attributes to change the dimensions.
- jomaora
- Posts: 29
- Joined: 05 May 2010, 16:07
- Location: Bucaramanga, Colombia --> Clermont-Ferrand, France
Hi cagatay..
Dunno if we're talking about the same component, in the primefaces tag 2 doc I just see for the scheduleEventDialog the following attributes: id, rendered, binding and header.
The attributes you have talked about are from schedule. I have no problem with schedule, I need to change the header backgroung of the scheduleEventDialog.
Thanks.
Dunno if we're talking about the same component, in the primefaces tag 2 doc I just see for the scheduleEventDialog the following attributes: id, rendered, binding and header.
The attributes you have talked about are from schedule. I have no problem with schedule, I need to change the header backgroung of the scheduleEventDialog.
Thanks.
JSF 2.0. Primefaces 2.0.2. Apache Tomcat 6.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
ScheduleEventDialog is gone in 2.2.M1, you need to use a regular dialog which you can customize the way you like. ScheduleEventDialog was not very customizable, that is one of the reasons.
See;
http://www.primefaces.org/labs/ui/schedule.jsf
See;
http://www.primefaces.org/labs/ui/schedule.jsf
First start by not 'reviving' an almost 2 year old topic.
Secondly, I'd try to read viewtopic.php?f=3&t=1194
Thirdly, I'd learn a little css
Forth, I'd use that knowledge in combination with e.g. Firebug to see what you can achieve.
Cheers,
Secondly, I'd try to read viewtopic.php?f=3&t=1194
Thirdly, I'd learn a little css
Forth, I'd use that knowledge in combination with e.g. Firebug to see what you can achieve.
Cheers,
kukeltje wrote:First start by not 'reviving' an almost 2 year old topic.
Secondly, I'd try to read viewtopic.php?f=3&t=1194
Thirdly, I'd learn a little css
Forth, I'd use that knowledge in combination with e.g. Firebug to see what you can achieve.
Cheers,
I have already used CSS styles for this thing..but here check out the screenshot..
my code is here..
Code: Select all
<p:schedule id="display" view="agendaDay" style="background-color:red;color:yellow;" />
PrimeFaces-3.2,Tomcat-6.0, Java-6,Eclipse-Helios
badhuman7 wrote:I have already used CSS styles for this thing..but here check out the screenshot..
...........................
my code is here..So my Selected Date is not getting the Background Color thts what my problem is..Code: Select all
<p:schedule id="display" view="agendaDay" style="background-color:red;color:yellow;" />
Can i expect any Answer Please
PrimeFaces-3.2,Tomcat-6.0, Java-6,Eclipse-Helios
-
- Information
-
Who is online
Users browsing this forum: No registered users and 43 guests