From: Matt Brown Date: Sun, 26 Jun 2011 06:33:46 +0000 (+0000) Subject: Cleanup of the last commit. asp menu changed to menu.asp. Added an RTL example for... X-Git-Url: https://git.infodrom.org/?p=infodrom%2Frico3;a=commitdiff_plain;h=57c69da19ee4b41a5d933e2c6866389a7cec960e Cleanup of the last commit. asp menu changed to menu.asp. Added an RTL example for .net. git-svn-id: svn://svn.code.sf.net/p/openrico/code/trunk/rico3@91 53df2df2-7ab5-4331-af62-ea79255fa4e2 --- diff --git a/examples/asp/menu.asp b/examples/asp/menu.asp new file mode 100644 index 0000000..52ef3e8 --- /dev/null +++ b/examples/asp/menu.asp @@ -0,0 +1,198 @@ + + + +Rico 3.0 + + + + +<% +Dim RicoClient +set RicoClient = new LoadRicoClient +RicoClient.SetRicoClientParentPath "../../ricoClient/" +RicoClient.CreateLinks +set RicoClient = Nothing +%> + + + + + + + + + + + + +
+
+
    +
  • Example: +
  • Theme: +
  • Base Lib: +
  •   Enable logging +
+
+
+ + +
+ +
+
Choose the Example
+
+ +
+
+ +
+
Choose the Theme
+
+ + + + + + + +
Themeroller
Themes
Rico
Themes
+ + + + + + + +
+ + +
+
+ +
+
Choose the Base Library
+
+ +
+
+ +
+ diff --git a/examples/asp/menu.html b/examples/asp/menu.html deleted file mode 100644 index 829965d..0000000 --- a/examples/asp/menu.html +++ /dev/null @@ -1,195 +0,0 @@ - - - -Rico 3.0 - - - - - - - - - - - - - - - - - - - - -
-
-
    -
  • Example: -
  • Theme: -
  • Base Lib: -
  •   Enable logging -
-
-
- - -
- -
-
Choose the Example
-
- -
-
- -
-
Choose the Theme
-
- - - - - - - -
Themeroller
Themes
Rico
Themes
- - - - - - - -
- - -
-
- -
-
Choose the Base Library
-
- -
-
- -
- diff --git a/examples/dotnet/widgetsRTL.aspx b/examples/dotnet/widgetsRTL.aspx new file mode 100644 index 0000000..64d4fdb --- /dev/null +++ b/examples/dotnet/widgetsRTL.aspx @@ -0,0 +1,435 @@ +<%@ Page Language="VB" ResponseEncoding="utf-8" Debug="true" validateRequest="false" %> +<%@ Register TagPrefix="Rico" Assembly="Rico" NameSpace="Rico" %> + + + + + +Rico widgets - RTL + + + + + + + + + + + + + +
+Base Library: + +
+

שָׁלוֹם     سَلاَمٌ +

This example displays some of the widgets that come with Rico. +In this case the page is specified to read right-to-left (dir=rtl). +It demonstrates that Rico widgets display correctly for languages written right-to-left, such as Arabic and Hebrew. +

Note that the grid will display a scrollbar on the right side, instead of the left side, in Chrome and Safari due to +this bug +which the chromium team has marked as WONTFIX. +

+ + +

 

+ +

Rico LiveGrid

+

Click on a cell to see available actions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data source: Population Division of the +Department of Economic and Social Affairs of the United Nations Secretariat (2009). +World Population Prospects: The 2008 Revision. Highlights. New York: United Nations.

+ + +

 

+ +

Rico Accordion

+ +
+ +
+
Stanza 1
+
+

Two roads diverged in a yellow wood, +
And sorry I could not travel both +
And be one traveler, long I stood +
And looked down one as far as I could +
To where it bent in the undergrowth. +

+
+
+
Stanza 2
+
+

Then took the other, as just as fair, +
And having perhaps the better claim, +
Because it was grassy and wanted wear; +
Though as for that the passing there +
Had worn them really about the same. +

+
+
+
Stanza 3
+
+

And both that morning equally lay +
In leaves no step had trodden black. +
Oh, I kept the first for another day! +
Yet knowing how way leads on to way, +
I doubted if I should ever come back. +

+
+
+
Stanza 4
+
+

I shall be telling this with a sigh +
Somewhere ages and ages hence: +
Two roads diverged in a wood, and I-- +
I took the one less traveled by, +
And that has made all the difference. +

Robert Frost: The Road Not Taken (1915) +

+
+ +
+ +

 

+ +

Rico Tabbed Panel

+ +
+
    +
  • Stanza 1
  • +
  • Stanza 2
  • +
  • Stanza 3
  • +
  • Stanza 4
  • +
+ +
+
+

Two roads diverged in a yellow wood, +
And sorry I could not travel both +
And be one traveler, long I stood +
And looked down one as far as I could +
To where it bent in the undergrowth. +

+
+

Then took the other, as just as fair, +
And having perhaps the better claim, +
Because it was grassy and wanted wear; +
Though as for that the passing there +
Had worn them really about the same. +

+
+

And both that morning equally lay +
In leaves no step had trodden black. +
Oh, I kept the first for another day! +
Yet knowing how way leads on to way, +
I doubted if I should ever come back. +

+
+

I shall be telling this with a sigh +
Somewhere ages and ages hence: +
Two roads diverged in a wood, and I-- +
I took the one less traveled by, +
And that has made all the difference. +

Robert Frost: The Road Not Taken (1915) +

+
+ +
+ +

 

+ +

Rico Dialog Window

+ +

+

+

Four score and seven years ago our fathers brought forth on this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal. +

Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting place for those who here gave their lives that that nation might live. It is altogether fitting and proper that we should do this. +

But, in a larger sense, we can not dedicate -- we can not consecrate -- we can not hallow -- this ground. The brave men, living and dead, who struggled here, have consecrated it, far above our poor power to add or detract. The world will little note, nor long remember what we say here, but it can never forget what they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they who fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great task remaining before us -- that from these honored dead we take increased devotion to that cause for which they gave the last full measure of devotion -- that we here highly resolve that these dead shall not have died in vain -- that this nation, under God, shall have a new birth of freedom -- and that government of the people, by the people, for the people, shall not perish from the earth. +

+ +

 

+ +

Rico Calendar

+ + + +
+
+
+ + +