<div dir="ltr">Hi, <div><br></div><div>I have an app where I have a root component which is the one being displayed almost all time. That component has a menu, a workspace where I can have many tabs, etc. Each of my use-case components can implement #needsServiceVM answering true or false. Depending on that, I must add a special field to the URL because then at web server level I do something different. </div><div><br></div><div>Previously, my app was not using AJAX, so for example when I clicked on a menu and added a new tab, the #updateUrl: of my root component was called. Therefore in that method I could do something like:</div><div><br></div><div>updateUrl: aUrl </div><div><span class="" style="white-space:pre">        </span>super updateUrl: aUrl.</div><div><span class="" style="white-space:pre">        </span>self workspaceComponentList anySatisfy: [ :workspace | </div><div><span class="" style="white-space:pre">                </span>(workspace activeTabPaneRenderable ifNil: [ false ]  ifNotNilDo: [ :tab | tab component needsServiceVM])</div><div><span class="" style="white-space:pre">                        </span>ifTrue: [ </div><div><span class="" style="white-space:pre">                                </span>aUrl addField: &#39;service&#39; value: &#39;true&#39;. </div><div><span class="" style="white-space:pre">                                </span>true ]</div><div><span class="" style="white-space:pre">                        </span>ifFalse: [ false ].</div><div><span class="" style="white-space:pre">        </span>]  </div><div><br></div><div>The problem is now that the menus are fired by AJAX and the workspace is only re-render. Therefore, the clicked use-case component is added  as a new tab, but the #updateUrl:  of my root component was not called. </div><div><br></div><div>Is there any workaround I could do? ajaxComplete  and somehow get the URL?</div><div><br></div><div>If it is not by adding a field in the URL do you have another possibility in mind? Maybe putting something in the request? (but I must be able to read this at the web server). </div><div><br></div><div>Thanks in advance, </div><div><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank" class="vt-p">http://marianopeck.wordpress.com</a><br></div>
</div></div>