• FormTable/FormRow - hide when

    By Fero Kossuth 1 decade ago

    Scenario: combo box with some values. For value1 i want tho show another row containing some other fields. For value2 I want  to hide it. OnChage event of combobox should trigger partial refresh of the row, so its rendered property would evaluate visibility.

     

    Problem: how to setup partial refresh triggered by onChange event of combobox? ID of FormRow is not assigned to any rendered object, so there is an error sending partial refresh request. I have tried to workaround it by putting row into panel or div, but they are not rendered neither.

     

    FK

    • You cannot partial refresh a single row

      By Philippe Riand 1 decade ago

      This is because, beyond the missing id, it is not rendered by its own renderer but by the form's one
      Just partial refresh the entire form, this should not be a performance problem.