Assigning different colors to different types of events

Is it possible to assign different colors to different types of events within the same calendar?
If so, how can that be done?
Thanks for your feedback.

Greetings,
The color choices in iCal are defined by calendar. So events in the same calendar will all be the same color. If you want them to be a different color, move them to a different calendar and assign the color of your choice to that calendar.
Hope that helps.

Similar Messages

  • I have a question about the calendar on the ipad2. I have multiple calendars in different colors. Some of the events are filled in with color. Others are just listed with a colored dot in front of the event. Any ideas why events ar showing up differently?

    I have an ipad2 and my question is about the calendar. I set up multiple calendars with different colors. Some of the events show up in filled color. Others only show with a colored dot in front of the event. I can't figure out why some show up one way and others show up differently? Any thoughts?

    On mine the ones that show on a coloured background are all-day events, the ones with dots and just timed events.

  • Is there a way to have multiple color Guides so I can have different colors for different layers

    Is there a way to have multiple color Guides in Illustrator and Photoshop CC so I can have different colors for different layers?

    I think it's not possible "natively" to have this functionalty but I found these topics for Photoshop :
    http://www.ps-scripts.com/bb/viewtopic.php?f=10&t=4618
    http://www.ps-scripts.com/bb/viewtopic.php?f=10&t=4617
    On this one, you will see a workflow which are well described.
    http://graphicdesign.stackexchange.com/questions/6030/how-to-set-different-color-to-guides ai-ps-id-fw
    I've not tested them but you should give it a try!

  • Ho to set different color to different Jtree Nodes

    hi,
    In a JTree I need to remark with a different color the leaves that bring
    different categories of information.
    I wrote this function to achieve this purpose:
    private void assignRenderToTrees(JTree jTree, String category) {
             // a different color depending from the category
            Color color = null;
            String ssttrr = category.substring(0, 1);
            if (ssttrr.compareTo("*") == 0) {
                color = Color.YELLOW;
             if (ssttrr.compareTo("^") == 0) {
                color = Color.BLUE;
            // the same icon to all nodes
            String pathXopen = "resources_toShowMouth/oneToothGoodMod.gif";
            URL imgURLXopen = MedidentStart.class.getResource(pathXclose);
            ImageIcon iconXopen = new ImageIcon(imgURLXopen);
            if (iconXopen != null) {
                DefaultTreeCellRenderer renderer = new DefaultTreeCellRenderer();
                renderer.setLeafIcon(null);
                renderer.setClosedIcon(iconXclose);
                renderer.setOpenIcon(iconXopen);
                renderer.setBackgroundNonSelectionColor(color);
                jTree.setCellRenderer(renderer);
            } else {
                System.err.println("Leaf icon missing; using default.");
        } // assignIconsToTree()But in this way, I don't get the selection for the leaf, depending for the category.
    Instead I get all the nodes with the same color.
    I can believe that this happen because I am getting the nodes of all the tree,
    instead the single nodes..., but I am not able to select a single node to
    assign the color...
    I would have an help to do it..
    thank you
    regards
    tonyMrsangelo.

    hi,
    thank you for your kind answer.
    You are right..., JTree are a large framework that I don't know very good.
    ..So often I try to arrange a solution witouth to know good the environment where I am working ...
    This is the reason I changed the approch to the problem in the different time when I posted my ask.
    At any rate now I reproduced the problem selecting a part of my program.
    To use tree.setCellRenderer(renderer) is I found in an example that I was not
    able to reproduce.
    I hope to know what is wrong in the code I posted...
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.Dimension;
    import java.awt.FlowLayout;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTree;
    import javax.swing.event.TreeSelectionEvent;
    import javax.swing.event.TreeSelectionListener;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.DefaultTreeCellRenderer;
    import javax.swing.tree.DefaultTreeModel;
    public class SSCCE_ForPeriodontalCharting extends JFrame {
        PanelArcSupSx panelArcSupSx;//
        public SSCCE_ForPeriodontalCharting() {
            panelArcSupSx = new PanelArcSupSx();
            add(panelArcSupSx);
            setSize(900, 300);
            setVisible(true);
            this.setDefaultCloseOperation(EXIT_ON_CLOSE);
        public static void main(String[] args) {
            SSCCE_ForPeriodontalCharting xxx = new SSCCE_ForPeriodontalCharting();
    } // class SSCCE_ForPeriodontalCharting
    class PanelArcSupSx extends JPanel {
        JScrollPane jScrollPane[];
        JTree jTreeForArcSS[];
        DefaultMutableTreeNode[] rootNodeArcSS;
        Dimension dimPrefSemiArcPanels = new Dimension(850, 140);
        Dimension treePrefDim = new Dimension(100, 110);
        Dimension dimMinSemiArcPanels = new Dimension(650, 90);
        String[] treesContents = {        "* aaaaa - 2",     "* bbbbb - 2",
            "^ ccccc - 2",    "ddddd - 3",     "* eeeee - 2",
            "fffff - 6",    "* ggggg - 6",     "* hhhhh - 5",
            "* iiiii - 5",   "* kkkkkkk - 1",   "^ llllll - 5",
            "^ mmmmmmm - 2",   "nnnnnnn - 4",    "^ oooooo - 4",
            "* pppppppp - 4"};
        public PanelArcSupSx() { // costruttore
            this.setMinimumSize(dimMinSemiArcPanels);
            this.setPreferredSize(dimPrefSemiArcPanels);
            setLayout(new FlowLayout());
            jScrollPane = new JScrollPane[8];
            jTreeForArcSS = new JTree[8];
            rootNodeArcSS = new DefaultMutableTreeNode[8];
            // arc sup Sx
            for (int i = 0; i < 8; i++) {
                rootNodeArcSS[i] = new DefaultMutableTreeNode("    " + i);
                jTreeForArcSS[i] = new JTree(rootNodeArcSS); // create le 8 roots
    // assignIconsToRootInTheTree(jTreeForArcSS[i]);
    jScrollPane[i] = new JScrollPane();
    jScrollPane[i].setViewportView(jTreeForArcSS[i]); // mette il nodo nel Viewport
    add(jScrollPane[i]); // mette il Viewport nel pannello
    jScrollPane[i].setPreferredSize(treePrefDim);
    // attiva gli ascoltatori ....
    jTreeForArcSS[i].addTreeSelectionListener(new TreeSelectionListener() {
    public void valueChanged(TreeSelectionEvent e) {
    activateDialogXshowTreatments();
    } // for
    fillTrees();
    expandTrees();
    } // costruttore
    private void fillTrees() {
    for (int i = 0; i < treesContents.length; i++) {
    String strNmbr = treesContents[i].substring(treesContents[i].length()-1, treesContents[i].length());
    int nmbr = Integer.parseInt(strNmbr);
    addToothNodeForArcSupSx(nmbr, treesContents[i]);
    private void expandTrees(){
    for (int i = 0; i < 8; i++) {
    jTreeForArcSS[i].expandRow(0);
    * @param toothNmbr
    * @param strTreatment
    private void addToothNodeForArcSupSx(int toothNmbr, String strTreatment) {
    DefaultMutableTreeNode newChild = new DefaultMutableTreeNode(strTreatment); // nuovo treatment da inserire
    DefaultTreeModel model = (DefaultTreeModel) jTreeForArcSS[toothNmbr].getModel();
    DefaultMutableTreeNode parentNode = (DefaultMutableTreeNode) model.getRoot();
    model.insertNodeInto(newChild, parentNode, 0); // 0 = assegnamo sempre come primo nodo
    assignColorToLeafInTheTree(model);
    } // assingTreatmentToTooth()
    private void assignColorToLeafInTheTree(DefaultTreeModel model) {
    MyCustomizedRendererForJTree renderer = new MyCustomizedRendererForJTree();
    JTree tree = new JTree(model);
    tree.setCellRenderer(renderer);
    } // assignIconsToLeafInTheTree()
    private void activateDialogXshowTreatments() {
    // do anithing
    private void assignIconsToRootInTheTree(JTree jTree) {
    // do nothing now
    } // assignIconsToTree()
    } // class PanelArcSupSx
    class MyCustomizedRendererForJTree extends DefaultTreeCellRenderer {
    @Override
    public Component getTreeCellRendererComponent(
    JTree tree,
    Object value,
    boolean sel,
    boolean expanded,
    boolean leaf,
    int row,
    boolean hasFocus) { // costruttore
    super.getTreeCellRendererComponent(
    tree, value, sel,
    expanded, leaf, row,
    hasFocus);
    DefaultMutableTreeNode node = (DefaultMutableTreeNode) value;
    // String value = (String) val;
    String text = (String) node.getUserObject();
    String prefix = text.substring(0, 1);
    System.out.println("------------------ text = " + text + " prefix = " + prefix);
    // per quanto riguarda il colore ....
    if (prefix.compareTo("*") == 0) {
    setForeground(Color.YELLOW);
    setBackground(Color.YELLOW);
    // System.out.println("colore da usare giallo ");
    } else if (prefix.compareTo("^") == 0) {
    setForeground(Color.BLUE);
    setBackground(Color.BLUE);
    // System.out.println("colore da usare blu ");
    } else {
    setForeground(Color.BLACK);
    setBackground(Color.BLACK);
    // System.out.println("colore da usare bianco ");
    return this;
    } // costruttore

  • Different color in different adobe applications!

    I noted a difference in color between Lightroom and Photoshop CS4.
    If I export the PSD file from Lightroom as .jpg with Adobe RGB profile and then open it in PS I get a different color than if I open the PSD file with same profile!
    Very strange indead.
    My system is calibrated, monitor and printer, and I get excellent results. I use Adobe RGB throughout. Color is set in Bridge Creative suite color setting. All proof colors are unchecked. The problem is that the files appear different and print different if different applications.
    It seams that Lightroom, Preview, Acrobat and Indesign, (even the small thumbnail in Finder) all share same color. (With minor noticeable difference).
    However Photoshop looks very different. More saturated.
    Can someone explain please?
    Screenshot with multiple open programs.
    Full size image: http://www.jonpall.com/CS4-color-comparison.jpg

    I don't use Lightroom, but on the Photoshop display side
    You need to determine how your apps deal with tagged and untagged images, especially what Default profile they apply-assume-assign when the profile is absent, stripped and/or ignored.
    If a thumbnail in OSX Finder shows the problem, that is a big clue because Finder thumbnails are not color managed (Finder is assuming Monitor RGB).
    I recommend going here
    www.gballard.net/photoshop/pdi_download/
    and downloading the iPhotoTESTfolder.zip
    That series contains tagged and untagged verisions of AppleRGB, AdobeRGB, sRGB, ProPhotoRGB.
    First, look at the image icons in finder (they are all over the place).
    Next, drag the download folder into Bridge and observe the thumbnail colors (Bridge assumes sRGB on untagged images)...
    +++++++
    If your problem apps are displaying color the same as image icons in Finder, then either your app is not colormanaged or the file does not contain an embedded profile.
    +++++++
    PS:
    OSX Safari is a great app for testing JPEG files because it will either read an embedded profile or it will apply the default monitor profile (exactly where I am pointing you to) -- just drag your icon into an open Safari window...

  • Same logo printing different colors for different file formats?

    I created a logo for a client who will be using it for some printed materials.  I provided the logo in 3 different file formats: EPS, JPEG and Tiff.
    In INDesign and MS Word, the logo is printing a different color for the EPS vs the Jpeg/Tiff file types.  Is there something I'm missing?
    I've even tried changing the color to something completely different and we are getting the same result.  There is STiLL a considerable difference between the Eps file and the other two files.

    No the logo was created for print and I originally had used a pantone color but converted to CMYK.  The actual value is C69 M7 Y0 K0.  When my client inserts the eps file into her InDesign layout, it prints a bright aqua color and if she uses either the jpeg or tiff, it is a much different blue.  We've tried other colors because I was thinking it might just be the fact that it's a blue color... but the same thing happens to other colors. I am wondering if there is some sort of color management setting that is causing the eps to be different?

  • Add different colors to different cells of table

    Hello everyone,
    I have a table in an interactive form.
    Subform10 -
                    | - Subform 11 -
                                         | - TextField1[0]
                                           - TextField1[1]
                                           - TextField1[2]
    Subform 10 is the Table Content and Subform 11 is the Table Row. I wanted to fill the background color  of these fields with diferent colors, depending on the rawValue of the TextField itself. How can i do this, and in wich event should i put the code ?
    I tried the fillColor but don't know where to put it.
                                       thank you in advance,
                                              Nuno Santos
    Message was edited by:
            Nuno Santos

    hi Nuno,
    I tried to replicate your problem in my system, and what I suggest you is that in the this is what has to be in the script editor:
    Setting for the script editor:
    Show: initialize
    Lanuage: formcalc
    Run At: client
    for example for textfield1[0} to have to code something like this:
    $.fillColor="150,130,33"
    here "150,130,33" is the color defined.
    for example for textfield1[1] to have to code something like this:
    $.fillColor="150,130,33"
    for example for textfield1[2] to have to code something like this:
    $.fillColor="150,130,33"
    Or if you want to go for javascript then use
    TextField1.fillColor = "150,130,33"
    This would solve your problem.
    Thanks,
    kris

  • Different Color for different letters

    HI..
    i am developing a program in which when user types a paticular character
    say "A" then the color of letter should be changed to say red at that instance itself. similarily with other characters ie in total 26 color of all the english alphabets . I had tried all the tricks but its not working ....
    can any one Help me!!!!

    You can extend DefaultStyledDocument to get this affect.
    Run my example and type "abcde" into the text pane
    import java.awt.Color;
    import java.awt.Dimension;
    import java.util.HashMap;
    import javax.swing.JDialog;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JTextPane;
    import javax.swing.text.AttributeSet;
    import javax.swing.text.BadLocationException;
    import javax.swing.text.DefaultStyledDocument;
    import javax.swing.text.Style;
    import javax.swing.text.StyleConstants;
    import javax.swing.text.StyleContext;
    public class CharacterColorTest {
        public static void main(String[] args) {
            try {
                JFrame frame = new JFrame();
                frame.setDefaultCloseOperation(JDialog.EXIT_ON_CLOSE);
                JTextPane textPane = new JTextPane();
                textPane.setDocument(new CharacterColorDocument());
                JScrollPane scrollPane = new JScrollPane(textPane);
                scrollPane.setPreferredSize(new Dimension(200, 100));
                frame.add(scrollPane);
                frame.pack();
                frame.setVisible(true);
            } catch (Exception e) {e.printStackTrace();}
        private static class CharacterColorDocument extends DefaultStyledDocument {
            Style style = StyleContext.getDefaultStyleContext().getStyle(StyleContext.DEFAULT_STYLE);
            HashMap<String, Color> map = new HashMap<String, Color>();
            public CharacterColorDocument() {
                map.put("a", Color.BLUE);
                map.put("b", Color.RED);
                map.put("c", Color.GREEN);           
                map.put("d", Color.YELLOW);
            public void insertString(int offs, String str, AttributeSet a) throws BadLocationException {
                for (int i = 0; i < str.length(); i++) {
                    String s = String.valueOf(str.charAt(i));
                    StyleConstants.setForeground(style, getCharacterColor(s));
                    super.insertString(offs, s, style);
            public Color getCharacterColor(String s) {
                Color color = map.get(s.toLowerCase());
                return color != null ? color : Color.BLACK;
    }

  • One series in a graph - different colors for different bars.

    Hi,
    I have a graph with one series in it. It produces
    7 bars within that graph. I need the first 3 bars (from the left) to be
    green, and the other 4 bars to be blue. All 7 bars are produced from
    one query/data model.
    This is in an RTF template within MS Word, for BI Publisher.
    Any ideas?
    Many thanks for any answers.
    - Jenny
    Edited by: user1636556 on 12-Mar-2009 04:11

    Use this
    <SeriesItems>
    <Series id="1" color="#993399"/>
    <Series id="2" color="#993399"/>
    <Series id="3" color="#993399"/>
    <Series id="4" color="#993399"/>
    <Series id="5" color="#ff9933"/>
    <Series id="6" color="#ff9933"/>
    <Series id="7" color="#ff9933"/>
    </SeriesItems>
    and populate this attribute in root element graph with value <Graph colorMode="COLOR_BY_GROUP"

  • Paint different color for different group

    Hello guys,
    I want to make the report colorful, the color should be same for same group, the color should be change for every other group. Kind of did some research but cannot figure out yet, I will appreciate all your helps. Thank you in advance!
    -Bill

    Tim,
    Thank you for your fast response, actually I should have made my question clearer. Let's take your sample data, what I need is like this:
    For group 1 Nuts and Bolts Limited, make background yellow,
    981110 10-NOV-04 Standard EUR 122
    100000 28-MAY-04 Standard FIM 122
    100001 28-MAY-04 Standard FIM 200
    1 03-JUN-04 Standard FIM 400
    100004 28-MAY-04 Standard FIM 100
    00s 07-JUN-04 Standard FIM 100
    FI1009 10-MAY-04 Standard FIM 1220
    Stop make background yellow.
    For group 2 Tick Tock Clocks, make background blue,
    100002 28-MAY-04 Standard DEM 235
    100003 28-MAY-04 Standard DEM 100
    2001 01-JUN-04 Standard EUR 1000
    2002 01-JUN-04 Standard EUR 1500
    2003 01-JUN-04 Standard DEM 1000
    2004 01-JUN-04 Standard DEM 2000
    3001 04-JUN-04 Standard EUR 1000
    FI1011 25-MAY-04 Standard DEM 2000
    Stop make background blue.
    For group 3, make background back to yellow
    Big Bike Motorsports
    3001 01-JUN-04 Standard SEK 1000
    FI1013 02-JUN-04 Standard USD 25000
    Stop make background back to yellow
    For group 4, make background back to blue
    Second Cars
    FI1010 20-MAY-04 Standard FIM 2440
    Stop make background back to blue
    That is, I need the xml change the background every time the group is changed.
    Message was edited by:
    billzheng2004

  • I installed the new update of OS X and now find the iMessages are different colors or shades of gray.  Why?

    Why are iMessages coming thru in different colors from different people?  I haven't assigned color tags to these people.  How did this happen and how can i change it?

    http://www.apple.com/osx/whats-new/

  • How to add colors on my ipad calendar for different types of events

    Lets say i want to make all the birthdays on my calendar a certain color will i be able to do that

    You will have to make a separate "Birthdays" calendar.  All of the items in one calendar are the same color, so if you create a new calendar for just birthdays that will be a different color than your main calendar.  Unfortunately Apple doesn't allow us to select our own colors for calendars so you are stuck with whatever color the calendar program assigns you.  Pretty frustrating to have such a basic thing as customizing calendar colors not available.  Perhaps someday someone at Apple will take the hour of coding needed to make this happen?

  • How to assign a class for different colored links

    Hi. I'm new to CSS and HTML and Dreamweaver. I'm trying to
    get links to be different colors within the same page. I have a
    navbar with a CSS style that I've assigned colors to all my links
    there. They work. But if I attempt to change the links in the main
    content it screws up the navbar links.
    So, now, I'm trying to assign the different colors to the
    links in the main content. I have the link color down but I can't
    seem to get the visited, hover, active to work.
    So, I read somewhere you have to assign a class to be able to
    have different colors for your links on the same page. There is a
    class assigned to the links I want to change but it only assigns
    the link color, not the visit,hover,active colors. I don't know
    where I am supposed to put the code so that only the main content
    links are changed. Here is what I came up with from reading and
    studying. Can somebody tell me what's wrong with it and where I am
    supposed to put what in each page? This is just a CSS style page I
    made and I have no idea if I even did that right. Then, I can't
    figure out how to tell each page to include it for that class only.
    Thanks.
    @charset "utf-8";
    /* CSS Document */
    <class="style49"
    <style type="text/css">
    a:link {color: #3333FF}
    a:visited {color: #009900}
    a:hover {color: #6600CC}
    a:active {color: #FF0000}
    </style> </class>

    Pseudo-classes and container styles are what you need - here
    are some
    tutorials.
    http://www.thepattysite.com/linkstyles1.cfm
    http://www.projectseven.com/tutorials/pseudoclasses/index.htm
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Newbie744" <[email protected]> wrote in
    message
    news:fn3***$m6q$[email protected]..
    > Hi. I'm new to CSS and HTML and Dreamweaver. I'm trying
    to get links to
    > be
    > different colors within the same page. I have a navbar
    with a CSS style
    > that
    > I've assigned colors to all my links there. They work.
    But if I attempt
    > to
    > change the links in the main content it screws up the
    navbar links.
    >
    > So, now, I'm trying to assign the different colors to
    the links in the
    > main
    > content. I have the link color down but I can't seem to
    get the visited,
    > hover,
    > active to work.
    >
    > So, I read somewhere you have to assign a class to be
    able to have
    > different
    > colors for your links on the same page. There is a class
    assigned to the
    > links
    > I want to change but it only assigns the link color, not
    the
    > visit,hover,active
    > colors. I don't know where I am supposed to put the code
    so that only
    > the
    > main content links are changed. Here is what I came up
    with from reading
    > and
    > studying. Can somebody tell me what's wrong with it and
    where I am
    > supposed to
    > put what in each page? This is just a CSS style page I
    made and I have no
    > idea
    > if I even did that right. Then, I can't figure out how
    to tell each page
    > to
    > include it for that class only.
    >
    > Thanks.
    >
    > @charset "utf-8";
    > /* CSS Document */
    > <class="style49"
    > <style type="text/css">
    > a:link {color: #3333FF}
    > a:visited {color: #009900}
    > a:hover {color: #6600CC}
    > a:active {color: #FF0000}
    > </style> </class>
    >
    >
    >

  • Problems with EventSource generating two different types of event

    Hi everybody,
    i was trying to connect an EventSource (capable of generating two different event types: a MapEventType and a TupleEventType) to two CQL processors through two separate channels, each one dedicated to its event type:
    ASSEMBLY:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans ....>
         <wlevs:event-type-repository>
              <wlevs:event-type type-name="testMapEvent">
                   <wlevs:metadata>
                        <entry key="message" value="java.lang.String"/>
                        <entry key="date" value="java.util.Date" />
                        <entry key="list" value="java.util.List" />                    
                   </wlevs:metadata>
              </wlevs:event-type>
              <wlevs:event-type type-name="testTupleEvent">
    <wlevs:properties>
    <wlevs:property name="t_message" type="char" length="4000" />
    <wlevs:property name="t_date" type="timestamp"/>
    <wlevs:property name="t_list" type="object"/>
    </wlevs:properties>
              </wlevs:event-type>
         </wlevs:event-type-repository>
         <wlevs:adapter id="input" class="com.bea.wlevs.adapter.example.types.TestAdapter">
         <wlevs:instance-property name="eventTypeName" value="testMapEvent"/>
         </wlevs:adapter>
         <bean id="output" class="com.bea.wlevs.example.types.TestOutputBean" />
    <wlevs:channel id="inputChannelTuple" event-type="testTupleEvent">
    <wlevs:listener ref="testProcessorTuple" />
    <wlevs:source ref="input" />
    </wlevs:channel>
         <wlevs:channel id="inputChannelMap" event-type="testMapEvent">
              <wlevs:listener ref="testProcessorMap" />
              <wlevs:source ref="input" />
         </wlevs:channel>
         <wlevs:processor id="testProcessorMap" />
    <wlevs:processor id="testProcessorTuple" />
         <wlevs:channel id="outputChannelMap" event-type="testMapEvent">
              <wlevs:listener ref="output" />
              <wlevs:source ref="testProcessorMap" />
         </wlevs:channel>
         <wlevs:channel id="outputChannelTuple" event-type="testTupleEvent">
              <wlevs:listener ref="output" />
              <wlevs:source ref="testProcessorTuple" />
         </wlevs:channel>
    </beans>
    JAVA:
    The com.bea.wlevs.adapter.example.types.TestAdapter class is a simple RunnableBean generating "testMapEvent"s like this:
    +public void run() {+
    +... bla bla bla ...+
    +while(true) {+
    Object event = createEvent();
    +if(event != null) {+
    eventSender.sendInsertEvent(event);
    +}+
    +}+
    +}+
    +private Object createEvent() {+
    Object obj = eventType.createEvent();
    EventProperty p;
    p = eventType.getProperty("message");
    p.setValue(obj, "Evento #" seqNum); // seqNum is a int+
    p = eventType.getProperty("date");
    p.setValue(obj, new Date());
    p = eventType.getProperty("list");
    p.setValue(obj, nipotini); // nipotini is a List<String>
    return obj;
    +}+
    CONFIG:
    +<?xml version="1.0" encoding="UTF-8"?>+
    +<n1:config xmlns:n1="http://www.bea.com/ns/wlevs/config/application">+
    +<processor>+
    +<name>testProcessorMap</name>+
    +<rules>+
    +<query id="testRuleMap">+
    +<![CDATA[ select message, date, list from inputChannelMap ]]>+
    +</query>+
    +</rules>+
    +</processor>+
    +<processor>+
    +<name>testProcessorTuple</name>+
    +<rules>+
    +<query id="testRuleTuple">+
    +<![CDATA[ select t_message, t_date, t_list from inputChannelTuple ]]>+
    +</query>+
    +</rules>+
    +</processor>+
    +</n1:config>+
    Seems like the events cannot make it beyond the CQL processors:
    +<15-dic-2010 20.11.34 CET> <Error> <CQLProcessor> <BEA-000000> <Failed to set property [t_message] of event type [testTu+
    +pleEvent]. Cause = [t_message] is not a property of event type [testMapEvent]>+
    +<15-dic-2010 20.11.34 CET> <Warning> <Ede> <BEA-000000> <Exception for 'testMapEvent{message=Evento #14, list=[QUI, QUO,+
    +QUA], date=Wed Dec 15 20:11:34 CET 2010}' raised by listener = com.oracle.cep.processor.cql.impl.CQLEventReceiver@aa882+
    +7+
    +com.bea.wlevs.ede.api.EventProcessingException: Internal error processing event [testMapEvent{message=Evento #14, list=[+
    +QUI, QUO, QUA], date=Wed Dec 15 20:11:34 CET 2010}] = Failed to set property [t_message] of event type [testTupleEvent].+
    +Cause = [t_message] is not a property of event type [testMapEvent]+
    at com.oracle.cep.processor.cql.impl.CQLEventReceiver.sendToEngine(CQLEventReceiver.java:389)
    at com.oracle.cep.processor.cql.impl.CQLEventReceiver.onInsertEvent(CQLEventReceiver.java:248)
    at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEventToListener(EventSenderImpl.java:360)
    at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEvent(EventSenderImpl.java:331)
    at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:78)
    at com.bea.wlevs.eventstore.recplay.RecordPlaySendEventInterceptor.sendInsertEvent(RecordPlaySendEventIntercepto
    r.java:159)
    at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:78)
    at com.bea.wlevs.eventinspector.EventInspectInterceptor.sendInsertEvent(EventInspectInterceptor.java:132)
    at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:78)
    at com.bea.wlevs.monitor.internal.MonitorSendEventInterceptor.sendInsertEvent(MonitorSendEventInterceptor.java:4
    +79)+
    at com.bea.wlevs.channel.impl.ChannelImpl.onInsertEvent(ChannelImpl.java:439)
    at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEventToListener(EventSenderImpl.java:360)
    at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEvent(EventSenderImpl.java:331)
    at com.bea.wlevs.ede.impl.EventSourceEventSenderImpl.sendInsertEvent(EventSourceEventSenderImpl.java:85)
    at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:78)
    at com.bea.wlevs.eventstore.recplay.RecordPlaySendEventInterceptor.sendInsertEvent(RecordPlaySendEventIntercepto
    r.java:159)
    at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:78)
    at com.bea.wlevs.eventinspector.EventInspectInterceptor.sendInsertEvent(EventInspectInterceptor.java:132)
    at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:78)
    at com.bea.wlevs.monitor.internal.MonitorSendEventInterceptor.sendInsertEvent(MonitorSendEventInterceptor.java:4
    +79)+
    at com.bea.wlevs.adapter.example.types.TestAdapter.run(TestAdapter.java:33)
    at com.bea.wlevs.adapter.example.types.TestAdapter$$FastClassByCGLIB$$89b675c7.invoke(<generated>)
    at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
    at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:70
    +0)+
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.wlevs.ede.impl.EventManagerAccessorProxy.invoke(EventManagerAccessorProxy.java:30)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.wlevs.ede.impl.EventBeanProxy.invoke(EventBeanProxy.java:38)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
    at com.bea.wlevs.adapter.example.types.TestAdapter$$EnhancerByCGLIB$$16190560.run(<generated>)
    at com.bea.wlevs.spring.RunnableBeanPostProcessor$RunnableWrapper.run(RunnableBeanPostProcessor.java:117)
    at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:196)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    +Caused By: com.bea.wlevs.ede.api.EventPropertyException: Failed to set property [t_message] of event type [testTupleEven+
    +t]. Cause = [t_message] is not a property of event type [testMapEvent]+
    at com.oracle.cep.processor.cql.impl.TupleValueUtils.raiseEventPropertyException(TupleValueUtils.java:153)
    at com.oracle.cep.processor.cql.impl.TupleValueUtils.projectEvent(TupleValueUtils.java:90)
    at com.oracle.cep.processor.cql.impl.TupleValueUtils.compareAndProjectEvent(TupleValueUtils.java:48)
    at com.oracle.cep.processor.cql.impl.CQLEventReceiver.sendToEngine(CQLEventReceiver.java:337)
    at com.oracle.cep.processor.cql.impl.CQLEventReceiver.onInsertEvent(CQLEventReceiver.java:248)
    at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEventToListener(EventSenderImpl.java:360)
    at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEvent(EventSenderImpl.java:331)
    at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:78)
    at com.bea.wlevs.eventstore.recplay.RecordPlaySendEventInterceptor.sendInsertEvent(RecordPlaySendEventIntercepto
    r.java:159)
    at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:78)
    at com.bea.wlevs.eventinspector.EventInspectInterceptor.sendInsertEvent(EventInspectInterceptor.java:132)
    at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:78)
    at com.bea.wlevs.monitor.internal.MonitorSendEventInterceptor.sendInsertEvent(MonitorSendEventInterceptor.java:4
    +79)+
    at com.bea.wlevs.channel.impl.ChannelImpl.onInsertEvent(ChannelImpl.java:439)
    at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEventToListener(EventSenderImpl.java:360)
    at com.bea.wlevs.processor.impl.EventSenderImpl.sendInsertEvent(EventSenderImpl.java:331)
    at com.bea.wlevs.ede.impl.EventSourceEventSenderImpl.sendInsertEvent(EventSourceEventSenderImpl.java:85)
    at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:78)
    at com.bea.wlevs.eventstore.recplay.RecordPlaySendEventInterceptor.sendInsertEvent(RecordPlaySendEventIntercepto
    r.java:159)
    at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:78)
    at com.bea.wlevs.eventinspector.EventInspectInterceptor.sendInsertEvent(EventInspectInterceptor.java:132)
    at com.bea.wlevs.ede.spi.AbstractSendEventInterceptor.sendInsertEvent(AbstractSendEventInterceptor.java:78)
    at com.bea.wlevs.monitor.internal.MonitorSendEventInterceptor.sendInsertEvent(MonitorSendEventInterceptor.java:4
    +79)+
    at com.bea.wlevs.adapter.example.types.TestAdapter.run(TestAdapter.java:33)
    at com.bea.wlevs.adapter.example.types.TestAdapter$$FastClassByCGLIB$$89b675c7.invoke(<generated>)
    at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
    at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:70
    +0)+
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.wlevs.ede.impl.EventManagerAccessorProxy.invoke(EventManagerAccessorProxy.java:30)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.wlevs.ede.impl.EventBeanProxy.invoke(EventBeanProxy.java:38)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
    at com.bea.wlevs.adapter.example.types.TestAdapter$$EnhancerByCGLIB$$16190560.run(<generated>)
    at com.bea.wlevs.spring.RunnableBeanPostProcessor$RunnableWrapper.run(RunnableBeanPostProcessor.java:117)
    at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:196)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    +>+
    Can anybody help me figuring out what's wrong?
    Thank you in advance!

    Hello Chris,
    Wondering if you've found a solution for this.
    I was thinking you could make a web app that used the jQuery dialog, then let the client just put an individual web app item on the home page when they want to have the pop up.
    This way it is more like one type of modal window and the client can show whatever they want when they want, and turn it off by removing the module.
    You can place the module inside a content holder so they do not mess up any template or page content.
    Hope this helps,
    Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7

  • How to make different events with different colors on calendar, on my new iPad

    how to make events on calendar with different colors ?

    Sergio,
    The color of an event is dictated by the color assinged to the calendar it's on.
    Tap Calendars then tap Edit to either changed the color of an existing calendar or to add a new one.
    Matt

Maybe you are looking for