Sorry to respond late to the discussion. I have been a little tied up recently.
>-----Original Message----- >From: Scott Wilson [mailto:[email protected]] >Sent: Thursday, November 03, 2011 4:20 PM >To: [email protected] >Subject: W3C Widgets min/preferred width and height > >I've been playing with Wookie and W3C Widgets in Rave, and one of the >issues is that W3C Widgets don't use callbacks to set their iFrame height and >width, but instead Widget authors provide a hint for preferred/minimum >height/width in metadata attributes. (see RAVE-335 for the user story) > >I've got this working very nicely, as you can see here: > >http://farm7.static.flickr.com/6091/6309728113_0de24307d4_b.jpg > >... but I had to add height and width properties to the core Widget model class >in Rave plus corresponding getters, setters and JPA annotations. It doesn't >have any effect on OpenSocial gadgets I think having a default height makes a lot of sense for the Widget model object; however, if we keep with the current PageLayout construct, the regions are responsible for controlling the widget's default width. That's not to say that the widget can't have a preferred or default width, but that the region may override it during rendering. > >I just wanted to check if we think this is an OK way to solve this (at least >for >now)? > >S
