The Answers portlet is the application to create answers, reply and manage questions.
Package
This portlet is packaged in the faq.war
file.
See the portlet.xml
file in the project following this path: /webapps/faq/WEB-INF/portlet.xml
.
The Answers portlet consists of preferences as follows:
Preference name | Possible value | Default value | Description |
---|---|---|---|
enableViewAvatar | true ,
false
|
true
| Enables users to view the avatar of owner posting the question. |
enableAutomaticRSS | true ,
false
|
true
| Enables users to get RSS automatically. |
enableVotes AndComments | true ,
false
|
true
| Enables users to give votes and comments for the question. |
enableAnonymous SubmitQuestion | true ,
false
|
true
| Enables anonymous users to submit questions. |
display | approved ,
both
|
both
| Enables administrators to view unapproved questions in the questions list in UIQuestions. |
SendMailAdd NewQuestion |
string
|
empty
| Displays the content of sent email when a new question is added. |
SendMailEdit ResponseQuestion |
string
|
empty
| Displays the email content when a response is edited. |
emailMoveQuestion |
string
|
empty
| Displays the email content when a question is moved. |
orderBy | alphabet ,
created
|
alphabet
| Arranges questions in the alphabet or created date order. |
orderType | asc ,
desc
|
asc
| Displays questions in the ascending or descending order. |
isDiscussForum | true ,
false
|
false
| Enables the DiscussQuestions function. |
idNameCategoryForum | CategoryName , ForumName
|
empty
| Selects categories and forums for the DiscussionQuestions function. |
uploadFileSizeLimitMB |
integer
|
20
| Sets the maximum size of uploaded files in MB. |
The FAQ portlet is the application to show questions and answers.
Package
This portlet is packaged in the faq.war
file.
See the portlet.xml
file in the project following this path: /webapps/faq/WEB-INF/portlet.xml
.
The FAQ portlet includes some portlet preferences that you can configure to alter the behavior.
At runtime, you can use the EDIT mode portlet to set the preferences:
Alternatively, you can configure the portlet in the portet-preferences.xml
file.
Preference name | Possible value | Default value | Description |
---|---|---|---|
useAjax | true ,
false
|
false
| Specifies if the AJAX load or HREF load is used. |