Re: [OT] where is JPA 2.0 API spec in maven?

2010-09-08 Thread nino martinez wael
i just think it's strange, I'd have thought that there would have been one and only one official JPA 2 api one could depend on. But I see my suspicion was correct. Thanks to all for replying on this non wicket topic.. 2010/9/8 Korbinian Bachl - privat : > in fact the current is 2.1.1, but 2.0.0 i

Wicket Ajax integration

2010-09-08 Thread Rodolfo Hansen
How can I use Wicket.Ajax.Request to post a json string to a DefaultAjaxBehaviour? On the Javascript side I basically did something like this: function setupSend(xhr) { xhr.setRequestHeader("Wicket-Ajax", "true"); if (typeof(Wicket.Focus.lastFocusId) != "undefined" && Wicket.Focus.lastFo

Re: [OT] where is JPA 2.0 API spec in maven?

2010-09-08 Thread Korbinian Bachl - privat
in fact the current is 2.1.1, but 2.0.0 is reference implementation and for the JPA 2.0 API it wont matter what 2.0.x it is (see scope provided here - just API); - usually one uses JPA API of the persistence provider he's using as long as he won't depend on an app server; Best, Korbinian A

Re: How can I capture the data on one panel 1 when i click submit button on panel 2

2010-09-08 Thread jcgarciam
Jose, Check this out https://issues.apache.org/jira/browse/WICKET-1312 On Wed, Sep 8, 2010 at 12:38 PM, MONZON Jose [via Apache Wicket] < ml-node+2531520-6845597-65...@n4.nabble.com > wrote: > What you want is to implement the EventBus pattern

RE: How can I capture the data on one panel 1 when i click submit button on panel 2

2010-09-08 Thread MONZON Jose
What you want is to implement the EventBus pattern (formally Observer Pattern). Basically, with an Eventbus, your panels subscribe to a given event and when some other panel "fires" that event the subscriber gets the message: Panel1: //Subscribe to event Type1. eventBus.addHandler

Re: How can I capture the data on one panel 1 when i click submit button on panel 2

2010-09-08 Thread Jeremy Thomerson
Is there a Wicket form wrapping both panels? If so, it will work, even if both panels also have a form in them. Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Sep 8, 2010 9:15 AM, "Ben" wrote: Hi, I have a

Re: [OT] where is JPA 2.0 API spec in maven?

2010-09-08 Thread Jan Kriesten
Hi, > JPA 2: > > org.eclipse.persistence > eclipselink > 2.0.0 > provided > AFAIK the current version is 2.0.2 Best regards, --- Jan. - To unsubscribe, e-mail: users-u

Word-wrapping in Wicket-TinyMCE

2010-09-08 Thread Johan Haleby
Hi, Has anyone managed to get word-wrapping to work in wicket-contrib-tinymce? In that case how? By default you get a horizontal scrollbar when the textline is larger than the size of the TinyMCE window. /Johan -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Word-w

Re: [OT] where is JPA 2.0 API spec in maven?

2010-09-08 Thread Matt Jensen
Group: org.hibernate.javax.persistence Artifact: hibernate-jpa-2.0-api Version: 1.0.0.Final On 9/8/2010 8:35 AM, nino martinez wael wrote: Sorry to spam but I am wondering where the JPA 2.0 Spec are cant find it in maven... regards Nino

Re: [OT] where is JPA 2.0 API spec in maven?

2010-09-08 Thread Korbinian Bachl - privat
JEE 6: javax javaee-api 6.0 provided JPA 2: org.eclipse.persistence eclipselink 2.0.0 provided Best, Korbinian Am 08.09.10 15:35, schrieb nino martinez wael

How can I capture the data on one panel 1 when i click submit button on panel 2

2010-09-08 Thread Ben
Hi, I have a page and multiple panels added to it. e.g I have panel1 and panel2 added to a page. On Panel I have components RadioChoice, dropdownchoice,text area that accepts input from the user. Panel 2 has two textfields (accepts the login info) and submit button. When i click submit button

[OT] where is JPA 2.0 API spec in maven?

2010-09-08 Thread nino martinez wael
Sorry to spam but I am wondering where the JPA 2.0 Spec are cant find it in maven... regards Nino - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: checkGroup - 2 out of 5?

2010-09-08 Thread nino martinez wael
and still need that validator... 2010/9/7 Xavier López > To switch the last check with the first checked in case there are two of > them checked already, you could also use an > AjaxFormComponentUpdatingBehavior to do it server-side, though that would > only be disadvantages. I remember some nas

Wicketstuff / compatible projects with wicket 1.5?

2010-09-08 Thread nino martinez wael
Hi Im wondering which projects are compatible & tested with wicket 1.5? Im considering to start a new project using 1.5 but are wondering if there are any projects at all compatible with it.. I am going to need drag / drop functionality. regards Nino

Re: How to run some JS only once after Ajax rendering is done ?

2010-09-08 Thread Joseph Pachod
Bernhard Schauer wrote: I think you could do it as follows. The js function 'bindYourEvent()' is called after the the components that are added to the AjaxRequestTarget are 're-painted'. form.add(new AjaxButton("set") { @Override protected void onSubmit(final AjaxR

Re: How to run some JS only once after Ajax rendering is done ?

2010-09-08 Thread Joseph Pachod
Fabrice BUQUET wrote: Maybe you can try IHeaderResponse.renderOnDomReadyJavascript Thanks a lot, it did it :) It wasn't too obvious that Wicket checks in this given method for not rendering twice the same javascript. Great anyway, thanks again :) ++ joseph --

Re: How to run some JS only once after Ajax rendering is done ?

2010-09-08 Thread Joseph Pachod
Hi have you tried invoking AjaxRequestTarget's method appendJavascript? Inside if statement try to write AjaxRequestTarget.get().appendJavascript("jQuery.initEdit();"); I had a similar problem some weeks ago and it worked. It won't be run only once even if added multiple time (for examp