Note that there are some explanatory texts on larger screens.

plurals
  1. POhow to make a meeting in JSF
    primarykey
    data
    text
    <p>I need to create a page for a meeting between users I've done this: <img src="https://i.stack.imgur.com/O65kk.jpg" alt="Meeting webpage"></p> <p>page.xhtml</p> <pre><code>&lt;p:facet name="west"&gt; &lt;ice:outputText value="Tareas"/&gt; &lt;h:panelGrid id="panelGrid1" columns="1" cellspacing="10" style="margin:0 auto 0 auto; height: 188px; "&gt; &lt;ace:list id="list" value="#{reunionBean.listaOrigen}" dropGroup="textGroup" selection="true" style="height: 590px; width: 300px; " bodyStyle="height:570px;width:300px;" styleClass="inlineList"&gt; &lt;ace:ajax event="migrate"/&gt; &lt;/ace:list&gt; &lt;/h:panelGrid&gt; &lt;/p:facet&gt; &lt;p:facet name="center"&gt; &lt;ice:outputText value="Usuarios"/&gt; &lt;h:panelGrid id="panelGrid2" columns="2" cellspacing="10" style="margin:0 auto 0 auto;"&gt; &lt;h:panelGrid columns="1"&gt; &lt;ace:panel&gt; &lt;ice:outputText value="#{reunionBean.usuarioParticipante1}" styleClass="textuser"/&gt; &lt;/ace:panel&gt; &lt;ace:list id="list1" value="#{reunionBean.listaParticipante1}" dropGroup="textGroup" selection="true" style="height:100px;width:300px;" bodyStyle="height:100px;width:300px;" styleClass="inlineList"&gt; &lt;ace:ajax event="migrate"/&gt; &lt;/ace:list&gt; &lt;/h:panelGrid&gt; &lt;h:panelGrid columns="1"&gt; &lt;ace:panel&gt; &lt;ice:outputText value="#{reunionBean.usuarioParticipante2}" styleClass="textuser"/&gt; &lt;/ace:panel&gt; &lt;ace:list id="list2" value="#{reunionBean.listaParticipante2}" dropGroup="textGroup" selection="true" style="height:100px;width:300px;" bodyStyle="height:100px;width:300px;" styleClass="inlineList"&gt; &lt;ace:ajax event="migrate"/&gt; &lt;/ace:list&gt; &lt;/h:panelGrid&gt; &lt;/h:panelGrid&gt;&lt;/p:facet&gt; </code></pre> <p>My problem is that I need to save the lists of each user (listaParticipante1 listaParticipante2,...) in a bean that was shared by all users because otherwise, when I assign a task, only current user sees changes, and for other users, listaParticipante1,2,... is empty.</p> <p>I am using a session bean Scope. should I use application Scope? I´ve tried it but i can't access a Session Bean since a Application Bean and I need "reu" Object, See may method to initialize the list "listaParticipante2"</p> <p>reu is an object of @ManagedBean(name="reunionBean") @SessionScoped that I nedd to initialize the lists</p> <pre><code>public void getTareasActivasUsuarioJira(String userName){ List&lt;Issue&gt; lista= issueF.getUserOpenIssues(reu.getProyectoKey(), userName); for (Issue issue : lista) { SelectItem s = new SelectItem(); String tarea= issue.getKey() +" | "+ issue.getPriority().getName() +" | "+ issue.getTimeTracking().getRemainingEstimateMinutes()+" min | "+ issue.getTimeTracking().getOriginalEstimateMinutes()+" min | "+ issue.getSummary(); s.setLabel(tarea); s.setValue(issue); listaParticipante2.add(s); } System.out.println("LISTA-participante 2: "+listaParticipante2); } </code></pre> <p>NOTE: I get task data via REST, are not in a DDBB</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload