tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54191] TomEE 1.5+ SNAPSHOT struggling with PrimeFaces p:calendar readonlyInput="#{someEL ? 'true' : 'false'}"
Date Fri, 23 Nov 2012 05:37:41 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54191

--- Comment #3 from smithh032772 <smithh032772@gmail.com> ---
Below, is xhtml that has EL in the readonlyInput property, but I am not able to
duplicate this issue on the EL. I thought I may share this, so this xhtml can
be compared to the xhtml in the OP.

<p:dataTable id="dt_tripsToConfirm" var="order"
         value="#{pf_ordersController.tripsToConfirm}">

    <p:column headerText="Trip Date">
    <h:outputText escape="false"
             
value="#{pf_ordersController.getTripDateDisplay(order.tripDateTime,
order.returnDateTime, true, true, true)}"/>
    </p:column>

    <p:column headerText="Customer">
    <h:outputText value="#{order.customerId.customerName}" /><br/>
    <h:outputText escape="false"
             
value="#{pf_ordersController.getOrderCustomerPointOfContactListDisplay(order)}"
/>
    </p:column>

    <p:column headerText="Confirmed?" style="text-align: center !important;">
    <h:selectOneMenu value="#{order.confirmed}" label="Confirmed">
        <f:selectItem itemValue="#{bundle.DropdownOptionValueYes}"
itemLabel="#{bundle.DropdownOptionLabelYes}"/>
        <f:selectItem itemValue="#{bundle.DropdownOptionValueNo}"
itemLabel="#{bundle.DropdownOptionLabelNo}"/>
        <p:ajax partialSubmit="false"
           
listener="#{pf_ordersController.confirmedChangedOnConfirmTrips(order)}"
            update=":pageContentPanel"/>
    </h:selectOneMenu>
    </p:column>

    <p:column headerText="Confirmed Date" style="text-align: center
!important;">
    <p:calendar value="#{order.confirmedDate}"
            rendered="#{order.confirmed == 'Y'}"
            label="Confirmed Date"
            mode="popup" showOn="button"
readonlyInput="#{pf_usersController.loggedInViaIpad == 'Y' ? 'true' : 'false'}"
            navigator="true" effect="fadeIn"
            pattern="MM/dd/yyyy" size="8">
        <f:convertDateTime pattern="MM/dd/yyyy" />
    </p:calendar>
    </p:column>

</p:dataTable>

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message