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 8035047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:11:59+00:00 2026-06-05T02:11:59+00:00

I have a ice:dataTable with a ice:rowSelector in one column, and a ice:selectBooleanCheckbox in

  • 0

I have a ice:dataTable with a ice:rowSelector in one column, and a ice:selectBooleanCheckbox in another column. The ice:rowSelector has toggleOnInput set to false.
If I select a checkbox (with a click) in one row, the clickAction is not fired (because of toggleOnInput – so far, so good).
But If I click on a button on the same page after this, regardless of what action bindings they have, the rowSelector’s clickAction is fired. Why?
Any ideas to prevent this?

Here is my page definition:

<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ice="http://www.icesoft.com/icefaces/component"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html">
    <f:view>
        <ice:form>
            <ice:commandButton value="Test" />

            <ice:dataTable id="dataTable"
                       value="#{PageBean.data}"
                       var="entity">
                <ice:column>
                    <ice:selectBooleanCheckbox />
                </ice:column>
                <ice:column>
                    <ice:outputText value="#{entity.name}" />
                    <ice:rowSelector clickAction="#{PageBean.clickAction}" toggleOnInput="false" />                 
                </ice:column>
            </ice:dataTable>
       </ice:form>
    </f:view>
</html>
  • 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-06-05T02:12:00+00:00Added an answer on June 5, 2026 at 2:12 am

    You can try making different forms for other buttons in the page and the data table, we should not have nested forms but can have multiple forms

    Also I would suggest to use selectionAction attribute if you are performing an Action method to call when the respective row is clicked.

    Hope this could help you

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a datatable with a button in each row: <ice:dataTable ... var=item> <ice:column>
I have a <ice:dataTable> and I want to add a checkbox to each row.
I have a JSF 1.2 dataTable using ICEfaces 1.8. In one column, I would
I have a dataTable which has a value of a bean class which looks
I realise I'm treading on thin ice opening another closure issue, but I have
<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
My ice:dataTable looks like below:- <ice:dataTable id=someTbl var=someVar value=#{someBean.someList} > <ice:column> <f:facet name=header> <ice:outputText
Hello I have developed my first application for Android using the Ice Cream Sandwich
Let's say I have a RESTful, hypertext-driven service that models an ice cream store.
Have deployed numerous report parts which reference the same view however one of them

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.