olà pessoal, estou traduzindo um forum (MVNForum).
tem dois arquivos nele que quando tento alterar dá a seguinte mensagem “javax.servlet.jsp.JspException: String index out of range: 1”, gostaria de saber se algué, sabe do que se trata.
Desde já agradeço a atenção.
Ilidio Paulo de Abreu
[email removido]
“Se a vida é uma brincadeira, porque ela é tão séria.”
You can customize the content of template files, which used to send email for a certain purpose
(recovery his password, activate his account, or inform the new watch.)
Note: You can using the predefined items which starts with "${" and ends with "}".
You could use the template items below:
Items
Description and Usage
<% if (template.equals(MVNForumGlobal.TEMPLATE_SENDACTIVATECODE_PREFIX)) {%>
${memberName}
Member Login Name
${serverName}
Server Name
${MVNForumInfo}
Forum Information
${activationUrl}
Activation URL
${activateCode}
Activation Code
<%} else if (template.equals(MVNForumGlobal.TEMPLATE_WATCHMAIL_PREFIX)) {%>
${lastSent}
The last watch mail sent date
${now}
Now/Present
${forumBase}
The forum Link
threadWatchList
The thread watch list. Iterator over a list of thread watch list.
Usage: <#list threadWatchList as mailbeans > ...</#list>
forumName
Above is the properties of the thread watch list :
Usage:
<#list threadWatchList as mailbeans >
<#if mailbeans.leader >
[Category: ${mailbeans.categoryName}]
[Forum: ${mailbeans.forumName}]
</#if>
Thread [${mailbeans.threadTopic}] given to us by ${mailbeans.memberName}
last posted by ${mailbeans.lastPostMemberName} on ${mailbeans.threadLastPostDate}
${mailbeans.threadUrl}
</#list>
threadTopic
Thread Topic. Usage: ${mailbeans.threadTopic}
memberName
Thread Owner. Usage: ${mailbeans.memberName}
lastPostMemberName
The last post member in the thread. Usage: ${mailbeans.lastPostMemberName}
threadLastPostDate
The last post date in the thread. Usage: ${mailbeans.threadLastPostDate}
threadUrl
Thread URL. Usage: ${mailbeans.threadUrl}
<%} else if (template.equals(MVNForumGlobal.TEMPLATE_FORGOTPASSWORD_PREFIX)) {%>