|
|
|
|
@ -8,7 +8,7 @@ package planosactuacao;
|
|
|
|
|
|
|
|
|
|
import com.sun.rave.web.ui.appbase.AbstractPageBean;
|
|
|
|
|
import com.sun.webui.jsf.component.Button;
|
|
|
|
|
import com.sun.webui.jsf.component.Hyperlink;
|
|
|
|
|
import com.sun.webui.jsf.component.PageSeparator;
|
|
|
|
|
import com.sun.webui.jsf.component.PanelGroup;
|
|
|
|
|
import com.sun.webui.jsf.component.StaticText;
|
|
|
|
|
import db.entidades.Area;
|
|
|
|
|
@ -247,6 +247,7 @@ public class ViewPlano extends AbstractPageBean {
|
|
|
|
|
|
|
|
|
|
private void showRiscos(List<Risco> riscos)
|
|
|
|
|
{
|
|
|
|
|
int rCount = 0;
|
|
|
|
|
for(Risco risco : riscos)
|
|
|
|
|
{
|
|
|
|
|
HtmlPanelGrid grd = new HtmlPanelGrid();
|
|
|
|
|
@ -281,6 +282,13 @@ public class ViewPlano extends AbstractPageBean {
|
|
|
|
|
//showValores(risco.getValores());
|
|
|
|
|
showValor(risco);
|
|
|
|
|
//showMedidas(risco.getMedidas());
|
|
|
|
|
|
|
|
|
|
if ( rCount < riscos.size() - 1 )
|
|
|
|
|
{
|
|
|
|
|
showSeparator( );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rCount++;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -863,6 +871,14 @@ public class ViewPlano extends AbstractPageBean {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void showSeparator()
|
|
|
|
|
{
|
|
|
|
|
PageSeparator separator = new PageSeparator();
|
|
|
|
|
// separator.setStyle( "margin-bottom: 50px;" );
|
|
|
|
|
gridAreaContainer.getChildren().add( separator );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String butVoltar_action() {
|
|
|
|
|
// TODO: Process the action. Return value is a navigation
|
|
|
|
|
// case name where null will return to the same page.
|
|
|
|
|
|