Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8768767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:09:01+00:00 2026-06-13T17:09:01+00:00

I am trying to use a p:schedule , but the column headers are showing

  • 0

I am trying to use a p:schedule, but the column headers are showing the format like: EEE MM/dd and I really need to switch to EEE dd/MM.

researching the primefaces forums and google project, i ran into this (and several other threads): http://code.google.com/p/primefaces/issues/detail?id=2546

that seems to address the issue, but I am clueless as to how to use it to solve the issue.

I am unsure as to wheter this question is a duplicate (as the issue has been lingering around for a couple years now) but searching the SO did not come with any hits.

So, how can I change the format of the column headers?

I imported the showcase example into my project, so far the config of my schedule event is:

<p:schedule value="#{scheduleController.eventModel}"
widgetVar="myschedule" view="agendaWeek"     allDaySlot="false"
slotMinutes="15" firstHour="7" showWeekends="FALSE"
leftHeaderTemplate="prev,next" rightHeaderTemplate=""
minTime="7am" maxTime="21pm" timeFormat="dd/MM hh:mm"
axisFormat="HH">

using primefaces 3.3.1

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T17:09:02+00:00Added an answer on June 13, 2026 at 5:09 pm

    A very crude solution, I fixed these headers by hijacking the output of the schedule page, changing the javascript code for the schedule call in order to put the format in it:

    I used the classes written by Jeremy Stein (click to go to question) (yeah, regex on HTML output, bash on) and placed a filter listening on the output of the specific page with the schedule.

    I used the following Pattern and Replace String:

    Pattern. compile("timeFormat:(.*?), behaviors");
    
    replaceString= "timeFormat: $1, columnFormat : { month : 'ddd' , week : 'ddd d/M' , day : 'dddd d/M' }, behaviors"
    

    by inserting the columnFormat property in the output, it started rendering the headers right.

    I would love to see another way to get around Primefaces reluctance in implementing this feature.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use the schedule backup mechanism from GAE but keep getting
I'm trying to use quartz_jobs.xml to schedule all my jobs, but the following XML
I'm trying to use a timer to schedule a recurring event in an application.
I am need paint my image. I'm trying use JQuery in here this link:
I'm trying to use a flexlib schedule viewer in my application. I want to
I am trying to use whenever gem in my application but I am not
I'm trying to use a PHP include or require like this: <div id=menu> <?php
I'm trying to use a Ruby gem called ice_cube in IRB, but it doesn't
i'm trying use facebook API to upload photo in my fan page. I downloaded
I am trying use gem tire to search in my application. I have tables

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.