Re: Wicket CDI application junit test

2014-04-15 Thread Martin Grigorov
Hi,

See https://issues.apache.org/jira/browse/WICKET-5264

Martin Grigorov
Wicket Training and Consulting


On Tue, Apr 15, 2014 at 6:29 AM, Duke warlock9...@gmail.com wrote:

 Hi all.
 Tried to build simple example with EntityManager injection:

 public class LoginPage extends BasePage {

 @Inject EntityManager em;
 ...
 }

 public class Application extends WebApplication {
 @Override
 protected void init() {
 super.init();
 new CdiConfiguration().configure(this);
 }
 }

 It fails on new CdiConfiguration().configure(this); with message:
 Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-70
 Simple
 bean [EnhancedAnnotatedTypeImpl]  class
 org.apache.wicket.markup.html.panel.FeedbackPanel$1 cannot be a non-static
 inner class
 at

 org.jboss.weld.injection.producer.BasicInjectionTarget.checkType(BasicInjectionTarget.java:81)
 at

 org.jboss.weld.injection.producer.BasicInjectionTarget.init(BasicInjectionTarget.java:69)
 at

 org.jboss.weld.injection.producer.BeanInjectionTarget.init(BeanInjectionTarget.java:52)
 at

 org.jboss.weld.manager.InjectionTargetFactoryImpl.createInjectionTarget(InjectionTargetFactoryImpl.java:95)
 at

 org.jboss.weld.manager.InjectionTargetFactoryImpl.createInjectionTarget(InjectionTargetFactoryImpl.java:78)

 If I comment line with configuring of CdiConfiguration, all injections are
 nulls ((
 What I am doing wrong?

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665402.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




Re: Validating multiple components as one

2014-04-15 Thread Martin Grigorov
Hi,

The new way is to use the dynamic extra parameters.
Each Ajax behavior and component has a method
#updateAjaxAttributes(AjaxRequestAttributes attributes) :

attributes.getDynamicExtraParameters().add(return [obj1, obj2, ...]).

Where objN are JavaScript objects like: {name:
formComponent.getInputName(), value:
Wicket.Form.serialize(Wicket.$('+formComponent.getMarkupId()+')) }

The above is a pseudo code but I hope you follow me.


Martin Grigorov
Wicket Training and Consulting


On Mon, Apr 14, 2014 at 8:45 PM, Christian Smolka 
christian.smo...@etecture.de wrote:

 Hi to everybody!

 My little problem is about validating multiple input fields as a single
 one.
 So, I have three DoB fields (one for the day, one for the month and one
 for the
 year) that should be validated as a single date.

 While using Wicket 1.5 we overwrote AjaxEventBehavior#getEventHandler() and
 returned a custom made JavaScript that serialized the three fields like
 this:


 StringBuffer buffer = new StringBuffer(wicketAjaxPost(')
 .append(this.getCallbackUrl()).append(', );
 for (String id : this.getInputIds()) {
 buffer.append(wicketSerialize(Wicket.$(').append(id).append(')) +
 );
 }
 buffer.setLength(buffer.length() - 3);
 return buffer;


 This worked pretty well. But I have to migrate the application to Wicket 6
 and this doing does work anymore. As far as I understood the new Ajax-way,
 it isn't possible anymore to provide a custom script like the one above.
 But
 how can I restore the old behavior? Do I have to put the fields into a
 form and
 submit the whole form to validate it?

 Thanks in advance!


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-15 Thread Martin Grigorov
what do you think about JOOQ ?

http://www.petrikainulainen.net/programming/jooq/using-jooq-with-spring-crud/

Martin Grigorov
Wicket Training and Consulting


On Tue, Apr 15, 2014 at 6:00 AM, William Speirs wspe...@apache.org wrote:

 Off-topic a bit... on the JPA front, I'm still relatively new and finding
 it not as useful as I would have hoped. Beyond VERY simple
 read-by-primary-key and update/create/delete, anything else seems tedious.
 I'm having to learn the JPA query language (yes, you can use SQL but then
 you lose generics/typing). I'm highly considering updating another one of
 my projects SOP4J-DBUTILS (https://github.com/wspeirs/sop4j-dbutils) to
 handle JPA annotations for the basic CRUD operations, then just making it
 slightly easier to use complex where clauses to populate POJOs.

 Thoughts?

 Bill-

 P.S. We should probably take this off the Wicket list if folks want to
 continue discussing...



 On Mon, Apr 14, 2014 at 9:03 AM, Chris Snyder chris.sny...@biologos.org
 wrote:

  Thanks for the reply - no worries on the delay.
 
  In my case, I'm using EclipseLink. I originally was using Hibernate, but
  switched after encountering a known bug in Hibernate (the specifics of
  which I no longer recall). Since I was sticking to using the pure JPA
 API,
  it was a quick drop-in replacement. Recently, however, I have used a
 couple
  of EclipseLink-specific features, so it wouldn't be as quick to switch
 back
  (assuming that the bug in Hibernate has been fixed).
 
  This certainly wouldn't stop me from checking out Croquet - if I end up
  adapting it to use EclipseLink, I'll be sure to share my changes.
 
  Best,
  Chris
 
 
  On Mon, Apr 14, 2014 at 8:44 AM, Bill Speirs bill.spe...@gmail.com
  wrote:
 
   Chris, sorry for not responding more quickly... was traveling back from
   ApacheCon NA.
  
   Honestly, it would be non-trivial to drop in a replacement to
 Hibernate.
   The JpaPersistService (http://goo.gl/FeI6xU) handles the configuration
   coming from persistence.xml and has nothing Hibernate specific. The
  problem
   is the CroquetPersistService, DataSourceHibernateModule, and
   EntityManagerProxyFactory classes.
  
   What JPA provider would you rather use? I've never used anything but
   Hibernate, and never had issues with it... just curious why you'd like
 to
   use something else.
  
   Also, patches/pull requests are always happily accepted :-)
  
   Thanks for checking it out...
  
   Bill-
  
  
   On Wed, Apr 9, 2014 at 1:05 PM, Chris Snyder 
 chris.sny...@biologos.org
   wrote:
  
Looks like awesome work - very clean page design and excellent
documentation, and I'm sure that the quality extends to the code as
  well.
I'll definitely be looking into this for my next project, if not
  porting
some of my current ones.
   
When using Croquet, how easy would it be to drop in a different JPA
implementation in place of Hibernate?
   
Best,
Chris
   
   
On Wed, Apr 9, 2014 at 12:51 PM, William Speirs wspe...@apache.org
wrote:
   
 I gave a talk at ApacheCon NA yesterday on Croquet. It is a
  combination
of
 Wicket, Jetty, Hibernate, and Guice to make it super-easy to start
writing
 Wicket code almost immediately, instead of spending time
 configuring
 everything.

 Slides:


   
  
 
 https://docs.google.com/presentation/d/1m3jdbpYoSBOCPz8Wes9mPvhf8TLp_3dndj_gW08iFL8/
 Code: https://github.com/metrink/croquet
 Docs: http://croquet.metrink.com

 Thanks...

 Bill-

   
  
 
 
 
  --
  Chris Snyder
  Web Developer, BioLogos
  616.328.5218 x203
  biologos.org
 



Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Dirk Germonpré
Hello,

Switching back to version 6.9.0 doesn't make a change. If I click the
cancel button in the editor, it closes, but when I reopen it again, nothing
works anymore.
In what version should it be fixed? Is there a new JIRA issue?

Kind regards,
Dirk.


Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Martin Grigorov
https://github.com/wicketstuff/core/commit/9fa1c25c113800ef9c55cdc4afbaacc3d6e3256a

this is the fix

Martin Grigorov
Wicket Training and Consulting


On Tue, Apr 15, 2014 at 11:00 AM, Dirk Germonpré
dirk.germon...@gmail.comwrote:

 Hello,

 Switching back to version 6.9.0 doesn't make a change. If I click the
 cancel button in the editor, it closes, but when I reopen it again, nothing
 works anymore.
 In what version should it be fixed? Is there a new JIRA issue?

 Kind regards,
 Dirk.



drop n drop

2014-04-15 Thread nazeem
Any suggestions for implementing drag and drop. Is there any thing in wicket
6. In our old project on wicket 1.4 we used wicket dnd
(code.google.com/p/wicket-dnd/) to implement drag n drop. I dont see that
active any more. So what is the best option ? 

I saw the wicket2-select project by igor using drag n drop to sort the
items. Any suggestions from that ?

I searched the forum for the key words drag n drop and i dont see any
messages posted in the last few months in line to this topic. 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/drop-n-drop-tp4665408.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



Re: drop n drop

2014-04-15 Thread Martin Grigorov
Hi,

https://github.com/svenmeier/wicket-dnd
http://search.maven.org/#artifactdetails%7Ccom.github.svenmeier.wicket-dnd%7Cwicket-dnd%7C0.6.0%7Cjar

Martin Grigorov
Wicket Training and Consulting


On Tue, Apr 15, 2014 at 11:19 AM, nazeem md.naz...@gmail.com wrote:

 Any suggestions for implementing drag and drop. Is there any thing in
 wicket
 6. In our old project on wicket 1.4 we used wicket dnd
 (code.google.com/p/wicket-dnd/) to implement drag n drop. I dont see that
 active any more. So what is the best option ?

 I saw the wicket2-select project by igor using drag n drop to sort the
 items. Any suggestions from that ?

 I searched the forum for the key words drag n drop and i dont see any
 messages posted in the last few months in line to this topic.



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/drop-n-drop-tp4665408.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




Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Dirk Germonpré
Great! It does the trick. Thanks a lot!

Kind regards,
Dirk.


2014-04-15 10:03 GMT+02:00 Martin Grigorov mgrigo...@apache.org:


 https://github.com/wicketstuff/core/commit/9fa1c25c113800ef9c55cdc4afbaacc3d6e3256a

 this is the fix

 Martin Grigorov
 Wicket Training and Consulting


 On Tue, Apr 15, 2014 at 11:00 AM, Dirk Germonpré
 dirk.germon...@gmail.comwrote:

  Hello,
 
  Switching back to version 6.9.0 doesn't make a change. If I click the
  cancel button in the editor, it closes, but when I reopen it again,
 nothing
  works anymore.
  In what version should it be fixed? Is there a new JIRA issue?
 
  Kind regards,
  Dirk.
 



Re: Two Questions

2014-04-15 Thread Tobias Gierke

Hi,

1) I have a feedback panel and when i add messages under info(), they do not
show up.  When I add the message via error(), it shows as expected.  Why
might this be?
Hm, IMHO both should work. Are you maybe using AJAX and not adding the 
FeedbackPanel to the AjaxRequestTarget when using info() ? In this case 
you should see a warning in your log output (something along the lines 
of component-targeted feedback message was not rendered).


2) I am using the @SpringBean annotation, works fine.  But I want to inject
a string property value that came from the properties file my spring reads.
How would I get that?  I tried ${myProp} in the @SpringBean, but that
doesn't work...and I kinda thought it would be a longshot.
There are probably more elegant solutions but I would go with an ugly  
simple one here and use an intermediate bean to hold just the value (and 
then use PropertyPlaceholderConfigurer+property expression to inject the 
value into this intermediary). You could ofc roll your own bean Injector 
but I'm not sure it's worth the effort.


Cheers,
Tobias


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket CDI application junit test

2014-04-15 Thread Duke
Thanks Martin, I read WICKET-5264, but I don't understand... I havn't any
injections in anonymous inner classes in my code. I try to inject
EntityManager in public class LoginPage.
If I remove any injections, fail remains. It disappers only if I remove 
{ new CdiConfiguration().configure(this); } in Application.init(), but my
injections are nulls in this case.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665412.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



Re: drop n drop

2014-04-15 Thread Maxim Solodovnik
We are currently using DND with 6.14.0
Works as expected (with small display issues, which might be caused by
massive ajax use)


On Tue, Apr 15, 2014 at 3:23 PM, Martin Grigorov mgrigo...@apache.orgwrote:

 Hi,

 https://github.com/svenmeier/wicket-dnd

 http://search.maven.org/#artifactdetails%7Ccom.github.svenmeier.wicket-dnd%7Cwicket-dnd%7C0.6.0%7Cjar

 Martin Grigorov
 Wicket Training and Consulting


 On Tue, Apr 15, 2014 at 11:19 AM, nazeem md.naz...@gmail.com wrote:

  Any suggestions for implementing drag and drop. Is there any thing in
  wicket
  6. In our old project on wicket 1.4 we used wicket dnd
  (code.google.com/p/wicket-dnd/) to implement drag n drop. I dont see
 that
  active any more. So what is the best option ?
 
  I saw the wicket2-select project by igor using drag n drop to sort the
  items. Any suggestions from that ?
 
  I searched the forum for the key words drag n drop and i dont see any
  messages posted in the last few months in line to this topic.
 
 
 
  --
  View this message in context:
  http://apache-wicket.1842946.n4.nabble.com/drop-n-drop-tp4665408.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
 
 




-- 
WBR
Maxim aka solomax


Re: Wicket CDI application junit test

2014-04-15 Thread Martin Grigorov
Hi,

The ticket and its related ticket (
https://issues.apache.org/jira/browse/WICKET-5226) explain that using CDI
1.0 in container that supports CDI 1.1 leads to these errors.
wicket-cdi integration tries to process all components (even Wicket's own
ones) for CDI annotations.

If you use a container that supports CDI 1.1 (like JBoss WildFly, Glassfish
4.x, etc.) then use wicket-cdi-1.1 module.
Another solution is to upgrade WELD to a newer version. 2.1.2 has the fix I
believe.

Check Wicket mail archives for this error. There is better explanation
about the problem by Emond.

Martin Grigorov
Wicket Training and Consulting


On Tue, Apr 15, 2014 at 11:49 AM, Duke warlock9...@gmail.com wrote:

 Thanks Martin, I read WICKET-5264, but I don't understand... I havn't any
 injections in anonymous inner classes in my code. I try to inject
 EntityManager in public class LoginPage.
 If I remove any injections, fail remains. It disappers only if I remove
 { new CdiConfiguration().configure(this); } in Application.init(), but my
 injections are nulls in this case.



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665412.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




Re: Wicket CDI application junit test

2014-04-15 Thread Duke
I'm sorry, I did not immediately explained. 
At first I tried to create tests for an existing application that uses
wicket-cdi 1.0 and Glassfish 3.1.2. I did not succeed because of
'javax.naming.NamingException: Lookup failed for 'java:comp/BeanManager''. 
Then I think that with wicket-cdi1.1 it will be easer to write tests, and
later I will whatever migrate to glassfish4.0. Thats why I try to create a
simple test application with wicket-cdi 1.1 from wicket v6.14 and
Glassfish4.0, to understand what is necessary to do in migration.
Can't build this simple application yet. It fails without any injections,
even I try to use at least one anonymous class. I must write a code without
any anonymous classes? Or what can I do?


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665415.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



Re: Wicket CDI application junit test

2014-04-15 Thread Duke
Found some info in mail archives. I will try to upgrade gf4 with weld 2.1.x
as I read. Thanks.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665416.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



Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Dirk Germonpré
Hello,

The editor is now working fine in a normal page. But I also need the editor
to work inside a modal window. In that case, the editor opens and seems to
work fine, until I hit the save button. The save button does nothing, the
editor stays open. Is this a known issue?
I'm currently working with version 6.14 of Wicket and Wicketstuff. The
earlier mentioned fix is also applied.

Kind regards,
Dirk.


Re: Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-15 Thread William Speirs
I hadn't heard of it. There are a few ORMs out there. I've looked at this
library as well: http://jdbi.org/ However, that's a bit too much SQL
writing for just the basic objects for me. Though it is a GREAT setup to
make unit testing REALLY easy.

I just find the JPA API so clumsy, especially when building dynamic
queries. Even Hibernate's native interface is MUCH better than JPA.

Bill-


On Tue, Apr 15, 2014 at 3:26 AM, Martin Grigorov mgrigo...@apache.orgwrote:

 what do you think about JOOQ ?


 http://www.petrikainulainen.net/programming/jooq/using-jooq-with-spring-crud/

 Martin Grigorov
 Wicket Training and Consulting


 On Tue, Apr 15, 2014 at 6:00 AM, William Speirs wspe...@apache.org
 wrote:

  Off-topic a bit... on the JPA front, I'm still relatively new and finding
  it not as useful as I would have hoped. Beyond VERY simple
  read-by-primary-key and update/create/delete, anything else seems
 tedious.
  I'm having to learn the JPA query language (yes, you can use SQL but then
  you lose generics/typing). I'm highly considering updating another one of
  my projects SOP4J-DBUTILS (https://github.com/wspeirs/sop4j-dbutils) to
  handle JPA annotations for the basic CRUD operations, then just making it
  slightly easier to use complex where clauses to populate POJOs.
 
  Thoughts?
 
  Bill-
 
  P.S. We should probably take this off the Wicket list if folks want to
  continue discussing...
 
 
 
  On Mon, Apr 14, 2014 at 9:03 AM, Chris Snyder chris.sny...@biologos.org
  wrote:
 
   Thanks for the reply - no worries on the delay.
  
   In my case, I'm using EclipseLink. I originally was using Hibernate,
 but
   switched after encountering a known bug in Hibernate (the specifics of
   which I no longer recall). Since I was sticking to using the pure JPA
  API,
   it was a quick drop-in replacement. Recently, however, I have used a
  couple
   of EclipseLink-specific features, so it wouldn't be as quick to switch
  back
   (assuming that the bug in Hibernate has been fixed).
  
   This certainly wouldn't stop me from checking out Croquet - if I end up
   adapting it to use EclipseLink, I'll be sure to share my changes.
  
   Best,
   Chris
  
  
   On Mon, Apr 14, 2014 at 8:44 AM, Bill Speirs bill.spe...@gmail.com
   wrote:
  
Chris, sorry for not responding more quickly... was traveling back
 from
ApacheCon NA.
   
Honestly, it would be non-trivial to drop in a replacement to
  Hibernate.
The JpaPersistService (http://goo.gl/FeI6xU) handles the
 configuration
coming from persistence.xml and has nothing Hibernate specific. The
   problem
is the CroquetPersistService, DataSourceHibernateModule, and
EntityManagerProxyFactory classes.
   
What JPA provider would you rather use? I've never used anything but
Hibernate, and never had issues with it... just curious why you'd
 like
  to
use something else.
   
Also, patches/pull requests are always happily accepted :-)
   
Thanks for checking it out...
   
Bill-
   
   
On Wed, Apr 9, 2014 at 1:05 PM, Chris Snyder 
  chris.sny...@biologos.org
wrote:
   
 Looks like awesome work - very clean page design and excellent
 documentation, and I'm sure that the quality extends to the code as
   well.
 I'll definitely be looking into this for my next project, if not
   porting
 some of my current ones.

 When using Croquet, how easy would it be to drop in a different JPA
 implementation in place of Hibernate?

 Best,
 Chris


 On Wed, Apr 9, 2014 at 12:51 PM, William Speirs 
 wspe...@apache.org
 wrote:

  I gave a talk at ApacheCon NA yesterday on Croquet. It is a
   combination
 of
  Wicket, Jetty, Hibernate, and Guice to make it super-easy to
 start
 writing
  Wicket code almost immediately, instead of spending time
  configuring
  everything.
 
  Slides:
 
 

   
  
 
 https://docs.google.com/presentation/d/1m3jdbpYoSBOCPz8Wes9mPvhf8TLp_3dndj_gW08iFL8/
  Code: https://github.com/metrink/croquet
  Docs: http://croquet.metrink.com
 
  Thanks...
 
  Bill-
 

   
  
  
  
   --
   Chris Snyder
   Web Developer, BioLogos
   616.328.5218 x203
   biologos.org
  
 



Re: Introducing Croquet: Combining Wicket, Jetty, Hibernate, and Guice

2014-04-15 Thread Chris Snyder
I agree that JPA can be clunky. I have found the CriteriaBuilder way of
building queries to be manageable (if a bit verbose). So far, I’ve used JQL
queries (defined in @NamedQuery annotations) for the queries that have a
well-defined structure, and CriteriaBuilder for the more complex cases
(such as filtering by a user-defined set of parameters). My use cases have
been relatively simple, though.

-Chris


On Tue, Apr 15, 2014 at 8:49 AM, William Speirs wspe...@apache.org wrote:

 I hadn't heard of it. There are a few ORMs out there. I've looked at this
 library as well: http://jdbi.org/ However, that's a bit too much SQL
 writing for just the basic objects for me. Though it is a GREAT setup to
 make unit testing REALLY easy.

 I just find the JPA API so clumsy, especially when building dynamic
 queries. Even Hibernate's native interface is MUCH better than JPA.

 Bill-


 On Tue, Apr 15, 2014 at 3:26 AM, Martin Grigorov mgrigo...@apache.org
 wrote:

  what do you think about JOOQ ?
 
 
 
 http://www.petrikainulainen.net/programming/jooq/using-jooq-with-spring-crud/
 
  Martin Grigorov
  Wicket Training and Consulting
 
 
  On Tue, Apr 15, 2014 at 6:00 AM, William Speirs wspe...@apache.org
  wrote:
 
   Off-topic a bit... on the JPA front, I'm still relatively new and
 finding
   it not as useful as I would have hoped. Beyond VERY simple
   read-by-primary-key and update/create/delete, anything else seems
  tedious.
   I'm having to learn the JPA query language (yes, you can use SQL but
 then
   you lose generics/typing). I'm highly considering updating another one
 of
   my projects SOP4J-DBUTILS (https://github.com/wspeirs/sop4j-dbutils)
 to
   handle JPA annotations for the basic CRUD operations, then just making
 it
   slightly easier to use complex where clauses to populate POJOs.
  
   Thoughts?
  
   Bill-
  
   P.S. We should probably take this off the Wicket list if folks want to
   continue discussing...
  
  
  
   On Mon, Apr 14, 2014 at 9:03 AM, Chris Snyder 
 chris.sny...@biologos.org
   wrote:
  
Thanks for the reply - no worries on the delay.
   
In my case, I'm using EclipseLink. I originally was using Hibernate,
  but
switched after encountering a known bug in Hibernate (the specifics
 of
which I no longer recall). Since I was sticking to using the pure JPA
   API,
it was a quick drop-in replacement. Recently, however, I have used a
   couple
of EclipseLink-specific features, so it wouldn't be as quick to
 switch
   back
(assuming that the bug in Hibernate has been fixed).
   
This certainly wouldn't stop me from checking out Croquet - if I end
 up
adapting it to use EclipseLink, I'll be sure to share my changes.
   
Best,
Chris
   
   
On Mon, Apr 14, 2014 at 8:44 AM, Bill Speirs bill.spe...@gmail.com
wrote:
   
 Chris, sorry for not responding more quickly... was traveling back
  from
 ApacheCon NA.

 Honestly, it would be non-trivial to drop in a replacement to
   Hibernate.
 The JpaPersistService (http://goo.gl/FeI6xU) handles the
  configuration
 coming from persistence.xml and has nothing Hibernate specific. The
problem
 is the CroquetPersistService, DataSourceHibernateModule, and
 EntityManagerProxyFactory classes.

 What JPA provider would you rather use? I've never used anything
 but
 Hibernate, and never had issues with it... just curious why you'd
  like
   to
 use something else.

 Also, patches/pull requests are always happily accepted :-)

 Thanks for checking it out...

 Bill-


 On Wed, Apr 9, 2014 at 1:05 PM, Chris Snyder 
   chris.sny...@biologos.org
 wrote:

  Looks like awesome work - very clean page design and excellent
  documentation, and I'm sure that the quality extends to the code
 as
well.
  I'll definitely be looking into this for my next project, if not
porting
  some of my current ones.
 
  When using Croquet, how easy would it be to drop in a different
 JPA
  implementation in place of Hibernate?
 
  Best,
  Chris
 
 
  On Wed, Apr 9, 2014 at 12:51 PM, William Speirs 
  wspe...@apache.org
  wrote:
 
   I gave a talk at ApacheCon NA yesterday on Croquet. It is a
combination
  of
   Wicket, Jetty, Hibernate, and Guice to make it super-easy to
  start
  writing
   Wicket code almost immediately, instead of spending time
   configuring
   everything.
  
   Slides:
  
  
 

   
  
 
 https://docs.google.com/presentation/d/1m3jdbpYoSBOCPz8Wes9mPvhf8TLp_3dndj_gW08iFL8/
   Code: https://github.com/metrink/croquet
   Docs: http://croquet.metrink.com
  
   Thanks...
  
   Bill-
  
 

   
   
   
--
Chris Snyder
Web Developer, BioLogos
616.328.5218 x203
biologos.org
   
  
 



Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Andrea Del Bene
No, it's not a known issue. I will try to investigate it in during the 
very next days.

Hello,

The editor is now working fine in a normal page. But I also need the editor
to work inside a modal window. In that case, the editor opens and seems to
work fine, until I hit the save button. The save button does nothing, the
editor stays open. Is this a known issue?
I'm currently working with version 6.14 of Wicket and Wicketstuff. The
earlier mentioned fix is also applied.

Kind regards,
Dirk.




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



wait indicator not showing with veil for AjaxButton

2014-04-15 Thread msalman
Hi,

I am trying to show an wait indicator and a veil when an ajax button is
showed.  The veil works fine but despite all my effort the indicator is not
working.  Attached is a quick start of the project.


My code is based on the code at this page: 
http://javathoughts.capesugarbird.com/2008/03/ajax-button-with-overlay-div-and-wait.html
   

I have tried to port it to wicket 1.5.  

As always, I will appreciate any help on this issue.

Thanks.

-Mohammad

myproject.gz
http://apache-wicket.1842946.n4.nabble.com/file/n4665422/myproject.gz  

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wait-indicator-not-showing-with-veil-for-AjaxButton-tp4665422.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



Re: drop n drop

2014-04-15 Thread nazeem
Thank you for the detail. Will use dnd pointed in the post.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/drop-n-drop-tp4665408p4665424.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