Vote component help

i have a vote component.
what i would like ( and my client) is to have check marks
flash while the voting compnent is waiting for someone tovote,
i made the flashing sequence of on and off checks, then
remembered there is a stop() in the first frame.
what would a work around be so the vote component would still
work properly but allow a flashing sequence.
if this is even possible
thanks alot
Lisa

You have a database?
Yes.. a BC4J model is there to support the storing of vote against a user. In other word there is User Entity having attributes user_id, vote_count.
You have users persistent in database?
Yes.
you want to keep for each user what he voted?
Not who voted. But a vote count for a user as voted by others.
You want to keep votes per user per date?
nope. Just total vote count. No date basis tracking.
You want each user to be able to vote only once?
I will manage it progammatically if i have the component able to rest of the stuff.
You want the votes to be automaticaly refreshed?
Nope. Just fine when app/page is refreshed.
you want votes to be reset for any reason?
Nope.
There is not default component for this task from what i know so you need to develop it custom depending on your requirements

Similar Messages

  • Scroll bar, buttons and a Custom Component - help

    Thanks to another forum I was able to create a scroll panel and add a scroll bar to it.  That works fine.  Inside the scroll panel I have thumbnails of the product that I'm highlighting.  I want to be able to click on the thumbnail and have a full size photo of the product come up in the window next to the scroll panel.  I created a custom component that has a stage showing each full size product individually.  This worked fine when I simply had buttons and no scroll bar.  I could convert the thumbnail to a button and then add interaction so that it would go to the proper state of the custom component.  Where I'm having problems is now that I've imbedded the buttons in a scroll panel I'm no longer given the custom component as an option to pick from.  I can add interaction, but it only gives me the option of picking one of the pages, and not a component.
    I've attached a screen grab to help show what I'm describing.
    Any ideas?
    Doug

    Doug, thanks for asking this question.
    Hi ADAM...
    It seems that a lot of us are asking the same question: Scrollbar Navigation-Make Actionable
    (I created a low-fidelity proof-of-concept to test—using a datalist as you suggested. See link in my posting).
    I have reviewed the video you refer to here, but you example still does not allow for individual items in the datalist (scrollbar) to be assigned individual actionable events.
    Can you expain your thinking in Option 1, as a workaround? Do you have any other suggestions?
    BOTTOM LINE
    We are all looking to do the same thing... something we are going to see A LOT MORE of after Uncle Steve's TABLET presentation next week:
    A scrolling menu, with selected items in the menu causing "navigation" to a certain point in a scroll panel. (imitating the flick or slide effect of iPhone).
    Suggestion: Can you add a field to thedatalist so that when the "repeated item" (in edit mode) is configuredto do an action (i.e., On-Click, Transition to State), we can then assign the state  you'd like for each item in thetable itself?
    Now the issue is making it change the "State" within another component (i.e. scrolling panel). Can that be done?
    Thanks,
    - Rick

  • Flash CS3 Component Help?

    I have a menu component I've created in Flash CS3. I'm
    running into a small problem. Currently, in Flash, I create an
    array in the first frame of the movie and then assign a
    "menu_items" property (an array) on my menu object as that array.
    The array is an array of specialized menu item objects that is
    defined in a separate class. In Flex, I would like to do this:
    <mxml:macMenu>
    <mxml:macMenuItem image="btn1.png" click="{clickHandler}"
    />
    <mxml:macMenuItem image="btn2.png" click="{clickHandler}"
    />
    .....etc
    </mxml:macMenu>
    I'm not quite sure how I can get my object to realize the
    children should be part of the array inside of macMenu called
    "menu_item" and at the same time make sure they are an instance of
    my menu item class.
    I have posted the full AS3/Flash CS3 source of my menu at
    http://www.adambergman.com/as3/macMenu.html
    Any help or ideas are appreciated!!!

    Hi Rajesh,
    I've seen your query all over the internet, so I should warn you I don't believe it's possible to disable a List Item.
    For that you should use Josh Tynjala's open source Advanced List (http://code.google.com/p/flextoolbox/downloads/list).
    Best Regards,
    Filipe.

  • Custom component help

    Hi,
    Could you point me to some documentation/tutorials/examples how to bind to and iterate collection data in the same way as dataTables does?
    Well, something a little more easily digested than the RI code for dataTable ;-)
    I would like to process a nested iterated tag sort of like
    <x:document list="#{thelist}" var="item">
       <x:column>
          <x:data itemdata="#{item.something}"/>
       </x:column>
    </x:document>So that I could iterate over the collection and access the "something" attributes
    Help much appreciated!
    Thanks in advance,
    Nik

    somethere you will do something like:
    FacesContext context = .... ;
    List<?> list = component.getList(); //getList asks the ValueExpression of Parameter "list"
    for(Object o : list) {
         context.getExternalContext().getRequestMap().put(getItemName(), o); //getItemName() returns the content of parameter "var"
            encodeChildren(...); //or something like that.
    context.getExternalContext().getRequestMap().remove(getItemName());The above sample is very short and easy, but you should understand howto set such a temporary el-variable. Pay attention that you need to iterate in every phase (method processValidations, processUpdates, etc.)
    Edited by: muhviehstarr on 03.03.2008 22:40

  • XML & Flash: ImageFader Component help

    Item 1
    Tutorial, with built-in (AS 2.0) Flash Component
    http://tutorialoutpost.com/count/7022
    Item 2
    Tutorial/Sample of XML thumbnail, photo, caption file:
    http://www.tutorio.com/tutorial/simple-flash-xml-photogallery/1
    (click 2nd page, go to bottom to download source code)
    Basically, I want to create a portfolio section with the
    components of the basic XML (item 2), but when you click on the
    thumbnails, you dont get that jumpy feeling, rather a smooth
    ImageFader (Item 1)
    Here are the files, or look at the code (Files are a bit more
    helpful)
    http://www.dominicdesign.com/mikegreener/Archive.zip

    For starters, read the Help Docs in Flash on Data
    Integration. There's even a tutorial in Flash 8 called "Flash and
    PHP Integration." Then you might want to Google "flash php xml
    tutorial" which returns plenty of stuff to keep you reading for a
    while.
    Good luck!

  • Tween & Web Service Component Help!

    I am trying to build a component for which I enter a
    paramater value, and it calls a web service, retrieves data, then
    tweens a movieclip based on the value.
    I cannot seem to be able to access the Label within the
    component to display the data, from within the webservice.onResult
    call. I am sooooooo lost!!!!!
    I would love some help! I'm in a deadline too!! Aaah
    actionscript!

    'this' inside an event normally refers to the object that
    holds that event, so inside 'onResult', it refers to the
    PendingCall object. There's not _parent property in that, so you
    can't get to the component this way. Instead, try to pass a
    reference to the component to the event:
    var me = this; // in openService()
    wsGetAllVals.onResult = function (result)
    me.sensorMax = "400";
    trace("All Values received");
    var splitArr:Array = result.split(";");
    me.sensorMax = this.lblMax = splitArr[6].substring(9,15);
    me.sensorMin = this.lblMin = splitArr[5].substring(9,15);
    //sensorUnit =lblUnit = splitArr[3].substring(6,25);
    trace(splitArr);
    trace(sensorMax);
    _root.sensorMax = me.sensorMax;
    trace(_root.sensorMax);
    I also noticed that the init() function is nested in the
    openService() function in the posted code, is that right? Dunno if
    this is important, but I thought it should be a part of the class,
    not of a function in that class.
    hth,
    blemmo

  • Illustrator CS3 Won't Work "Fatal Error - Missing Component", HELP!

    HELP!
    I have installed adobe illustrator CS3 and when i try to open it it comes up "Fatal Error - Missing Component" underneath stating: /Library/Application Support/Adobe/Adobe Version Cue CS3/Client/3.0.0/VersionCue.framework. Is there anything i can do? Any help would be much appreciated.

    Looks like a permission problem where the folder or directory containing the framework my be not be avaiiable.
    I would go to Applications/Utilities/Adobe Installers and run the Illustrator CS3 Uninstaller.
    Trash the preferences if they have not been removed and check the Application Support an Cache folders to certain there are no remnants of CS3 on system.
    Then reinstall. Do not install version cue with this new install.

  • FMS PeopleList Component - Help

    Hello, anybody can help me how to use the flash media server
    component. i downloaded the fms2 Component and followed the user
    manual how to use the component such as PeopleList, Chat. but its
    not working.
    -First i used the simple connect and put the rtmp: URL
    -Then put an instance of the ConnectionLight and PeopleList
    Component.
    -I entered the instance name of peopleList and
    connectionlight to the Communication Component property of the
    Simple connect
    after that i uploaded the main.asc to my influx server and
    when i test my flash file. the Connectionlight Turns Green but the
    people list component doesnt display the username i entered.
    Please anybody can help me....

    Hi,
    When you say it is not working, what do you mean is actually happenning? Also can you throw a little more light as to how you have setup this wholw thing, and what have you tried which has not worked? It's very difficult to conclude something with so little information.
    Thanks,
    Abhishek

  • Loader component help

    ... I'm trying to get the imaged that's loaded within
    an instance of a loader component.. is there a way to align the
    image that's inside?

    Look in the online help at the Loader object and specifically
    at the info on Loader.content. The example will show you how to
    assign the loaded content as a movieClip instance. Then you can set
    new values to any of the properties of that clip.

  • Need progress bar component help.

    I have a huge headache from doing hours of web searching for
    what seems to be a simple solution. All I want to do is use the
    progress bar component on frame one to load my main timeline and I
    can't find a tutorial for this anywhere. Can anyone help? Thanks in
    advance,
    Joe

    You can use the progress bar Component as a preloader of
    sorts, but this doesn't work very well within the same document.
    The best way to go about doing this is to create a 'loading' swf
    file, that is the same size as the swf your main swf, then make an
    empty MC and load the swf into it and you can then use the progress
    bar Component to display the loading (or any number of other visual
    indicators) loading is best done using the MovieClipLoader class,
    where you can use it's event handlers and methods to effect the
    progress indicator, however the pbar Component has these handler
    built in as well so in this case for simplicity I'll use the
    loadMovie method (I rarely do) So with a swf the same size as the
    one you want to load, place a pbar instance on the stage with the
    instance name of 'my_pb', and create an 'actions' layer and add
    this code to the first frame:

  • I need to control the position and size of each java swing component, help!

    I setup a GUI which include 2 panels, each includes some components, I want to setup the size and position of these components, I use setBonus or setSize, but doesn't work at all. please help me to fix it. thanks
    import java.awt.Dimension;
    import java.awt.GridLayout;
    import java.awt.FlowLayout;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.event.*;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JTextField;
    import javax.swing.JPanel;
    import javax.swing.JList;
    import javax.swing.JScrollPane;
    import javax.swing.DefaultListModel;
    public class weather extends JFrame {
    private String[] entries={"1","22","333","4444"} ;
    private JTextField country;
    private JList jl;
    private JTextField latitude;
    private JTextField currentTime;
    private JTextField wind;
    private JTextField visibilityField;
    private JTextField skycondition;
    private JTextField dewpoint;
    private JTextField relativehumidity;
    private JTextField presure;
    private JButton search;
    private DefaultListModel listModel;
    private JPanel p1,p2;
    public weather() {
         setUpUIComponent();
    setTitle("Weather Report ");
    setSize(600, 400);
    setResizable(false);
    setVisible(true);
    private void setUpUIComponent(){
         p1 = new JPanel();
    p2 = new JPanel();
         country=new JTextField(10);
         latitude=new JTextField(12);
    currentTime=new JTextField(12);
    wind=new JTextField(12);
    visibilityField=new JTextField(12);
    skycondition=new JTextField(12);
    dewpoint=new JTextField(12);
    relativehumidity=new JTextField(12);
    presure=new JTextField(12);
    search=new JButton("SEARCH");
    listModel = new DefaultListModel();
    jl = new JList(listModel);
    // jl=new JList(entries);
    JScrollPane jsp=new JScrollPane(jl);
    jl.setVisibleRowCount(8);
    jsp.setBounds(120,120,80,80);
    p1.add(country);
    p1.add(search);
    p1.add(jsp);
    p2.add(new JLabel("latitude"));
    p2.add(latitude);
    p2.add(new JLabel("time"));
    p2.add(currentTime);
    p2.add(new JLabel("wind"));
    p2.add(wind);
    p2.add(new JLabel("visibility"));
    p2.add(visibilityField);
    p2.add(new JLabel("skycondition"));
    p2.add(skycondition);
    p2.add(new JLabel("dewpoint"));
    p2.add(dewpoint);
    p2.add(new JLabel("relativehumidity"));
    p2.add(relativehumidity);
    p2.add(new JLabel("presure"));
    p2.add(presure);
    this.getContentPane().setLayout(new FlowLayout());
    this.setLayout(new GridLayout(1,2));
    p2.setLayout(new GridLayout(8, 2));
    this.add(p1);
    this.add(p2);
    public static void main(String[] args) {
    JFrame frame = new weather();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }

    Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
    [http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html]
    db

  • Chart Component Help

    Hi all.
    I have a client who is needing some dynamic graphs. I have
    downloaded and installed the "Charting Components, V1.0" from
    http://www.adobe.com/cfusion/exchange/index.cfm?view=sn111&extID=377283
    Ive used this tutorial from 4GuysFromRolla
    http://www.4guysfromrolla.com/webtech/032603-1.shtml
    All is fine and good. Ive got my charts showin, my data XML
    asp pages poppin.. its all good.
    Part of the project requirements are to recreate a paper
    report they mail out online with the colors and general formatting
    the same.
    I was up till OMG last night pulling my hair out trying to
    make the pie chart pieces specific colors.
    I will have a set number of data values and pie chart/bar
    chart items, so any recursive looping for colors isnt really
    necessary if I can if/then something and then just hard set them.
    I am a complete n00b when it comes to actionscript, however
    am a pretty grissled VBScript veteran. After many hours I found
    buried in the layers of the chart this routine which I *believe*
    sets the hory clap fugly default colors..
    Pie Chart Actions Frame
    Begin Code
    #initclip 3
    FPieChartClass = function()
    this.initPalette = function()
    this.piePalette = [];
    this.paletteIndex = 0;
    this.getNextColor = function()
    { var fillColor;
    if(this.paletteIndex > this.PieColors.length)
    { var r = (50 + this.paletteIndex * rs + 250);
    var g = (50 + this.paletteIndex * gs + 140);
    var b = (50 + this.paletteIndex * bs + 130);
    r = (r <= 255) ? r : r % 255;
    g = (g <= 255) ? g : g % 255;
    b = (b <= 255) ? b : b % 255;
    fillColor = r << 16 | g << 8 | b;
    } else {
    fillColor =
    parseInt(this.PieColors[this.paletteIndex].substr(2, 6), 16);
    this.paletteIndex++;
    return fillColor;
    End Code
    if I put
    fillColor = 0x000000
    return fillColor;
    I get all black pieces.
    If I try and do a counter and an if, it fries the chart.
    Any help would be incredibly appreciated, and if not, a
    direction to a good **cheap** alternative.
    Thanks in advance,
    Charlie

    Looks to be a repeat of http://forums.sun.com/thread.jspa?threadID=5386695&messageID=10711772#10711772

  • Event making change in another file component (Help)

    Hi there:
    My situation is this: I have a tab with a jPanel, and the jPanel has a button click which will have the same tab displaying a new jPanel instead the old one having that button, I have all these jPanels in individual files. I found it always errors for making this. Can anyone help and thanx in advance.
    tab( jpanel1 ( button <click it then it becomes like below> ) )
    tab( jpanel2 ( button )
    the tab remains the same but the jpanel changes with the event triggered by the button in the jpanel. All the jpanels are in individual class files.
    I hope this explains clearly.
    Thanx in advance
    Message was edited by:
    reddragonsmaug

    Hei, thanx, but I meant that the event generated by the button in the jpanel and the action affects on the tab of the jpanel belongs to. The action makes the tab to delete the current jpanel and add a new one. The jpanel is in individual class file.

  • Get code of the flash component - Help

    Dears,
    I have a .fla file, source code, of an application flash, but this file have only a component which was entered to flash by .mxp file.
    How can i get the code of this component until i can change in it ?
    Thank you dears in advance
    amt

    Hey,
    In your case i would contact Toshiba memory support. You can give them a call or write an e-mail, have a look on Toshiba memory page:
    http://www.toshiba-memory.com/en/service_support.html
    Have you created the password using U3T software? On the same Toshiba page there is a FAQ article how to remove U3T Launchpad software.

  • Automatically name swing component, Help

    Hi, in a method we receive an array of table names.
    how is it possible to automatically generate a swing JLabel name for the JLabel object
    from the names of the tables in a loop,for example
    for(int i = 0; i < numberOfRows; i++)
                JLabel name = new JLabel(nameAndType); //nameAndType contains table names
                   insertPanel.add(i, _constraints);
    we need to generate JLabel objects with names the same as the contents of the array.

    You can group components in one JPanel, but as far as I know
    you must enable/disable each component individually.
    The only exception to this, that I know, is JFrame: if you disable JFrame,
    the whole GUI is blocked.

Maybe you are looking for

  • Why is my website not showing up AT ALL in Google?

    I uploaded my website at the beginning of this week and it's working OK, but not showing up at all in Google.  It is not so much an SEO question, because even if I google the exact website, it still doesn't show. I have no idea what I did wrong, but

  • Address & Calendar No Longer Sync & iTunes Won't Enable It

    Problem appeared on 1st Gen iPod and iPod Photo recently, might have occured with update to iTunes 6.0.1 (now using 6.0.2 with no improvement). I have done a full iPod Restore with no improvement. iPod sync of addresses and calendars used to work per

  • Urgent : Peformance issue in a report program

    Hi All ,            I have a interface report which retrieves logical products and corresponding finished products  from APO system through RFC FM and then it validates the data and finds the intermediates (assembled goods) and again it posts the dat

  • Mail not showing embedded images

    This problem has been bugging me for a while. I am getting some emails (from my company communications) that are incorrectly formatted by Mail. I see big boxes labeled "Missing Plug-in". The rest of the text is there, but those big boxes make the mai

  • R/3,BI-- XI-- Oracle

    Hi All, I need to import R/3orBi & Oracle Table Contents(Field Names) in XI, /people/sravya.talanki2/blog/2005/12/21/convert-any-r3-structure-to-xsd-made-easy-was-60 As per the Blog, I had created the Function module, but the output is in only 2 line