Hi Maxim,

I have fixed the chart output of the poll feature in:
http://code.google.com/p/openmeetings/source/detail?r=4538

If you mouseover the legend of the chart you can see the
"piece-of-the-pie" highlighted that is connected to the item in the
legend.

I see some issues to be solved before it can be released:
1) somebody should be able to delete a poll. Not sure at this point
who. Cause somehow you don't want that any moderator is able to close
the vote just for fun.
Anyhow... I think for now we just should enable the moderator of a
room to be able to delete the poll.
I have changed the poll result menu entry so that everybody can see
the result window.
So the button to delete a poll must be contextual ...

2) If everybody has left the room (room is empty) and you re-enter the
room => goto Vote => the previously still opened vote is gone ...

3) It would be nice if the moderator can close a vote...

Thats it :)

2011/11/6 Maxim Solodovnik <[email protected]>:
> Poll results are stored in the DB.
> When you enter the room you have the option to view current or archived poll
> results (combobox for selection)
> And select how the results will be represented: Pie chart (default) or old
> style bar chart.
> I will test invitations today or tomorrow.
>
> On Sun, Nov 6, 2011 at 22:47, [email protected] <[email protected]>
> wrote:
>>
>> sure, what is the procedure to load the pie chart / polls result? Can I
>> save a result already in the database and load it multiple times or can I
>> only load it as long as it is in the conference's room session?
>>
>> Meanwhile: Could you check my new timezone / calendar code? I know you
>> have a couple of timezone's in Russia :). Could you check out if latest
>> trunk code works for you when you add/shift/cancel meetings in the calendar
>> with meeting members from multipel time zones.
>>
>> I have two things that might be confusing:
>> 1) No matter what timezone you set in the iCal invitation, Gmail for
>> example always displays the iCal invitations in GMT (in my locale).
>> 2) The iCal invitations currently have no Request Type set, cause as soon
>> as I do set one, Gmail no more shows the iCal invitation additional to the
>> usual text on top of the mail. That is somehow bad cause you either loose
>> the information if the ICal invitation is of type REQUEST, CANCEL or REFRESH
>> ... or you include this info and Gmail will not display the iCal part at all
>> ... very strange to me. Currently I have commented it out in the class
>> IcalHandler.java
>>
>> Sebastian
>>
>> 2011/11/6 Maxim Solodovnik <[email protected]>
>>>
>>> Hello Sebastian,
>>> I just have commited the pie chart as an option to display poll results.
>>> Could you please take a look at it? The pie chart looks really weird and
>>> I don't know how to fix it :(
>>> Thanks in advance
>>>
>>> On Fri, Oct 14, 2011 at 14:34, [email protected]
>>> <[email protected]> wrote:
>>>>
>>>> Hi Maxim,
>>>>
>>>> you can also use datasets, you can simply either convert an array to a
>>>> dataset or add a dataobject to a remotecall:
>>>>
>>>> 1) To use the dataobject of a netremotecall:
>>>>
>>>>
>>>> http://code.google.com/p/openmeetings/source/browse/trunk/singlewebapp/WebContent/openmeetings/base/remote/rtmpConnection.lzx#203
>>>>
>>>> attribute "dataobject"
>>>>
>>>> sample:
>>>>
>>>> http://code.google.com/p/openmeetings/source/browse/trunk/singlewebapp/WebContent/openmeetings/base/hibernate/hibRtmpConnection.lzx#221
>>>> + Line 6
>>>>
>>>> <dataset name="languagesSet" />   ( Line 6)
>>>>
>>>> (Line 221)
>>>>    <netRemoteCallHib name="getLanguages"
>>>> funcname="languageservice.getLanguages"
>>>>                                  dataobject="languagesSet" >
>>>>        <handler name="ondata" args="value">
>>>>            //The onResult-Handler will be called be the rtmpconnection
>>>>            //Debug.write("getLanguages: ",value);
>>>>            canvas.thishib.loaderVar.setProgress();
>>>>            parent.getDefaultLanguage.doCall();
>>>>        </handler>
>>>>    </netRemoteCallHib>
>>>>
>>>> And to render the dataset for example as items in a combobox:
>>>>
>>>> http://code.google.com/p/openmeetings/source/browse/trunk/singlewebapp/WebContent/openmeetings/modules/settings/editUserProfile.lzx#215
>>>>
>>>> 2) To transfer a simple Array directly to a dataset (actually the same
>>>> thing happens in the netremotecall)
>>>> var element = LzDataElement.valueToElement(value);
>>>> dateSetVariable.appendChild( element );
>>>>
>>>>
>>>> Sebastian
>>>>
>>>> 2011/10/14 Maxim Solodovnik <[email protected]>
>>>> >
>>>> > Hello Sebastian,
>>>> > I have questions regarding chart components:
>>>> > 1) regarding to the examples at openlaszlo charts are dealing with
>>>> > <dataset> as data source. Is there any way to make it working with Array 
>>>> > of
>>>> > objects (List<RoomPollAnswers>)
>>>> > 2) could you please take a look at the current poll results design?
>>>> > Would it be OK if I will add "Chart type" dropdowm to the same dialog?
>>>> >
>>>> > Thanks in advance
>>>> > On Mon, Oct 10, 2011 at 01:13, [email protected]
>>>> > <[email protected]> wrote:
>>>> >>
>>>> >> Okay,
>>>> >>
>>>> >> maybe I will add some changes beforehand, but only UI changes no
>>>> >> logical things.
>>>> >>
>>>> >> Sebastian
>>>> >>
>>>> >> 2011/10/9 Maxim Solodovnik <[email protected]>
>>>> >>>
>>>> >>> Hello Sebastian,
>>>> >>> Currently I'm busy on paid OM customization
>>>> >>> I'm afraid I will have no time to improve polls couple more days.
>>>> >>> I think I can start this work Tue or Wed.
>>>> >>>
>>>> >>> On Sun, Oct 9, 2011 at 20:12, [email protected]
>>>> >>> <[email protected]> wrote:
>>>> >>>>
>>>> >>>> Hi Maxim,
>>>> >>>>
>>>> >>>> I have the following requirements for the polls feature, maybe
>>>> >>>> you've already had them on your list too...
>>>> >>>>
>>>> >>>> 1. The dialog-windows for the poll feature are really VERY old,
>>>> >>>> they are around 3-4 years old.
>>>> >>>> They look a little but ugly and outdated..
>>>> >>>> You should change at least in all dialog windows to have the button
>>>> >>>> sequence inverted ... currently it is:
>>>> >>>> Cancel OK
>>>> >>>> => this is the wrong order, it should be:
>>>> >>>> OK Cancel
>>>> >>>> ... I don't know why I have done that the wrong way ... but its
>>>> >>>> really long time ago.
>>>> >>>> The dialogs might be a little bit polished anyway.
>>>> >>>>
>>>> >>>> 2. Every poll should have at least two text fields:
>>>> >>>> A text field for the polls name (single line, that should be the
>>>> >>>> name also that is shown in the File-Explorer then)
>>>> >>>> A Text field with the actual long text of the poll
>>>> >>>>
>>>> >>>> 3. Currently it seems to me like you can vote multiple times,
>>>> >>>> actually I was not able to make my vote count.
>>>> >>>>
>>>> >>>> 4. Improve the charting that is shown with the results (I can help
>>>> >>>> you with that, chart components in OpenLaszlo are a bit tricky, but I 
>>>> >>>> have
>>>> >>>> been using them a number of times.)
>>>> >>>>
>>>> >>>> If you need me on any of the tasks or have a no time currently, let
>>>> >>>> me know ...
>>>> >>>>
>>>> >>>>
>>>> >>>> Thanks
>>>> >>>> Sebastian
>>>> >>>>
>>>> >>>> --
>>>> >>>> Sebastian Wagner
>>>> >>>> http://www.openmeetings.de
>>>> >>>> http://www.webbase-design.de
>>>> >>>> http://www.wagner-sebastian.com
>>>> >>>> [email protected]
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> --
>>>> >>> WBR
>>>> >>> Maxim aka solomax
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> Sebastian Wagner
>>>> >> http://www.openmeetings.de
>>>> >> http://www.webbase-design.de
>>>> >> http://www.wagner-sebastian.com
>>>> >> [email protected]
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > WBR
>>>> > Maxim aka solomax
>>>>
>>>>
>>>>
>>>> --
>>>> Sebastian Wagner
>>>> http://www.openmeetings.de
>>>> http://www.webbase-design.de
>>>> http://www.wagner-sebastian.com
>>>> [email protected]
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>
>>
>>
>> --
>> Sebastian Wagner
>> http://www.openmeetings.de
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> [email protected]
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
Sebastian Wagner
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-dev?hl=en.

Reply via email to