A descendant of ITPQuestion, representing any select question on a form. Base class for more specific select question representations. Transforms any select element using the ITPSelect widget. Uses the functions IsTextBlockSelect and allowsOrdering to parametrize the widget behavior.
constructor |
|
ITPSelectQuestion |
Trivial |
public methods |
|
- |
|
overrides |
|
initScreenElements() |
Creates an itpselect widget out of the select element produced by the Xslt. Unless the control is a simple single select, which should result in a simple dropdown box. Sets the attributes textblocks and alloworder, based on the results of the isTextBlockSelect() and allowsOrdering() methods. |
setInternalAnswer(pAnswer) |
Synchronizes with the hidden input element that represents the internal value. |
getScreenAnswer() |
Returns the stored screenvalue. |
setScreenAnswer(pAnswer) |
Sets the stored screenvalue. TODO: figure out how to communicate with the widget about this. |
synchronize() |
If the page is a true Content Wizard form, sends a message and processes the response in order to rearrange the Content Wizard page. |
other methods |
|
isTextblockSelect() |
Simply returns false. To be overridden by descendant classes. |
allowsOrdering() |
Simply returns false. To be overridden by descendant classes. |