JSF Trinidad Rendering not working

Shiv

I have a requirement, where selection of an item from one drop down, triggers the displays for another drop down. So i used a autosubmit on the 1st dropdown and valueChange Listener which set the flags for displaying the 2nd drop down.Thought the flag is set to true, the 2nd drop down is not getting rendered. Is this a right way to do, am i missing some thing here.

I am testing this in tomcat using trinidad 2.0.1 and JSF Core 2.0.2. Any help on this is highly appreciated

    <h:form>
        <tr:panelFormLayout labelWidth="30%">
            <tr:selectOneChoice id="prior" value="#{render.priority}"
                label="Priority" immediate="true" autoSubmit="true"
                valueChangeListener="#{render.valueChanged}"
                unselectedLabel="..Please select a priority">
                <f:selectItem itemLabel="Low" itemValue="1" />
                <f:selectItem itemLabel="Medium" itemValue="2" />
                <f:selectItem itemLabel="High" itemValue="3" />
            </tr:selectOneChoice>
        </tr:panelFormLayout>

        <tr:panelGroupLayout partialTriggers="prior"
            rendered="#{render.displayInput}">
            <tr:outputLabel value="Testing"></tr:outputLabel>
        </tr:panelGroupLayout>
    </h:form>
lkdg

Is this your whole code? You would be missing some tags

<tr:document>
<tr:form>
    ........
</tr:form>
</tr:document>

////

<tr:form> instead of <h:form>

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

JSF Managed Beans not working with spring security filter

분류에서Dev

Conditional rendering based on state not working on state change

분류에서Dev

dustjs rendering client-side not working

분류에서Dev

Apache Trinidad 앱을 Tomcat 8에서 실행할 수 있습니까?

분류에서Dev

봄 MVC + jsf + jquery

분류에서Dev

spring MVC + jsf + jquery

분류에서Dev

jsf h : link includeviewparams

분류에서Dev

GNU gettext and JSF

분류에서Dev

JSF 2 includeViewParams

분류에서Dev

Servlet filter with JSF

분류에서Dev

Dealing with BigDecimals in JSF

분류에서Dev

JSF and jquery vs Primefaces

분류에서Dev

jsf - foreign key in datatable

분류에서Dev

JSF ManagedProperty NullPointerException

분류에서Dev

Client side rendering and skipping server rendering approach?

분류에서Dev

Loading PrimeFaces Schedule JSF page through ajax into another JSF page

분류에서Dev

JSF Expire session from code

분류에서Dev

What is the purpose of integrating JSF with Spring

분류에서Dev

Where to put application settings in JSF

분류에서Dev

What is the purpose of integrating JSF with Spring

분류에서Dev

Adding jsf attribute using jquery

분류에서Dev

JSF El executing at compile time

분류에서Dev

jsf composite component nested EL

분류에서Dev

JSF의 중복 ID

분류에서Dev

Spring 4 및 JSF ViewScope

분류에서Dev

JSF 2.0 Primefaces <p : selectOneRadio>

분류에서Dev

Error when using JSF @ManagedProperty(...)?

분류에서Dev

selectOneMenu의 AJAX JSF selectItems

분류에서Dev

JSF Access control on direct object