Author: gmaksimenko
Date: 2008-04-25 07:38:53 -0400 (Fri, 25 Apr 2008)
New Revision: 8166
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml
Log:
Add test for Api function
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml
===================================================================
---
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml 2008-04-25
11:38:40 UTC (rev 8165)
+++
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelect.xhtml 2008-04-25
11:38:53 UTC (rev 8166)
@@ -147,5 +147,12 @@
<h:outputText value="requiredMessage"></h:outputText>
<h:inputText value="#{inplaceSelect.requiredMessage}"
onchange="submit();"></h:inputText>
- </h:panelGrid><h:commandButton
value="ok"></h:commandButton>
+ </h:panelGrid>
+
+ <a4j:commandLink
onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.edit()"
value="edit"></a4j:commandLink> <br/>
+ <a4j:commandLink
onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.save()"
value="save"></a4j:commandLink> <br/>
+ <a4j:commandLink
onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.cancel()"
value="cancel"></a4j:commandLink> <br/>
+ <a4j:commandLink
onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.getValue()"
value="getValue"></a4j:commandLink> <br/>
+ <a4j:commandLink
onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.setValue('setValue')"
value="setValuel"></a4j:commandLink>
+
</f:subview>
\ No newline at end of file