From f3ebc2713ef13209d98d16038d4515e7142454e6 Mon Sep 17 00:00:00 2001 From: Kamesh Sampath Date: Sun, 4 Mar 2012 08:16:23 +0530 Subject: [PATCH] Fixes made for MAVEN-6, fore review and merge --- .../resources/META-INF/maven/archetype.xml | 8 + .../resources/archetype-resources/pom.xml | 6 + .../src/main/webapp/WEB-INF/tld/aui.tld | 1857 ++++++++++ .../WEB-INF/tld/liferay-portlet-ext.tld | 458 +++ .../webapp/WEB-INF/tld/liferay-portlet.tld | 158 + .../main/webapp/WEB-INF/tld/liferay-ui.tld | 3059 +++++++++++++++++ .../main/webapp/WEB-INF/tld/liferay-util.tld | 136 + .../src/main/webapp/WEB-INF/web.xml | 20 + .../src/main/webapp/init.jsp | 194 ++ 9 files changed, 5896 insertions(+) create mode 100644 archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/aui.tld create mode 100644 archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-portlet-ext.tld create mode 100644 archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-portlet.tld create mode 100644 archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-ui.tld create mode 100644 archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-util.tld create mode 100644 archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/init.jsp diff --git a/archetypes/liferay-portlet-archetype/src/main/resources/META-INF/maven/archetype.xml b/archetypes/liferay-portlet-archetype/src/main/resources/META-INF/maven/archetype.xml index 9394ce5c..035c431b 100644 --- a/archetypes/liferay-portlet-archetype/src/main/resources/META-INF/maven/archetype.xml +++ b/archetypes/liferay-portlet-archetype/src/main/resources/META-INF/maven/archetype.xml @@ -11,5 +11,13 @@ src/main/webapp/WEB-INF/portlet.xml src/main/webapp/icon.png src/main/webapp/view.jsp + + src/main/webapp/WEB-INF/web.xml + src/main/webapp/WEB-INF/tld/aui.tld + src/main/webapp/WEB-INF/tld/liferay-portlet-ext.tld + src/main/webapp/WEB-INF/tld/liferay-portlet.tld + src/main/webapp/WEB-INF/tld/liferay-ui.tld + src/main/webapp/WEB-INF/tld/liferay-util.tld + src/main/webapp/init.jsp \ No newline at end of file diff --git a/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/pom.xml index ddd2d17b..2d9a9799 100644 --- a/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/pom.xml @@ -78,5 +78,11 @@ 2.0 provided + + + javax.servlet + jstl + 1.2 + \ No newline at end of file diff --git a/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/aui.tld b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/aui.tld new file mode 100644 index 00000000..8c7747ae --- /dev/null +++ b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/aui.tld @@ -0,0 +1,1857 @@ + + + + 1.0 + aui + http://alloy.liferay.com/tld/aui + + button-item + com.liferay.taglib.aui.ButtonItemTag + JSP + + ]]> + activeState + false + true + boolean + + + ]]> + boundingBox + false + true + java.lang.String + + + ]]> + classNames + false + true + java.lang.Object + + + ]]> + contentBox + false + true + java.lang.String + + + boundingBox.]]> + cssClass + false + true + java.lang.String + + + ]]> + defaultState + false + true + boolean + + + ]]> + depth + false + true + java.lang.Object + + + ]]> + destroyed + false + true + boolean + + + ]]> + disabled + false + true + boolean + + + ]]> + focused + false + true + boolean + + + {fn: // The function to execute + context: // The context to execute the function in + type: // The type of event to listen for (defaults to "click") + }]]> + handler + false + true + java.lang.Object + + + ]]> + height + false + true + java.lang.Object + + + boundingBox when + visible is set to + false.]]> + hideClass + false + true + java.lang.String + + + ]]> + hoverState + false + true + boolean + + + ]]> + icon + false + true + java.lang.String + + + aui-button-icon.]]> + iconNode + false + true + java.lang.String + + + ]]> + buttonitemId + false + true + java.lang.String + + + ]]> + index + false + true + java.lang.Object + + + ]]> + initialized + false + true + boolean + + + ]]> + label + false + true + java.lang.String + + + aui-button-label.]]> + labelNode + false + true + java.lang.String + + + ]]> + buttonitemParent + false + true + java.lang.Object + + + true the render phase will be autimatically invoked + preventing the .render() manual call.]]> + render + false + true + java.lang.Object + + + ]]> + rendered + false + true + boolean + + + ]]> + root + false + true + java.lang.Object + + + +
0
(Default) Not selected
+
1
Fully selected
+
2
Partially selected
+ ]]>
+ selected + false + true + java.lang.Object +
+ + ]]> + srcNode + false + true + java.lang.String + + + ]]> + strings + false + true + java.lang.Object + + + ]]> + tabIndex + false + true + java.lang.Object + + + ]]> + title + false + true + java.lang.String + + + ]]> + type + false + true + java.lang.String + + + ]]> + useARIA + false + true + boolean + + + ]]> + visible + false + true + boolean + + + ]]> + width + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterActiveStateChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterBoundingBoxChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterClassNamesChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterContentBoxChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterCssClassChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterDefaultStateChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterDepthChange + false + true + java.lang.Object + + + + Lifecycle event for the destroy phase, + fired prior to destruction. Invoking the preventDefault + method on the event object provided to subscribers will + prevent destruction from proceeding. +

+

+ Subscribers to the "after" moment of this event, will be notified + after destruction is complete (and as a result cannot prevent + destruction). +

]]>
+ afterDestroy + false + true + java.lang.Object +
+ + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterDestroyedChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterDisabledChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterFocusedChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterHandlerChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterHeightChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterHideClassChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterHoverStateChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterIconChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterIconNodeChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterIdChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterIndexChange + false + true + java.lang.Object + + + + Lifecycle event for the init phase, fired prior to initialization. + Invoking the preventDefault() method on the event object provided + to subscribers will prevent initialization from occuring. +

+

+ Subscribers to the "after" momemt of this event, will be notified + after initialization of the object is complete (and therefore + cannot prevent initialization). +

]]>
+ afterInit + false + true + java.lang.Object +
+ + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterInitializedChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterLabelChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterLabelNodeChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterParentChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterRenderChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterRenderedChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterRootChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterSelectedChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterSrcNodeChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterStringsChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterTabIndexChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterTitleChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterTypeChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterUseARIAChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterVisibleChange + false + true + java.lang.Object + + + ]]> + afterContentUpdate + false + true + java.lang.Object + + + + Subscribers to the "on" moment of this event, will be notified + before the widget is rendered. +

+

+ Subscribers to the "after" moment of this event, will be notified + after rendering is complete. +

]]>
+ afterRender + false + true + java.lang.Object +
+ + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + afterWidthChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onActiveStateChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onBoundingBoxChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onClassNamesChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onContentBoxChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onCssClassChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onDefaultStateChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onDepthChange + false + true + java.lang.Object + + + + Lifecycle event for the destroy phase, + fired prior to destruction. Invoking the preventDefault + method on the event object provided to subscribers will + prevent destruction from proceeding. +

+

+ Subscribers to the "after" moment of this event, will be notified + after destruction is complete (and as a result cannot prevent + destruction). +

]]>
+ onDestroy + false + true + java.lang.Object +
+ + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onDestroyedChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onDisabledChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onFocusedChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onHandlerChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onHeightChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onHideClassChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onHoverStateChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onIconChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onIconNodeChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onIdChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onIndexChange + false + true + java.lang.Object + + + + Lifecycle event for the init phase, fired prior to initialization. + Invoking the preventDefault() method on the event object provided + to subscribers will prevent initialization from occuring. +

+

+ Subscribers to the "after" momemt of this event, will be notified + after initialization of the object is complete (and therefore + cannot prevent initialization). +

]]>
+ onInit + false + true + java.lang.Object +
+ + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onInitializedChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onLabelChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onLabelNodeChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onParentChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onRenderChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onRenderedChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onRootChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onSelectedChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onSrcNodeChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onStringsChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onTabIndexChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onTitleChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onTypeChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onUseARIAChange + false + true + java.lang.Object + + + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onVisibleChange + false + true + java.lang.Object + + + ]]> + onContentUpdate + false + true + java.lang.Object + + + + Subscribers to the "on" moment of this event, will be notified + before the widget is rendered. +

+

+ Subscribers to the "after" moment of this event, will be notified + after rendering is complete. +

]]>
+ onRender + false + true + java.lang.Object +
+ + on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.]]> + onWidthChange + false + true + java.lang.Object + + true +
+ + a + com.liferay.taglib.aui.ATag + JSP + + cssClass + false + true + java.lang.String + + + data + false + true + java.util.Map + + + href + true + true + java.lang.String + + + id + false + true + java.lang.String + + + label + false + true + java.lang.String + + + lang + false + true + java.lang.String + + + onClick + false + true + java.lang.String + + + target + false + true + java.lang.String + + + title + false + true + java.lang.String + + true + + + button + com.liferay.taglib.aui.ButtonTag + JSP + + cssClass + false + true + java.lang.String + + + data + false + true + java.lang.Object + + + disabled + false + true + boolean + + + href + false + true + java.lang.String + + + inputCssClass + false + true + java.lang.String + + + name + false + true + java.lang.String + + + onClick + false + true + java.lang.String + + + type + false + true + java.lang.String + + + value + false + true + java.lang.String + + true + + + button-row + com.liferay.taglib.aui.ButtonRowTag + JSP + + cssClass + false + true + java.lang.String + + + id + false + true + java.lang.String + + true + + + column + com.liferay.taglib.aui.ColumnTag + JSP + + columnWidth + false + true + int + + + cssClass + false + true + java.lang.String + + + first + false + true + boolean + + + id + false + true + java.lang.String + + + last + false + true + boolean + + true + + + component + com.liferay.taglib.aui.ComponentTag + JSP + + defineVar + false + true + boolean + + + excludeAttributes + false + true + java.lang.String + + + javaScriptAttributes + false + true + java.lang.String + + + module + false + true + java.lang.String + + + name + false + true + java.lang.String + + + options + false + true + java.util.Map + + + scriptPosition + false + true + java.lang.String + + + tagPageContext + true + true + javax.servlet.jsp.JspContext + + + useJavaScript + false + true + java.io.Serializable + + + var + false + true + java.lang.String + + true + + + field-wrapper + com.liferay.taglib.aui.FieldWrapperTag + JSP + + cssClass + false + true + java.lang.String + + + first + false + true + boolean + + + helpMessage + false + true + java.lang.String + + + inlineField + false + true + boolean + + + inlineLabel + false + true + java.lang.String + + + label + false + true + java.lang.String + + + last + false + true + boolean + + + name + false + true + java.lang.String + + + required + false + true + boolean + + + + fieldset + com.liferay.taglib.aui.FieldsetTag + JSP + + column + false + true + boolean + + + cssClass + false + true + java.lang.String + + + helpMessage + false + true + java.lang.String + + + id + false + true + java.lang.String + + + label + false + true + java.lang.String + + true + + + form + com.liferay.taglib.aui.FormTag + JSP + + action + false + true + java.lang.String + + + cssClass + false + true + java.lang.String + + + escapeXml + false + true + boolean + + + inlineLabels + false + true + boolean + + + method + false + true + java.lang.String + + + name + false + true + java.lang.String + + + onSubmit + false + true + java.lang.String + + + useNamespace + false + true + boolean + + true + + + input + com.liferay.taglib.aui.InputTag + JSP + + bean + false + true + java.lang.Object + + + changesContext + false + true + boolean + + + checked + false + true + boolean + + + classPK + false + true + long + + + cssClass + false + true + java.lang.String + + + data + false + true + java.lang.Object + + + defaultLanguageId + false + true + java.lang.String + + + disabled + false + true + boolean + + + field + false + true + java.lang.String + + + fieldParam + false + true + java.lang.String + + + first + false + true + boolean + + + formName + false + true + java.lang.String + + + helpMessage + false + true + java.lang.String + + + id + false + true + java.lang.String + + + ignoreRequestValue + false + true + boolean + + + inlineField + false + true + boolean + + + inlineLabel + false + true + java.lang.String + + + inputCssClass + false + true + java.lang.String + + + label + false + true + java.lang.String + + + languageId + false + true + java.lang.String + + + last + false + true + boolean + + + model + false + true + java.lang.Class + + + multiple + false + true + boolean + + + name + true + true + java.lang.String + + + onChange + false + true + java.lang.String + + + onClick + false + true + java.lang.String + + + placeholder + false + true + java.lang.String + + + prefix + false + true + java.lang.String + + + showRequiredLabel + false + true + boolean + + + suffix + false + true + java.lang.String + + + title + false + true + java.lang.String + + + type + false + true + java.lang.String + + + useNamespace + false + true + boolean + + + value + false + true + java.lang.Object + + true + + + layout + com.liferay.taglib.aui.LayoutTag + JSP + + cssClass + false + true + java.lang.String + + true + + + model-context + com.liferay.taglib.aui.ModelContextTag + JSP + + bean + false + true + java.lang.Object + + + defaultLanguageId + false + true + java.lang.String + + + model + false + true + java.lang.Class + + + + option + com.liferay.taglib.aui.OptionTag + JSP + + cssClass + false + true + java.lang.String + + + data + false + true + java.util.Map + + + disabled + false + true + boolean + + + label + false + true + java.lang.Object + + + selected + false + true + boolean + + + style + false + true + java.lang.String + + + value + false + true + java.lang.Object + + true + + + panel + com.liferay.taglib.aui.PanelTag + JSP + + collapsed + false + true + boolean + + + collapsible + false + true + boolean + + + id + false + true + java.lang.String + + + label + false + true + java.lang.String + + + + script + com.liferay.taglib.aui.ScriptTag + JSP + + position + false + true + java.lang.String + + + use + false + true + java.lang.String + + + + select + com.liferay.taglib.aui.SelectTag + JSP + + bean + false + true + java.lang.Object + + + changesContext + false + true + boolean + + + cssClass + false + true + java.lang.String + + + data + false + true + java.util.Map + + + disabled + false + true + boolean + + + first + false + true + boolean + + + helpMessage + false + true + java.lang.String + + + id + false + true + java.lang.String + + + ignoreRequestValue + false + true + boolean + + + inlineField + false + true + boolean + + + inlineLabel + false + true + java.lang.String + + + inputCssClass + false + true + java.lang.String + + + label + false + true + java.lang.String + + + last + false + true + boolean + + + listType + false + true + java.lang.String + + + listTypeFieldName + false + true + java.lang.String + + + multiple + false + true + boolean + + + name + true + true + java.lang.String + + + onChange + false + true + java.lang.String + + + onClick + false + true + java.lang.String + + + prefix + false + true + java.lang.String + + + showEmptyOption + false + true + boolean + + + suffix + false + true + java.lang.String + + + title + false + true + java.lang.String + + + useNamespace + false + true + boolean + + true + + + tool + com.liferay.taglib.aui.ToolTag + JSP + + handler + false + true + java.lang.String + + + icon + false + true + java.lang.String + + + id + false + true + java.lang.String + + + + validator + com.liferay.taglib.aui.ValidatorTagImpl + JSP + + errorMessage + false + true + java.lang.String + + + name + true + true + java.lang.String + + + + workflow-status + com.liferay.taglib.aui.WorkflowStatusTag + JSP + + bean + false + true + java.lang.Object + + + helpMessage + false + true + java.lang.String + + + id + false + true + java.lang.String + + + model + false + true + java.lang.Class + + + status + false + true + java.lang.Integer + + + statusMessage + false + true + java.lang.String + + + version + false + true + java.lang.String + + +
\ No newline at end of file diff --git a/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-portlet-ext.tld b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-portlet-ext.tld new file mode 100644 index 00000000..be282b7a --- /dev/null +++ b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-portlet-ext.tld @@ -0,0 +1,458 @@ + + + + + 1.0 + 1.1 + liferay-portlet + http://liferay.com/tld/portlet + + + + + actionURL + com.liferay.taglib.portlet.ActionURLTag + com.liferay.taglib.portlet.ActionURLTei + JSP + + anchor + false + true + + + copyCurrentRenderParameters + false + true + + + doAsUserId + false + true + + + encrypt + false + true + + + escapeXml + false + true + + + name + false + true + + + plid + false + true + + + portletConfiguration + false + true + + + portletMode + false + true + + + portletName + false + true + + + secure + false + true + + + var + false + true + + + varImpl + false + true + + + windowState + false + true + + + + icon-back + com.liferay.taglib.portletext.IconBackTag + JSP + + + icon-close + com.liferay.taglib.portletext.IconCloseTag + JSP + + + icon-configuration + com.liferay.taglib.portletext.IconConfigurationTag + JSP + + + icon-edit + com.liferay.taglib.portletext.IconEditTag + JSP + + + icon-edit-defaults + com.liferay.taglib.portletext.IconEditDefaultsTag + JSP + + + icon-edit-guest + com.liferay.taglib.portletext.IconEditGuestTag + JSP + + + icon-export-import + com.liferay.taglib.portletext.IconExportImportTag + JSP + + + icon-help + com.liferay.taglib.portletext.IconHelpTag + JSP + + + icon-maximize + com.liferay.taglib.portletext.IconMaximizeTag + JSP + + + icon-minimize + com.liferay.taglib.portletext.IconMinimizeTag + JSP + + + icon-options + com.liferay.taglib.portletext.IconOptionsTag + JSP + + + icon-portlet + com.liferay.taglib.portletext.IconPortletTag + JSP + + portlet + false + true + + + + icon-portlet-css + com.liferay.taglib.portletext.IconPortletCssTag + JSP + + + icon-print + com.liferay.taglib.portletext.IconPrintTag + JSP + + + icon-refresh + com.liferay.taglib.portletext.IconRefreshTag + JSP + + + param + com.liferay.taglib.util.ParamTag + JSP + + name + true + true + + + value + true + true + + + + preview + com.liferay.taglib.portletext.PreviewTag + JSP + + portletName + true + true + + + queryString + false + true + + + width + false + true + + + + + + + renderURL + com.liferay.taglib.portlet.RenderURLTag + com.liferay.taglib.portlet.RenderURLTei + JSP + + anchor + false + true + + + copyCurrentRenderParameters + false + true + + + doAsUserId + false + true + + + encrypt + false + true + + + escapeXml + false + true + + + plid + false + true + + + portletConfiguration + false + true + + + portletMode + false + true + + + portletName + false + true + + + secure + false + true + + + var + false + true + + + varImpl + false + true + + + windowState + false + true + + + + renderURLParams + com.liferay.taglib.portlet.RenderURLParamsTag + JSP + + varImpl + true + true + + + + + + + resourceURL + com.liferay.taglib.portlet.ResourceURLTag + com.liferay.taglib.portlet.ResourceURLTei + JSP + + anchor + false + true + + + copyCurrentRenderParameters + false + true + + + doAsUserId + false + true + + + encrypt + false + true + + + escapeXml + false + true + + + id + false + true + + + plid + false + true + + + portletConfiguration + false + true + + + portletMode + false + true + + + portletName + false + true + + + secure + false + true + + + var + false + true + + + varImpl + false + true + + + windowState + false + true + + + + runtime + com.liferay.taglib.portletext.RuntimeTag + JSP + + defaultPreferences + false + true + + + portletName + true + true + + + queryString + false + true + + + \ No newline at end of file diff --git a/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-portlet.tld b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-portlet.tld new file mode 100644 index 00000000..76555418 --- /dev/null +++ b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-portlet.tld @@ -0,0 +1,158 @@ + + + + + 1.0 + 1.1 + portlet + http://java.sun.com/portlet + + actionURL + com.liferay.taglib.portlet.ActionURLTag + com.liferay.taglib.portlet.ActionURLTei + JSP + + copyCurrentRenderParameters + false + true + + + escapeXml + false + true + + + name + false + true + + + portletMode + false + true + + + secure + false + true + + + var + false + true + + + windowState + false + true + + + + defineObjects + com.liferay.taglib.portlet.DefineObjectsTag + com.liferay.taglib.portlet.DefineObjectsTei + empty + + + namespace + com.liferay.taglib.portlet.NamespaceTag + JSP + + + param + com.liferay.taglib.util.ParamTag + JSP + + name + true + true + + + value + true + true + + + + property + com.liferay.taglib.util.PropertyTag + JSP + + name + true + true + + + value + true + true + + + + renderURL + com.liferay.taglib.portlet.RenderURLTag + com.liferay.taglib.portlet.RenderURLTei + JSP + + copyCurrentRenderParameters + false + true + + + escapeXml + false + true + + + portletMode + false + true + + + secure + false + true + + + var + false + true + + + windowState + false + true + + + + resourceURL + com.liferay.taglib.portlet.ResourceURLTag + com.liferay.taglib.portlet.ResourceURLTei + JSP + + cacheability + false + true + + + escapeXml + false + true + + + id + false + true + + + secure + false + true + + + var + false + true + + + \ No newline at end of file diff --git a/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-ui.tld b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-ui.tld new file mode 100644 index 00000000..048b1177 --- /dev/null +++ b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-ui.tld @@ -0,0 +1,3059 @@ + + + + 1.0 + liferay-ui + http://liferay.com/tld/ui + + asset-categories-error + com.liferay.taglib.ui.AssetCategoriesErrorTag + JSP + + + asset-categories-navigation + com.liferay.taglib.ui.AssetCategoriesNavigationTag + JSP + + hidePortletWhenEmpty + false + true + + + vocabularyIds + false + true + + + + asset-categories-selector + com.liferay.taglib.ui.AssetCategoriesSelectorTag + JSP + + className + false + true + + + classPK + false + true + + + contentCallback + false + true + + + curCategoryIds + false + true + + + focus + false + true + + + hiddenInput + false + true + + + + asset-categories-summary + com.liferay.taglib.ui.AssetCategoriesSummaryTag + JSP + + className + true + true + + + classPK + true + true + + + message + false + true + + + portletURL + false + true + + + + asset-links + com.liferay.taglib.ui.AssetLinksTag + JSP + + assetEntryId + false + true + + + className + false + true + + + classPK + false + true + + + + asset-tags-error + com.liferay.taglib.ui.AssetTagsErrorTag + JSP + + + asset-tags-navigation + com.liferay.taglib.ui.AssetTagsNavigationTag + JSP + + classNameId + false + true + + + displayStyle + false + true + + + hidePortletWhenEmpty + false + true + + + maxAssetTags + false + true + + + showAssetCount + false + true + + + showZeroAssetCount + false + true + + + + asset-tags-selector + com.liferay.taglib.ui.AssetTagsSelectorTag + JSP + + className + false + true + + + classPK + false + true + + + contentCallback + false + true + + + curTags + false + true + + + focus + false + true + + + hiddenInput + false + true + + + id + false + true + + + + asset-tags-summary + com.liferay.taglib.ui.AssetTagsSummaryTag + JSP + + assetTagNames + false + true + + + className + true + true + + + classPK + true + true + + + message + false + true + + + portletURL + false + true + + + + breadcrumb + com.liferay.taglib.ui.BreadcrumbTag + JSP + + displayStyle + false + true + + + portletURL + false + true + + + selLayout + false + true + + + selLayoutParam + false + true + + + showCurrentGroup + false + true + + + showCurrentPortlet + false + true + + + showGuestGroup + false + true + + + showLayout + false + true + + + showParentGroups + false + true + + + showPortletBreadcrumb + false + true + + + + calendar + com.liferay.taglib.ui.CalendarTag + JSP + + data + false + true + + + day + false + true + + + headerFormat + false + true + + + headerPattern + false + true + + + month + true + true + + + showAllPotentialWeeks + false + true + + + year + true + true + + + + captcha + com.liferay.taglib.ui.CaptchaTag + JSP + + url + true + true + + + + custom-attribute + com.liferay.taglib.ui.CustomAttributeTag + JSP + + className + true + true + + + classPK + true + true + + + editable + false + true + + + label + false + true + + + name + true + true + + + + custom-attribute-list + com.liferay.taglib.ui.CustomAttributeListTag + JSP + + className + true + true + + + classPK + true + true + + + editable + false + true + + + label + false + true + + + + custom-attributes-available + com.liferay.taglib.ui.CustomAttributesAvailableTag + JSP + + className + true + true + + + classPK + false + true + + + companyId + false + true + + + editable + false + true + + + + diff + com.liferay.taglib.ui.DiffTag + JSP + + diffResults + true + true + + + sourceName + true + true + + + targetName + true + true + + + + diff-html + com.liferay.taglib.ui.DiffHtmlTag + JSP + + diffHtmlResults + true + true + + + + discussion + com.liferay.taglib.ui.DiscussionTag + JSP + + assetEntryVisible + false + true + + + className + true + true + + + classPK + true + true + + + formAction + true + true + + + formName + false + true + + + hideControls + false + true + + + permissionClassName + false + true + + + permissionClassPK + false + true + + + ratingsEnabled + false + true + + + redirect + false + true + + + subject + true + true + + + userId + true + true + + + + error + com.liferay.taglib.ui.ErrorTag + com.liferay.taglib.ui.ErrorTei + JSP + + exception + false + true + + + key + false + true + + + message + false + true + + + rowBreak + false + true + + + translateMessage + false + true + + + + error-marker + com.liferay.taglib.ui.ErrorMarkerTag + JSP + + key + false + true + + + value + false + true + + + + flags + com.liferay.taglib.ui.FlagsTag + JSP + + className + true + true + + + classPK + true + true + + + contentTitle + true + true + + + label + false + true + + + message + false + true + + + reportedUserId + true + true + + + + flash + com.liferay.taglib.ui.FlashTag + JSP + + align + false + true + + + allowFullScreen + false + true + + + allowScriptAccess + false + true + + + base + false + true + + + bgcolor + false + true + + + devicefont + false + true + + + flashvars + false + true + + + height + false + true + + + id + false + true + + + loop + false + true + + + menu + false + true + + + movie + true + true + + + play + false + true + + + quality + false + true + + + salign + false + true + + + scale + false + true + + + swliveconnect + false + true + + + version + false + true + + + width + false + true + + + wmode + false + true + + + + form-navigator + com.liferay.taglib.ui.FormNavigatorTag + JSP + + backURL + false + true + + + categoryNames + true + true + + + categorySections + true + true + + + formName + false + true + + + htmlBottom + false + true + + + htmlTop + false + true + + + jspPath + false + true + + + showButtons + false + true + + + + group-search + com.liferay.taglib.ui.GroupSearchTag + JSP + + groupParams + true + true + + + portletURL + true + true + + + rowChecker + false + true + + + + header + com.liferay.taglib.ui.HeaderTag + JSP + + backLabel + false + true + + + backURL + false + true + + + cssClass + false + true + + + escapeXml + false + true + + + localizeTitle + false + true + + + showBackURL + false + true + + + title + true + true + + + + icon + com.liferay.taglib.ui.IconTag + JSP + + cssClass + false + true + + + data + false + true + + + id + false + true + + + image + false + true + + + imageHover + false + true + + + label + false + true + + + lang + false + true + + + message + false + true + + + method + false + true + + + onClick + false + true + + + src + false + true + + + srcHover + false + true + + + target + false + true + + + toolTip + false + true + + + url + false + true + + + + icon-deactivate + com.liferay.taglib.ui.IconDeactivateTag + JSP + + label + false + true + + + url + true + true + + + + icon-delete + com.liferay.taglib.ui.IconDeleteTag + JSP + + confirmation + false + true + + + label + false + true + + + url + true + true + + + + icon-help + com.liferay.taglib.ui.IconHelpTag + JSP + + message + true + true + + + + icon-list + com.liferay.taglib.ui.IconListTag + JSP + + showWhenSingleIcon + false + true + + + + icon-menu + com.liferay.taglib.ui.IconMenuTag + JSP + + align + false + true + + + cssClass + false + true + + + direction + false + true + + + disabled + false + true + + + extended + false + true + + + icon + false + true + + + id + false + true + + + maxDisplayItems + false + true + + + message + false + true + + + showExpanded + false + true + + + showArrow + false + true + + + showWhenSingleIcon + false + true + + + + input-asset-links + com.liferay.taglib.ui.InputAssetLinksTag + JSP + + assetEntryId + false + true + + + className + false + true + + + classPK + false + true + + + + input-checkbox + com.liferay.taglib.ui.InputCheckBoxTag + JSP + + cssClass + false + true + + + defaultValue + false + true + + + disabled + false + true + + + formName + false + true + + + id + false + true + + + onClick + false + true + + + param + true + true + + + + input-date + com.liferay.taglib.ui.InputDateTag + JSP + + cssClass + false + true + + + dayNullable + false + true + + + dayParam + false + true + + + dayValue + false + true + + + disableNamespace + false + true + + + disabled + false + true + + + firstDayOfWeek + false + true + + + formName + false + true + + + imageInputId + false + true + + + monthAndYearNullable + false + true + + + monthAndYearParam + false + true + + + monthNullable + false + true + + + monthParam + false + true + + + monthValue + false + true + + + yearNullable + false + true + + + yearParam + false + true + + + yearRangeEnd + true + true + + + yearRangeStart + true + true + + + yearValue + false + true + + + + input-editor + com.liferay.taglib.ui.InputEditorTag + JSP + + configParams + false + true + + + cssClass + false + true + + + editorImpl + false + true + + + fileBrowserParams + false + true + + + height + false + true + + + initMethod + false + true + + + name + false + true + + + onChangeMethod + false + true + + + skipEditorLoading + false + true + + + toolbarSet + false + true + + + width + false + true + + + + input-field + com.liferay.taglib.ui.InputFieldTag + JSP + + bean + false + true + + + cssClass + false + true + + + defaultLanguageId + false + true + + + defaultValue + false + true + + + disabled + false + true + + + field + true + true + + + fieldParam + false + true + + + formName + false + true + + + format + false + true + + + languageId + false + true + + + model + true + true + + + placeholder + false + true + + + + input-localized + com.liferay.taglib.ui.InputLocalizedTag + JSP + + cssClass + false + true + + + defaultLanguageId + false + true + + + disabled + false + true + + + formName + false + true + + + languageId + false + true + + + name + true + true + + + type + false + true + + + xml + true + true + + true + + + input-move-boxes + com.liferay.taglib.ui.InputMoveBoxesTag + JSP + + cssClass + false + true + + + leftBoxName + true + true + + + leftList + true + true + + + leftOnChange + false + true + + + leftReorder + false + true + + + leftTitle + true + true + + + rightBoxName + true + true + + + rightList + true + true + + + rightOnChange + false + true + + + rightReorder + false + true + + + rightTitle + true + true + + + + input-permissions + com.liferay.taglib.ui.InputPermissionsTag + JSP + + formName + false + true + + + modelName + false + true + + + + input-permissions-params + com.liferay.taglib.ui.InputPermissionsParamsTag + JSP + + modelName + true + true + + + + input-repeat + com.liferay.taglib.ui.InputRepeatTag + JSP + + cssClass + false + true + + + event + false + true + + + + input-resource + com.liferay.taglib.ui.InputResourceTag + JSP + + cssClass + false + true + + + url + true + true + + + + input-scheduler + com.liferay.taglib.ui.InputSchedulerTag + JSP + + + input-select + com.liferay.taglib.ui.InputSelectTag + JSP + + cssClass + false + true + + + defaultValue + false + true + + + disabled + false + true + + + formName + false + true + + + param + true + true + + + + input-textarea + com.liferay.taglib.ui.InputTextAreaTag + JSP + + cssClass + false + true + + + defaultValue + false + true + + + disabled + false + true + + + param + true + true + + + + input-time + com.liferay.taglib.ui.InputTimeTag + JSP + + amPmNullable + false + true + + + amPmParam + true + true + + + amPmValue + false + true + + + cssClass + false + true + + + disabled + false + true + + + hourNullable + false + true + + + hourParam + true + true + + + hourValue + false + true + + + minuteInterval + false + true + + + minuteNullable + false + true + + + minuteParam + true + true + + + minuteValue + false + true + + + + input-time-zone + com.liferay.taglib.ui.InputTimeZoneTag + JSP + + cssClass + false + true + + + daylight + false + true + + + disabled + false + true + + + displayStyle + false + true + + + name + true + true + + + nullable + false + true + + + value + false + true + + + + journal-article + com.liferay.taglib.ui.JournalArticleTag + JSP + + articleId + false + true + + + articlePage + false + true + + + articleResourcePrimKey + false + true + + + groupId + false + true + + + languageId + false + true + + + showAvailableLocales + false + true + + + showTitle + false + true + + + templateId + false + true + + + xmlRequest + false + true + + + + journal-content-search + com.liferay.taglib.ui.JournalContentSearchTag + JSP + + + language + com.liferay.taglib.ui.LanguageTag + JSP + + displayStyle + false + true + + + formAction + false + true + + + formName + false + true + + + languageIds + false + true + + + name + false + true + + + + logo-selector + com.liferay.taglib.ui.LogoSelectorTag + JSP + + defaultLogoURL + false + true + + + editLogoURL + false + true + + + imageId + false + true + + + logoDisplaySelector + false + true + + + showBackground + false + true + + + + message + com.liferay.taglib.ui.MessageTag + JSP + + arguments + false + true + + + key + true + true + + + translateArguments + false + true + + + unicode + false + true + + + + my-sites + com.liferay.taglib.ui.MySitesTag + JSP + + max + false + true + + + + navigation + com.liferay.taglib.ui.NavigationTag + JSP + + bulletStyle + false + true + + + displayStyle + false + true + + + headerType + false + true + + + includedLayouts + false + true + + + nestedChildren + false + true + + + rootLayoutLevel + false + true + + + rootLayoutType + false + true + + + + page-iterator + com.liferay.taglib.ui.PageIteratorTag + JSP + + cur + true + true + + + curParam + true + true + + + delta + false + true + + + deltaConfigurable + false + true + + + deltaParam + false + true + + + formName + false + true + + + jsCall + false + true + + + maxPages + false + true + + + target + false + true + + + total + true + true + + + type + false + true + + + url + false + true + + + + panel + com.liferay.taglib.ui.PanelTag + JSP + + collapsible + false + true + + + cssClass + false + true + + + defaultState + false + true + + + extended + false + true + + + helpMessage + false + true + + + id + false + true + + + persistState + false + true + + + title + true + true + + + + panel-container + com.liferay.taglib.ui.PanelContainerTag + JSP + + accordion + false + true + + + cssClass + false + true + + + extended + false + true + + + id + false + true + + + persistState + false + true + + + + panel-floating-container + com.liferay.taglib.ui.PanelFloatingContainerTag + JSP + + accordion + false + true + + + cssClass + false + true + + + extended + false + true + + + id + false + true + + + paging + false + true + + + pagingElements + false + true + + + persistState + false + true + + + resultsPerPage + false + true + + + trigger + true + true + + + width + false + true + + + + param + com.liferay.taglib.util.ParamTag + JSP + + name + true + true + + + value + true + true + + + + png-image + com.liferay.taglib.ui.PngImageTag + JSP + + height + true + true + + + image + true + true + + + width + true + true + + + + ratings + com.liferay.taglib.ui.RatingsTag + JSP + + className + true + true + + + classPK + true + true + + + numberOfStars + false + true + + + ratingsEntry + false + true + + + ratingsStats + false + true + + + type + false + true + + + url + false + true + + + + ratings-score + com.liferay.taglib.ui.RatingsScoreTag + JSP + + score + true + true + + + + search + com.liferay.taglib.ui.SearchTag + JSP + + + search-container + com.liferay.taglib.ui.SearchContainerTag + com.liferay.taglib.ui.SearchContainerTei + JSP + + curParam + false + true + + + delta + false + true + + + deltaConfigurable + false + true + + + deltaParam + false + true + + + displayTerms + false + true + + + emptyResultsMessage + false + true + + + headerNames + false + true + + + hover + false + true + + + id + false + true + + + iteratorURL + false + true + + + orderByCol + false + true + + + orderByColParam + false + true + + + orderByComparator + false + true + + + orderByType + false + true + + + orderByTypeParam + false + true + + + rowChecker + false + true + + + searchContainer + false + true + + + searchTerms + false + true + + + var + false + true + + + + search-container-column-button + com.liferay.taglib.ui.SearchContainerColumnButtonTag + JSP + + align + false + true + + + colspan + false + true + + + cssClass + false + true + + + href + true + true + + + index + false + true + + + name + false + true + + + valign + false + true + + + + search-container-column-jsp + com.liferay.taglib.ui.SearchContainerColumnJSPTag + JSP + + align + false + true + + + colspan + false + true + + + cssClass + false + true + + + index + false + true + + + name + false + true + + + path + true + true + + + valign + false + true + + + + search-container-column-text + com.liferay.taglib.ui.SearchContainerColumnTextTag + com.liferay.taglib.ui.SearchContainerColumnTextTei + JSP + + align + false + true + + + buffer + false + true + + + colspan + false + true + + + cssClass + false + true + + + href + false + true + + + index + false + true + + + name + false + true + + + orderable + false + true + + + orderableProperty + false + true + + + property + false + true + + + target + false + true + + + title + false + true + + + translate + false + true + + + valign + false + true + + + value + false + true + + + + search-container-results + com.liferay.taglib.ui.SearchContainerResultsTag + com.liferay.taglib.ui.SearchContainerResultsTei + JSP + + results + false + true + + + resultsVar + false + true + + + total + false + true + + + totalVar + false + true + + + + search-container-row + com.liferay.taglib.ui.SearchContainerRowTag + com.liferay.taglib.ui.SearchContainerRowTei + JSP + + bold + false + true + + + className + true + true + + + escapedModel + false + true + + + indexVar + false + true + + + keyProperty + false + true + + + modelVar + false + true + + + rowVar + false + true + + + servletContext + false + true + + + stringKey + false + true + + + + search-container-row-parameter + com.liferay.taglib.ui.SearchContainerRowParameterTag + JSP + + name + true + true + + + value + true + true + + + + search-form + com.liferay.taglib.ui.SearchFormTag + JSP + + page + true + true + + + searchContainer + false + true + + + servletContext + false + true + + + showAddButton + false + true + + + + search-iterator + com.liferay.taglib.ui.SearchIteratorTag + JSP + + paginate + false + true + + + searchContainer + false + true + + + type + false + true + + + + search-paginator + com.liferay.taglib.ui.SearchPaginatorTag + JSP + + searchContainer + true + true + + + type + false + true + + + + search-speed + com.liferay.taglib.ui.SearchSpeedTag + JSP + + hits + true + true + + + searchContainer + true + true + + + + search-toggle + com.liferay.taglib.ui.SearchToggleTag + JSP + + buttonLabel + false + true + + + displayTerms + true + true + + + id + true + true + + + + section + com.liferay.taglib.ui.SectionTag + com.liferay.taglib.ui.SectionTei + JSP + + + social-activities + com.liferay.taglib.ui.SocialActivitiesTag + JSP + + activities + false + true + + + className + false + true + + + classPK + false + true + + + displayRSSFeed + false + true + + + feedEnabled + false + true + + + feedLink + false + true + + + feedLinkMessage + false + true + + + feedTitle + false + true + + + + social-bookmark + com.liferay.taglib.ui.SocialBookmarkTag + JSP + + target + false + true + + + title + true + true + + + type + true + true + + + url + true + true + + + + social-bookmarks + com.liferay.taglib.ui.SocialBookmarksTag + JSP + + displayStyle + false + true + + + target + false + true + + + title + true + true + + + types + false + true + + + url + true + true + + + + staging + com.liferay.taglib.ui.StagingTag + JSP + + cssClass + false + true + + + extended + false + true + + + groupId + false + true + + + icon + false + true + + + layoutSetBranchId + false + true + + + message + false + true + + + privateLayout + false + true + + + selPlid + false + true + + + showManageBranches + false + true + + + + success + com.liferay.taglib.ui.SuccessTag + JSP + + key + true + true + + + message + true + true + + + translateMessage + false + true + + + + table-iterator + com.liferay.taglib.ui.TableIteratorTag + com.liferay.taglib.ui.TableIteratorTei + JSP + + bodyPage + false + true + + + list + true + true + + + listType + true + true + + + rowBreak + false + true + + + rowLength + true + true + + + rowPadding + false + true + + + rowValign + false + true + + + width + false + true + + + + tabs + com.liferay.taglib.ui.TabsTag + JSP + + + backLabel + false + true + + + backURL + false + true + + + formName + false + true + + + names + true + true + + + onClick + false + true + + + param + false + true + + + portletURL + false + true + + + refresh + false + true + + + tabsValues + false + true + + + url + false + true + + + url0 + false + true + + + url1 + false + true + + + url2 + false + true + + + url3 + false + true + + + url4 + false + true + + + url5 + false + true + + + url6 + false + true + + + url7 + false + true + + + url8 + false + true + + + url9 + false + true + + + value + false + true + + + + toggle + com.liferay.taglib.ui.ToggleTag + JSP + + defaultShowContent + false + true + + + hideImage + false + true + + + hideMessage + false + true + + + id + true + true + + + showImage + false + true + + + showMessage + false + true + + + stateVar + false + true + + + + toggle-area + com.liferay.taglib.ui.ToggleAreaTag + JSP + + align + false + true + + + defaultShowContent + false + true + + + hideImage + false + true + + + hideMessage + false + true + + + id + false + true + + + showImage + false + true + + + showMessage + false + true + + + stateVar + false + true + + + + toggle-value + com.liferay.taglib.ui.ToggleValueTag + JSP + + defaultValue + false + true + + + id + true + true + + + + upload-progress + com.liferay.taglib.ui.UploadProgressTag + JSP + + id + true + true + + + iframeSrc + false + true + + + message + false + true + + + redirect + true + true + + + + user-display + com.liferay.taglib.ui.UserDisplayTag + com.liferay.taglib.ui.UserDisplayTei + JSP + + displayStyle + false + true + + + url + false + true + + + userId + true + true + + + userName + false + true + + + + user-search + com.liferay.taglib.ui.UserSearchTag + JSP + + portletURL + true + true + + + rowChecker + false + true + + + userParams + true + true + + + + webdav + com.liferay.taglib.ui.WebDAVTag + JSP + + path + true + true + + + + write + com.liferay.taglib.ui.WriteTag + JSP + + bean + true + true + + + property + true + true + + + \ No newline at end of file diff --git a/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-util.tld b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-util.tld new file mode 100644 index 00000000..b613daaf --- /dev/null +++ b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/tld/liferay-util.tld @@ -0,0 +1,136 @@ + + + + + 1.2 + 1.1 + liferay-util + http://liferay.com/tld/util + + body-bottom + com.liferay.taglib.util.BodyBottomTag + JSP + + outputKey + false + true + + + + body-top + com.liferay.taglib.util.BodyTopTag + JSP + + outputKey + false + true + + + + buffer + com.liferay.taglib.util.BufferTag + com.liferay.taglib.util.BufferTei + JSP + + var + true + true + + + + get-url + com.liferay.taglib.util.GetUrlTag + com.liferay.taglib.util.GetUrlTei + JSP + + expires + false + true + + + url + true + true + + + var + false + true + + + + html-bottom + com.liferay.taglib.util.HtmlBottomTag + JSP + + outputKey + false + true + + + position + false + true + + + + html-top + com.liferay.taglib.util.HtmlTopTag + JSP + + outputKey + false + true + + + position + false + true + + + + include + com.liferay.taglib.util.IncludeTag + JSP + + page + true + true + + + portletId + false + true + + + servletContext + false + true + + + strict + false + true + + + useCustomPage + false + true + + + + param + com.liferay.taglib.util.ParamTag + JSP + + name + true + true + + + value + true + true + + + \ No newline at end of file diff --git a/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml index 7d8c0825..7b675cee 100644 --- a/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml +++ b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml @@ -1,4 +1,24 @@ + + + + http://java.sun.com/portlet_2_0 + /WEB-INF/tld/liferay-portlet.tld + + + http://liferay.com/tld/aui + /WEB-INF/tld/aui.tld + + + + http://liferay.com/tld/ui + /WEB-INF/tld/liferay-ui.tld + + + http://liferay.com/tld/util + /WEB-INF/tld/liferay-util.tld + + \ No newline at end of file diff --git a/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/init.jsp b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/init.jsp new file mode 100644 index 00000000..c0e566f2 --- /dev/null +++ b/archetypes/liferay-portlet-archetype/src/main/resources/archetype-resources/src/main/webapp/init.jsp @@ -0,0 +1,194 @@ +<%-- +/** + * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. + * + * This library is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ + --%> +<%@ page contentType="text/html; charset=UTF-8" %> + + + +<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> + + +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %> + + + + +<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %> +<%@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %> +<%@ taglib uri="http://liferay.com/tld/security" prefix="liferay-security" %> +<%@ taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %> +<%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %> +<%@ taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %> + + + +<%@ page import="com.liferay.portlet.PortletURLUtil" %> +<%@ page import="com.liferay.portlet.PortletPreferencesFactoryUtil" %> +<%@ page import="com.liferay.portal.kernel.bean.BeanParamUtil" %> +<%@ page import="com.liferay.portal.kernel.bean.BeanPropertiesUtil" %> +<%@ page import="com.liferay.portal.kernel.dao.search.ResultRow" %> +<%@ page import="com.liferay.portal.kernel.dao.search.RowChecker" %> +<%@ page import="com.liferay.portal.kernel.dao.search.SearchContainer" %> +<%@ page import="com.liferay.portal.kernel.dao.search.SearchEntry" %> +<%@ page import="com.liferay.portal.kernel.exception.PortalException" %> +<%@ page import="com.liferay.portal.kernel.exception.SystemException" %> +<%@ page import="com.liferay.portal.kernel.language.LanguageUtil" %> +<%@ page import="com.liferay.portal.kernel.language.LanguageWrapper" %> +<%@ page import="com.liferay.portal.kernel.language.UnicodeLanguageUtil" %> +<%@ page import="com.liferay.portal.kernel.log.Log" %> +<%@ page import="com.liferay.portal.kernel.log.LogFactoryUtil" %> +<%@ page import="com.liferay.portal.kernel.log.LogUtil" %> +<%@ page import="com.liferay.portal.kernel.messaging.DestinationNames" %> +<%@ page import="com.liferay.portal.kernel.messaging.MessageBusUtil" %> +<%@ page import="com.liferay.portal.kernel.portlet.DynamicRenderRequest" %> +<%@ page import="com.liferay.portal.kernel.portlet.LiferayPortletMode" %> +<%@ page import="com.liferay.portal.kernel.portlet.LiferayPortletRequest" %> +<%@ page import="com.liferay.portal.kernel.portlet.LiferayPortletResponse" %> +<%@ page import="com.liferay.portal.kernel.portlet.LiferayPortletURL" %> +<%@ page import="com.liferay.portal.kernel.portlet.LiferayWindowState" %> +<%@ page import="com.liferay.portal.kernel.search.Field" %> +<%@ page import="com.liferay.portal.kernel.servlet.ServletContextUtil" %> +<%@ page import="com.liferay.portal.kernel.servlet.SessionErrors" %> +<%@ page import="com.liferay.portal.kernel.servlet.SessionMessages" %> +<%@ page import="com.liferay.portal.kernel.servlet.StringServletResponse" %> +<%@ page import="com.liferay.portal.kernel.staging.LayoutStagingUtil" %> +<%@ page import="com.liferay.portal.kernel.util.ArrayUtil" %> +<%@ page import="com.liferay.portal.kernel.util.BooleanWrapper" %> +<%@ page import="com.liferay.portal.kernel.util.CalendarFactoryUtil" %> +<%@ page import="com.liferay.portal.kernel.util.CalendarUtil" %> +<%@ page import="com.liferay.portal.kernel.util.CharPool" %> +<%@ page import="com.liferay.portal.kernel.util.Constants" %> +<%@ page import="com.liferay.portal.kernel.util.ContentTypes" %> +<%@ page import="com.liferay.portal.kernel.util.DateUtil" %> +<%@ page import="com.liferay.portal.kernel.util.FastDateFormatFactoryUtil" %> +<%@ page import="com.liferay.portal.kernel.util.GetterUtil" %> +<%@ page import="com.liferay.portal.kernel.util.KeyValuePair" %> +<%@page import="com.liferay.portal.kernel.util.KeyValuePairComparator" %> +<%@ page import="com.liferay.portal.kernel.util.HtmlUtil" %> +<%@ page import="com.liferay.portal.kernel.util.ListUtil" %> +<%@ page import="com.liferay.portal.kernel.util.MathUtil" %> +<%@ page import="com.liferay.portal.kernel.util.OrderByComparator" %> +<%@ page import="com.liferay.portal.kernel.util.OrderedProperties" %> +<%@ page import="com.liferay.portal.kernel.util.ParamUtil" %> +<%@ page import="com.liferay.portal.kernel.util.PrefsParamUtil" %> +<%@ page import="com.liferay.portal.kernel.util.PropertiesParamUtil" %> +<%@ page import="com.liferay.portal.kernel.util.PropertiesUtil" %> +<%@ page import="com.liferay.portal.kernel.util.PropsKeys" %> +<%@ page import="com.liferay.portal.kernel.util.SetUtil" %> +<%@ page import="com.liferay.portal.kernel.util.StringBundler" %> +<%@ page import="com.liferay.portal.kernel.util.StringComparator" %> +<%@ page import="com.liferay.portal.kernel.util.StringPool" %> +<%@ page import="com.liferay.portal.kernel.util.StringUtil" %> +<%@ page import="com.liferay.portal.kernel.util.TextFormatter" %> +<%@ page import="com.liferay.portal.kernel.util.Time" %> +<%@ page import="com.liferay.portal.kernel.util.TimeZoneUtil" %> +<%@ page import="com.liferay.portal.kernel.util.UnicodeFormatter" %> +<%@ page import="com.liferay.portal.kernel.util.Validator" %> +<%@ page import="com.liferay.portal.kernel.workflow.WorkflowConstants" %> +<%@ page import="com.liferay.portal.model.*" %> +<%@ page import="com.liferay.portal.model.impl.*" %> +<%@ page import="com.liferay.portal.security.permission.ActionKeys" %> +<%@ page import="com.liferay.portal.service.*" %> +<%@ page import="com.liferay.portal.theme.PortletDisplay" %> +<%@ page import="com.liferay.portal.theme.ThemeDisplay" %> +<%@ page import="com.liferay.portal.util.PortalUtil" %> +<%@ page import="com.liferay.portal.util.PortletCategoryKeys" %> +<%@ page import="com.liferay.portal.util.PortletKeys" %> +<%@ page import="com.liferay.portal.util.SessionClicks" %> +<%@ page import="com.liferay.portlet.PortalPreferences" %> +<%@ page import="com.liferay.portal.kernel.util.ParamUtil" %> + + + +<%@ page import="java.io.Serializable" %> + +<%@ page import="java.math.BigDecimal" %> + +<%@ page import="java.text.DateFormat" %> +<%@ page import="java.text.DecimalFormat" %> +<%@ page import="java.text.Format" %> +<%@ page import="java.text.NumberFormat" %> +<%@ page import="java.text.SimpleDateFormat" %> + +<%@ page import="java.util.ArrayList" %> +<%@ page import="java.util.Arrays" %> +<%@ page import="java.util.Calendar" %> +<%@ page import="java.util.Collection" %> +<%@ page import="java.util.Collections" %> +<%@ page import="java.util.Currency" %> +<%@ page import="java.util.Date" %> +<%@ page import="java.util.Enumeration" %> +<%@ page import="java.util.GregorianCalendar" %> +<%@ page import="java.util.HashMap" %> +<%@ page import="java.util.HashSet" %> +<%@ page import="java.util.Iterator" %> +<%@ page import="java.util.LinkedHashMap" %> +<%@ page import="java.util.LinkedHashSet" %> +<%@ page import="java.util.List" %> +<%@ page import="java.util.Locale" %> +<%@ page import="java.util.Map" %> +<%@ page import="java.util.Properties" %> +<%@ page import="java.util.ResourceBundle" %> +<%@ page import="java.util.Set" %> +<%@ page import="java.util.Stack" %> +<%@ page import="java.util.TimeZone" %> +<%@ page import="java.util.TreeMap" %> +<%@ page import="java.util.TreeSet" %> + +<%@ page import="javax.portlet.MimeResponse" %> +<%@ page import="javax.portlet.PortletConfig" %> +<%@ page import="javax.portlet.PortletContext" %> +<%@ page import="javax.portlet.PortletException" %> +<%@ page import="javax.portlet.PortletMode" %> +<%@ page import="javax.portlet.PortletPreferences" %> +<%@ page import="javax.portlet.PortletRequest" %> +<%@ page import="javax.portlet.PortletResponse" %> +<%@ page import="javax.portlet.PortletURL" %> +<%@ page import="javax.portlet.ResourceURL" %> +<%@ page import="javax.portlet.UnavailableException" %> +<%@ page import="javax.portlet.ValidatorException" %> +<%@ page import="javax.portlet.WindowState" %> + + + + + + +<% +WindowState windowState = null; +PortletMode portletMode = null; + +PortletURL currentURLObj = null; + +if (renderRequest != null) { + windowState = renderRequest.getWindowState(); + portletMode = renderRequest.getPortletMode(); + + currentURLObj = PortletURLUtil.getCurrent(renderRequest, renderResponse); +} +else if (resourceRequest != null) { + windowState = resourceRequest.getWindowState(); + portletMode = resourceRequest.getPortletMode(); + + currentURLObj = PortletURLUtil.getCurrent(resourceRequest, resourceResponse); +} + +String currentURL = currentURLObj.toString(); +//String currentURL = PortalUtil.getCurrentURL(request); +%>