This content has been marked as final.
Show 2 replies
-
1. Re: poll module doesn't display the title
jae77 Feb 28, 2004 12:43 PM (in response to aalmero)if you set a title for the poll when you created it, then it is potentially a bug. you can file a bug report for it on sourceforge, and/or attempt to fix it yourself and submit a patch.
-
2. Re: poll module doesn't display the title
aalmero Mar 2, 2004 7:06 PM (in response to aalmero)how would i possibly submit a fixed for it?
anyway heres the fixed i did by just
adding the code below on PollBlock.java
try {
//get poll title from poll module
String pollTitle = (String) server.invoke(
PollsModule.OBJECT_NAME,
"getPollTitle",
new Object[]{pollId},
new String[]{Integer.TYPE.getName()});
output.text("" + pollTitle + "");
}
catch (Exception ex)
{
output.text("Cannot retrieve poll title.");
output.printPage(page);
log.error("Cannot retrieve poll title.", ex);
return;
}