You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by rg...@apache.org on 2010/03/01 00:41:33 UTC
svn commit: r917328 -
/incubator/wookie/trunk/WebContent/webmenu/demoWidget.jsp
Author: rgardler
Date: Sun Feb 28 23:41:33 2010
New Revision: 917328
URL: http://svn.apache.org/viewvc?rev=917328&view=rev
Log:
We can now instantiate widgets for two separate users - this means we can now demo/test multi-user widgets in Wookie itself.
Modified:
incubator/wookie/trunk/WebContent/webmenu/demoWidget.jsp
Modified: incubator/wookie/trunk/WebContent/webmenu/demoWidget.jsp
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/WebContent/webmenu/demoWidget.jsp?rev=917328&r1=917327&r2=917328&view=diff
==============================================================================
--- incubator/wookie/trunk/WebContent/webmenu/demoWidget.jsp (original)
+++ incubator/wookie/trunk/WebContent/webmenu/demoWidget.jsp Sun Feb 28 23:41:33 2010
@@ -57,21 +57,16 @@
<p>Remember, not all widgets are designed to be multi-user and thus you may not see any
interaction between the two widget instances.</p>
- <h1>IMPORTANT NOTE</h1>
-
- <p>The code for this page is currently in development and at the time of writing both
- widgets instances are owned by the same user.</p>
-
<table>
<tr>
<td>
- <h2>Widget for user Test User</h2>
- <iframe width="<%= request.getAttribute("widgetWidth") %>" height="<%= request.getAttribute("widgetHeight") %>" src="<%= request.getAttribute("widgetURL") %>?idkey=<%= request.getParameter("idkey") %>&proxy=<%=request.getAttribute("proxy")%>">
+ <h2>Widget for first test user</h2>
+ <iframe width="<%= request.getAttribute("widgetWidth") %>" height="<%= request.getAttribute("widgetHeight") %>" src="<%= request.getAttribute("firstWidgetURL") %>?idkey=<%= request.getParameter("idkey") %>&proxy=<%=request.getAttribute("proxy")%>">
</iframe>
</td>
<td>
- <h2>Widget for user Test User</h2>
- <iframe width="<%= request.getAttribute("widgetWidth") %>" height="<%= request.getAttribute("widgetHeight") %>" src="<%= request.getAttribute("widgetURL") %>?idkey=<%= request.getParameter("idkey") %>&proxy=<%=request.getAttribute("proxy")%>">
+ <h2>Widget for second test user</h2>
+ <iframe width="<%= request.getAttribute("widgetWidth") %>" height="<%= request.getAttribute("widgetHeight") %>" src="<%= request.getAttribute("secondWidgetURL") %>?idkey=<%= request.getParameter("idkey") %>&proxy=<%=request.getAttribute("proxy")%>">
</iframe>
</td>
</tr>