<commit_before>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hu.sch.kp.web.pages.elbiralas;

import hu.sch.domain.ElbiraltErtekeles;
import hu.sch.domain.ErtekelesStatusz;
import hu.sch.kp.services.ErtekelesManagerLocal;
import hu.sch.kp.web.templates.SecuredPageTemplate;
import java.util.Iterator;
import java.util.List;
import javax.ejb.EJB;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.FormComponent;
import org.apache.wicket.markup.html.form.TextArea;
import org.apache.wicket.markup.html.list.ListItem;
import org.apache.wicket.markup.html.list.ListView;
import org.apache.wicket.markup.html.panel.FeedbackPanel;
import org.apache.wicket.model.CompoundPropertyModel;

/**
 *
 * @author hege
 */
public class ElbiralasIndoklas extends SecuredPageTemplate {

    @EJB(name = "ErtekelesManagerBean")
    ErtekelesManagerLocal ertekelesManager;

    public ElbiralasIndoklas(final List<ElbiraltErtekeles> elbiralasAlatt) {
        add(new FeedbackPanel("pagemessages"));
        setHeaderLabelText("Elbírálás értékelése");
        Form elbiralasForm = new Form("elbiralasindoklasform") {

            @Override
            protected void onSubmit() {
                Iterator<ElbiraltErtekeles> it = elbiralasAlatt.iterator();

                    if (ertekelesManager.ErtekeleseketElbiral(elbiralasAlatt, getFelhasznalo())) {<commit_msg>Header text updated on ElbiralasIndoklas page<commit_after>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hu.sch.kp.web.pages.elbiralas;

import hu.sch.domain.ElbiraltErtekeles;
import hu.sch.domain.ErtekelesStatusz;
import hu.sch.kp.services.ErtekelesManagerLocal;
import hu.sch.kp.web.templates.SecuredPageTemplate;
import java.util.Iterator;
import java.util.List;
import javax.ejb.EJB;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.FormComponent;
import org.apache.wicket.markup.html.form.TextArea;
import org.apache.wicket.markup.html.list.ListItem;
import org.apache.wicket.markup.html.list.ListView;
import org.apache.wicket.markup.html.panel.FeedbackPanel;
import org.apache.wicket.model.CompoundPropertyModel;

/**
 *
 * @author hege
 */
public class ElbiralasIndoklas extends SecuredPageTemplate {

    @EJB(name = "ErtekelesManagerBean")
    ErtekelesManagerLocal ertekelesManager;

    public ElbiralasIndoklas(final List<ElbiraltErtekeles> elbiralasAlatt) {
        add(new FeedbackPanel("pagemessages"));
        setHeaderLabelText("Elbírálás indoklása");
        Form elbiralasForm = new Form("elbiralasindoklasform") {

            @Override
            protected void onSubmit() {
                Iterator<ElbiraltErtekeles> it = elbiralasAlatt.iterator();

                    if (ertekelesManager.ErtekeleseketElbiral(elbiralasAlatt, getFelhasznalo())) {
{'fraction_non_alphanumeric': 0.10512396694214876, 'fraction_numerical': 0.0, 'mean_word_length': 4.3087719298245615, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1118930', 'n_tokens_mistral': 1039, 'n_tokens_neox': 1002, 'n_words': 165}