<%-- /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ --%> <%@ page import='org.apache.wookie.helpers.FlashMessage' %> <%@ page import='org.apache.wookie.beans.IWidgetService' %> <% String errors = FlashMessage.getErrors(session, request);%> <% String messages = FlashMessage.getMessages(session, request);%> <% Integer dbkey = (Integer)request.getAttribute("dbkey"); Boolean hasValidated = (Boolean)request.getAttribute("hasValidated"); Boolean closeWindow = (Boolean)request.getAttribute("closeWindow"); IWidgetService[] services = (IWidgetService[])request.getAttribute("services"); %> Add widget services close:<%=closeWindow %> <%if (closeWindow){ %> <%}else{%> <%} %>
<%if(errors!=null){%>

There was a problem encountered when trying to upload the package.
Cause: <%=errors%>

<%}%> <%if(messages!=null){%>

<%=messages%>

<%}%> <%if(hasValidated){%>

A widget can be seen as having several "contexts" or "types". The same widget may be referred to as both a "discussion" and a "forum" type of tool, for example. When a client of the widget system asks for a widget, it will ask using one of these type names. Please choose from the list below what type or types this widget can act as.

Please choose the type/s for this widget
Widget Types
(multiple allowed)
<%}%>
<% FlashMessage.clearErrorsAndMessages(session);%>