You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matthias Wronka (JIRA)" <de...@myfaces.apache.org> on 2017/04/06 06:39:41 UTC

[jira] [Created] (TOBAGO-1731) Input suggest-layer misplaced in combination with (after-)facet

Matthias Wronka created TOBAGO-1731:
---------------------------------------

             Summary: Input suggest-layer misplaced in combination with (after-)facet
                 Key: TOBAGO-1731
                 URL: https://issues.apache.org/jira/browse/TOBAGO-1731
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core
    Affects Versions: 3.0.3
            Reporter: Matthias Wronka


If a tc:in contains
  * a tc:suggest
  * a f:facet

the layer with containing the suggest-items is misplaced. It is displayed in the upper left corner instead of relative beneath the tc:in.

{code:xml}
<tc:in label="#{msg.task_VorgeschlageneKandidaten}"readonly="#{taskController.fieldReadonly}" 
                            tip="#{msg.task_VorgeschlageneKandidaten_tip}" id="ID_neuer_Candidate" 
                            value="#{candidateAuswahlController.suggestCandidate}" 
                            placeholder="#{msg.task_VorgeschlageneKandidaten_placeholder}" 
                            focus="#{candidateAuswahlController.focusNeuerCandidateField}"> 
    <tc:suggest query="#{candidateAuswahlController.suggestCandidate}" minimumCharacters="1" 
        maximumItems="15" delay="200"> 
        <tc:selectItems value="#{candidateAuswahlController.contains}" var="name" 
            itemValue="#{name}"/> 
    </tc:suggest> 
    <tc:validateSubmittedValueLength maximum="300" /> 
    <tc:button action="#{candidateAuswahlController.addAuswahl}" defaultCommand="true"> 
        <tc:style display="none" /> 
        <f:ajax execute="ID_neuer_Candidate" render="ID_candidates-panel ID_candidate-input" /> 
    </tc:button> 
    <f:facet name="after"> 
        <tc:button label="#{msg.link_AuswahlMitShuttleSelektion}" 
            rendered="#{!taskController.fieldReadonly}"> 
            <tc:operationname="show" for="::::ID_popup_shuttle_candidate" /> 
        </tc:button> 
    </f:facet> 
  </tc:in> 
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)