Tapestry AjaxFormLoop rows affecting each other's values, why?How to render AjaxFormLoop properly?Loop through a collection without a 'value' property in TapestryHow to add a tooltip(or a title tag) to tapestry grid rows?Tapestry 5: Value of password field not bound to variableHow to pass Textfields values from form to .java class in Tapestry?How to put a value into html code in tapestry?Tapestry zone update - does not retain value on page errorJava Tapestry : why is onActivate method called twice?tapestry template called twice for each requestPassing the value of a variable in a response url with tapestryWhy @Secured is not working in Tapestry 5.4.0?

Why does Coq include let-expressions in its core language

Why would "an mule" be used instead of "a mule"?

Do any aircraft carry boats?

Where to disclose a zero day vulnerability

A medieval fantasy adventurer lights a torch in a 100% pure oxygen room. What happens?

Why did it become so much more expensive to start a university?

The Planck constant for mathematicians

Which ping implementation is Cygwin using?

How seriously should I take a CBP interview where I was told I have a red flag and could only stay for 30 days?

How can I fix a framing mistake so I can drywall?

How can I locate a missing person abroad?

Why did they ever make smaller than full-frame sensors?

Maintenance tips to prolong engine lifespan for short trips

What is a realistic time needed to get a properly trained army?

Gravity on an Orbital Ring

What exactly is a marshrutka (маршрутка)?

Pluses and stars inside square visual quiz

Do I need 3 RGB channels for a spectrogram CNN?

What is this unknown executable on my boot volume? Is it Malicious?

What is my breathable atmosphere composed of?

Why is a "scarf hold" so-named if you don't wrap around the opponent's neck (like a scarf)?

ArcPy: define fields to keep, delete all other fields in a feature class

Can I conceal an antihero's insanity - and should I?

Is there a reliable way to hide/convey a message in vocal expressions (speech, song,...)



Tapestry AjaxFormLoop rows affecting each other's values, why?


How to render AjaxFormLoop properly?Loop through a collection without a 'value' property in TapestryHow to add a tooltip(or a title tag) to tapestry grid rows?Tapestry 5: Value of password field not bound to variableHow to pass Textfields values from form to .java class in Tapestry?How to put a value into html code in tapestry?Tapestry zone update - does not retain value on page errorJava Tapestry : why is onActivate method called twice?tapestry template called twice for each requestPassing the value of a variable in a response url with tapestryWhy @Secured is not working in Tapestry 5.4.0?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have an ajaxFormLoop on a list of objects that have some fields.



<div class="col-1-1"
data-parent-subprovider="parentSubprovider">
<div t:type="ajaxformloop" t:id="subproviderLoop"
t:source="entity.contractSubprovider.subproviderList"
t:element="entity.contractSubprovider"
t:value="subprovider" t:encoder="subproviderLoopEncoder">
<div class="col-3-4">
<t:subproviderEdit
t:subprovider="subprovider" />
</div>
<div class="col-1-4">
<t:removerowlink class="btn btn--outline"
name="subprovider" style="margin-top: 5px">
$message:remove-subprovider-button
</t:removerowlink>
</div>
<p:addRow>
<div class="col-3-4">
<a t:type="addRowLink" t:mixins="LayoutButton"
t:color="green" class="margin--top">
<i class="fa fa-plus-circle"></i>
$message:add-subprovider-button
</a>
</div>
</p:addRow>
</div>
</div>


In the frontend there is a dropdown menu entityContractSubproviderSubCategoryofoutsourcedserviceRequired that gets filled with new choices when another dropdown menu entityContractSubproviderCategoryofoutsourcedserviceRequired value changes.



<div data-fragment-container="categoryofoutsourcedserviceSubproviderContainer">
<div class="form__row">

<div class="col-1-4 inline">
<div t:type="LayoutSelectList"
t:model="entityCategoryofoutsourcedserviceModel"
t:id="entityContractSubproviderCategoryofoutsourcedserviceRequired"
t:value="subprovider.categoryofoutsourcedservice"
t:valueEncoder="categoryofoutsourcedserviceValueEncoder"
t:blankOption="ALWAYS"
t:mixins="ExclusiveTriggerFragment,DpmFormGroup"
data-for-trigger-group="categoryofoutsourcedserviceSubproviderGroup"
data-fragment-container-id="categoryofoutsourcedserviceSubproviderContainer"
t:async="true"
zone="categoryOfSubModelZone"/>
</div>
<div class="form__row" t:type="if" t:test="true"
t:id="entityContractSubproviderSubCategoryofoutsourcedserviceRequired">
<div data-fragment-trigger="CRM, ICT, CONTROLFUNCTIONS, REPORTING, RISKMANAGEMENT, TREASURY, SECURITIES, PAYMENTS, OTHER" t:type="formFragment"
data-trigger-group="categoryofoutsourcedserviceSubproviderGroup"
data-fragment-detection="any"
t:visible="subproviderCategoryofoutsourcedserviceActive">
<div class="form__row">
<t:zone t:id="categoryOfSubModelZone" id="categoryOfSubModelZone" style="display: inline;">
<div class="col-1-4 inline">
<div t:type="LayoutSelectList" t:blankOption="ALWAYS"
t:model="entitySubCategoryofoutsourcedserviceModel"
t:label="message:entityContractSubproviderSubCategoryofoutsourcedserviceRequired-label"
t:value="subprovider.subcategoryofoutsourcedservice"
t:valueEncoder="subCategoryOfOutsourcedServiceValueEncoder"
t:mixins="ExclusiveTriggerFragment,FormGroup"/>
</div>
</t:zone>
</div>
</div>
</div>
</div>
</div>


The problem is whenever I add a new row and change the category dropdown choice , the subcategory menu changes in all the rows. I want it to be changed in its own row only










share|improve this question
































    0















    I have an ajaxFormLoop on a list of objects that have some fields.



    <div class="col-1-1"
    data-parent-subprovider="parentSubprovider">
    <div t:type="ajaxformloop" t:id="subproviderLoop"
    t:source="entity.contractSubprovider.subproviderList"
    t:element="entity.contractSubprovider"
    t:value="subprovider" t:encoder="subproviderLoopEncoder">
    <div class="col-3-4">
    <t:subproviderEdit
    t:subprovider="subprovider" />
    </div>
    <div class="col-1-4">
    <t:removerowlink class="btn btn--outline"
    name="subprovider" style="margin-top: 5px">
    $message:remove-subprovider-button
    </t:removerowlink>
    </div>
    <p:addRow>
    <div class="col-3-4">
    <a t:type="addRowLink" t:mixins="LayoutButton"
    t:color="green" class="margin--top">
    <i class="fa fa-plus-circle"></i>
    $message:add-subprovider-button
    </a>
    </div>
    </p:addRow>
    </div>
    </div>


    In the frontend there is a dropdown menu entityContractSubproviderSubCategoryofoutsourcedserviceRequired that gets filled with new choices when another dropdown menu entityContractSubproviderCategoryofoutsourcedserviceRequired value changes.



    <div data-fragment-container="categoryofoutsourcedserviceSubproviderContainer">
    <div class="form__row">

    <div class="col-1-4 inline">
    <div t:type="LayoutSelectList"
    t:model="entityCategoryofoutsourcedserviceModel"
    t:id="entityContractSubproviderCategoryofoutsourcedserviceRequired"
    t:value="subprovider.categoryofoutsourcedservice"
    t:valueEncoder="categoryofoutsourcedserviceValueEncoder"
    t:blankOption="ALWAYS"
    t:mixins="ExclusiveTriggerFragment,DpmFormGroup"
    data-for-trigger-group="categoryofoutsourcedserviceSubproviderGroup"
    data-fragment-container-id="categoryofoutsourcedserviceSubproviderContainer"
    t:async="true"
    zone="categoryOfSubModelZone"/>
    </div>
    <div class="form__row" t:type="if" t:test="true"
    t:id="entityContractSubproviderSubCategoryofoutsourcedserviceRequired">
    <div data-fragment-trigger="CRM, ICT, CONTROLFUNCTIONS, REPORTING, RISKMANAGEMENT, TREASURY, SECURITIES, PAYMENTS, OTHER" t:type="formFragment"
    data-trigger-group="categoryofoutsourcedserviceSubproviderGroup"
    data-fragment-detection="any"
    t:visible="subproviderCategoryofoutsourcedserviceActive">
    <div class="form__row">
    <t:zone t:id="categoryOfSubModelZone" id="categoryOfSubModelZone" style="display: inline;">
    <div class="col-1-4 inline">
    <div t:type="LayoutSelectList" t:blankOption="ALWAYS"
    t:model="entitySubCategoryofoutsourcedserviceModel"
    t:label="message:entityContractSubproviderSubCategoryofoutsourcedserviceRequired-label"
    t:value="subprovider.subcategoryofoutsourcedservice"
    t:valueEncoder="subCategoryOfOutsourcedServiceValueEncoder"
    t:mixins="ExclusiveTriggerFragment,FormGroup"/>
    </div>
    </t:zone>
    </div>
    </div>
    </div>
    </div>
    </div>


    The problem is whenever I add a new row and change the category dropdown choice , the subcategory menu changes in all the rows. I want it to be changed in its own row only










    share|improve this question




























      0












      0








      0








      I have an ajaxFormLoop on a list of objects that have some fields.



      <div class="col-1-1"
      data-parent-subprovider="parentSubprovider">
      <div t:type="ajaxformloop" t:id="subproviderLoop"
      t:source="entity.contractSubprovider.subproviderList"
      t:element="entity.contractSubprovider"
      t:value="subprovider" t:encoder="subproviderLoopEncoder">
      <div class="col-3-4">
      <t:subproviderEdit
      t:subprovider="subprovider" />
      </div>
      <div class="col-1-4">
      <t:removerowlink class="btn btn--outline"
      name="subprovider" style="margin-top: 5px">
      $message:remove-subprovider-button
      </t:removerowlink>
      </div>
      <p:addRow>
      <div class="col-3-4">
      <a t:type="addRowLink" t:mixins="LayoutButton"
      t:color="green" class="margin--top">
      <i class="fa fa-plus-circle"></i>
      $message:add-subprovider-button
      </a>
      </div>
      </p:addRow>
      </div>
      </div>


      In the frontend there is a dropdown menu entityContractSubproviderSubCategoryofoutsourcedserviceRequired that gets filled with new choices when another dropdown menu entityContractSubproviderCategoryofoutsourcedserviceRequired value changes.



      <div data-fragment-container="categoryofoutsourcedserviceSubproviderContainer">
      <div class="form__row">

      <div class="col-1-4 inline">
      <div t:type="LayoutSelectList"
      t:model="entityCategoryofoutsourcedserviceModel"
      t:id="entityContractSubproviderCategoryofoutsourcedserviceRequired"
      t:value="subprovider.categoryofoutsourcedservice"
      t:valueEncoder="categoryofoutsourcedserviceValueEncoder"
      t:blankOption="ALWAYS"
      t:mixins="ExclusiveTriggerFragment,DpmFormGroup"
      data-for-trigger-group="categoryofoutsourcedserviceSubproviderGroup"
      data-fragment-container-id="categoryofoutsourcedserviceSubproviderContainer"
      t:async="true"
      zone="categoryOfSubModelZone"/>
      </div>
      <div class="form__row" t:type="if" t:test="true"
      t:id="entityContractSubproviderSubCategoryofoutsourcedserviceRequired">
      <div data-fragment-trigger="CRM, ICT, CONTROLFUNCTIONS, REPORTING, RISKMANAGEMENT, TREASURY, SECURITIES, PAYMENTS, OTHER" t:type="formFragment"
      data-trigger-group="categoryofoutsourcedserviceSubproviderGroup"
      data-fragment-detection="any"
      t:visible="subproviderCategoryofoutsourcedserviceActive">
      <div class="form__row">
      <t:zone t:id="categoryOfSubModelZone" id="categoryOfSubModelZone" style="display: inline;">
      <div class="col-1-4 inline">
      <div t:type="LayoutSelectList" t:blankOption="ALWAYS"
      t:model="entitySubCategoryofoutsourcedserviceModel"
      t:label="message:entityContractSubproviderSubCategoryofoutsourcedserviceRequired-label"
      t:value="subprovider.subcategoryofoutsourcedservice"
      t:valueEncoder="subCategoryOfOutsourcedServiceValueEncoder"
      t:mixins="ExclusiveTriggerFragment,FormGroup"/>
      </div>
      </t:zone>
      </div>
      </div>
      </div>
      </div>
      </div>


      The problem is whenever I add a new row and change the category dropdown choice , the subcategory menu changes in all the rows. I want it to be changed in its own row only










      share|improve this question
















      I have an ajaxFormLoop on a list of objects that have some fields.



      <div class="col-1-1"
      data-parent-subprovider="parentSubprovider">
      <div t:type="ajaxformloop" t:id="subproviderLoop"
      t:source="entity.contractSubprovider.subproviderList"
      t:element="entity.contractSubprovider"
      t:value="subprovider" t:encoder="subproviderLoopEncoder">
      <div class="col-3-4">
      <t:subproviderEdit
      t:subprovider="subprovider" />
      </div>
      <div class="col-1-4">
      <t:removerowlink class="btn btn--outline"
      name="subprovider" style="margin-top: 5px">
      $message:remove-subprovider-button
      </t:removerowlink>
      </div>
      <p:addRow>
      <div class="col-3-4">
      <a t:type="addRowLink" t:mixins="LayoutButton"
      t:color="green" class="margin--top">
      <i class="fa fa-plus-circle"></i>
      $message:add-subprovider-button
      </a>
      </div>
      </p:addRow>
      </div>
      </div>


      In the frontend there is a dropdown menu entityContractSubproviderSubCategoryofoutsourcedserviceRequired that gets filled with new choices when another dropdown menu entityContractSubproviderCategoryofoutsourcedserviceRequired value changes.



      <div data-fragment-container="categoryofoutsourcedserviceSubproviderContainer">
      <div class="form__row">

      <div class="col-1-4 inline">
      <div t:type="LayoutSelectList"
      t:model="entityCategoryofoutsourcedserviceModel"
      t:id="entityContractSubproviderCategoryofoutsourcedserviceRequired"
      t:value="subprovider.categoryofoutsourcedservice"
      t:valueEncoder="categoryofoutsourcedserviceValueEncoder"
      t:blankOption="ALWAYS"
      t:mixins="ExclusiveTriggerFragment,DpmFormGroup"
      data-for-trigger-group="categoryofoutsourcedserviceSubproviderGroup"
      data-fragment-container-id="categoryofoutsourcedserviceSubproviderContainer"
      t:async="true"
      zone="categoryOfSubModelZone"/>
      </div>
      <div class="form__row" t:type="if" t:test="true"
      t:id="entityContractSubproviderSubCategoryofoutsourcedserviceRequired">
      <div data-fragment-trigger="CRM, ICT, CONTROLFUNCTIONS, REPORTING, RISKMANAGEMENT, TREASURY, SECURITIES, PAYMENTS, OTHER" t:type="formFragment"
      data-trigger-group="categoryofoutsourcedserviceSubproviderGroup"
      data-fragment-detection="any"
      t:visible="subproviderCategoryofoutsourcedserviceActive">
      <div class="form__row">
      <t:zone t:id="categoryOfSubModelZone" id="categoryOfSubModelZone" style="display: inline;">
      <div class="col-1-4 inline">
      <div t:type="LayoutSelectList" t:blankOption="ALWAYS"
      t:model="entitySubCategoryofoutsourcedserviceModel"
      t:label="message:entityContractSubproviderSubCategoryofoutsourcedserviceRequired-label"
      t:value="subprovider.subcategoryofoutsourcedservice"
      t:valueEncoder="subCategoryOfOutsourcedServiceValueEncoder"
      t:mixins="ExclusiveTriggerFragment,FormGroup"/>
      </div>
      </t:zone>
      </div>
      </div>
      </div>
      </div>
      </div>


      The problem is whenever I add a new row and change the category dropdown choice , the subcategory menu changes in all the rows. I want it to be changed in its own row only







      apache tapestry






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 24 at 16:57









      Dmitry Gusev

      7036 silver badges11 bronze badges




      7036 silver badges11 bronze badges










      asked Mar 28 at 9:22









      mamadomamado

      14 bronze badges




      14 bronze badges

























          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55394029%2ftapestry-ajaxformloop-rows-affecting-each-others-values-why%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.




















          draft saved

          draft discarded















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55394029%2ftapestry-ajaxformloop-rows-affecting-each-others-values-why%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현