Icons on a af:calendar component.
Hi,
We have a use case where we want to show calendar in month view and do not want to show the activities grid. On day when user has some activity we want to display an icons for the activity, instead of the date.
Is it possible to achieve this in af:calender?
This is a read only calendar.
Can i use any other component.(choosedate)
calender should look like:
___toolbar____________
1 2 3 4 5 6 $
7 8 9 $ ^ 12 13
Where $ and ^ represent different activities.
hi,
you can change the property of common section view attribute. which is default in month. if u use input date component , i think you can overcome your problem..
Similar Messages
-
Calendar Component and validation errors
Hi,
For the first time I am trying to use the Calendar component to insert a date field in my SQL Server db.
The problem: I can insert a date column only if its of type java.sql.Timestamp.
As Timestamp extends the date object..
I tried to bind the selectedDate field as <Timestamp> Object[refractored in my class file] and when i tried to update by DB it throwing a Validation error.
If I bind it as a Date Object directly I am getting an EvaluvationException
as date objects cannot be inserted directly
Am i missing something here or is there a proper way of implementing it.Its a fairly direct question about object conversion problem in creator
Basically the selectedDate parameter of the JSC Calendar component
needs to be pointed to a Date Object
If we need to insert that date information to a SQL Server column the equivalent data type should be java.sql.Timestamp which extends Date.
So if we point the selectedDate parameter as a Timestamp object the creator throws an illegal argument exception.
Can some one clarify how to resolve this issue? -
Day View in calendar Component showing the next at times not everytime!
Day View in calendar Component showing the next at times not everytime! My question is when we go to Day view which day does it show? is it Server day where the application reside or the machine time zone day ?
I think you want to know, days & time picked by which machine, locally or from server? It does take from server where the application is running.
-
Format calendar component times to "hh:mm a"
Hi all,
I would like to format the calendar component time slots to "hh:mm a" (Example 01:30 AM), Is it possible? By default, caldendar component shows times in hh:mm (Example 24:00) format.
regards,
JhonHi,
You mean the Choose date Component or Input Date Component ?
For InputDate Component its' possible
Put InputDate Component , Then put a ConverDateTime Component to it.
Change its TimeStyle to Short and Type to Time on rules.
Regards
Nalin -
Changing the default icon of a af:inputDate component
Hi,
I want to change the icon of an af:inputDate component.
I discovered two solutions, but they are imcomplete solution.
Solution 1:
af|inputDate::launch-icon-style{
background-image: url("../images/icone_calendario_menor.gif");
af|inputDate::launch-icon-style:hover{
background-image: url("../images/icone_calendario_menor.gif");
af|inputDate::launch-icon-style:active{
background-image: url("../images/icone_calendario_menor.gif");
Problem: When I press the icon whith the mouse button and wait still appear a default icon while mouse button is pressioned.
Solution 2:
af|inputDate::launch-icon{
content: url("../images/icone_calendario_menor.gif");
width: 16 px;
height: 16 px;
af|inputDate::launch-icon:rtl{
content: url("../images/icone_calendario_menor.gif");
width: 16 px;
height: 16 px;
Problem: This solution works on Internet Explorer, but in Mozilla Firefox the new icon cover partially the default image but still possible to see a piece of the defaul icon.
Observation: My new icon is 16 x 16 pixels.
I believe that the solution 1 is better, but i think is missing a piece of code, there is a billion of icon states, core, busy, compact, depressed, selected , etc.
Thanks,
Victor Jabur
Edited by: user4579872 on Apr 26, 2010 5:29 PMCheck this doc http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e15862/toc.htm#StandardPseudoClasses
It shows all pseudo classes available.
Timo -
HI Guys,
I have a small query; which relates o the use of Calendar COmponent in xcelsius. I have to use this and filter my data accrding to the selection made. How can this be achieved?
Selection - 04-Jul-2009
Data -
Date Column_Name
01-Jul-2009 D1
01-Jul-2009 D2
04-Jul-2009 D3
04-Jul-2009 D4
04-Jul-2009 D5
Result should be:-
04-Jul-2009 D3
04-Jul-2009 D4
04-Jul-2009 D5
Regards,
PratikHi Anil
You can use the filtered summary property of a ComboBox to achieve it. No index/match formula are needed, just a simple if statement.
Want me to send the file?
Regards
[Charles|http://www.reportex.co.uk/xc_waterfallchart.html] -
Clicking on 'ADF Calendar Component activity' should navigate to New page
Jdeveloper Version - 11.1.2.0.0
We implemented the ADF calendar component and it displays fine. However, we have a requirement that by clicking on the activity, it should navigate to another new page. For an activity, there are options like contextMenu, acitivtyHover, activityDetail etc.., where all shows the details in popup of the same page. We want to navigate to new page by clicking on the activity. Is it possible?
Thanks in Advance.Hi,
I don't think it is possible.
All the facets you mentioned support only af:popup as child to them.
http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_calendar.html
-Arun -
Hi,
we have upgraded our CQ 5.4 installation to CQ 5.5. After the upgrade, we are facing an error with the Calendar component. The following error is logged when trying to create a new calendar event:
20.11.2012 11:01:23.139 *ERROR* [10.62.45.10 [1353405682764] POST /content/hm/NewsroomSection/en/NewsRoom/test/_jcr_content/par/calendar_3dd7/calendars/def ault/2012/11/22/.form.create.html/libs/collab/calendar/content/eventform HTTP/1.1] org.apache.sling.servlets.resolver.internal.SlingServletResolver handleError: Recursive invocation. Not further handling status 404(No form found)
We will try increasing the log level to possibly get a more detailed error message, just checking if anyone has encountered this issue?
Thanks,
Joakim"No form found" means the form chooser that's used here ("form" selector) to find the form to show/edit the event did not find one under the given path /libs/collab/cale ndar/content/eventform (the suffix). It contains a space, maybe it's just a typo.
-
Has anyone here configured a google calendar component?
I recently bought a flash AS3 Google Calendar component. I installed in a Flash site I'm building http://www.droolpigs.com/April5/
It lookd great I'm having no problems with it other than I don't know how to make it work and it came with no instructions. I guess the developer assumed everyone knows how to use google calendar feeds. It comes with an xml file that looks like this:
<config>
<proxyURL>http://www.rmcyouth.com/temp/proxy.php</proxyURL>
<gcalURL>http://www.google.com/calendar/feeds/ehrenck%40gmail.com/public/full?</gcalURL>
</config>
and a php file that looks like this:
<?php
// PHP Proxy
// Responds to both HTTP GET and POST requests
// Author: Abdul Qabiz
// March 31st, 2006
// Get the url of to be proxied
// Is it a POST or a GET?
$url = ($_POST['url']) ? $_POST['url']: $_GET['url'];
$headers = ($_POST['headers']) ? $_POST['headers'] : $_GET['headers'];
$mimeType =($_POST['mimeType']) ? $_POST['mimeType'] : $_GET['mimeType'];
//Start the Curl session
$session = curl_init($url);
// If it's a POST, put the POST data in the body
if ($_POST['url']) {
$postvars = '';
while ($element = current($_POST)) {
$postvars .= key($_POST).'='.$element.'&';
next($_POST);
curl_setopt ($session, CURLOPT_POST, true);
curl_setopt ($session, CURLOPT_POSTFIELDS, $postvars);
// Don't return HTTP headers. Do return the contents of the call
curl_setopt($session, CURLOPT_HEADER, ($headers == "true") ? true : false);
curl_setopt($session, CURLOPT_FOLLOWLOCATION, true);
//curl_setopt($ch, CURLOPT_TIMEOUT, 4);
curl_setopt($session, CURLOPT_RETURNTRANSFER, true);
// Make the call
$response = curl_exec($session);
if ($mimeType != "")
// The web service returns XML. Set the Content-Type appropriately
header("Content-Type: ".$mimeType);
echo $response;
curl_close($session);
?>never mind I figured it out.
-
Oracle ADF Calendar Component Customization
Hi,
I am starting my journey to learn ADF. I am using Oracle ADF Calendar component as read only calendar. We need to further customize the calender to incorporate CUD operations. I am using ADF BC @ business layer and which in turns talk to DB for Calendar entries.
I am able to implement UI facets (like Hover effect, Detail Calendar Entry, Delete Entry) but I am not clear about how to implement the corresponding events (like delete event, edit event etc).
I am using Dialog and which refers to a managed Bean component for listeners (e.g Delete Dialog refers to dialogListener="#{CustomCalendarBean.deleteListener}").
My Question is,
In the bean, to implement the listener, i would need to make use of Delete operation available in my Data Control (Exposed by ADF BC VO). I am not sure how to do the same. My managed bean is POJO and not sure how it can call Delete operation available in data control.
Appreciate your help.
Thanks, Mihir ParekhI am able to achieve this functionality with Operation Binding.
-
Announcement: Introducing a Flex Calendar Component
Hi Everyone,
I'm pleased to announce the release of the Flextras Calendar Component. This was a big undertaking for us and we can't wait to have a few people take a look and tell us what we did wrong (or right).
The Calendar is a great way for you to deal with date based data in a Flex Application and it allows you to build Calendar or scheduling applications. The component features:
Views for a Month, Week, and Day.
Extensive renderers so that you can make the component suit your needs.
Standard Flex APIs for drag and drop, itemEditors, and localization.
Support for Flex 3 and Flex 4
You can download our no cost developer edition along with samples and documentation at http://www.flextras.com/index.cfm?event=loginForm&c=218
Here are some links to find out more:
Product Page
Documentation
Demos
Register and Download
Flextras Home
We are here to help and would love to hear your feedback. Drop us a line! What can we do for you today?Take a look at ours and try out our Free Developer Edition:
http://www.flextras.com/?event=ProductHome&productID=15
We believe it creates a strong foundation for you to extend to build scheduling / Calendar applications with Flex.
If you want to build a Google Calendar style implementation, you'll need to create a custom DayRenderer with an embedded Gantt chart. We're working on a sample, but have no ETA for delivery. -
In Javascript how do I disable a ui:calendar component?
I've tried
document.getElementById("form1:arrivalDateField").disabled = true;
but that does not disable the Calendar from popping up, nor does it
prevent typing in the Calendar Field.Yea , it indeed happen to me as well while we cannot disabled the Calendar Component
Secondly for AutoComplete TextField
whenever i set it as readonly / disabled
it cant read the value even in next rendering the readonly/disabled will become false. -
JSF Calendar Component JS error
Hi everyone,
I have problem with JSF Calendar component. JSP version is 1.2 so we are using com.sun.rave.web.ui.component.Calendar class.
When HTML code is generated some id missing. For example:
JavaScript tries to find subForm:startCalendar:_datePicker:row5, but there is only subForm:startCalendar:_datePicker:row4.
This cause JS error at line 249 in calendar.js:
this.lastRow = document.getElementById(rowId);
this.lastRow.style.display = "none"; //error is here this.lastRow is nullAfter few reloads and manual date change calendar seem to work fine for a while, but it can stop at anytime. There are no errors in Tomcat logs (we are using Tomcat 5.5, but we have same error with Glassfish 2).
Here is JSP code:
<ui:calendar binding="#{Index.startCalendar}" dateFormatPattern="dd.MM.yyyy" id="startCalendar" style="position: absolute; left: 120px; top: 96px"/>I had observed that the code for UI:Calendar Component looks up defaulttheme.jar file which will be avaialble with Sun studio creator or with UI tag jars ...... for its JS files, Images and style sheets etc .
I tried seeing the contents in the JS files and there is a JS file specifically for Calendar Component ie calendar.js ... editing the same i came to see this
// This does not work for August (08) and September (09) but it works
// for all the other months????
function ui_Calendar_setCurrentValue() {
var curDate = this.field.value;
var matches = true;
but cant see Feb month there...
It the problem with the code in teh JS file that they are using to generate the component...
sooo the only solution would be to get the latest jars fixing that issue (defaulttheme.jar)
I tried googling out for teh latest jars for the same i coudnt find any such...
This is my investigation on this issue.Hope only code fix kills the flaw
If any one gets a solution or workaround pls post ASAP to help us.+
Edited by: Shivaji. on Feb 3, 2009 4:44 AM -
Customizing the calendar component
hi,
I am using jdev 11.1.2.0
In calendar component when in the list mode. we are having one button name "Today" and along with date range. My requirment is to display today date when clicking of today button in list mode.
Is it possible.How can i customize the the toolbar.
Any help would appreciated.Hi,
Check this out: http://jdevadf.oracle.com/adf-richclient-demo/faces/components/skinningKeys/calendar.jspx
AP -
Hi,
Commonly enough; in my Swing app I need to display a calendar of dates.
I've been looking for third-party components (both free and commercial) as building my own seems daft really. However, most seem to be primarily "date pickers". What I need is something that indicates "busy days" (days with an entry booked on them) on the calendar display.
Can anyone point me to any good ones? I see there are loads out there. I'd happily take a good/pretty "date picker" and add to it if I can get the source code.
I've looked at so many through Google that I don't know which to invest my time - and potentially money - in.
Many thanksis there a calendar component in the jdk or an open source component?The forum has a search facility. Its really not that difficult to think of search words. The words in your subject title will do just fine.
Maybe you are looking for
-
Also, how do I play downloaded music in my ipad (1)
-
How to uninstall motherboard drivers and update RAID drivers
i have a MSI K8N Neo4 Platinum nForce4 Ultra Chipset w/7.1 Sound, Dual Gb LAN, USB 2.0, IEEE 1394 PCI-Express Motherboard.. i think i'm on the right forum :O anywho my call of duty restarts my computers and punkbuster support said i need to download
-
I'm running into a bit of a problem with having a shape extruded in 3D. If I draw a rectangle shape set to path over an image and then choose "source - work path" and "3D extrusion" I will get a 3D rectangle with the image on the front side. If I dra
-
"ATI HDMI output: ATI High Definition Audio Device not plugged in"
Hi, I have a HP Pavilion p6210t PC running Windows 7. A few days ago, the sound stopped working, out of the blue. In Device Manager, it says ATI HDMI output / ATI High Definition Audio Device not plugged in." Computer is not connected with a TV, just
-
Hi, I found an error in JSF2.1 In the jsf.js file there is a property var sendEvent = function sendEvent(request, context, status) { var data = {}; data.type = "event"; data.status = sta