You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2005/05/02 19:24:33 UTC
svn commit: r165649 [3/5] - in /incubator/beehive/trunk/netui: ant/
src/bootstrap/org/apache/beehive/netui/tools/tldx/ src/tags-databinding/
src/tags-databinding/org/apache/beehive/netui/tags/databinding/bundle/
src/tags-databinding/org/apache/beehive/netui/tags/databinding/cellrepeater/
src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/
src/tags-databinding/org/apache/beehive/netui/tags/databinding/invoke/
src/tags-databinding/org/apache/beehive/netui/tags/databinding/message/
src/tags-databinding/org/apache/beehive/netui/tags/databinding/pageinput/
src/tags-databinding/org/apache/beehive/netui/tags/databinding/repeater/
src/tags-databinding/org/apache/beehive/netui/tags/databinding/repeater/pad/
src/tags-databinding/org/apache/beehive/netui/tags/databinding/script/
src/tags-databinding/org/apache/beehive/netui/tags/databinding/xml/
src/tags-html/ src/tags-html/org/apache/beehive/netui/tags/divpanel/
src/tags-html/org/apache/beehive/netui/tags/html/
src/tags-html/org/apache/beehive/netui/tags/javascript/
src/tags-html/org/apache/beehive/netui/tags/tree/ src/tags-template/
src/tags-template/org/apache/beehive/netui/tags/template/ test/dist-test/
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/divpanel/DivPanel.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/divpanel/DivPanel.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/divpanel/DivPanel.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/divpanel/DivPanel.java Mon May 2 10:24:30 2005
@@ -1,261 +1,257 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * 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.
- *
- * $Header:$
- */
-package org.apache.beehive.netui.tags.divpanel;
-
-import org.apache.beehive.netui.pageflow.requeststate.NameService;
-import org.apache.beehive.netui.script.ExpressionUpdateException;
-import org.apache.beehive.netui.script.IllegalExpressionException;
-import org.apache.beehive.netui.tags.AbstractClassicTag;
-import org.apache.beehive.netui.tags.ExpressionHandling;
-import org.apache.beehive.netui.tags.javascript.CoreScriptFeature;
-import org.apache.beehive.netui.tags.javascript.IScriptReporter;
-import org.apache.beehive.netui.tags.javascript.ScriptRequestState;
-import org.apache.beehive.netui.tags.rendering.AbstractHtmlState;
-import org.apache.beehive.netui.tags.rendering.DivTag;
-import org.apache.beehive.netui.tags.rendering.TagRenderingBase;
-import org.apache.beehive.netui.tags.rendering.WriteRenderAppender;
-import org.apache.beehive.netui.util.Bundle;
-
-import javax.servlet.ServletRequest;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.jsp.JspException;
-
-/**
- * A DivPanel creates an HTML <div> tag that may contain additional <div> tags. There will only
- * be a single div that is visible at a time.
- * @jsptagref.tagdescription Creates an HTML <div> tag that may contain additional <div> tags. Only a single section will be visible at a time.
- * @netui:tag name="divPanel"
- * description="A divPanel is an placeholder which may contain multiple sections. Only a single section will be visible at a time."
- * @netui.tldx:tag whitespace="indent"
- */
-public class DivPanel extends AbstractClassicTag
-{
- private String _tagId;
- private String _firstPage;
- private String _dataSource = null; // The name of the tree.
- private DivTag.State _divState = new DivTag.State();
-
- private final String JAVASCRIPT_CLASS = "NetUIDivPanel";
-
- public static final String DIVPANEL_JAVASCRIPT_ATTR = "netui-div-panel";
- public static final String DIVPANEL_FIRST_PAGE = "netui-div-panel-first";
-
- public static final String DIVPANEL_DIV_ID = "netui_divpanel_";
-
- public static String getCurrentPage(ServletRequest req, String tagId)
- {
- String reqId = DIVPANEL_DIV_ID + tagId;
- String page = req.getParameter(reqId);
- return page;
- }
-
- /**
- * Returns the name of the Tag. This is used to
- * identify the type of tag reporting errors.
- * @return a constant string representing the name of the tag.
- */
- public String getTagName()
- {
- return "DivPanel";
- }
-
- /**
- * Sets an expression which indentifies the DivPanelState which will store the state of the
- * DivPanel between posts to the server.
- * @param dataSource - the tree attribute name
- * @jsptagref.attributedescription An expression which identifies which DivPanelState object will store state between posts to the server.
- * @jsptagref.databindable true
- * @jsptagref.attributesyntaxvalue <i>expression</i>
- * @netui:attribute description="Sets an expression which indentifies the DivPanelState storing the state of the
- * DivPanel between posts."
- * @netui.tldx:attribute language="netuiel"
- */
- public void setDataSource(String dataSource)
- {
- _dataSource = dataSource;
- }
-
- /**
- * Set the ID of the tag.
- * @param tagId - the tagId.
- * @jsptagref.attributedescription Set the ID of the <div> tag
- * @jsptagref.databindable true
- * @jsptagref.attributesyntaxvalue <i>string_or_expression</i>
- * @netui:attribute required="true" rtexprvalue="true"
- * description="Set the ID of the tag."
- * @netui.tldx:attribute category="general"
- */
- public void setTagId(String tagId)
- {
- _tagId = tagId;
- }
-
- /**
- * Set the name of the first page to display.
- * @param firstPage - the name of the first page.
- * @jsptagref.attributedescription Set the name of the first page to display.
- * @jsptagref.databindable true
- * @jsptagref.attributesyntaxvalue <i>string_or_expression</i>
- * @netui:attribute rtexprvalue="true"
- * description="Set the name of the first page to display."
- * @netui.tldx:attribute category="general"
- */
- public void setFirstPage(String firstPage)
- {
- _firstPage = firstPage;
-
- }
-
- /**
- * Causes the content of the section to be rendered into a buffer.
- * @return SKIP_BODY if the visible state is <code>false</code>,
- * otherwise EVAL_BODY_BUFFERED to cause the body content to be buffered.
- * @throws javax.servlet.jsp.JspException if there are errors.
- */
- public int doStartTag()
- throws JspException
- {
- HttpServletRequest req = (HttpServletRequest) pageContext.getRequest();
-
- // if there was a dataSource defined we need to get it based upon the expression
- // if the variable comes back null, we then create a DivPanelState and set it back
- // to the property referred to by the expression.
- DivPanelState state = null;
- if (_dataSource != null) {
- ExpressionHandling _expr;
- _expr = new ExpressionHandling(this);
- try {
- state = getState(_expr);
- }
- catch (IllegalExpressionException iee) {
- String s = Bundle.getString("TreeRootError", new Object[]{_dataSource, iee.getMessage()});
- registerTagError(s, null);
- return SKIP_BODY;
- }
- if (hasErrors())
- reportAndExit(SKIP_BODY);
-
- // if we got here and the state is null then create a new divPanel, and push it back on
- // the expression
- if (state == null) {
- try {
- state = new DivPanelState();
- String datasource = "{" + _dataSource + "}";
- _expr.updateExpression(datasource, state, pageContext);
- }
- catch (ExpressionUpdateException e) {
- String s = Bundle.getString("Tags_UnableToWriteTree", new Object[]{_dataSource, e.getMessage()});
- registerTagError(s, null);
- reportErrors();
- return SKIP_BODY;
- }
-
- if (hasErrors())
- reportAndExit(SKIP_BODY);
-
- // name the divPanel so we can post state back to this state object.
- NameService ns = NameService.instance(pageContext.getSession());
- ns.nameObject("DivPanel", state);
- ns.put(state);
- }
- }
-
- WriteRenderAppender writer = new WriteRenderAppender(pageContext);
-
- // verify hat we are in a container with run at client on...
- IScriptReporter sr = getScriptReporter();
- ScriptRequestState srs = ScriptRequestState.getScriptRequestState(req);
- if (!srs.isFeatureWritten(CoreScriptFeature.DYNAMIC_INIT)) {
- String s = Bundle.getString("Tags_DivPanelHtmlRunAtClient", null);
- registerTagError(s, null);
- reportAndExit(SKIP_BODY);
- }
- srs.writeFeature(sr, writer, CoreScriptFeature.DIVPANEL_INIT, true, false, null);
-
- // figure out if there is a page to render
- String page = _firstPage;
- if (state != null) {
- String fp = state.getFirstPage();
- if (fp != null)
- page = fp;
- }
-
- if (hasErrors())
- reportAndExit(EVAL_BODY_INCLUDE);
-
- _divState.id = this.getIdForTagId(_tagId);
- _divState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, DIVPANEL_JAVASCRIPT_ATTR, "true");
- if (page != null)
- _divState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, DIVPANEL_FIRST_PAGE, page);
- if (state != null)
- _divState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, "netui:divName", state.getObjectName());
-
- TagRenderingBase divRenderer = TagRenderingBase.Factory.getRendering(TagRenderingBase.DIV_TAG, req);
- divRenderer.doStartTag(writer, _divState);
- return EVAL_BODY_INCLUDE;
- }
-
- /**
- * Stores the buffered body content into the <code>TEMPLATE_SECTIONS
- * HashMap</code>. The buffered body is
- * accessed by the template page to obtain
- * the content for <code>IncludeSection</code> tags.
- * @return EVAL_PAGE to continue evaluating the page.
- * @throws JspException on error.
- */
- public int doEndTag()
- throws JspException
- {
- HttpServletRequest req = (HttpServletRequest) pageContext.getRequest();
- if (!hasErrors()) {
- WriteRenderAppender writer = new WriteRenderAppender(pageContext);
- TagRenderingBase divRenderer = TagRenderingBase.Factory.getRendering(TagRenderingBase.DIV_TAG, req);
- divRenderer.doEndTag(writer);
- }
- localRelease();
- return EVAL_PAGE;
- }
-
- protected void localRelease()
- {
- super.localRelease();
- _tagId = null;
- _divState.clear();
- _firstPage = null;
- _dataSource = null;
- }
-
- /**
- */
- protected DivPanelState getState(ExpressionHandling expr)
- throws JspException
- {
- String datasource = "{" + _dataSource + "}";
- Object state = expr.evaluateExpression(datasource, "dataSource", pageContext);
- if (state == null || hasErrors()) {
- return null;
- }
-
- if (!(state instanceof DivPanelState)) {
- String s = Bundle.getString("Tags_DivPanelInvalidAttribute", _dataSource);
- registerTagError(s, null);
- return null;
- }
- return (DivPanelState) state;
- }
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * 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.
+ *
+ * $Header:$
+ */
+package org.apache.beehive.netui.tags.divpanel;
+
+import org.apache.beehive.netui.pageflow.requeststate.NameService;
+import org.apache.beehive.netui.script.ExpressionUpdateException;
+import org.apache.beehive.netui.script.IllegalExpressionException;
+import org.apache.beehive.netui.tags.AbstractClassicTag;
+import org.apache.beehive.netui.tags.ExpressionHandling;
+import org.apache.beehive.netui.tags.javascript.CoreScriptFeature;
+import org.apache.beehive.netui.tags.javascript.IScriptReporter;
+import org.apache.beehive.netui.tags.javascript.ScriptRequestState;
+import org.apache.beehive.netui.tags.rendering.AbstractHtmlState;
+import org.apache.beehive.netui.tags.rendering.DivTag;
+import org.apache.beehive.netui.tags.rendering.TagRenderingBase;
+import org.apache.beehive.netui.tags.rendering.WriteRenderAppender;
+import org.apache.beehive.netui.util.Bundle;
+
+import javax.servlet.ServletRequest;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.jsp.JspException;
+
+/**
+ * A DivPanel creates an HTML <div> tag that may contain additional <div> tags. There will only
+ * be a single div that is visible at a time.
+ * @jsptagref.tagdescription Creates an HTML <div> tag that may contain additional <div> tags. Only a single section will be visible at a time.
+ * @netui:tag name="divPanel"
+ * description="A divPanel is an placeholder which may contain multiple sections. Only a single section will be visible at a time."
+ */
+public class DivPanel extends AbstractClassicTag
+{
+ private String _tagId;
+ private String _firstPage;
+ private String _dataSource = null; // The name of the tree.
+ private DivTag.State _divState = new DivTag.State();
+
+ private final String JAVASCRIPT_CLASS = "NetUIDivPanel";
+
+ public static final String DIVPANEL_JAVASCRIPT_ATTR = "netui-div-panel";
+ public static final String DIVPANEL_FIRST_PAGE = "netui-div-panel-first";
+
+ public static final String DIVPANEL_DIV_ID = "netui_divpanel_";
+
+ public static String getCurrentPage(ServletRequest req, String tagId)
+ {
+ String reqId = DIVPANEL_DIV_ID + tagId;
+ String page = req.getParameter(reqId);
+ return page;
+ }
+
+ /**
+ * Returns the name of the Tag. This is used to
+ * identify the type of tag reporting errors.
+ * @return a constant string representing the name of the tag.
+ */
+ public String getTagName()
+ {
+ return "DivPanel";
+ }
+
+ /**
+ * Sets an expression which indentifies the DivPanelState which will store the state of the
+ * DivPanel between posts to the server.
+ * @param dataSource - the tree attribute name
+ * @jsptagref.attributedescription An expression which identifies which DivPanelState object will store state between posts to the server.
+ * @jsptagref.databindable true
+ * @jsptagref.attributesyntaxvalue <i>expression</i>
+ * @netui:attribute description="Sets an expression which indentifies the DivPanelState storing the state of the
+ * DivPanel between posts."
+ */
+ public void setDataSource(String dataSource)
+ {
+ _dataSource = dataSource;
+ }
+
+ /**
+ * Set the ID of the tag.
+ * @param tagId - the tagId.
+ * @jsptagref.attributedescription Set the ID of the <div> tag
+ * @jsptagref.databindable true
+ * @jsptagref.attributesyntaxvalue <i>string_or_expression</i>
+ * @netui:attribute required="true" rtexprvalue="true"
+ * description="Set the ID of the tag."
+ */
+ public void setTagId(String tagId)
+ {
+ _tagId = tagId;
+ }
+
+ /**
+ * Set the name of the first page to display.
+ * @param firstPage - the name of the first page.
+ * @jsptagref.attributedescription Set the name of the first page to display.
+ * @jsptagref.databindable true
+ * @jsptagref.attributesyntaxvalue <i>string_or_expression</i>
+ * @netui:attribute rtexprvalue="true"
+ * description="Set the name of the first page to display."
+ */
+ public void setFirstPage(String firstPage)
+ {
+ _firstPage = firstPage;
+
+ }
+
+ /**
+ * Causes the content of the section to be rendered into a buffer.
+ * @return SKIP_BODY if the visible state is <code>false</code>,
+ * otherwise EVAL_BODY_BUFFERED to cause the body content to be buffered.
+ * @throws javax.servlet.jsp.JspException if there are errors.
+ */
+ public int doStartTag()
+ throws JspException
+ {
+ HttpServletRequest req = (HttpServletRequest) pageContext.getRequest();
+
+ // if there was a dataSource defined we need to get it based upon the expression
+ // if the variable comes back null, we then create a DivPanelState and set it back
+ // to the property referred to by the expression.
+ DivPanelState state = null;
+ if (_dataSource != null) {
+ ExpressionHandling _expr;
+ _expr = new ExpressionHandling(this);
+ try {
+ state = getState(_expr);
+ }
+ catch (IllegalExpressionException iee) {
+ String s = Bundle.getString("TreeRootError", new Object[]{_dataSource, iee.getMessage()});
+ registerTagError(s, null);
+ return SKIP_BODY;
+ }
+ if (hasErrors())
+ reportAndExit(SKIP_BODY);
+
+ // if we got here and the state is null then create a new divPanel, and push it back on
+ // the expression
+ if (state == null) {
+ try {
+ state = new DivPanelState();
+ String datasource = "{" + _dataSource + "}";
+ _expr.updateExpression(datasource, state, pageContext);
+ }
+ catch (ExpressionUpdateException e) {
+ String s = Bundle.getString("Tags_UnableToWriteTree", new Object[]{_dataSource, e.getMessage()});
+ registerTagError(s, null);
+ reportErrors();
+ return SKIP_BODY;
+ }
+
+ if (hasErrors())
+ reportAndExit(SKIP_BODY);
+
+ // name the divPanel so we can post state back to this state object.
+ NameService ns = NameService.instance(pageContext.getSession());
+ ns.nameObject("DivPanel", state);
+ ns.put(state);
+ }
+ }
+
+ WriteRenderAppender writer = new WriteRenderAppender(pageContext);
+
+ // verify hat we are in a container with run at client on...
+ IScriptReporter sr = getScriptReporter();
+ ScriptRequestState srs = ScriptRequestState.getScriptRequestState(req);
+ if (!srs.isFeatureWritten(CoreScriptFeature.DYNAMIC_INIT)) {
+ String s = Bundle.getString("Tags_DivPanelHtmlRunAtClient", null);
+ registerTagError(s, null);
+ reportAndExit(SKIP_BODY);
+ }
+ srs.writeFeature(sr, writer, CoreScriptFeature.DIVPANEL_INIT, true, false, null);
+
+ // figure out if there is a page to render
+ String page = _firstPage;
+ if (state != null) {
+ String fp = state.getFirstPage();
+ if (fp != null)
+ page = fp;
+ }
+
+ if (hasErrors())
+ reportAndExit(EVAL_BODY_INCLUDE);
+
+ _divState.id = this.getIdForTagId(_tagId);
+ _divState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, DIVPANEL_JAVASCRIPT_ATTR, "true");
+ if (page != null)
+ _divState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, DIVPANEL_FIRST_PAGE, page);
+ if (state != null)
+ _divState.registerAttribute(AbstractHtmlState.ATTR_GENERAL, "netui:divName", state.getObjectName());
+
+ TagRenderingBase divRenderer = TagRenderingBase.Factory.getRendering(TagRenderingBase.DIV_TAG, req);
+ divRenderer.doStartTag(writer, _divState);
+ return EVAL_BODY_INCLUDE;
+ }
+
+ /**
+ * Stores the buffered body content into the <code>TEMPLATE_SECTIONS
+ * HashMap</code>. The buffered body is
+ * accessed by the template page to obtain
+ * the content for <code>IncludeSection</code> tags.
+ * @return EVAL_PAGE to continue evaluating the page.
+ * @throws JspException on error.
+ */
+ public int doEndTag()
+ throws JspException
+ {
+ HttpServletRequest req = (HttpServletRequest) pageContext.getRequest();
+ if (!hasErrors()) {
+ WriteRenderAppender writer = new WriteRenderAppender(pageContext);
+ TagRenderingBase divRenderer = TagRenderingBase.Factory.getRendering(TagRenderingBase.DIV_TAG, req);
+ divRenderer.doEndTag(writer);
+ }
+ localRelease();
+ return EVAL_PAGE;
+ }
+
+ protected void localRelease()
+ {
+ super.localRelease();
+ _tagId = null;
+ _divState.clear();
+ _firstPage = null;
+ _dataSource = null;
+ }
+
+ /**
+ */
+ protected DivPanelState getState(ExpressionHandling expr)
+ throws JspException
+ {
+ String datasource = "{" + _dataSource + "}";
+ Object state = expr.evaluateExpression(datasource, "dataSource", pageContext);
+ if (state == null || hasErrors()) {
+ return null;
+ }
+
+ if (!(state instanceof DivPanelState)) {
+ String s = Bundle.getString("Tags_DivPanelInvalidAttribute", _dataSource);
+ registerTagError(s, null);
+ return null;
+ }
+ return (DivPanelState) state;
+ }
+}
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java Mon May 2 10:24:30 2005
@@ -108,7 +108,6 @@
* <pre>
* <netui:anchor formSubmit="true" onClick="SubmitFromAnchor(); return false;">Submit</netui:anchor></pre>
* @netui:tag name="anchor" description="Generates a URL-encoded hyperlink to a specified URI."
- * @netui.tldx:tag renderer="workshop.netui.jspdesigner.tldx.AnchorRenderer" whitespace="indent"
* @see Attribute
* @see java.lang.String
*/
@@ -143,7 +142,6 @@
* @jsptagref.attributesyntaxvalue <i>string_onClick</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The onClick JavaScript event."
- * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event"
*/
public void setOnClick(String onclick)
{
@@ -180,7 +178,6 @@
* @jsptagref.attributesyntaxvalue <i>string_linkName</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="An internal place on the page to go to."
- * @netui.tldx:attribute
*/
public void setLinkName(String linkName)
throws JspException
@@ -196,7 +193,6 @@
* @jsptagref.attributesyntaxvalue <i>string_charset</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The character set."
- * @netui.tldx:attribute category="misc"
*/
public void setCharSet(String charSet)
{
@@ -211,7 +207,6 @@
* @jsptagref.attributesyntaxvalue <i>string_type</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The type."
- * @netui.tldx:attribute category="misc"
*/
public void setType(String type)
{
@@ -226,7 +221,6 @@
* @jsptagref.attributesyntaxvalue <i>string_hreflang</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The HREF lang."
- * @netui.tldx:attribute category="misc"
*/
public void setHrefLang(String hreflang)
{
@@ -241,7 +235,6 @@
* @jsptagref.attributesyntaxvalue <i>string_rel</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The rel."
- * @netui.tldx:attribute category="misc"
*/
public void setRel(String rel)
{
@@ -256,7 +249,6 @@
* @jsptagref.attributesyntaxvalue <i>string_rev</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The rev."
- * @netui.tldx:attribute category="misc"
*/
public void setRev(String rev)
{
@@ -272,7 +264,6 @@
* @jsptagref.attributesyntaxvalue <i>string_action</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The window target."
- * @netui.tldx:attribute category="misc"
*/
public void setTarget(String target)
{
@@ -288,7 +279,6 @@
* @jsptagref.attributesyntaxvalue <i>string_value</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="Set the text of the anchor overriding the body content"
- * @netui.tldx:attribute category="misc"
*/
public void setValue(String value)
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/AnchorBase.java Mon May 2 10:24:30 2005
@@ -74,7 +74,6 @@
* @jsptagref.attributesyntaxvalue <i>string_shape</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The shape."
- * @netui.tldx:attribute category="misc"
*/
public void setShape(String shape)
{
@@ -89,7 +88,6 @@
* @jsptagref.attributesyntaxvalue <i>string_coordinates</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The coordinates."
- * @netui.tldx:attribute category="misc"
*/
public void setCoords(String coords)
{
@@ -105,7 +103,6 @@
* @jsptagref.attributesyntaxvalue <i>string_action</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The action method to invoke. The action method must be in the Controller file of the Page Flow directory."
- * @netui.tldx:attribute reftype="netui-action-url" category="general"
*/
public void setAction(String action)
throws JspException
@@ -121,7 +118,6 @@
* @jsptagref.attributesyntaxvalue <i>string_href</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The URL to go to."
- * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.URIPropertyClass"
* reftype="url"
*/
public void setHref(String href)
@@ -138,7 +134,6 @@
* @jsptagref.attributesyntaxvalue <i>string_location</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="Location within the URI to visit."
- * @netui.tldx:attribute
*/
public void setLocation(String location)
{
@@ -154,7 +149,6 @@
* @jsptagref.attributesyntaxvalue <i>string_targetScope</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The target scope in which the associated action's page flow resides"
- * @netui.tldx:attribute category="general"
*/
public void setTargetScope(String targetScope)
{
@@ -175,7 +169,6 @@
* is within a <netui:form> tag,
* then the form data will be submitted to the method named in the
* <netui:form> tag's action attribute."
- * @netui.tldx:attribute
*/
public void setFormSubmit(boolean formSubmit)
{
@@ -191,7 +184,6 @@
* @jsptagref.attributesyntaxvalue <i>boolean_popup</i>
* @netui:attribute required="false" rtexprvalue="true" type="boolean"
* description="If popup is set to true, the anchor will open a popup window.
- * @netui.tldx:attribute
*/
public void setPopup(boolean popup)
{
@@ -208,7 +200,6 @@
* @jsptagref.attributesyntaxvalue <i>boolean_disableSecondClick</i>
* @netui:attribute required="false" rtexprvalue="true" type="boolean"
* description="When true, this anchor will disable itself after being clicked."
- * @netui.tldx:attribute
*/
public void setDisableSecondClick(boolean disableSecondClick)
{
@@ -226,7 +217,6 @@
* @netui:attribute required="false" rtexprvalue="true" type="int"
* description="The tabIndex of the rendered HTML tag. This attribute determines the position of the
* rendered HTML tag in the sequence of tags that the user may advance through by pressing the TAB key."
- * @netui.tldx:attribute category="misc"
*/
public void setTabindex(int tabindex)
{
@@ -251,7 +241,6 @@
* The following values are not recommended because they
* are often used by browsers: A, C, E, F, G,
* H, V, left arrow, and right arrow."
- * @netui.tldx:attribute category="misc"
*/
public void setAccessKey(char accessKey)
{
@@ -268,7 +257,6 @@
* @jsptagref.attributesyntaxvalue <i>string_onBlur</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The onBlur JavaScript event."
- * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event"
*/
public void setOnBlur(String onblur)
{
@@ -283,7 +271,6 @@
* @jsptagref.attributesyntaxvalue <i>string_onFocus</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The onFocus JavaScript event."
- * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event"
*/
public void setOnFocus(String onfocus)
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Area.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Area.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Area.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Area.java Mon May 2 10:24:30 2005
@@ -1,100 +1,98 @@
-package org.apache.beehive.netui.tags.html;
-
-import org.apache.beehive.netui.tags.ByRef;
-import org.apache.beehive.netui.tags.rendering.AbstractHtmlState;
-import org.apache.beehive.netui.tags.rendering.TagRenderingBase;
-import org.apache.beehive.netui.tags.rendering.WriteRenderAppender;
-
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.jsp.JspException;
-
-/**
- * @jsptagref.tagdescription
- * Generates a URL-encoded area to a specified URI.
- * @netui:tag name="area" description="Generates a URL-encoded area to a specified URI."
- * @netui.tldx:tag renderer="workshop.netui.jspdesigner.tldx.AreaRenderer" whitespace="indent"
- * @see Attribute
- * @see java.lang.String
- */
-public class Area extends AnchorBase
-{
- protected static final String REQUIRED_ATTR = "tagId, href, action";
-
- /**
- * Returns the name of the Tag.
- */
- public String getTagName()
- {
- return "Area";
- }
-
- /**
- * This method will return the state associated with the tag. This is used by this
- * base class to access the individual state objects created by the tags.
- * @return a subclass of the <code>AbstractHtmlState</code> class.
- */
- public AbstractHtmlState getState()
- {
- return _state;
- }
-
- /**
- * Sets the property to specify the alt text of the image.
- * @param alt - the image alignment.
- * @jsptagref.attributedescription The alternative text of the image
- * @jsptagref.databindable Read Only
- * @jsptagref.attributesyntaxvalue <i>string_alt</i>
- * @netui:attribute required="false" rtexprvalue="true"
- * description="The alternative text of the image."
- * @netui.tldx:attribute
- */
- public void setAlt(String alt)
- {
- _state.registerAttribute(AbstractHtmlState.ATTR_GENERAL, ALT, alt, true);
- }
-
- /**
- * Prepare the hyperlink for rendering
- * @throws javax.servlet.jsp.JspException if a JSP exception has occurred
- */
- public int doStartTag() throws JspException
- {
- if (hasErrors())
- return SKIP_BODY;
- return EVAL_BODY_BUFFERED;
- }
-
- /**
- * Render the hyperlink.
- * @throws JspException if a JSP exception has occurred
- */
- public int doEndTag() throws JspException
- {
- // report errors that may have occurred when the required attributes are being set
- if (hasErrors())
- return reportAndExit(EVAL_PAGE);
-
- // build the anchor into the results
- ByRef script = new ByRef();
-
- WriteRenderAppender writer = new WriteRenderAppender(pageContext);
- HttpServletRequest request = (HttpServletRequest) pageContext.getRequest();
- TagRenderingBase trb = TagRenderingBase.Factory.getRendering(TagRenderingBase.AREA_TAG, request);
-
- if (!createAnchorBeginTag(request, script, trb, writer, REQUIRED_ATTR)) {
- if (!script.isNull())
- write(script.getRef().toString());
- return reportAndExit(EVAL_PAGE);
- }
-
- assert(trb != null) : "trb is null";
- trb.doEndTag(writer);
-
- if (!script.isNull())
- write(script.getRef().toString());
-
- // Render the remainder to the output stream
- localRelease();
- return EVAL_PAGE;
- }
-}
+package org.apache.beehive.netui.tags.html;
+
+import org.apache.beehive.netui.tags.ByRef;
+import org.apache.beehive.netui.tags.rendering.AbstractHtmlState;
+import org.apache.beehive.netui.tags.rendering.TagRenderingBase;
+import org.apache.beehive.netui.tags.rendering.WriteRenderAppender;
+
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.jsp.JspException;
+
+/**
+ * @jsptagref.tagdescription
+ * Generates a URL-encoded area to a specified URI.
+ * @netui:tag name="area" description="Generates a URL-encoded area to a specified URI."
+ * @see Attribute
+ * @see java.lang.String
+ */
+public class Area extends AnchorBase
+{
+ protected static final String REQUIRED_ATTR = "tagId, href, action";
+
+ /**
+ * Returns the name of the Tag.
+ */
+ public String getTagName()
+ {
+ return "Area";
+ }
+
+ /**
+ * This method will return the state associated with the tag. This is used by this
+ * base class to access the individual state objects created by the tags.
+ * @return a subclass of the <code>AbstractHtmlState</code> class.
+ */
+ public AbstractHtmlState getState()
+ {
+ return _state;
+ }
+
+ /**
+ * Sets the property to specify the alt text of the image.
+ * @param alt - the image alignment.
+ * @jsptagref.attributedescription The alternative text of the image
+ * @jsptagref.databindable Read Only
+ * @jsptagref.attributesyntaxvalue <i>string_alt</i>
+ * @netui:attribute required="false" rtexprvalue="true"
+ * description="The alternative text of the image."
+ */
+ public void setAlt(String alt)
+ {
+ _state.registerAttribute(AbstractHtmlState.ATTR_GENERAL, ALT, alt, true);
+ }
+
+ /**
+ * Prepare the hyperlink for rendering
+ * @throws javax.servlet.jsp.JspException if a JSP exception has occurred
+ */
+ public int doStartTag() throws JspException
+ {
+ if (hasErrors())
+ return SKIP_BODY;
+ return EVAL_BODY_BUFFERED;
+ }
+
+ /**
+ * Render the hyperlink.
+ * @throws JspException if a JSP exception has occurred
+ */
+ public int doEndTag() throws JspException
+ {
+ // report errors that may have occurred when the required attributes are being set
+ if (hasErrors())
+ return reportAndExit(EVAL_PAGE);
+
+ // build the anchor into the results
+ ByRef script = new ByRef();
+
+ WriteRenderAppender writer = new WriteRenderAppender(pageContext);
+ HttpServletRequest request = (HttpServletRequest) pageContext.getRequest();
+ TagRenderingBase trb = TagRenderingBase.Factory.getRendering(TagRenderingBase.AREA_TAG, request);
+
+ if (!createAnchorBeginTag(request, script, trb, writer, REQUIRED_ATTR)) {
+ if (!script.isNull())
+ write(script.getRef().toString());
+ return reportAndExit(EVAL_PAGE);
+ }
+
+ assert(trb != null) : "trb is null";
+ trb.doEndTag(writer);
+
+ if (!script.isNull())
+ write(script.getRef().toString());
+
+ // Render the remainder to the output stream
+ localRelease();
+ return EVAL_PAGE;
+ }
+}
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Attribute.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Attribute.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Attribute.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Attribute.java Mon May 2 10:24:30 2005
@@ -45,9 +45,6 @@
*
* <pre> <netui:attribute name="a" value="{pageFlow.aAttributeValue}" /></pre>
* @netui:tag name="attribute" body-content="empty" description="Add an attribute to the parent tag which be rendered."
- * @netui.tldx:tag renderer="workshop.netui.jspdesigner.tldx.AttributeRenderer"
- * bodycontentpref="empty" whitespace="indent"
- * requiredparent="data:anchorColumn data:imageColumn data:literalColumn"
*/
public class Attribute extends AbstractSimpleTag
{
@@ -71,7 +68,6 @@
* @jsptagref.attributesyntaxvalue <i>string_name</i>
* @netui:attribute required="true" rtexprvalue="true"
* description="The name of the attribute to add to the parent tag."
- * @netui.tldx:attribute
*/
public void setName(String name)
throws JspException
@@ -87,7 +83,6 @@
* @jsptagref.attributesyntaxvalue <i>string_or_expression_value</i>
* @netui:attribute required="true" rtexprvalue="true"
* description="The value of the attribute to add to the parent tag."
- * @netui.tldx:attribute
*/
public void setValue(String value)
{
@@ -99,7 +94,6 @@
* @param facet - the value of the <code>facet</code> attribute.
* @netui:attribute rtexprvalue="true"
* description="The name of the facet targetted by the attribute."
- * @netui.tldx:attribute
*/
public void setFacet(String facet)
throws JspException
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Base.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Base.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Base.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Base.java Mon May 2 10:24:30 2005
@@ -45,7 +45,6 @@
* </head>
* </pre>
* @netui:tag name="base" body-content="scriptless" description="Provides the base for every URL on this page."
- * @netui.tldx:tag requiredchild="attribute" renderer="workshop.netui.jspdesigner.tldx.BaseRenderer" bodycontentpref="empty" whitespace="indent"
*/
public class Base extends AbstractSimpleTag
implements IAttributeConsumer, HtmlConstants
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Behavior.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Behavior.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Behavior.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Behavior.java Mon May 2 10:24:30 2005
@@ -1,118 +1,113 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * 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.
- *
- * $Header:$
- */
-package org.apache.beehive.netui.tags.html;
-
-import org.apache.beehive.netui.tags.AbstractSimpleTag;
-import org.apache.beehive.netui.tags.IBehaviorConsumer;
-import org.apache.beehive.netui.util.Bundle;
-
-import javax.servlet.jsp.JspException;
-import javax.servlet.jsp.tagext.JspTag;
-import javax.servlet.jsp.tagext.SimpleTagSupport;
-
-/**
- * @jsptagref.tagdescription Add an attribute to the parent tag rendered.
- * @netui:tag name="behavior" body-content="empty" description="Add an attribute to the parent tag rendered."
- * @netui.tldx:tag renderer="workshop.netui.jspdesigner.tldx.AttributeRenderer"
- * bodycontentpref="empty" whitespace="indent"
- */
-public class Behavior extends AbstractSimpleTag
-{
- private String _name = null;
- private Object _value = null;
- private String _facet = null;
-
- /**
- * Return the name of the Tag.
- */
- public String getTagName() {
- return "Behavior";
- }
-
- /**
- * Sets the <code>name</code> behavior.
- * @param name - the value of the <code>name</code> behavior.
- * @jsptagref.attributedescription The name of the behavior to add to the parent tag.
- * @jsptagref.databindable false
- * @jsptagref.attributesyntaxvalue <i>string_name</i>
- * @netui:attribute required="true" rtexprvalue="true"
- * description="The name of the behavior to add to the parent tag."
- * @netui.tldx:attribute
- */
- public void setName(String name)
- throws JspException
- {
- _name = setRequiredValueAttribute(name, "name");
- }
-
- /**
- * Sets the <code>value</code> behavior.
- * @param value - the value of the <code>name</code> behavior.
- * @jsptagref.attributedescription The value of the behavior to add to the parent tag.
- * @jsptagref.databindable true
- * @jsptagref.attributesyntaxvalue <i>string_or_expression_value</i>
- * @netui:attribute required="true" rtexprvalue="true"
- * description="The value of the behavior to add to the parent tag."
- * @netui.tldx:attribute
- */
- public void setValue(Object value)
- {
- _value = value;
- }
-
- /**
- * Sets the <code>facet</code> behavior.
- * @param facet - the value of the <code>facet</code> attribute.
- * @jsptagref.attributedescription The name of the facet targetted by the behavior.
- * @jsptagref.databindable true
- * @jsptagref.attributesyntaxvalue <i>string_or_expression_value</i>
- * @netui:attribute rtexprvalue="true"
- * description="The name of the facet targetted by the behavior."
- * @netui.tldx:attribute
- */
- public void setFacet(String facet)
- throws JspException
- {
- _facet = setRequiredValueAttribute(facet, "facet");
- }
-
- /**
- * Add the name/value pair to the IBehaviorConsumer parent of the tag.
- * @throws JspException if a JSP exception has occurred
- */
- public void doTag()
- throws JspException
- {
- if (hasErrors()) {
- reportErrors();
- return;
- }
-
- JspTag tag = SimpleTagSupport.findAncestorWithClass(this, IBehaviorConsumer.class);
- if (tag == null) {
- String s = Bundle.getString("Tags_BehaviorInvalidParent");
- registerTagError(s, null);
- reportErrors();
- return;
- }
-
- IBehaviorConsumer ac = (IBehaviorConsumer) tag;
- ac.setBehavior(_name, _value, _facet);
- return;
- }
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * 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.
+ *
+ * $Header:$
+ */
+package org.apache.beehive.netui.tags.html;
+
+import org.apache.beehive.netui.tags.AbstractSimpleTag;
+import org.apache.beehive.netui.tags.IBehaviorConsumer;
+import org.apache.beehive.netui.util.Bundle;
+
+import javax.servlet.jsp.JspException;
+import javax.servlet.jsp.tagext.JspTag;
+import javax.servlet.jsp.tagext.SimpleTagSupport;
+
+/**
+ * @jsptagref.tagdescription Add an attribute to the parent tag rendered.
+ * @netui:tag name="behavior" body-content="empty" description="Add an attribute to the parent tag rendered."
+ */
+public class Behavior extends AbstractSimpleTag
+{
+ private String _name = null;
+ private Object _value = null;
+ private String _facet = null;
+
+ /**
+ * Return the name of the Tag.
+ */
+ public String getTagName() {
+ return "Behavior";
+ }
+
+ /**
+ * Sets the <code>name</code> behavior.
+ * @param name - the value of the <code>name</code> behavior.
+ * @jsptagref.attributedescription The name of the behavior to add to the parent tag.
+ * @jsptagref.databindable false
+ * @jsptagref.attributesyntaxvalue <i>string_name</i>
+ * @netui:attribute required="true" rtexprvalue="true"
+ * description="The name of the behavior to add to the parent tag."
+ */
+ public void setName(String name)
+ throws JspException
+ {
+ _name = setRequiredValueAttribute(name, "name");
+ }
+
+ /**
+ * Sets the <code>value</code> behavior.
+ * @param value - the value of the <code>name</code> behavior.
+ * @jsptagref.attributedescription The value of the behavior to add to the parent tag.
+ * @jsptagref.databindable true
+ * @jsptagref.attributesyntaxvalue <i>string_or_expression_value</i>
+ * @netui:attribute required="true" rtexprvalue="true"
+ * description="The value of the behavior to add to the parent tag."
+ */
+ public void setValue(Object value)
+ {
+ _value = value;
+ }
+
+ /**
+ * Sets the <code>facet</code> behavior.
+ * @param facet - the value of the <code>facet</code> attribute.
+ * @jsptagref.attributedescription The name of the facet targetted by the behavior.
+ * @jsptagref.databindable true
+ * @jsptagref.attributesyntaxvalue <i>string_or_expression_value</i>
+ * @netui:attribute rtexprvalue="true"
+ * description="The name of the facet targetted by the behavior."
+ */
+ public void setFacet(String facet)
+ throws JspException
+ {
+ _facet = setRequiredValueAttribute(facet, "facet");
+ }
+
+ /**
+ * Add the name/value pair to the IBehaviorConsumer parent of the tag.
+ * @throws JspException if a JSP exception has occurred
+ */
+ public void doTag()
+ throws JspException
+ {
+ if (hasErrors()) {
+ reportErrors();
+ return;
+ }
+
+ JspTag tag = SimpleTagSupport.findAncestorWithClass(this, IBehaviorConsumer.class);
+ if (tag == null) {
+ String s = Bundle.getString("Tags_BehaviorInvalidParent");
+ registerTagError(s, null);
+ reportErrors();
+ return;
+ }
+
+ IBehaviorConsumer ac = (IBehaviorConsumer) tag;
+ ac.setBehavior(_name, _value, _facet);
+ return;
+ }
+}
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/BindingUpdateErrors.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/BindingUpdateErrors.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/BindingUpdateErrors.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/BindingUpdateErrors.java Mon May 2 10:24:30 2005
@@ -48,7 +48,6 @@
* will be displayed on the page and the command window. </p>
* <pre><netui:bindingUpdateErrors expression="{actionForm.firstName}"/></pre>
* @netui:tag name="bindingUpdateErrors" body-content="empty" description="Will display a message for all binding update errors that occurred when a form was posted."
- * @netui.tldx:tag requiredchild="#nothing" renderer="workshop.netui.jspdesigner.tldx.BindingUpdateErrorsRenderer" bodycontentpref="empty" whitespace="indent"
*/
public class BindingUpdateErrors extends AbstractSimpleTag
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Body.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Body.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Body.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Body.java Mon May 2 10:24:30 2005
@@ -32,7 +32,6 @@
* Renders an HTML <body> tag with the attributes specified.
* </p>
* @netui:tag name="body" description="Output the <body> container. This tag allows the NetUI framework to output script and errors before the page is finished rendering."
- * @netui.tldx:tag renderer="workshop.netui.jspdesigner.tldx.BodyRenderer" whitespace="indent"
*/
public class Body extends HtmlBaseTag
{
@@ -67,7 +66,6 @@
* @jsptagref.attributesyntaxvalue <i>string_onLoad</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The onLoad JavaScript event."
- * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event"
*/
public void setOnLoad(String onload)
{
@@ -82,7 +80,6 @@
* @jsptagref.attributesyntaxvalue <i>string_onUnload</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The onLoad JavaScript event."
- * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event"
*/
public void setOnUnload(String onunload)
{
@@ -97,7 +94,6 @@
* @jsptagref.attributesyntaxvalue <i>string_background</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The background image of the page."
- * @netui.tldx:attribute category="misc"
*/
public void setBackground(String background)
{
@@ -112,7 +108,6 @@
* @jsptagref.attributesyntaxvalue <i>string_bgcolor</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The background color of the page."
- * @netui.tldx:attribute category="misc"
*/
public void setBgcolor(String bgcolor)
{
@@ -127,7 +122,6 @@
* @jsptagref.attributesyntaxvalue <i>string_text</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The foreground text color of the page."
- * @netui.tldx:attribute category="misc"
*/
public void setText(String text)
{
@@ -142,7 +136,6 @@
* @jsptagref.attributesyntaxvalue <i>string_link</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The color of text marking unvisited hypertext links of the page."
- * @netui.tldx:attribute category="misc"
*/
public void setLink(String link)
{
@@ -157,7 +150,6 @@
* @jsptagref.attributesyntaxvalue <i>string_vlink</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The color of text marking visited hypertext links of the page."
- * @netui.tldx:attribute category="misc"
*/
public void setVlink(String vlink)
{
@@ -172,7 +164,6 @@
* @jsptagref.attributesyntaxvalue <i>string_alink</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The color of text marking hypertext links when selected by the user."
- * @netui.tldx:attribute category="misc"
*/
public void setAlink(String alink)
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Button.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Button.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Button.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Button.java Mon May 2 10:24:30 2005
@@ -66,7 +66,6 @@
* <netui:button value="Submit" type="submit"/>
* </netui:form></pre>
* @netui:tag name="button" description="Create a button on your JSP page."
- * @netui.tldx:tag requiredchild="parameter parameterMap, attribute" renderer="workshop.netui.jspdesigner.tldx.ButtonRenderer" bodycontentpref="empty" whitespace="indent"
*/
public class Button
extends HtmlFocusBaseTag
@@ -132,7 +131,6 @@
* @netui:attribute required="false" rtexprvalue="true"
* description="The action method invoked. The value of this attribute will override
* the action attribute of the parent <netui:form> tag."
- * @netui.tldx:attribute reftype="netui-action-url"
*/
public void setAction(String action)
throws JspException
@@ -149,7 +147,6 @@
* @jsptagref.attributesyntaxvalue <i>string_targetScope</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The target scope in which the associated action's page flow resides"
- * @netui.tldx:attribute category="general"
*/
public void setTargetScope(String targetScope)
{
@@ -186,7 +183,6 @@
* @jsptagref.attributesyntaxvalue <i>string_value</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The text displayed by the rendered HTML button."
- * @netui.tldx:attribute
*/
public void setValue(String value)
throws JspException
@@ -203,7 +199,6 @@
* @jsptagref.attributesyntaxvalue <i>boolean_popup</i>
* @netui:attribute required="false" rtexprvalue="true" type="boolean"
* description="If popup is set to true, the button will open a popup window."
- * @netui.tldx:attribute
*/
public void setPopup(boolean popup)
{
@@ -219,7 +214,6 @@
* @jsptagref.attributesyntaxvalue <i>boolean_disableSecondClick</i>
* @netui:attribute required="false" rtexprvalue="true" type="boolean"
* description="When true, this button will disable itself before submitting."
- * @netui.tldx:attribute
*/
public void setDisableSecondClick(boolean disableSecondClick)
{
@@ -490,7 +484,6 @@
* The following values are not recommended because they
* are often used by browsers: A, C, E, F, G,
* H, V, left arrow, and right arrow"
- * @netui.tldx:attribute category="misc"
*/
public void setAccessKey(char accessKey)
{
@@ -507,7 +500,6 @@
* @jsptagref.attributesyntaxvalue <i>string_alt</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The alt attribute of the element."
- * @netui.tldx:attribute category="misc"
*/
public void setAlt(String alt)
{
@@ -524,7 +516,6 @@
* @netui:attribute required="false" rtexprvalue="true" type="int"
* description="The tabIndex of the rendered HTML tag. This attribute determines the position of the
* tag in the sequence of page elements that the user may advance through by pressing the TAB key."
- * @netui.tldx:attribute category="misc"
*/
public void setTabindex(int tabindex)
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java Mon May 2 10:24:30 2005
@@ -76,9 +76,6 @@
* <netui:button value="Submit" type="submit"/>
* </netui:form></pre>
* @netui:tag name="checkBox" description="Generates a checkbox that binds to a form bean property or databound expression."
- * @netui.tldx:tag requiredchild="attribute" renderer="workshop.netui.jspdesigner.tldx.CheckboxRenderer"
- * bodycontentpref="empty" whitespace="indent"
- * illegalancestor="checkBoxGroup"
*/
public class CheckBox
extends HtmlDefaultableDataSourceTag
@@ -352,7 +349,6 @@
* The following values are not recommended because they
* are often used by browsers: A, C, E, F, G,
* H, V, left arrow, and right arrow"
- * @netui.tldx:attribute category="misc"
*/
public void setAccessKey(char accessKey)
{
@@ -369,7 +365,6 @@
* @jsptagref.attributesyntaxvalue <i>string_alt</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The alt attribute of the element."
- * @netui.tldx:attribute category="misc"
*/
public void setAlt(String alt)
{
@@ -386,7 +381,6 @@
* @netui:attribute required="false" rtexprvalue="true" type="int"
* description="The tabIndex of the rendered HTML tag. This attribute determines the position of the
* tag in the sequence of page elements that the user may advance through by pressing the TAB key."
- * @netui.tldx:attribute category="misc"
*/
public void setTabindex(int tabindex)
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBoxGroup.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBoxGroup.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBoxGroup.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBoxGroup.java Mon May 2 10:24:30 2005
@@ -135,8 +135,6 @@
* <input type="checkbox" value="White">White</input>
* <input type="checkbox" value="Black">Black</input></pre>
* @netui:tag name="checkBoxGroup" description="Groups a collection of CheckBoxOptions, and handles databinding of their values."
- * @netui.tldx:tag whitespace="indent"
- * renderer="workshop.netui.jspdesigner.tldx.CheckboxGroupRenderer"
*/
public class CheckBoxGroup
extends HtmlGroupBaseTag
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBoxOption.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBoxOption.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBoxOption.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBoxOption.java Mon May 2 10:24:30 2005
@@ -48,11 +48,6 @@
* <netui:button value="Submit" type="submit"/>
* </netui:form></pre>
* @netui:tag name="checkBoxOption" description="A checkbox whose state is determined by its enclosing CheckBoxGroup."
- * @netui.tldx:tag requiredparent="checkBoxGroup"
- * whitespace="indent"
- * renderer="workshop.netui.jspdesigner.tldx.CheckboxOptionRenderer"
- * description=""
- * @netui.tldx:tag
*/
public class CheckBoxOption extends HtmlFocusBaseTag
implements IHtmlAccessable
@@ -113,7 +108,6 @@
* @jsptagref.attributesyntaxvalue <i>string_label</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The style of the text displayed by the rendered checkbox."
- * @netui.tldx:attribute category="format" propertyclass="workshop.jspdesigner.properties.JspStyleProperty"
*/
public void setLabelStyle(String labelStyle)
{
@@ -129,7 +123,6 @@
* @jsptagref.attributesyntaxvalue <i>string_class</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The class of the text displayed by the rendered checkbox."
- * @netui.tldx:attribute category="format"
*/
public void setLabelStyleClass(String labelStyleClass)
{
@@ -146,7 +139,6 @@
* @netui:attribute required="false" rtexprvalue="true"
* description="A String literal or a data binding expression. The value attribute determines the value submitted
* by the checkbox."
- * @netui.tldx:attribute
*/
public void setValue(Object value)
throws JspException
@@ -162,7 +154,6 @@
* @param defaultValue - the default value
* @netui:attribute required="false" rtexprvalue="true"
* description="Sets the default value."
- * @netui.tldx:attribute
*/
public void setDefaultValue(boolean defaultValue)
throws JspException
@@ -335,7 +326,6 @@
* The following values are not recommended because they
* are often used by browsers: A, C, E, F, G,
* H, V, left arrow, and right arrow"
- * @netui.tldx:attribute category="misc"
*/
public void setAccessKey(char accessKey)
{
@@ -350,7 +340,6 @@
* @jsptagref.attributesyntaxvalue <i>string_alt</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The alt attribute of the element."
- * @netui.tldx:attribute category="misc"
*/
public void setAlt(String alt)
{
@@ -367,7 +356,6 @@
* @netui:attribute required="false" rtexprvalue="true" type="int"
* description="The tabIndex of the rendered HTML tag. This attribute determines the position of the
* tag in the sequence of page elements that the user may advance through by pressing the TAB key."
- * @netui.tldx:attribute category="misc"
*/
public void setTabindex(int tabindex)
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ConfigurePopup.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ConfigurePopup.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ConfigurePopup.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ConfigurePopup.java Mon May 2 10:24:30 2005
@@ -37,10 +37,6 @@
* </netui:configurePopup>
* </netui:anchor></pre>
* @netui:tag name="configurePopup" description="Configures popup window parameters for parent tags that can open popup windows."
- * @netui.tldx:tag requiredparent="anchor button form image imageAnchor data:anchorColumn"
- * requiredchild="#nothing"
- * bodycontentpref="empty"
- * whitespace="indent"
*/
public class ConfigurePopup
extends AbstractClassicTag
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Content.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Content.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Content.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Content.java Mon May 2 10:24:30 2005
@@ -61,7 +61,6 @@
* <netui:content value="${actionForm.lastName}"/>
* </pre>
* @netui:tag name="content" body-content="empty" description="Used to display text or the result of an expression to the page."
- * @netui.tldx:tag requiredchild="#nothing" renderer="workshop.netui.jspdesigner.tldx.ContentRenderer" bodycontentpref="empty"
*/
public class Content extends AbstractSimpleTag
{
@@ -87,7 +86,6 @@
* @jsptagref.attributesyntaxvalue <i>string_or_expression_defaultOutput</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The String literal or expression to be used as the default output."
- * @netui.tldx:attribute
*/
public void setDefaultValue(String defaultValue)
throws JspException
@@ -103,7 +101,6 @@
* @jsptagref.attributesyntaxvalue <i>string_or_expression_output</i>
* @netui:attribute required="true" rtexprvalue="true" type="java.lang.Object"
* description="The String literal or expression used to output the content."
- * @netui.tldx:attribute
*/
public void setValue(Object value)
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Error.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Error.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Error.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Error.java Mon May 2 10:24:30 2005
@@ -61,7 +61,6 @@
* <pre>
* <netui:error bundleName="errorMessages" key="InvalidName"/></pre>
* @netui:tag name="error" body-content="empty" description="Renders an error message with a given error key."
- * @netui.tldx:tag requiredchild="#nothing" renderer="workshop.netui.jspdesigner.tldx.ErrorRenderer" bodycontentpref="empty" whitespace="indent"
*/
public class Error extends ErrorBaseTag
{
@@ -83,7 +82,6 @@
* @jsptagref.attributesyntaxvalue <i>string_or_expression_key</i>
* @netui:attribute required="true" rtexprvalue="true"
* description="The key under which the error was stored (often the name of the form bean property associated with the error)"
- * @netui.tldx:attribute
*/
public void setKey(String key)
throws JspException
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Errors.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Errors.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Errors.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Errors.java Mon May 2 10:24:30 2005
@@ -69,7 +69,6 @@
* <pre>
* <netui:errors bundleName="errorMessages" /></pre>
* @netui:tag name="errors" body-content="empty" description="Used to report multiple validation errors."
- * @netui.tldx:tag requiredchild="#nothing" renderer="workshop.netui.jspdesigner.tldx.ErrorsRenderer" bodycontentpref="empty" whitespace="indent"
*/
public class Errors extends ErrorBaseTag
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Exceptions.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Exceptions.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Exceptions.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Exceptions.java Mon May 2 10:24:30 2005
@@ -38,7 +38,6 @@
* but not the stacktraces.
* <pre><netui:exceptions showMessage="true" showStackTrace="false" /></pre>
* @netui:tag name="exceptions" body-content="empty" description="Displays formatted exception messages."
- * @netui.tldx:tag renderer="workshop.netui.jspdesigner.tldx.ExceptionsRenderer" bodycontentpref="empty" whitespace="indent"
*/
public class Exceptions extends AbstractSimpleTag
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FileUpload.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FileUpload.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FileUpload.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FileUpload.java Mon May 2 10:24:30 2005
@@ -108,8 +108,6 @@
* }
* }</pre>
* @netui:tag name="fileUpload" description="Upload a file from the client to the server."
- * @netui.tldx:tag requiredchild="attribute" renderer="workshop.netui.jspdesigner.tldx.FileUploadRenderer"
- * bodycontentpref="empty" whitespace="indent"
*/
public class FileUpload extends HtmlDataSourceTag
{
@@ -179,7 +177,6 @@
* @jsptagref.attributesyntaxvalue <i>boolean_readOnly</i>
* @netui:attribute required="false" rtexprvalue="true" type="boolean"
* description="Determines whether or not the file upload field is read-only."
- * @netui.tldx:attribute category="misc"
*/
public void setReadonly(boolean readonly)
{
@@ -194,7 +191,6 @@
* @jsptagref.attributesyntaxvalue <i>integer_fieldSize</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The number of characters visible in the file upload field."
- * @netui.tldx:attribute category="misc"
*/
public void setSize(String size)
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java Mon May 2 10:24:30 2005
@@ -197,8 +197,6 @@
* <netui:button value="Submit"/>
* </netui:form></pre>
* @netui:tag name="form" description="Represents an input form, associated with a bean whose properties correspond to the various fields of the form."
- * @netui.tldx:tag renderer="workshop.netui.jspdesigner.tldx.FormRenderer" illegalancestor="form" whitespace="indent"
- * expressioninfo="workshop.netui.jspdesigner.tldx.expression.NetuiActionFormExpressionInfo"
*/
public class Form extends HtmlBaseTag
implements IUrlParams
@@ -293,7 +291,6 @@
* @jsptagref.attributesyntaxvalue <i>string_action</i>
* @netui:attribute required="true" rtexprvalue="true"
* description="The action method invoked on form submit. Form data is passed to this method."
- * @netui.tldx:attribute reftype="netui-action-url"
*/
public void setAction(String action)
throws JspException
@@ -309,7 +306,6 @@
* @jsptagref.attributesyntaxvalue <i>string_enctype</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The content encoding to be used on a POST submit."
- * @netui.tldx:attribute category="misc"
*/
public void setEnctype(String enctype)
{
@@ -366,7 +362,6 @@
* @jsptagref.attributesyntaxvalue <i>string_location</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The location hash to append to the URL."
- * @netui.tldx:attribute category="misc"
*/
public void setLocation(String location)
{
@@ -389,7 +384,6 @@
* @jsptagref.attributesyntaxvalue <i>string_method</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The request method used when submitting this form."
- * @netui.tldx:attribute category="misc"
*/
public void setMethod(String method)
throws JspException
@@ -412,7 +406,6 @@
* @netui:attribute required="false" rtexprvalue="true"
* description="The attribute key under which the associated Form Bean used to populate the input form is stored.
* This Form Bean is found in the scope defined by the scope attribute."
- * @netui.tldx:attribute category="misc"
*/
public void setBeanName(String name)
throws JspException
@@ -430,7 +423,6 @@
* @jsptagref.attributesyntaxvalue <i>string_targetScope</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The target scope in which the associated action's page flow resides"
- * @netui.tldx:attribute category="general"
*/
public void setTargetScope(String targetScope)
{
@@ -445,7 +437,6 @@
* @jsptagref.attributesyntaxvalue <i>string_onSubmit</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The JavaScript onReset event."
- * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event"
*/
public void setOnReset(String onReset)
{
@@ -460,7 +451,6 @@
* @jsptagref.attributesyntaxvalue <i>string_onSumbit</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The JavaScript onSubmit event."
- * @netui.tldx:attribute propertyclass="workshop.jspdesigner.properties.EventPropertyClass" category="event"
*/
public void setOnSubmit(String onSubmit)
{
@@ -482,7 +472,6 @@
* used to populate the form input fields is stored.
* Using the name, type and scope attributes defines
* the Form Bean used."
- * @netui.tldx:attribute category="misc"
*/
public void setBeanScope(String scope)
throws JspException
@@ -516,7 +505,6 @@
* description="The Java class name of the Form Bean to be created, if necessary.
* This Form Bean will be created if the name and scope attributes are set.
* The Form Bean is then used to populate the form input fields."
- * @netui.tldx:attribute category="misc"
*/
public void setBeanType(String type)
throws JspException
@@ -532,7 +520,6 @@
* @param formSubmit boolean value indicating that the form submit JavaScript should be generated. Default is false.
* @netui:attribute required="false" rtexprvalue="true"
* description="Generate the form submit JavaScript even if the form does not contain anchors."
- * @netui.tldx:attribute category="misc"
*/
public void setGenJavaScriptFormSubmit(boolean formSubmit)
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatDate.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatDate.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatDate.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatDate.java Mon May 2 10:24:30 2005
@@ -183,11 +183,6 @@
* <netui:formatDate pattern="MM/dd/yyyy" />
* </netui:label></pre>
* @netui:tag name="formatDate" body-content="empty" description="A formatter used to format dates."
- * @netui.tldx:tag requiredparent="label span select textArea textBox data:anchorColumn data:literalColumn"
- * requiredchild="#nothing"
- * renderer="workshop.netui.jspdesigner.tldx.FormatDateRenderer"
- * bodycontentpref="empty"
- * whitespace="indent"
*/
public class FormatDate extends FormatTag
{
@@ -215,7 +210,6 @@
* @jsptagref.attributesyntaxvalue <i>string_stringInputPattern</i>
* @netui:attribute required="false" rtexprvalue="true"
* description="The pattern used to convert a String value into a date."
- * @netui.tldx:attribute
*/
public void setStringInputPattern(String inputPattern)
throws JspException
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatNumber.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatNumber.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatNumber.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatNumber.java Mon May 2 10:24:30 2005
@@ -102,11 +102,6 @@
* <netui:formatNumber country="US" language="en" type="currency" />
* </netui:label></pre>
* @netui:tag name="formatNumber" body-content="empty" description="A formatter used to format numbers."
- * @netui.tldx:tag requiredparent="label span select textArea textBox data:anchorColumn data:literalColumn"
- * requiredchild="#nothing"
- * renderer="workshop.netui.jspdesigner.tldx.FormatNumberRenderer"
- * bodycontentpref="empty"
- * whitespace="indent"
*/
public class FormatNumber extends FormatTag
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatString.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatString.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatString.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatString.java Mon May 2 10:24:30 2005
@@ -91,11 +91,6 @@
* <netui:formatString pattern="phone (###) ###-####"/>
* </netui:label> </pre>
* @netui:tag name="formatString" body-content="empty" description="A formatter used to format strings."
- * @netui.tldx:tag requiredparent="label span select textArea textBox data:anchorColumn data:literalColumn"
- * requiredchild="#nothing"
- * renderer="workshop.netui.jspdesigner.tldx.FormatStringRenderer"
- * bodycontentpref="empty"
- * whitespace="indent"
* @netui:attribute name="pattern" required="true" rtexprvalue="true"
*/
public class FormatString extends FormatTag
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatTag.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatTag.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatTag.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatTag.java Mon May 2 10:24:30 2005
@@ -87,7 +87,6 @@
* @param pattern - the pattern to be used
* @netui:attribute required="false" rtexprvalue="true"
* description="Sets the pattern to be used by this FormatTag."
- * @netui.tldx:attribute
*/
public void setPattern(String pattern)
throws JspException
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Hidden.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Hidden.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Hidden.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Hidden.java Mon May 2 10:24:30 2005
@@ -41,10 +41,6 @@
* @example In this sample, the Hidden tag is written using the value from the form bean's status property.
* <pre><netui:hidden dataSource="{actionForm.status}" /></pre>
* @netui:tag name="hidden" description="Generates a hidden tag with a given value."
- * @netui.tldx:tag requiredchild="attribute"
- * renderer="workshop.netui.jspdesigner.tldx.HiddenRenderer"
- * bodycontentpref="empty"
- * whitespace="indent"
*/
public class Hidden
extends HtmlDataSourceTag
@@ -105,7 +101,6 @@
* @jsptagref.attributesyntaxvalue <i>string_or_expression_dataInput</i>
* @netui:attribute required="false" rtexprvalue="true" type="java.lang.Object"
* description="The dataInput attribute overrides the dataSource attribute for the input of the value. "
- * @netui.tldx:attribute
*/
public void setDataInput(Object dataInput)
{
@@ -213,7 +208,6 @@
* @netui:attribute required="false" rtexprvalue="true" type="int"
* description="The tabIndex of the rendered HTML tag. This attribute determines the position of the
* rendered HTML tag in the sequence of tags that the user may advance through by pressing the TAB key."
- * @netui.tldx:attribute category="misc"
*/
public void setTabindex(int tabindex)
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Html.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Html.java?rev=165649&r1=165648&r2=165649&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Html.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Html.java Mon May 2 10:24:30 2005
@@ -82,9 +82,6 @@
* results.append("\treturn getIdScope(tag.parentElement);\n}\n\n");
* </pre>
* @netui:tag name="html" description="Generates the html element and performs error handling within its body."
- * @netui.tldx:tag bodycontentpref="empty" renderer="workshop.netui.jspdesigner.tldx.HtmlRenderer"
- * output="<html>|$children|</html>"
- * whitespace="indent"
*/
public class Html extends ScriptContainer
implements IErrorReporter