<%@ taglib prefix="c" uri="/WEB-INF/common" %>

<%@ taglib prefix="t" uri="http://myfaces.apache.org/tomahawk" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>

<f:loadBundle var="bundle" basename="tvark.Resources"/>

<c:body step="#{3}">

    <h:outputFormat value="#{bundle.formatStepTitle}" styleClass="float-title">
        <f:param value="3" />
        <f:param value="#{bundle.titleOptimization}" />
    </h:outputFormat>

    <h:selectOneRadio layout="pageDirection" value="#{methodBean.method}" required="true">
        <f:selectItem itemLabel="#{bundle.monteCarlo}" itemValue="mc"/>
        <f:selectItem itemLabel="#{bundle.simulatedAnnealing}" itemValue="sa"/>
        <f:selectItem itemLabel="#{bundle.bayes}" itemValue="bayes"/>        
    </h:selectOneRadio>
    
    <h:commandButton action="#{methodBean.set}" value="#{bundle.choose}" styleClass="button" />

</c:body>
