Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help with TOMAHAWK Calendar t:inputCalendar

 
Sudeep Agrawal
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Folks:

I am trying to implement the <t:inputCanledar>, but I am not able to change the look and feel of this calendar.

How can I do that Via. CSS. Please give me an example, for instance how do I change the following attribute's CSS Class, What should I have in the CSS definition ?



This is how I am using the tag :


so that the row Class background is Grey and width of the entire calendar is about 50% of page size (or any other size also ) ??

Just need an idea please.
[ January 03, 2008: Message edited by: Sudeep Agrawal ]
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any issue if you make your own CSS class and assign that class to the relevant attribute? You can look into the original CSS class for a hint.
 
Sudeep Agrawal
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not able to find the original CSS for a hint and hence the post.
I was wondering if the existing CSS that has styles for my existing table and rows is somehoe overlapping the CSS-Class to be used by the t:inputCalendar tag.

I believe if I get a sample CSS that is applied to the tag, would suffice the solution for my problem.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sudeep Agrawal:
I was wondering if the existing CSS that has styles for my existing table and rows is somehoe overlapping the CSS-Class to be used by the t:inputCalendar tag.


- The style attribute overrides the class attribute.

- The class in the file, which is included in the last, overrides the class in any other file included before.


I believe if I get a sample CSS that is applied to the tag, would suffice the solution for my problem.


Yeah, that would likely solve your problem.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You must be able to find it in the library you are using.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic