summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2006-04-02 02:13:59 +0000
committerxue <>2006-04-02 02:13:59 +0000
commit897c585a831680cf7c68c1639aa664eeac8f6a84 (patch)
treed42420c4a3a3794cd75cf4e90f2b5cf9eaf670e1
parentf826b0ae6b8f11f8da1a5a6251e9a1fe6e6c1e85 (diff)
Removed some unused files.
-rw-r--r--.gitattributes2
-rw-r--r--HISTORY2
-rw-r--r--demos/quickstart/protected/controls/TopicList.tpl1
-rw-r--r--demos/quickstart/protected/pages/Controls/Overview.page9
-rw-r--r--demos/quickstart/protected/pages/Controls/Simple.page84
-rw-r--r--framework/Web/UI/WebControls/TColorPicker.php2
-rw-r--r--framework/Web/UI/WebControls/TDatePicker.php2
7 files changed, 4 insertions, 98 deletions
diff --git a/.gitattributes b/.gitattributes
index 151ab523..6081156b 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -141,7 +141,6 @@ demos/quickstart/protected/pages/Controls/List.page -text
demos/quickstart/protected/pages/Controls/Literal.page -text
demos/quickstart/protected/pages/Controls/MultiView.page -text
demos/quickstart/protected/pages/Controls/NewControl.page -text
-demos/quickstart/protected/pages/Controls/Overview.page -text
demos/quickstart/protected/pages/Controls/Panel.page -text
demos/quickstart/protected/pages/Controls/PlaceHolder.page -text
demos/quickstart/protected/pages/Controls/RadioButton.page -text
@@ -256,7 +255,6 @@ demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample4.php -text
demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample5.page -text
demos/quickstart/protected/pages/Controls/Samples/TWizard/Sample5.php -text
demos/quickstart/protected/pages/Controls/Samples/config.xml -text
-demos/quickstart/protected/pages/Controls/Simple.page -text
demos/quickstart/protected/pages/Controls/Standard.page -text
demos/quickstart/protected/pages/Controls/Statements.page -text
demos/quickstart/protected/pages/Controls/Table.page -text
diff --git a/HISTORY b/HISTORY
index b47c0e60..1c2d0534 100644
--- a/HISTORY
+++ b/HISTORY
@@ -14,11 +14,11 @@ CHG: TTextHighlighter.EnableCopyCode defaults to false (Qiang)
CHG: Reorganized quickstart tutorial demo, added new sections (Qiang)
CHG: Reorganized folders under framework (Qiang)
CHG: Modified THtmlArea default toolbar and size. (Qiang)
+CHG: Pagers in TDataGrid are now enclosed within panels (Qiang)
ENH: Ticket#92 - Support for user exception message file (Qiang)
ENH: Ticket#106 - Support for validation on THiddenField (Qiang)
ENH: Ticket#110 - Support for TVarDump with syntax highlight (Qiang)
ENH: TDataFieldAccessor can access public class variables (Qiang)
-ENH: Pagers in TDataGrid are now enclosed within panels (Qiang)
ENH: TPhpErrorException now shows the actual error lines (Qiang)
NEW: TStack component (Qiang)
NEW: TImageMap control (Qiang)
diff --git a/demos/quickstart/protected/controls/TopicList.tpl b/demos/quickstart/protected/controls/TopicList.tpl
index 7b99450c..254d67ad 100644
--- a/demos/quickstart/protected/controls/TopicList.tpl
+++ b/demos/quickstart/protected/controls/TopicList.tpl
@@ -40,7 +40,6 @@
<div class="topic">
<div>Control Reference</div>
<ul>
- <li><a href="?page=Controls.Overview">Overview</a></li>
<li><a href="?page=Controls.Standard">Standard Controls</a></li>
<li><a href="?page=Controls.Validation">Validation Controls</a></li>
<li><a href="?page=Controls.List">List Controls</a></li>
diff --git a/demos/quickstart/protected/pages/Controls/Overview.page b/demos/quickstart/protected/pages/Controls/Overview.page
deleted file mode 100644
index ec3ac5be..00000000
--- a/demos/quickstart/protected/pages/Controls/Overview.page
+++ /dev/null
@@ -1,9 +0,0 @@
-<com:TContent ID="body" >
-<h1>Controls Overview</h1>
-<p>
-Control are components defined in addition with user interface. Control classes constitute a major part of the PRADO framework. Nearly every generic HTML element can find its representation in terms of a PRADO control. Mastering these controls becomes extremely important for developers to compose effectively and efficiently applications using PRADO.
-</p>
-<p>
-TBW: Control ID, Parent, NamingContainer, ViewState, ControlState, TWebControl, DataBound Control, ActiveControls
-</p>
-</com:TContent> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Simple.page b/demos/quickstart/protected/pages/Controls/Simple.page
deleted file mode 100644
index 8272707d..00000000
--- a/demos/quickstart/protected/pages/Controls/Simple.page
+++ /dev/null
@@ -1,84 +0,0 @@
-<com:TContent ID="body" >
-
-<h1>Simple HTML Controls</h1>
-
-<h2>TLabel</h2>
-<p>
-<tt>TLabel</tt> displays a piece of text on a Web page. The text to be displayed is set via its <tt>Text</tt> property. If <tt>Text</tt> is empty, content enclosed within the <tt>TLabel</tt> component tag will be displayed. <tt>TLabel</tt> may also be used as a form label associated with some control on the form. Since <tt>Text</tt> is not HTML-encoded when being rendered, make sure it does not contain dangerous characters that you want to avoid.
-</p>
-<com:RunBar PagePath="Controls.Samples.TLabel.Home" />
-
-<h2>THyperLink</h2>
-<p>
-<tt>THyperLink</tt> displays a hyperlink on a page. The hyperlink URL is specified via the <tt>NavigateUrl</tt> property, and link text is via the <tt>Text</tt> property. The link target is specified via the <tt>Target</tt> property. It is also possible to display an image by setting the <tt>ImageUrl</tt> property. In this case, <tt>Text</tt> is displayed as the alternate text of the image. If both <tt>ImageUrl</tt> and <tt>Text</tt> are empty, the content enclosed within the control tag will be rendered.
-</p>
-<com:RunBar PagePath="Controls.Samples.THyperLink.Home" />
-
-<h2>TImage</h2>
-<p>
-<tt>TImage</tt> displays an image on a page. The image is specified via the <tt>ImageUrl</tt> property which takes a relative or absolute URL to the image file. The alignment of the image displayed is set by the <tt>ImageAlign</tt> property. To set alternate text or long description of the image, use <tt>AlternateText</tt> or <tt>DescriptionUrl</tt>, respectively.
-</p>
-<com:RunBar PagePath="Controls.Samples.TImage.Home" />
-
-<h2>TPanel</h2>
-<p>
-<tt>TPanel</tt> acts as a presentational container for other control. It displays a &lt;div&gt; element on a page. The property <tt>Wrap</tt> specifies whether the panel's body content should wrap or not, while <tt>HorizontalAlign</tt> governs how the content is aligned horizontally and <tt>Direction</tt> indicates the content direction (left to right or right to left). You can set <tt>BackImageUrl</tt> to give a background image to the panel, and you can ste <tt>GroupingText</tt> so that the panel is displayed as a field set with a legend text. Finally, you can specify a default button to be fired when users press 'return' key within the panel by setting the <tt>DefaultButton</tt> property.
-</p>
-<com:RunBar PagePath="Controls.Samples.TPanel.Home" />
-
-<h2>TTable</h2>
-<p>
-<tt>TTable</tt> displays an HTML table on a page. It is used together with <tt>TTableRow</tt> and <tt>TTableCell</tt> to allow programmatically manipulating HTML tables. The rows of the table is stored in <tt>Rows</tt> property. You may set the table cellspacing and cellpadding via the <tt>CellSpacing</tt> and <tt>CellPadding</tt> properties, respectively. The table caption can be specified via <tt>Caption</tt> whose alignment is specified by <tt>CaptionAlign</tt>. The <tt>GridLines</tt> property indicates how the table should display its borders, and the <tt>BackImageUrl</tt> allows the table to have a background image.
-</p>
-<com:RunBar PagePath="Controls.Samples.TTable.Home" />
-
-<h2>TTextBox</h2>
-<p>
-<tt>TTextBox</tt> displays a text box on a Web page. The content in the text box is determined by the <tt>Text</tt> property. You can create a <tt>SingleLine</tt>, a <tt>MultiLine</tt>, or a <tt>Password</tt> text box by setting the <tt>TextMode</tt> property. The <tt>Rows</tt> and <tt>Columns</tt> properties specify their dimensions. If <tt>AutoPostBack</tt> is true, changing the content in the text box and then moving the focus out of it will cause postback action.
-</p>
-<com:RunBar PagePath="Controls.Samples.TTextBox.Home" />
-
-<h2>TButton</h2>
-<p>
-<tt>TButton</tt> creates a click button on a Web page. The button's caption is specified by <tt>Text</tt> property. A button is used to submit data to a page. <tt>TButton</tt> raises two server-side events, <tt>Click</tt> and <tt>Command</tt>, when it is clicked on the client-side. The difference between <tt>Click</tt> and <tt>Command</tt> events is that the latter event is bubbled up to the button's ancestor controls. A <tt>Command</tt> event handler can use <tt>CommandName</tt> and <tt>CommandParameter</tt> associated with the event to perform specific actions.
-</p>
-<p>
-Clicking on button can trigger form validation, if <tt>CausesValidation</tt>is true. And the validation may be restricted within a certain group of validator controls according to <tt>ValidationGroup</tt>.
-</p>
-<com:RunBar PagePath="Controls.Samples.TButton.Home" />
-
-<h2>TLinkButton</h2>
-<p>
-<tt>TLinkButton</tt> is similar to <tt>TButton</tt> in every aspect except that <tt>TLinkButton</tt> is displayed as a hyperlink. The link text is determined by its <tt>Text</tt> property. If the <tt>Text</tt> property is empty, then the body content of the button is displayed (therefore, you can enclose a &lt;img&gt; tag within the button body and get an image button.
-</p>
-<com:RunBar PagePath="Controls.Samples.TLinkButton.Home" />
-
-<h2>TImageButton</h2>
-<p>
-<tt>TImageButton</tt> is also similar to <tt>TButton</tt>, except that <tt>TImageButton</tt> displays the button as an image. The image is specified via <tt>ImageUrl</tt>, and the alternate text is specified by <tt>Text</tt>. In addition, it is possible to obtain the coordinate of the point where the image is clicked. The coordinate information is contained in the event parameter of the <tt>Click</tt> event (not <tt>Command</tt>).
-</p>
-<com:RunBar PagePath="Controls.Samples.TImageButton.Home" />
-
-<h2>TCheckBox</h2>
-<p>
-<tt>TCheckBox</tt> displays a check box on a Web page. A caption can be specified via <tt>Text</tt> and displayed beside the check box. It can appear either on the right or left of the check box, which is determined by <tt>TextAlign</tt>. You may further specify attributes applied to the text by using <tt>LabelAttributes</tt>.
-</p>
-<p>
-To determine whether the check box is checked, test the <tt>Checked</tt> property. A <tt>CheckedChanged</tt> event is raised if the state of <tt>Checked</tt> is changed between posts to the server. If <tt>AutoPostBack</tt> is true, changing the check box state will cause postback action. And if <tt>CausesValidation</tt> is also true, upon postback validation will be performed for validators within the specified <tt>ValidationGroup</tt>.
-</p>
-<com:RunBar PagePath="Controls.Samples.TCheckBox.Home" />
-
-<h2>TRadioButton</h2>
-<p>
-<tt>TRadioButton</tt> is similar to <tt>TCheckBox</tt> in every aspect, except that <tt>TRadioButton</tt> displays a radio button on a Web page. The radio button can belong to a specific group specified by <tt>GroupName</tt> such that only one radio button within that group can be selected at most.
-</p>
-<com:RunBar PagePath="Controls.Samples.TRadioButton.Home" />
-
-<h2>TDatePicker</h2>
-<p>
-<tt>TDatePicker</tt> provide different ways to select a date.
-</p>
-<com:RunBar PagePath="Controls.Samples.TDatePicker.Home" />
-
-
-</com:TContent> \ No newline at end of file
diff --git a/framework/Web/UI/WebControls/TColorPicker.php b/framework/Web/UI/WebControls/TColorPicker.php
index f222e4ce..6172722c 100644
--- a/framework/Web/UI/WebControls/TColorPicker.php
+++ b/framework/Web/UI/WebControls/TColorPicker.php
@@ -13,7 +13,7 @@
/**
* TColorPicker class.
*
- * Be aware, this control is EXPERIMENTAL and may have significant change in future versions.
+ * Be aware, this control is EXPERIMENTAL and is not stablized yet.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
* @version $Revision: $ $Date: $
diff --git a/framework/Web/UI/WebControls/TDatePicker.php b/framework/Web/UI/WebControls/TDatePicker.php
index 0d30636c..9bb352d6 100644
--- a/framework/Web/UI/WebControls/TDatePicker.php
+++ b/framework/Web/UI/WebControls/TDatePicker.php
@@ -19,6 +19,8 @@ Prado::using('System.Web.UI.WebControls.TTextBox');
*
* TDatePicker class.
*
+ * Be aware, this control is EXPERIMENTAL and is not stablized yet.
+ *
* TDatePicker displays a text box for date input purpose.
* When the text box receives focus, a calendar will pop up and users can
* pick up from it a date that will be automatically entered into the text box.