Hej,
mój problem polega na tym, że nie wywołuje mi się metoda dodająca nowy komentarz do bazy. Przed zmianami na 'froncie' ta metoda działała, teraz natomiast nawet się nie wywołuje przy debugowaniu. Może ktoś z Was mi pomoże znaleźć błąd?

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">  
    <ui:composition> 

        <f:metadata> 
            <f:viewAction action="#{loginController.redirectOnLoggedIn()}"/> 
        </f:metadata>

        <h:form> 
            <f:event type="preRenderView" listener="#{ratingController.initRatingData()}"/>
            <f:event listener="#{order1Controller.initUserOrderList()}" type="preRenderView" />
        </h:form>   

        <!--        <h:form id="showOrderDetailsForm">-->
        <p:dialog id="showOrderDetailsForm" width="50%" height="100%" widgetVar="showOrderDetails" resizable="false" modal="true" showEffect="fade" hideEffect="fade" dynamic="true" draggable="false" fitViewport="true" >    

            <f:facet name="header">
                <h:outputText value="#{showOrderDetails.lblMyOrderList}" style="font-size: 30px; "/>  
            </f:facet>

            <p:scrollPanel style="width:100%;height:500px">
                <p:outputPanel id="orderDetail" style="text-align:center;"> 
                    <p:panelGrid columns="2" rendered="#{not empty order1Controller.selectedOrder}" columnClasses="label,value">
                        <f:facet name="header"/>

                    </p:panelGrid>
                </p:outputPanel>                <!--
        <p:scrollPanel>-->

                <div class="ui-g-12">
                    <p:dataTable id="projectTableAll"
                                 value="#{order1Controller.selectedOrders}"
                                 var="list"
                                 rowKey="#{list.orderId}"
                                 reflow="true"
                                 widgetVar="order"
                                 scrollable="false"
                                 emptyMessage="#{order.lblRecordsNotFound}"
                                 style="margin-top: 10px;">

                        <p:column style="width: 20%" >
                            <f:facet name="header">
                                <h:outputText style="font-size:15px" />
                            </f:facet>
                            <h:outputText value="#{list.name}" style="font-weight: bold"/><br/><br/> 
                            <h:outputText value="Zaladunek" style="font-weight: bold; font-size: 24px; margin-top: 5%!important"/>  
                            <div/> 
                            <div>
                                <h:outputText value="#{list.pickupAddress.country}" style="font-weight: bold" /><br/><br/> 
                                <h:outputText value="#{list.pickupAddress.street}" style="font-size: small"/><br/>
                                <h:outputText value="#{list.pickupAddress.town}" style="font-size: small"/><br/>
                                <h:outputText value="#{list.pickupAddress.zipCode}" style="font-size: small"/>
                            </div> 
                            <h:outputText value="Kiedy: " style="font-weight: bold"/>  
                            <h:outputText value="#{list.pickupDate}" style="font-size: small">
                                <f:convertDateTime pattern="dd.MM.yyyy" />
                            </h:outputText><br/><br/>

                            <div>
                                <h:outputText value="Rozładunek " style="font-weight: bold; font-size: 24px; margin-top: 5%!important"/> <br/> 
                                <h:outputText value="#{list.deliveryAddress.country}" style="font-weight: bold" /><br/><br/> 
                                <h:outputText value="#{list.deliveryAddress.street}" style="font-size: small"/><br/>
                                <h:outputText value="#{list.deliveryAddress.town}" style="font-size: small"/><br/>
                                <h:outputText value="#{list.deliveryAddress.zipCode}" style="font-size: small"/> <br/>
                                <h:outputText value="Kiedy: " style="font-weight: bold" />
                                <h:outputText value="#{list.deliveryDate}" style="font-size: small">
                                    <f:convertDateTime pattern="dd.MM.yyyy" />
                                </h:outputText><br/><br/>
                            </div> 


                            <h:outputText value="Pojazd " style="font-size:20px; font-weight: bold" /><br/>
                            <h:outputText value="#{list.bodyForm}" /><br/>
                            <h:outputText value="#{list.capacity}#{list.unit}" style="font-size: small" /><br/>
                            <h:outputText value="#{list.lodeType}" style="font-size: small"/><br/>

                            <h:outputText value="Trasa: " style="font-weight: bold; font-size: 20px"/>
                            <h:outputText value="340 km"/><br/><br/>

                            <h:outputText value="Budżet: " style="font-weight: bold; font-size: 20px"/>
                            <h:outputText value="#{list.budget} PLN" style="font-size: small"/><br/><br/>


                        </p:column> 
                    </p:dataTable> 
                </div> 

                <h:form style="ui-comment-section"> 
                    <p:dataScroller value="#{order1Controller.selectedOrder.offerList}"
                                    var="offer" 
                                    chunkSize="10" style="text">  
                        <f:facet name="header"> 
                            Oferty
                        </f:facet> 
                        <p:panelGrid columns="6" style="width: 100%" columnClasses="price,offet,id"> 

                            <p:outputPanel> 
                                <h:panelGrid columns="6" cellpadding="10"> 
                                    <h:outputText value="Price: "/> 
                                    <h:outputText value="#{offer.oldValue}" style="font-weight: bold"/> 

                                    <h:outputText value="Offer: "/> 
                                    <h:outputText value="#{offer.offerCommentText}" style=" "/> 

                                    <h:outputText value="Użytkownik: "/> 
                                    <h:outputText value="#{offer.userId}" style="font-weight: bold"/> 
                                </h:panelGrid> 
                            </p:outputPanel>   
                        </p:panelGrid>  

                        <p:panelGrid>
                            <h:outputLabel />
                            <p:inplace id="image" label="Dodaj komentarz" effect="slide" toggleable="true" style="border: 1px" >
                                <h:outputLabel style="float: left; margin: 2%"/> 
                                <h:panelGroup style="float: left; width: 20%; margin: 2%">
                                    <p:spinner id="oldValue" min="0" size="2" stepFactor="0.01" value="#{offerController.oldValue}" />  
                                    <p:spacer width="5%"/>
                                    <h:outputText  value="PLN"></h:outputText>
                                </h:panelGroup>  
                                <p:inputText value="#{commentController.commentText}" onfocus="#{commentController.setSelectedOffer(offer)}" required="true" placeholder="Komenatarz" style="float: left; margin: 2%; width: 50%" />  

                                <p:commandButton value="Dodaj" action="#{commentController.addComment()}" style="margin: 2% 2% 2% 160%" oncomplete="PF('showOrderDetailsForm').hide()" ajax="false" process="@this showOrderDetailsForm" icon="ui-icon-pencil" update="@this showOrderDetailsForm"/>
                            </p:inplace> 

                        </p:panelGrid> 
                    </p:dataScroller> 
                </h:form>

            </p:scrollPanel>
        </p:dialog>   
        <!--        </h:form>  -->

    </ui:composition> 
</html>   

Moja metoda addComment wygląda tak:

    public void addComment() {
        Comment commentToBeAdded = selectedComment;
        Offer offerId = offerController.getSelectedOffer();
        UserAccount user = userAccountService.getLoggedUser();
        commentToBeAdded.setCommentText(commentText);
        commentToBeAdded.setCommentCreatingTime(new Date());
        commentToBeAdded.setCommentId(commentId);
        commentToBeAdded.setUserId(user);
        commentToBeAdded.setOfferId(offerId);
        commentService.create(commentToBeAdded);
    }