Closed GoogleCodeExporter closed 9 years ago
Someone else on the list had a lot of trouble getting views to work, but I
didn't diagnose it down to this level (with the Subject "@Gadget.Content" - I
can't get it to come up right now)
In the code I see that the @ContentType actually takes an array of strings, so
wouldn't the proper syntax be:
@ContentType(views={"card"})
http://download.oracle.com/javase/tutorial/java/javaOO/annotations.html
Original comment by zundel@google.com
on 3 Dec 2010 at 1:46
>>> In the code I see that the @ContentType actually takes an array of strings,
so wouldn't the proper syntax be:
>>> @ContentType(views={"card"})
As I understand for just one element array the both syntaxes are suitable. But
any way this variant don't do what I expect too.
Original comment by akolchin
on 6 Dec 2010 at 2:16
Here is a skeleton example for using the view feature. It does generate two
different Content sections in the gadget.xml file. Beyond that, I haven't
tried uploading it to a gadget container.
http://gwt-code-reviews.appspot.com/1197801/show
Original comment by ericzun...@gmail.com
on 8 Dec 2010 at 2:10
Thank you, you give me idea how I should use views and it is works now.
Original comment by akolchin
on 8 Dec 2010 at 1:58
Original comment by zundel@google.com
on 28 Oct 2011 at 4:53
Original issue reported on code.google.com by
akolchin
on 3 Dec 2010 at 9:34