Alexandru, Glad to hear I was of some help:-)
I haven't tried FF4b7 myself. Regards, Ernesto On Mon, Sep 27, 2010 at 3:24 PM, Alexandru Artimon <aarti...@dgfoundation.org> wrote: > Hello, > > Thanks for the idea, I didn't know that I can get a callback url for the > AbstractAjaxBehavior. > It seems to be working now. > > I came across a small issue with Firefox 4(beta7): when the Ajax response > arrives in the browser, usually Wicket runs the javascript embeded in the > response. This doesn't happen in FF4b7, so components that work in FF3.6 > (like AjaxEditableLabel) don't work in FF4. Don't know if it's because of FF > or Wicket, but I thought maybe you guys should know and decide if it needs > fixing or not. > > Alexandru > > On 09/27/2010 09:13 AM, Ernesto Reinaldo Barreiro wrote: >> >> What you want to achieve is been able to click on your labels (created >> via<wicket:translation key="home:nameField">) and replace then with >> some editable components? If so, maybe you could do it as follows. >> >> 1-Place some abstract ajax behavior (AAB) on your "base" page so that >> you have some unique context to submit back changes on your labels >> texts >> 2-Modify you wicket:transforms so that it generates a new input field >> via JavaScript plus some link to submit or cancel you changes. You >> could use the URL of AAB to summit back to the server your changes >> via wicektAjaxGet() plus appending the text of the modified label as a >> parameter (plus a parameter identifying your key). >> 3-You process the result on the AAB (you will have your key and the >> modified message posted by step 2). >> >> Although I haven't tried the above myself, it seems to me that it >> could be easily achievable... >> >> Ernesto >> >> On Sun, Sep 26, 2010 at 8:40 PM, Mihai Postelnicu >> <mposteln...@dgfoundation.org> wrote: >>> >>> Any idea how can we approach this differently ? we need a component >>> spawned >>> in html (because we have some default translatable text in the html that >>> we >>> have to enclose and also acts as the key) with callbacks and two states >>> (edit mode and read only, much like ajaxeditablelablel). >>> >>> Any idea is welcome ! >>> >>> Thanks >>> Mihai >>> >>> >>> On 09/26/2010 10:51 AM, Igor Vaynberg wrote: >>>> >>>> it can modify hierarchy, but the components it adds only exist during >>>> the render phase - so those components cannot receive callbacks or >>>> hold state. >>>> >>>> -igor >>>> >>>> On Sat, Sep 25, 2010 at 10:41 PM, Alexander Morozov >>>> <alexander.v.moro...@gmail.com> wrote: >>>> >>>>> So IComponentResolver cannot modify component hierarchy. Right ? And >>>>> there is >>>>> no way for the author to create and handle "special" >>>>> tag<translate>. >>>>> >>>>> >>>>> -- >>>>> View this message in >>>>> >>>>> context:http://apache-wicket.1842946.n4.nabble.com/Saving-a-component-in-session-tp2551649p2714088.html >>>>> Sent from the Users forum mailing list archive at Nabble.com. >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail:users-unsubscr...@wicket.apache.org >>>>> For additional commands, e-mail:users-h...@wicket.apache.org >>>>> >>>>> >>>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail:users-unsubscr...@wicket.apache.org >>>> For additional commands, e-mail:users-h...@wicket.apache.org >>>> >>>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org