Schedule component style

UI Components for JSF
Post Reply
Medith
Posts: 1
Joined: 30 Jun 2010, 17:00

30 Jun 2010, 17:13

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

User avatar
jomaora
Posts: 29
Joined: 05 May 2010, 16:07
Location: Bucaramanga, Colombia --> Clermont-Ferrand, France

24 Aug 2010, 10:03

I have the same problem. I'd like to change the color of the header and the position where it displays.

Is it possible?
JSF 2.0. Primefaces 2.0.2. Apache Tomcat 6.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

24 Aug 2010, 12:35

To customize header see leftHeaderTemplate, rightHeaderTemplate and centerHeaderTemplate attributes.

Use style and styleClass attributes to change the dimensions.

User avatar
jomaora
Posts: 29
Joined: 05 May 2010, 16:07
Location: Bucaramanga, Colombia --> Clermont-Ferrand, France

24 Aug 2010, 13:13

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.
JSF 2.0. Primefaces 2.0.2. Apache Tomcat 6.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

24 Aug 2010, 15:08

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

badhuman7
Posts: 78
Joined: 29 Mar 2012, 07:00

27 Apr 2012, 08:07

I need to change the Background color of my selected Date :( in the Schedule :!: . So how can i achieve it ? :?:
PrimeFaces-3.2,Tomcat-6.0, Java-6,Eclipse-Helios

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

27 Apr 2012, 08:35

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,

badhuman7
Posts: 78
Joined: 29 Mar 2012, 07:00

27 Apr 2012, 08:51

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..


Image


my code is here..

Code: Select all

<p:schedule id="display" view="agendaDay"  style="background-color:red;color:yellow;" />
So my Selected Date is not getting the Background Color thts what my problem is.. :(
PrimeFaces-3.2,Tomcat-6.0, Java-6,Eclipse-Helios

badhuman7
Posts: 78
Joined: 29 Mar 2012, 07:00

04 May 2012, 07:12

badhuman7 wrote: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;" />
So my Selected Date is not getting the Background Color thts what my problem is.. :(

Can i expect any Answer Please
PrimeFaces-3.2,Tomcat-6.0, Java-6,Eclipse-Helios

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 43 guests