From richfaces-svn-commits at lists.jboss.org Thu Aug 27 13:09:29 2009 Content-Type: multipart/mixed; boundary="===============5517938089707170384==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r15360 - branches/community/3.3.X/docs/userguide/en/src/main/docbook/included. Date: Thu, 27 Aug 2009 13:09:29 -0400 Message-ID: <200908271709.n7RH9TVg019415@svn01.web.mwc.hst.phx2.redhat.com> --===============5517938089707170384== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: atsebro Date: 2009-08-27 13:09:28 -0400 (Thu, 27 Aug 2009) New Revision: 15360 Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/ric= h_virtualEarth.xml Log: RF-7756: Rich Miscellaneous component group description review --> rich:vir= tualEarth Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/inclu= ded/rich_virtualEarth.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/ri= ch_virtualEarth.xml 2009-08-27 17:01:31 UTC (rev 15359) +++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/ri= ch_virtualEarth.xml 2009-08-27 17:09:28 UTC (rev 15360) @@ -1,266 +1,195 @@
- - < - rich:virtualEarth - > - <emphasis role=3D"since"> - <superscript> available since <emphasis role=3D"version">3.1.0</e= mphasis> - </superscript> - </emphasis> - -
- Description - The component presents the Microsoft Virtual Earth m= ap in the JSF applications. -
- - <emphasis role=3D"bold"> - <property><rich:virtualEarth></property> - </emphasis> component - = - - - - -
-
-
- Key Features - - - Presents the Microsoft Virtual Earth map functionality - - - Highly customizable via attributes - = - - No developers JavaScript writing is needed to use it on = a pages - - -
-
- Details of Usage + < rich:virtualEarth > <emphasis role=3D"since"> + <superscript> available since <emphasis role=3D"version"= >3.1.0</emphasis> + </superscript> + </emphasis> + +
+ Description + The component presents the Microsoft Virtual E= arth map in the JSF applications. +
+ + <emphasis role=3D"bold"> + <property><rich:virtualEarth></propert= y> + </emphasis> component + + + + + +
+
+
+ Key Features + + + Presents the Microsoft Virtual Ear= th map functionality + + + Highly customizable via attributes + + + No developers JavaScript writing is needed t= o use it on a pages + + +
+
+ Details of Usage = - - Here are the main settings of initial rendering performed - with a component - map - that are accessible with the following attributes: - - - - - - "zoom" - - defines an approximation size (boundary values 1-18) - - - - - - "lat" - - specifies an initial latitude coordinate in degrees, - as a number between -90 and +90 - - - - - - "lng" - - specifies an initial longitude coordinate in - degrees, as a number between -180 and +180 - - - - - - "dashboardSize" - - specifies a type of a rendered map (Normal, Small, - Tiny) - - - - - For example, the city of Paris is shown after rendering with - the following initial settings: - lat =3D "48.833" - , - lng =3D "2.40" - and - zoom =3D "11" - . - -
- - <emphasis role=3D"bold"> - <property><rich:virtualEarth></property> - </emphasis> - initial rendering - - - - - - -
- Code for this example is placed below: - - Example: - - ... + Here are the main settings of initial rendering perform= ed with a component map that are accessible with the f= ollowing attributes: + + + + + "zoom" + defines an approximation size (b= oundary values 1-18) + + + + + "lat" + specifies an initial latitude co= ordinate in degrees, as a number between -90 and +90 + + + + + "lng" + specifies an initial longitude c= oordinate in degrees, as a number between -180 and +180 + + + + + "dashboardSize" + specifies a type of a rendered m= ap (Normal, Small, Tiny) + + + For example, the city of Paris is shown after rendering= with the following initial settings: lat =3D "48.833" , lng =3D "2.40" and zoom =3D "11" . +
+ + <emphasis role=3D"bold"> + <property><rich:virtualEarth></propert= y> + </emphasis> initial rendering + + + + + +
+ Code for this example is placed below: + + Example: + + ... <rich:virtualEarth style=3D"width:800px;" id=3D"vm" lat=3D"48.833" lng= =3D"2.40" = dashboardSize=3D"Normal" zoom=3D"11"= mapStyle=3D"Hybrid" var=3D"map" /> ... = - - To set all these parameters and perform some activity (Zoom - In/Out etc.) is possible with your JavaScript, i.e. declare - a name of an object on a - map - in the - - "var" - - attribute and then call the object directly with API - - Microsoft Virtual Earth map - . - - - - For example, to approximate a map for - var =3D "map" - declared inside the component, call - map.ZoomIn() - on an event. - - - Moreover, to add e.g. some JavaScript effects, events - defined on it are used. - - - - - - "onmouseover" - + To set all these parameters and perform some activity (= Zoom In/Out etc.) is possible with your JavaScript, i.e. declare a name of = an object on a map in the + "var" + attribute and then call the object directly = with API + Microsoft Virtual Earth map .= - - - - - "onclick" - - - - - - - "onmouseout" - - - - - etc. - - + For example, to approximate a map for var =3D "ma= p" declared inside the component, call map.ZoomIn() on = an event. + Moreover, to add e.g. some JavaScript effects, events d= efined on it are used. + + + + + "onmouseover" + + + + + + + "onclick" + + + + + + + "onmouseout" + + + + + etc. + + = - - - Virtual Earth does not support XHTML format of the page. - Thus, if you use Facelets and JSF 1.2, do not forget to - put the following tags somewhere on the page: - - ... + + Virtual Earth does not support XHTML format of th= e page. Thus, if you use Facelets and JSF 1.2, do not forget to put the fol= lowing tags somewhere on the page: + ... <f:view contentType=3D"text/html">...</f:view> ... - + = -
-
- Reference Data - - Table of = - <rich:virtualEarth> = - attributes. - - - Component Identification Parameters - - - - Name - Value - - - - - component-type - org.richfaces.VirtualEarth - - - component-class - - org.richfaces.component.html.HtmlVirtualEarth - - - - component-family - org.richfaces.VirtualEarth - - - renderer-type - org.richfaces.VirtualEarthRenderer - - - tag-class - org.richfaces.taglib.VirtualEarthTag - - - -
- - - Classes names that define a component appearance - - - - - Class name - Description - - - - - rich-virtualEarth - - Defines styles for a wrapper <div> - element of a component - - - - -
- You can find all necessary information about style classes redefini= tion in = - Definition of Custom Style Classes = - section. -
-
- Relevant Resources Links - - - Here - - you can found additional information about Microsoft - Virtual Earth map. - - - Some additional information about usage of component can be found = - on its LiveDemo page. -
-
\ No newline at end of file +
+
+ Reference Data + + Table of &= lt;rich:virtualEarth> attributes. + + Component Identification Parameters + + + + Name + Value + + + + + component-type + org.richfaces.VirtualEarth + + + component-class + org.richfaces.component.html.H= tmlVirtualEarth + + + component-family + org.richfaces.VirtualEarth + + + renderer-type + org.richfaces.VirtualEarthRende= rer + + + tag-class + org.richfaces.taglib.VirtualEar= thTag + + + +
+ + Classes names that define a component appearance= + + + + Class name + Description + Skin parameter + CSS property + + + + + rich-virtualEarth + Defines styles for a wrapper &l= t;div> element of a component + no + height, width + + + +
You can find all necessary information about style cl= asses redefinition in Definition of Custom S= tyle Classes section.
+
+ Relevant Resources Links + + Here you can found additional information about Mic= rosoft Virtual Earth map. + Some additional information about usage of component ca= n be found on its LiveDemo page. +
+ --===============5517938089707170384==--