|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jsfunit.richfaces.Ajax4jsfClient
org.jboss.jsfunit.richfaces.RichFacesClient
public class RichFacesClient
When Ajax4jsf was merged into RichFaces, some classes were renamed and placed in different packages. Therefore, you need to use the RichFacesClient instead of Ajax4jsfClient if you use RichFaces 3.1 or later.
| Field Summary |
|---|
| Fields inherited from class org.jboss.jsfunit.richfaces.Ajax4jsfClient |
|---|
ajaxResponse, client, requestFactory |
| Constructor Summary | |
|---|---|
RichFacesClient(JSFClientSession client)
|
|
| Method Summary | |
|---|---|
void |
clickDataTableScroller(String componentID,
int value)
Click a value on a DataTableScroller. |
void |
clickDataTableScroller(String componentID,
ScrollerControl control)
Click an arrow (control) on a DataTableScroller. |
void |
clickPanelMenuItem(String componentID)
Click a rich:panelMenuItem inside a rich:panelMenu. |
void |
clickTab(String tabPanelComponentID,
String tabComponentID)
Click a tab on a TabPanel. |
void |
dragAndDrop(String dragComponentID,
String dropTargetComponentID)
Drag a component with rich:dragSupport to a component with rich:dropSupport. |
void |
setCalendarValue(String componentID,
String value)
Set a parameter value on a RichCalendar component. |
void |
setDataFilterSlider(String componentID,
String value)
Set a parameter value on a DataFilterSlider. |
void |
setInputNumberSlider(String componentID,
String value)
Set the value of a InputNumberSlider. |
void |
setInputNumberSpinner(String componentID,
String value)
Set the value of an InputNumberSpinner. |
| Methods inherited from class org.jboss.jsfunit.richfaces.Ajax4jsfClient |
|---|
addExtraA4JParams, addExtraUserParams, ajaxSubmit, ajaxSubmit, doAjaxRequest, getAjaxResponse, getContentType, restoreRowIndices, setRowIndicies |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RichFacesClient(JSFClientSession client)
| Method Detail |
|---|
public void setDataFilterSlider(String componentID,
String value)
throws SAXException
componentID - The JSF component ID or a suffix of the client ID.value - The value to set before the form is submitted.
SAXException - if the current response page can not be parsed
ComponentIDNotFoundException - if the component can not be found
DuplicateClientIDException - if more than one client ID matches the
componentID suffix
public void setInputNumberSlider(String componentID,
String value)
throws SAXException,
IOException
componentID - The JSF component ID or a suffix of the client ID.value - The value to set before the form is submitted.
SAXException - if the current response page can not be parsed
IOException - if an internal refresh is needed and there is an
error sending a request to the server.
ComponentIDNotFoundException - if the component can not be found
DuplicateClientIDException - if more than one client ID matches the
componentID suffix
public void setInputNumberSpinner(String componentID,
String value)
throws SAXException,
IOException
componentID - The JSF component ID or a suffix of the client ID.value - The value to set before the form is submitted.
SAXException - if the current response page can not be parsed
IOException - if an internal refresh is needed and there is an
error sending a request to the server.
ComponentIDNotFoundException - if the component can not be found
DuplicateClientIDException - if more than one client ID matches the
componentID suffix
public void setCalendarValue(String componentID,
String value)
throws SAXException,
IOException
componentID - The JSF component ID or a suffix of the client ID.value - The value to set before the form is submitted.
SAXException - if the current response page can not be parsed
ComponentIDNotFoundException - if the component can not be found
DuplicateClientIDException - if more than one client ID matches the
componentID suffix
IOException
public void clickDataTableScroller(String componentID,
int value)
throws SAXException,
IOException
componentID - The JSF component ID or a suffix of the client ID.value - The number to click on the scroller.
SAXException - if the current response page can not be parsed
IOException - if there is a problem submitting the form
ComponentIDNotFoundException - if the component can not be found
DuplicateClientIDException - if more than one client ID matches the
componentID suffix
public void clickDataTableScroller(String componentID,
ScrollerControl control)
throws SAXException,
IOException
componentID - The JSF component ID or a suffix of the client ID.value - The control to click on the scroller.
SAXException - if the current response page can not be parsed
IOException - if there is a problem submitting the form
ComponentIDNotFoundException - if the component can not be found
DuplicateClientIDException - if more than one client ID matches the
componentID suffix
public void clickPanelMenuItem(String componentID)
throws SAXException,
IOException
componentID - The JSF component ID or a suffix of the client ID of
the rich:panelMenuItem to be clicked.
SAXException - if the current response page can not be parsed
IOException - if there is a problem submitting the form
ComponentIDNotFoundException - if the component can not be found
DuplicateClientIDException - if more than one client ID matches the
componentID suffix
public void dragAndDrop(String dragComponentID,
String dropTargetComponentID)
throws SAXException,
IOException
dragComponentID - The JSF component ID or a suffix of the client ID
for the rich:dragSupport component.dropTargetComponentID - The JSF component ID or a suffix of the client ID
for the target rich:dropSupport component.
SAXException - if the current response page can not be parsed
IOException - if there is a problem submitting the form
ComponentIDNotFoundException - if the component can not be found
DuplicateClientIDException - if more than one client ID matches the
componentID suffix
public void clickTab(String tabPanelComponentID,
String tabComponentID)
throws SAXException,
IOException
tabPanelComponentID - The JSF component ID or a suffix of the client ID
for the rich:tabPanel component.tabPanelComponentID - The JSF component ID or a suffix of the client ID
for the rich:tab component.
SAXException - if the current response page can not be parsed
IOException - if there is a problem submitting the form
ComponentIDNotFoundException - if the component can not be found
DuplicateClientIDException - if more than one client ID matches the
componentID suffix
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||