Author: mvitenkov
Date: 2008-07-02 05:50:39 -0400 (Wed, 02 Jul 2008)
New Revision: 9359
Modified:
trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarthProperty.jsp
Log:
+findComponent
Modified:
trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarthProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarthProperty.jsp 2008-07-02
09:43:57 UTC (rev 9358)
+++
trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarthProperty.jsp 2008-07-02
09:50:39 UTC (rev 9359)
@@ -7,12 +7,13 @@
<h:panelGrid columns="2">
<h:outputText value="lat(-97 < x < 97):"></h:outputText>
<h:inputText value="#{virtualEarth.lat}"
onchange="submit();"></h:inputText>
-
+
<h:outputText value="lng(-180 < x < 180):"></h:outputText>
<h:inputText value="#{virtualEarth.lng}"
onchange="submit();"></h:inputText>
<h:outputText value="dashboardSize"></h:outputText>
- <h:selectOneMenu value="#{virtualEarth.dashboardSize}"
onchange="submit();">
+ <h:selectOneMenu value="#{virtualEarth.dashboardSize}"
+ onchange="submit();">
<f:selectItem itemLabel="Normal" itemValue="Normal" />
<f:selectItem itemLabel="Small" itemValue="Small" />
<f:selectItem itemLabel="Tiny" itemValue="Tiny" />
@@ -27,20 +28,27 @@
</h:selectOneMenu>
<h:outputText value="rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{virtualEarth.rendered}"
onchange="submit();"></h:selectBooleanCheckbox>
+ <h:selectBooleanCheckbox value="#{virtualEarth.rendered}"
+ onchange="submit();"></h:selectBooleanCheckbox>
</h:panelGrid>
<h:panelGroup>
<f:verbatim>
Dashboard:<br />
- <a href="javascript:void(0);" onclick="map.HideDashboard();return
false;">Remove</a>
- <a href="javascript:void(0);" onclick="map.ShowDashboard();return
false;">Show</a>
+ <a href="javascript:void(0);"
+ onclick="map.HideDashboard();return false;">Remove</a>
+ <a href="javascript:void(0);"
+ onclick="map.ShowDashboard();return false;">Show</a>
<br />
<br />
Type:<br />
- <a href="javascript:void(0);"
onclick="map.SetMapStyle(VEMapStyle.Road);return false;">Road</a>
- <a href="javascript:void(0);"
onclick="map.SetMapStyle(VEMapStyle.Aerial);return false;">Aerial</a>
- <a href="javascript:void(0);"
onclick="map.SetMapStyle(VEMapStyle.Hybrid);return false;">Hybrid</a>
- <a href="javascript:void(0);"
onclick="map.SetMapStyle(VEMapStyle.Birdseye);return
false;">Birdseye</a>
+ <a href="javascript:void(0);"
+ onclick="map.SetMapStyle(VEMapStyle.Road);return false;">Road</a>
+ <a href="javascript:void(0);"
+ onclick="map.SetMapStyle(VEMapStyle.Aerial);return
false;">Aerial</a>
+ <a href="javascript:void(0);"
+ onclick="map.SetMapStyle(VEMapStyle.Hybrid);return
false;">Hybrid</a>
+ <a href="javascript:void(0);"
+ onclick="map.SetMapStyle(VEMapStyle.Birdseye);return
false;">Birdseye</a>
<br />
<br />
Zoom:<br />
@@ -48,9 +56,23 @@
<a href="javascript:void(0);" onclick="map.ZoomOut();return
false;">Out</a>
<br />
<br />
- <a href="javascript:void(0);" onclick="showExadel();return
false;">Show Exadel Office</a>
+ <a href="javascript:void(0);" onclick="showExadel();return
false;">Show
+ Exadel Office</a>
<br />
- <a href="javascript:void(0);" onclick="showExadelInMinsk();return
false;">Show Exadel in Belarus</a>
+ <a href="javascript:void(0);"
+ onclick="showExadelInMinsk();return false;">Show Exadel in
+ Belarus</a>
</f:verbatim>
</h:panelGroup>
+ <br />
+ <br />
+ <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <h:panelGrid columns="2">
+ <rich:column>
+ <a4j:commandLink value="getRendererType"
reRender="findID"></a4j:commandLink>
+ </rich:column>
+ <rich:column id="findID">
+ <h:outputText
value="#{rich:findComponent('vEarthID').rendererType}" />
+ </rich:column>
+ </h:panelGrid>
</f:subview>
\ No newline at end of file
Show replies by date