Calendar component: I am a bit confused on the bean to use

Hi all,
I would like to use the calendar component.
I have just read http://www.oracle.com/technology/products/jdev/11/how-tos/calendar/calendar.htm , http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_adv.htm#CHDIFFGA (paragraph 27.5) , the chapter 15 of the user interface developer's guide and I have seen the adf demo.
I am a bit confused on the classes to use to manage the calendar. I can't find the class calendar model described on the manual and other links, while the adf demo uses a lot of classes: DemoCalendarActivityBean, DemoCalendarBean, DemoCalendarModelBean, DemoDateCustomerBean, DemoCalendarActivity, DemoCalendarModelWrapper, DemoCalendarProvider, DemoSingleProviderCalendarModel.
First of all, I don't understand all the functionality of these classe, but the most important is that I don't understand the difference between DemoCalendarModelBean and DemoCalendarModelBean.
If I define a table in my database, like described on the links/manual, what classes do I need?
Thanks
Andrea

User,
OK, now I'm completely, utterly, and totally confused.
The sample application workspace that I downloaded from the how-to link you provided has a CalendarBean class, which is simply a managed bean. I don't see either DemoCalendarBean nor DemoCalendarModelBean. If you are using ADF Business Components as your model layer, you don't need to muck about creating calendar models. As the how-to says:
An ADF Faces Calendar component must be bound to a CalendarModel class. This class can be created for you when you use ADF Business Components to manage your calendar's data. For example, say you have data in your data store that represents the details of an activity, such as the date, time, title, location, and owner. When you create an entity object to represent that data, and then a view object to display the data, you can drag and drop the associated collection from the Data Controls panel to create the calendar. JDeveloper will declaratively create the model and bind the view to that model so that the correct data will display when the calendar is launched. The [url http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/af_calendar.htm]web user interface developers guide secton on creating a calendar is pretty clear on all of the classes you have to create if you are not using ADF BC.
John

Similar Messages

  • I'm a bit confused about the new Mail, Contacts prefs

    Is anyone else a bit confused with all the new sharing features in the Mail, Contacts & Calendars panel? If I can create address book accounts directly, why would I need to share the "on my Mac" contact list?
    Why is it that I can use the Microsoft Exchange for Google on my iPhone but it won't work in Lion? Has anyone gotten it to work?
    Can anyone share how they have theirs setup and what do they use each one for?

    Yes, you can create a new site, publish to MobileMe and redirect your domain name to it. More info on that can be had here:
    http://discussions.apple.com/thread.jspa?threadID=1164519&tstart=0
    http://docs.info.apple.com/article.html?path=MobileMe/Account/en/acct17114.html
    http://iwebfaq.org/site/iWeb_Domains.html
    FWIW MMe tends to be much slower overall and has no ear to ear support in case you need it. For a personal site it's OK but for a commercial site you would be better off on a commercial hosting server.
    OT

  • A bit confused by the concept....

    I just purchased Aperture to replace my very simple editing software supplied with my Canon DSLR. It works great for that purpose, however, I would like to become accustomed to the whole 'organization' aspect of Aperture as well.
    I currently have many files in 'my pictures' folder. I imported every one into aperture, so right now, Aperture simply looks like 'my pictures' folder. Are these forever saved into my Aperture library? Can I now delete all of the files in 'my pictures' folder? Once I get everything organized I do plan on backing up my Aperture library somehow, but I just want to make sure everything will still work properly when I do delete the files...
    Thanks for your help, pardon my new-b questions.

    slapshot36227 wrote:
    They were taken away in step #4, and then came back in step #5. When I go to photos, they're all there.
    Good, this is what I expected.
    In step #4, you were telling the smart album filter to show only images that are 'Referenced'. This means to show all images that are not physically inside the Aperture library package, but that Aperture is linked to. The fact that none are showing = no Referenced images are currently used in the library.
    In step #5, you were telling the smart album filter to show only images that are Managed. This means to show all images that are physically inside the Aperture library package. If this shows all your images, then you are good to go.
    Note - it is obviously up to you to identify whether any images you want are not included.
    When you select the 'Photos' icon in the Library Inspector (without any search criteria in the search box in upper right corner of the browser); you are telling Aperture to show you all images (both Referenced and Managed) that exist in the Aperture Library database.
    Again, based on the fact that step #4 did not show any images and #5 showed your images; I agree that you should be good to remove the images from the Pictures folder. Note - it would not be a bad idea to copy those images to an external drive (at least temporarily, and if you have one) for insurance as you learn Aperture.
    When I imported them I simply clicked import, and then the file. It seems to me that they're all saved but I just want to make sure before I delete.
    Indeed, by default - Aperture uses a Managed library where all your images are copied into the library package. This allows for easy management by Aperture and allows you to use either the 'Vault' system for backup, or you can just copy the Aperture Library to another drive to backup as well.
    One thing to remember about Aperture's organization is that a 'Project' (brown box icon) is the only thing that actually holds images within the Library Inspector.
    For example, if you create a Project and import a number of images (say from a vacation), you could create albums within the project for each day of the vacation. At this point, you could select an individual album to view one day's activities, but if you select the Project - you would see all the images from all days.
    Blue folders can be used to organize Projects, albums and smart albums, but the Projects are the actual containers for the images - not the folders.
    It may seem a bit complicated at first, but once you start to use the system it becomes both easier and logical.

  • Im a bit confused about the Cloud

    I wanna buy Creative Cloud but  im very confused about that name  ...
    I wann use Lightroom and CC for my computer and Laptop - I guess it's working , aren't it ?

    The Cloud is a delivery process where you pay monthly or annual rent to use programs
    -what is in the entire Cloud http://www.adobe.com/creativecloud/catalog/desktop.html
    Special Photography Plan
    http://helpx.adobe.com/photoshop/kb/differences-photoshop-creative-cloud-photography.html
    Cloud Plans https://creative.adobe.com/plans
    -and subscription terms http://www.adobe.com/misc/subscription_terms.html

  • I'm a bit confused about the Personal Domain concept

    I've always had my own website, www.myname.com, which I've paid a monthly fee for hosting. Can I design my new website using iweb (I'm working on it and it's looking fine), and then use my 20 gig of mobile me space (or whatever I need) to host the site (saving the other hosting fee). Will someone be able to type in the URL "www.myname.com" and get to my iweb created site. Also, will it simply be forwarded to the mobileme URL, or will the address still read "www.myname.com". Am I getting this all wrong, backwards, upside down?
    Thanks in advance.

    Yes, you can create a new site, publish to MobileMe and redirect your domain name to it. More info on that can be had here:
    http://discussions.apple.com/thread.jspa?threadID=1164519&tstart=0
    http://docs.info.apple.com/article.html?path=MobileMe/Account/en/acct17114.html
    http://iwebfaq.org/site/iWeb_Domains.html
    FWIW MMe tends to be much slower overall and has no ear to ear support in case you need it. For a personal site it's OK but for a commercial site you would be better off on a commercial hosting server.
    OT

  • A little bit confused about the ipv6 prefix-list

    when I configured ;
    ipv6 prefix-list abc permit ::/0 ge 0
    which I wish is to permit all the ipv6 routes,
    but the running information becomes "ipv6 prefix-list abc permit ::/0" which only matched the default ipv6 routes
    what is wrong with me

    Hardware > Version > 5.1
    Don't forget to test it on real hardware. There should be plenty of iOS 5.1-limited devices available real soon now. Keep one of those for testing.

  • IAd Unit sizes: I am a bit confused about the file limits

    Say I have the bottom banner for iPad (hr) and full size iPad banner, what is the max iAdUnit size?
    Is it: 350kb for full size iPad banner (including all the images included on that page), + 200kb for the bottom banner
    Or how does it even work with sizes?

    It appears that Lightroom will warn you when your original file (or XMP sidecar) is out of sync with the Lightroom database. In other words, if you import an image with no metadata, then add metadata within Lightroom, the Lightroom database will have metadata that the file (or XMP sidecar) will not. That is what the warning is concerning.
    Nothing more, and no worries if you choose to ignore it. All current data would be in the database.
    Actually, I suppose it is a little more complicated than that, but basically speaking, there's nothing to worry about. That being said, if you edit metadata in an outside application, and then tell Lightroom to sync the folder, I expect the warning will appear because the file (or XMP sidecar) now has data that the Lightroom database doesn't. The point is still the same...
    Anyone with more than a day's worth of knowledge care to jump in and correct me?

  • TS4000 I have the 4s Iphone, the ability to add invitees to an event in my calendar has disappeared.  I don't have the option and used all the time.  How do I get that back?

    I have the 4s Iphone, the ability to add invitees to an event in my calendar has disappeared.  How do I get it back?  Why and when did it disppear?  Did an update take it away?

    you don't need to use iTunes to restore your old phone to factory settings.
    Just go into settings on your old iPhone and reset .. it will take it back to factory set-up with the cable showing on the front of the screen.  All your content will be permanently erased from the old iPhone.

  • 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

  • Save Options a Bit Confusing

    Hi,
    I've been using LabVIEW for about 7 months now, and am still a bit confused about the save options.  It seems that whenever I modify a sub-VI for my app, the previous sub-VI I created ends up with the same settings that I changed in the newly modified one.
    Example:  I use an existing VI created by Daytronic Corp for monitoring a binary signal.  I change the channel and a few other settings, and name the file oil press.vi, saving it in the new folder I created for my app.  Then I close the oil press.vi I modified, then close the original, unchanged VI without saving it.  When I create another VI starting with the original, unmodified one again, and save it using the same procedure, but using a different filename (let's call it fuel press.vi), oil press.vi takes on the characteristics of fuel press.vi, although the filename is still oil press.vi.  So, I end up having to use the "replace" option on the block diagram and select oil press.vi as the replacement file.  I have to keep doing this for every sub-vi I create.
    This take a lot of time and is a bit annoying.
    I hope you can understand what I'm saying.  The Save options seem confusing to me, with all the references to keeping a vi in memory, closing the original, etc.  Is there some text or a tutorial online that explains the save options in a simpler, more direct form?  I have even read about it in my book (Labview for Everyone) and it doesn't go into much more detail about how saving the Vis actually works.
    Thanks!
    Todd Munsell
    Turbine Engine Test Technician/IT Tech
    Wood Group Pratt & Whitney Industrial Turbine Services, LLC
    Plattsburgh, NY

    Hi Mike,
    Actually, I'm using LV 8.5.  It's the descriptions of the save options that are slightly confusing.  The information about what's left in memory and what's closed and opened is what's got me baffled.
    For example, what, in layman's terms, do each of these options below mean... exactly?  I would think that an option that simply says "Save as path/filename" would be enough.  Then, the renamed, saved file stays open, since that's the one that's currently being used, and the original is closed and left as it was.  Which option (and sub-option) would I choose to do this?
    The number of options below seems a bit excessive, and not very clearly defined, at least to me.   Even the explanation in the book "LabVIEW for Everyone", which is supposed to be for beginners, doesn't do a very good job of describing exactly what each option does.  Thanks again!
    Original file—Displays the path to the open file. You can
    use this field to determine the location of a file on disk.
    Copy—Creates and saves a copy of the file in memory to disk with a name you
    choose. If you enter a new file path or name for the file, the original file on
    disk is not overwritten or deleted.
    Substitute copy for original—Both the original file and the
    new file exist on disk, but the original VI closes and the new VI opens. Use
    this option if you
    want to create a copy of the original file and immediately edit the copy.
    Caution  If the original file has
    calling VIs in memory, this option updates all these callers to refer to the new
    file.
    If the original file is in a project
    library or project, this option substitutes the new file for the original in the
    project library or project.
    Create unopened disk copy—Both the original file and the
    new file exist on disk, but only the original file remains open in memory. Use
    this option if you
    want to create a copy of the original file but continue editing the original
    file, for example, if you want to create a backup copy. This option does not update
    callers in memory to refer to the new file. You can update callers manually by
    finding all instances of a
    VI and updating the name of each instance. If the original file is in a
    library or project, this option does not add the new file to the same library or
    project.
    Open additional copy—Both the original file and the new
    file exist on disk and are open in memory. You must give the copy a new name,
    because two files of the same name cannot exist in the same application instance
    at the same time. Use this option if you want to create a copy of the original file,
    continue editing the original file, and also immediately edit the new file. This
    option does not
    update callers in memory to refer to the new file. You can update callers
    manually by finding all
    instances of a VI and updating the name of each instance. If the original
    file is in a library or project, you have the option of adding the new
    file to the same library or project by placing checkmarks in the appropriate
    checkboxes. If you place a checkmark in the checkbox to add the copy to the
    library, the checkbox to add the copy to the project is disabled and
    unchecked.
    Rename—Renames the file in memory with a new name you
    choose. This option
    closes and deletes the original file and opens the file with the new name, so
    only the new file exists on disk and in memory. Use this option if you want to
    change the name and/or location of the original file.
    Caution  If the original file has
    calling VIs in memory, this option updates all these callers to refer to the new
    file.
    If the original file is in a library or
    project, this option adds the new file to the same library or project,
    and removes the original file.
    Duplicate hierarchy to new location— Use this option if you want to
    save the original
    VI and its hierarchy to a new location. You might want to rename the new VI
    hierarchy after duplicating it.
    Message Edited by tmunsell on 08-09-2008 01:54 AM
    Message Edited by tmunsell on 08-09-2008 01:56 AM
    Todd Munsell
    Turbine Engine Test Technician/IT Tech
    Wood Group Pratt & Whitney Industrial Turbine Services, LLC
    Plattsburgh, NY

  • Bit confused with concept of deleting from BTrees ..

    Hi guys,
    I am bit confused with the BTree deleetion of nodes. I am looking for some Visual example of BTree to help me understand the concept. Any applet or online resource will be appreciated.
    abdul

    You might try the link below. At the bottom there are some links to some applet demonstrations.
    http://www.public.asu.edu/~peterjn/btree/
    Also nist has a good site for finding information on data structures:
    http://www.nist.gov/dads/

  • Confused about the default schema

    Hi,
    I am a little bit confused about the schema concept.
    I want to create a new schema called APP and then create several users and roles based on the schema APP. The default schema for the users should be APP achema.
    How can I make the schema APP the default schema for the new users that I am creating?
    I feel that there are some schema design concepts that I have to learn. Is there any resource on the internet that I can read and learn more about oracle schema design best practices?
    Any help would be appreciated,
    Ali

    A schema holds object definitions, and in the case of table & index objects the schema also holds the data.
    A user owns the schema.
    Therefore the user 'owns the definitions (including any functions, procedures, sequences, tabels, etc.)
    Other users may be granted access to some, or all, of the objects in a schema. This is done through the 'GRANT ...' command. For example, consider the following steps:
    1) create user app_owner
    2) create table object test owned by the app_owwner
    3) create user app_user
    4) grant select, update, insert and delete on app_owner's test table to app_user
    5) add synonyms to avoid needing to qualify the table's schema name.
    done as follows:
    oracle@fuzzy:~> sqlplus system
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Apr 3 20:07:32 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Create the app owner userid. Note there is no need to ever log in to that user, even to create tables.
    SQL> create user app_owner
      2  identified by xyz
      3  account lock
      4  quota unlimited on users
      5  default tablespace users
      6  temporary tablespace temp;
    User created.
    Creating objects in a schema can be done by providing the schema name, or by switching schema in newer versions of Oracle
    SQL> create table app_owner.test ( t number );
    Table created.
    Create a userid that will access the table. Set that userid up to access the database and (for future) give it the capability to create it's own synonyms
    SQL> create user app_user
      2  identified by xyz
      3  temporary tablespace temp;
    User created.
    SQL> grant create session to app_user;
    Grant succeeded.
    SQL> grant create synonym to app_user;
    Grant succeeded.
    Now give the user access to the objects
    SQL> grant select, update, insert, delete on app_owner.test to app_user;
    Grant succeeded.
    Let's test it out. Insert by qualifying the schema name on the object, then create a synonym to avoid using schema, and try it all using the synonym
    SQL> connect app_user/xyz
    Connected.
    SQL> insert into app_owner.test values (4);
    1 row created.
    SQL> create synonym test for app_owner.test;
    Synonym created.
    SQL> insert into test values (3);
    1 row created.
    SQL> select * from test;
             T
             4
             3
    SQL>  Note that some people want to use PUBLIC grants and PUBLIC synonyms. This is a real bad idea if you want to ensure long term security of the data and want to host several different applications in the same Oracle instance.
    This, and a whole lot more, is in the 'Concepts' manual for your version of the database at http://docs.oracle.com

  • My Safari will not allow me to open my Google calendar with Google Apps. I have to open my email with the older version of Google Apps. This happened after I installed 5.1.4. I tried to use the fix of changing to 64 bit by unchecking the 32 bit box no go

    My Safari will not allow me to open my Google calendar with Google Apps. I have to open my email with the older version of Google Apps. This happened after I installed 5.1.4. I tried to use the fix of changing to 64 bit by unchecking the 32 bit box but that didnt help.

    I assume that there are legal restrictions on the way in which iTunes can get artwork automatically from any source apart from the iTunes Store (which is what the right-click > Get Album Artwork function uses).  For example, even though the Gracenote service that iTunes uses to match CDs and retrieve metadata (artist, album, track titles, etc.) also has artwork functions, iTunes does not make use of these.
    For manual addition of artwork, there are three cases where the image you select may not be correctly embedded in your media files:
    your media are in a format that doesn't accommodate embedded artwork - typically WAV files.  To embed artwork you'll need to convert to another format - Apple Lossless or AIFF if you want to preserve lossless quality, AAC or MP3 otherwise.
    your media files are read only - to fix this, use Windows Explorer to find the folder that contains your files, right-click and select Properties.  On the General tab there's a check box labeled "Read-only" - if this is checked, or is grey (sometimes blue), click the box so that the flag is unchecked and the box is white.  Click OK, and then OK again when the "Apply changes to this folder, subfolders and files" option selected.  Now try adding the artwork again.
    Windows permissions issues are preventing iTunes from updating your media files (there's some anecdotal evidence of a change in this behavior in iTunes 12).  See turingtest2's notes on Repair security permissions for iTunes for Windows for advice on fixing this, then try adding the artwork again.

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

Maybe you are looking for

  • Star Office files as attachments treated as "zipped"

    I just finally got around to upgrading my wife's iMac to Tiger - and it seems to have created a problem... She does some work for folks who use Star Office, and frequenty gets Star Office files as attachments. Under Panther, this was no problem - the

  • Binary File Type in Portal 3.0 Form

    Has anyone successfully created a form in 3.0.7 for inserting BLOBs as part of a table record? I recently observed that the form wizard now includes a binary file field option. WebDB did not support this. Does this feature allow the blob object to be

  • Lightroom 4 and Raw RAW 7

    I have Lightroom 4.3 and want to use Camera RAW 7.1 for RAW/DNG editing/conversion. I downloaded the latest build of ACR 7.1 and attempted to install; I needed Adobe Application Manager 6, the installation said. I downloaded and installed that, insta

  • How to transfer balance of one Recon. Account to another Recon.Account

    Hi, The scenario is that we want to change Reconciliation Account of all our vendors/customers. So we want to transfer the balance of old Recon Account to new Recon. Account. How it would be possible? Thanks&Regards, Murali

  • How to start WebDynpro - Feeling down and lost

    Hi guys, I started working with webdynpro based on ABAP. Its definately nice and I appreciate SAPs tutorials. But they are just the basics and a lot of things are not described. How can I create a good tree model? SAP online docu has nothing about it