<%-- /* * 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' %> <%IWidgetService[] services = (IWidgetService[])request.getAttribute("services"); %> Widget Service Types
<% String errors = FlashMessage.getErrors(session, request);%> <% String messages = FlashMessage.getMessages(session, request);%> <%if(errors!=null){%>

<%=errors%>

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

<%=messages%>

<%}%>

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. A widget type cannot be assigned to a widget unless it has been entered in this list.


<%for (int i=0; i <%}%>
 Existing service types
    <%=services[i].getServiceName()%>
<% FlashMessage.clearErrorsAndMessages(session);%>