Author: gmaksimenko
Date: 2008-05-07 08:32:57 -0400 (Wed, 07 May 2008)
New Revision: 8472
Modified:
trunk/test-applications/jsp/src/main/webapp/InplaceInput/InplaceInput.jsp
Log:
Add test for api-function
Modified: trunk/test-applications/jsp/src/main/webapp/InplaceInput/InplaceInput.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/InplaceInput/InplaceInput.jsp 2008-05-07
12:27:03 UTC (rev 8471)
+++ trunk/test-applications/jsp/src/main/webapp/InplaceInput/InplaceInput.jsp 2008-05-07
12:32:57 UTC (rev 8472)
@@ -11,7 +11,7 @@
and while invisible for the user who does not understand or cannot <br />
acquire the source code, many of those
<rich:inplaceInput
- id = "inplaceInputId1"
+ id = "inplaceInputId"
valueChangeListener="#{inplaceInput.valueChangeListener}"
converter="inplaceInputConverter"
converterMessage="Can't convert"
@@ -144,4 +144,11 @@
</h:inputText>
</h:panelGrid>
+
+ <a4j:commandLink
onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.edit()"
value="edit"></a4j:commandLink> <br/>
+ <a4j:commandLink
onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.save()"
value="save"></a4j:commandLink> <br/>
+ <a4j:commandLink
onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.cancel()"
value="cancel"></a4j:commandLink> <br/>
+ <a4j:commandLink
onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.getValue()"
value="getValue"></a4j:commandLink> <br/>
+ <a4j:commandLink
onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.setValue('setValue')"
value="setValuel"></a4j:commandLink>
+
</f:subview>
\ No newline at end of file
Show replies by date