Subversion Repositories bacoAlunos

Compare Revisions

Ignore whitespace Rev 315 → Rev 316

/impl/src/java/pt/estgp/estgweb/domain/views/BlogPostView.java
8,6 → 8,8
import java.util.List;
import java.io.Serializable;
 
import jomm.utils.StringsUtils;
 
/**
* @author Jorge Machado
* @date 2/Mar/2008
114,6 → 116,11
return title;
}
 
public String getFormatedTitle()
{
return StringsUtils.getEscapeHtmlText(title);
}
 
public void setTitle(String title)
{
this.title = title;
124,6 → 131,11
return text;
}
 
public String getFormatedText()
{
return StringsUtils.getFormatedText(text);
}
 
public void setText(String text)
{
this.text = text;
/impl/src/java/pt/estgp/estgweb/domain/views/BlogView.java
10,6 → 10,7
import java.util.List;
 
import jomm.dao.impl.AbstractDao;
import jomm.utils.StringsUtils;
 
/**
* @author Jorge Machado
243,6 → 244,10
{
return title;
}
public String getFormatedaaTitle()
{
return StringsUtils.getEscapeHtmlText(title);
}
 
public void setTitle(String title)
{
254,6 → 259,11
return description;
}
 
public String getFormatedDescription()
{
return StringsUtils.getFormatedText(description);
}
 
public void setDescription(String description)
{
this.description = description;
/impl/src/web/public/blogs/blog.jsp
30,7 → 30,7
<div class="seccao">
<div class="postHeader">
<h1>
<bean:write name="BlogView" property="title"/>
${BlogView.formatedaaTitle}
</h1>
<baco:canManage name="BlogView">
 
64,7 → 64,7
%>
</td>
<td valign="top">
${BlogView.description}
${BlogView.formatedDescription}
</td>
</tr>
</table>
137,7 → 137,7
<baco:canLoad name="post">
<tr>
<td colspan="2" class="title">
<a name="post${post.id}"></a>${post.title}
<a name="post${post.id}"></a>${post.formatedTitle}
<baco:canManage name="post">
<a onclick="return confirm('${confirmDeletePost}')" href="<%=request.getContextPath()%>${user}/startDeletePost${fromAction}.do?id=${post.id}&blogId=${BlogView.id}"><bean:message key="blog.delete.post"/></a>
<baco:canManage name="BlogView">
161,7 → 161,7
</tr>
<tr>
<td valign="top">
${post.text}
${post.formatedText}
</td>
<td valign="top">
<%
/impl/src/web/user/courseunits/courseunitassignement.jsp
124,7 → 124,7
<bean:message key="courseunit.assignement.deliver.time.ok"/>
</td>
</logic:notEqual>
<td>${deliverable.student.code}</td>
<td align="right">${deliverable.student.code}</td>
<td>${deliverable.student.name}</td>
<td><a target="_blank" href="<%=request.getContextPath()%>/repositoryStream/${deliverable.fileStreamId}"><bean:message key="courseunit.assignement.deliver.version"/> (${deliverable.deliverDateStr})</a></td>
<td>