Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1034389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:23:01+00:00 2026-05-16T14:23:01+00:00

My ice:dataTable looks like below:- <ice:dataTable id=someTbl var=someVar value=#{someBean.someList} > <ice:column> <f:facet name=header> <ice:outputText

  • 0

My ice:dataTable looks like below:-

<ice:dataTable id="someTbl" var="someVar" value="#{someBean.someList}" >
   <ice:column>  
       <f:facet name="header"> <ice:outputText value="#{msgs.tblCol1}"> </f:facet>
       <ice:outputText value="#{someVar.name}"/>
    </ice:column>
   <ice:column>  
       <f:facet name="header"> <ice:outputText value="#{msgs.tblCol2}"> </f:facet>
        <ice:selectInputDate id="startCal" value="#{someVar.startTime}"
                 renderAsPopup="true" renderYearAsDropdown="true"    
                 renderMonthAsDropdown="true" partialSubmit="true" >
                 <f:convertDateTime pattern="MM/dd/yyyy HH:mm" type="date" timeZone="EST"/> 
        </ice:selectInputDate>
    </ice:column>
    <ice:column>  
       <f:facet name="header"> <ice:outputText value="#{msgs.tblCol3}"> </f:facet>
        <ice:selectInputDate id="endCal" value="#{someVar.endTime}"
                 renderAsPopup="true" renderYearAsDropdown="true"    
                 renderMonthAsDropdown="true" partialSubmit="true" validator="#{someBean.validateEndtime}">
                 <f:convertDateTime pattern="MM/dd/yyyy HH:mm" type="date" timeZone="EST"/> 
        </ice:selectInputDate>
    </ice:column>
</ice:dataTable> 

When the validator on the second calendar (id “endCal”) on the row is invoked, I want to get the value of the first calendar (id “startCal”) on that row in my backing bean. Is there a way to accomplish that? I was wondering about ice:rowSelector but I noticed I can only get the rowId of the selected which means I will have to traverse through the “someBean.someList” in the validator method to find the values for that entry.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:23:02+00:00Added an answer on May 16, 2026 at 2:23 pm

    First bind the first input to bean:

    <ice:selectInputDate id="startCal" binding="#{someBean.startCalComponent}" ... >
    

    with this property:

    private UIInput startCalComponent; // +getter+setter
    

    Then, in your SomeBean#validateEndtime() method do:

    Date startTime = (Date) startCalComponent.getValue();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

<ice:column style=width: 30px;> <f:facet name=header> <ice:selectBooleanCheckbox value=#{createToolsOrderInwardsBean.test} partialSubmit=true valueChangeListener=#{createToolsOrderInwardsBean.selectInwardQuantityChk} id=slc-tlmanage-selectallee></ice:selectBooleanCheckbox> </f:facet> <ice:selectBooleanCheckbox value=#{currentRow.chkInwardQuantity} immediate=true
I have a datatable with a button in each row: <ice:dataTable ... var=item> <ice:column>
I have a dataTable which has a value of a bean class which looks
I need to set the action for a commandLink dynamically. <ice:repeat value=#{mLeft.links} var=xxx> <cvu:leftLink
I have a ice:dataTable with a ice:rowSelector in one column, and a ice:selectBooleanCheckbox in
I have an ice:selectInputDate but the value of the component is not the same
I have a table with some ice cream order data like so: id order_number
I would like to know ice cream preferences of all my cats in an
I know this looks like a lot of text, but I think it's a
I have a JSF 1.2 dataTable using ICEfaces 1.8. In one column, I would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.