Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Rating Stars Widget

    I need a widget for show "rating stars" in a SmartClient DynamicDialog. This sort of thing is becoming fairly common for rating threads in forums, songs in playlists, etc.

    A simple version of the widget would handle only integer values and use "set" and "unset" images to display the value. Clicking on an image would set that image and all to the left (below), and unset all to the right (above).

    A more sophisticated version would handle float values and would use an image (e.g., a star) as a mask through which an underlying "thermometer bar" would be displayed. The number of images (stars) would correspond to the range of the input. The length of the "thermometer bar" would correspond to the float value being displayed, and it would respond to mouse inputs. This would be pretty similar to the current "slider" widget, but with a different sort of value display. Like a slider, the size of the value increment could be configurable.

    Jeff

    #2
    Hi Jeff,
    Thanks for the suggestion.
    As you already know (but other readers of this thread may not!), some sample code to implement a simple star-rating type component using existing SmartClient widgets has been posted in this thread:
    http://forums.smartclient.com/showthread.php?t=259

    However this is less fully featured component than the one you're describing here, and we'll definitely consider adding this feature to the standard set of SmartClient widgets.

    You may want to subscribe to this thread to stay informed on whether / when this feature makes it into the SmartClient system.
    (Use the Thread Tools menu above to subscribe to the thread)

    Thanks
    Isomorphic Software

    Comment


      #3
      It has been close to 5 years since the original request for a clickable Star Rating widget was made. Given how popular this widget is on the internet, I am surprised that it has still not made it into the smart-gwt widget set. Any clue on what happened to this request & if any progress was made on incorporating it as a standard Smart GWT widget? There is a gwt rate it widget available but it obviously does not have data binding capabilities. Given that there is nothing standard in smart GWT, is it safe to try to use the rateit widget insode a list grid cell?

      http://sites.google.com/site/gwtcomponents/rateit

      Comment

      Working...
      X