Re: [vote] release wicket 1.4.16

2011-02-22 Thread Johan Compagner
+1

On Mon, Feb 21, 2011 at 05:33, Igor Vaynberg igor.vaynb...@gmail.com wrote:
 This vote is to release wicket 1.4.16. This is a bugfix release on the
 1.4.x (stable) branch.

 Branch: http://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.16/
 Artifacts: http://people.apache.org/~ivaynberg/wicket-1.4.16/dist
 Maven repo: 
 https://repository.apache.org/content/repositories/orgapachewicket-031/
 Changelog: 
 https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561version=12316020

 This vote ends Wednesday, February 23rd at 9:00am (GMT-8)

 Please test the release and offer your vote.

 -igor



Re: [vote] release wicket 1.4.16

2011-02-22 Thread Martin Grigorov
+1

On Tue, Feb 22, 2011 at 4:42 PM, Johan Compagner jcompag...@gmail.comwrote:

 +1

 On Mon, Feb 21, 2011 at 05:33, Igor Vaynberg igor.vaynb...@gmail.com
 wrote:
  This vote is to release wicket 1.4.16. This is a bugfix release on the
  1.4.x (stable) branch.
 
  Branch: http://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.16/
  Artifacts: http://people.apache.org/~ivaynberg/wicket-1.4.16/dist
  Maven repo:
 https://repository.apache.org/content/repositories/orgapachewicket-031/
  Changelog:
 https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561version=12316020
 
  This vote ends Wednesday, February 23rd at 9:00am (GMT-8)
 
  Please test the release and offer your vote.
 
  -igor
 



Re: [vote] release wicket 1.4.16

2011-02-22 Thread Igor Vaynberg
+1

-igor

On Sun, Feb 20, 2011 at 8:33 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
 This vote is to release wicket 1.4.16. This is a bugfix release on the
 1.4.x (stable) branch.

 Branch: http://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.16/
 Artifacts: http://people.apache.org/~ivaynberg/wicket-1.4.16/dist
 Maven repo: 
 https://repository.apache.org/content/repositories/orgapachewicket-031/
 Changelog: 
 https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561version=12316020

 This vote ends Wednesday, February 23rd at 9:00am (GMT-8)

 Please test the release and offer your vote.

 -igor



Re: [vote] release wicket 1.5-rc2

2011-02-22 Thread Igor Vaynberg
i fixed the assembly so future releases will get the core jar in dist.
meanwhile, you can get it from the maven repo.

-igor

On Mon, Feb 21, 2011 at 8:06 AM, Andrea Del Bene adelb...@ciseonweb.it wrote:
 Hi Igor,

 I think you've missed jar wicket-core.jar in artifacts. I can't find it in
 lib folder.

 Bye.

 This vote is to release wicket 1.5-rc2

 Branch: http://svn.apache.org/repos/asf/wicket/branches/wicket-1.5-rc2/
 Artifacts: http://people.apache.org/~ivaynberg/wicket-1.5-rc2/dist
 Maven repo:
 https://repository.apache.org/content/repositories/orgapachewicket-031/
 Changelog:
 https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561version=12316059

 This vote ends Wednesday, February 23 at 9:00am (GMT-8)

 Please test the release and offer your vote.

 -igor






Re: [vote] release wicket 1.5-rc2

2011-02-22 Thread Igor Vaynberg
+1

-igor

On Sun, Feb 20, 2011 at 8:34 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
 This vote is to release wicket 1.5-rc2

 Branch: http://svn.apache.org/repos/asf/wicket/branches/wicket-1.5-rc2/
 Artifacts: http://people.apache.org/~ivaynberg/wicket-1.5-rc2/dist
 Maven repo: 
 https://repository.apache.org/content/repositories/orgapachewicket-031/
 Changelog: 
 https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561version=12316059

 This vote ends Wednesday, February 23 at 9:00am (GMT-8)

 Please test the release and offer your vote.

 -igor



Re: [vote] release wicket 1.4.16

2011-02-22 Thread Pedro Santos
+1

On Tue, Feb 22, 2011 at 1:30 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 +1

 -igor

 On Sun, Feb 20, 2011 at 8:33 PM, Igor Vaynberg igor.vaynb...@gmail.com
 wrote:
  This vote is to release wicket 1.4.16. This is a bugfix release on the
  1.4.x (stable) branch.
 
  Branch: http://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.16/
  Artifacts: http://people.apache.org/~ivaynberg/wicket-1.4.16/dist
  Maven repo:
 https://repository.apache.org/content/repositories/orgapachewicket-031/
  Changelog:
 https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561version=12316020
 
  This vote ends Wednesday, February 23rd at 9:00am (GMT-8)
 
  Please test the release and offer your vote.
 
  -igor
 




-- 
Pedro Henrique Oliveira dos Santos


Re: [vote] release wicket 1.4.16

2011-02-22 Thread Jeremy Thomerson
+1

On Tue, Feb 22, 2011 at 10:30 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 +1

 -igor

 On Sun, Feb 20, 2011 at 8:33 PM, Igor Vaynberg igor.vaynb...@gmail.com
 wrote:
  This vote is to release wicket 1.4.16. This is a bugfix release on the
  1.4.x (stable) branch.
 
  Branch: http://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.16/
  Artifacts: http://people.apache.org/~ivaynberg/wicket-1.4.16/dist
  Maven repo:
 https://repository.apache.org/content/repositories/orgapachewicket-031/
  Changelog:
 https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561version=12316020
 
  This vote ends Wednesday, February 23rd at 9:00am (GMT-8)
 
  Please test the release and offer your vote.
 
  -igor
 




-- 
Jeremy Thomerson
http://wickettraining.com
*Need a CMS for Wicket?  Use Brix! http://brixcms.org*


Spring Annotations supoprt for IoC on WebPages

2011-02-22 Thread Bruno Borges
Hi everyone,

A friend was playing with Wicket and Spring and suggested that the
Spring integration could have a injector that could call the
AutowireCapableFactory of Spring to process Spring-native annotations, like
@Autowired and @Value.

  @Override
public void onInstantiation(Component arg0) {
contextLocator.getSpringContext().getAutowireCapableBeanFactory().autowireBean(arg0);
}

What do you guys think of this?

Best regards,

Bruno Borges
www.brunoborges.com.br
+55 21 76727099

The glory of great men should always be
measured by the means they have used to
acquire it.
 - Francois de La Rochefoucauld


Re: Spring Annotations supoprt for IoC on WebPages

2011-02-22 Thread Igor Vaynberg
problem comes from the fact that if one puts @Configured/@Component
and @Autowire spring annots on wicket classes and uses aspectj then
component classes will get instrumented which is not what you want.

-igor

On Tue, Feb 22, 2011 at 1:34 PM, Bruno Borges bruno.bor...@gmail.com wrote:
 Hi everyone,

    A friend was playing with Wicket and Spring and suggested that the
 Spring integration could have a injector that could call the
 AutowireCapableFactory of Spring to process Spring-native annotations, like
 @Autowired and @Value.

      @Override
 public void onInstantiation(Component arg0) {
 contextLocator.getSpringContext().getAutowireCapableBeanFactory().autowireBean(arg0);
 }

 What do you guys think of this?

 Best regards,

 Bruno Borges
 www.brunoborges.com.br
 +55 21 76727099

 The glory of great men should always be
 measured by the means they have used to
 acquire it.
  - Francois de La Rochefoucauld



Re: Spring Annotations supoprt for IoC on WebPages

2011-02-22 Thread James Carman
The problem with that is that it doesn't address the situation where
the reference is passed elsewhere (like to a DataProvider).  With the
proxy-based approach (which wicket-spring does now), it does.

On Tue, Feb 22, 2011 at 4:34 PM, Bruno Borges bruno.bor...@gmail.com wrote:
 Hi everyone,

    A friend was playing with Wicket and Spring and suggested that the
 Spring integration could have a injector that could call the
 AutowireCapableFactory of Spring to process Spring-native annotations, like
 @Autowired and @Value.

      @Override
 public void onInstantiation(Component arg0) {
 contextLocator.getSpringContext().getAutowireCapableBeanFactory().autowireBean(arg0);
 }

 What do you guys think of this?

 Best regards,

 Bruno Borges
 www.brunoborges.com.br
 +55 21 76727099

 The glory of great men should always be
 measured by the means they have used to
 acquire it.
  - Francois de La Rochefoucauld



Re: Spring Annotations supoprt for IoC on WebPages

2011-02-22 Thread Bruno Borges
If enough documentation is supplied, to state that usage of such annotations
can only be used this way:

class MyPage extends WebPage {
  @Autowired
  private transient MyService service;
}

Annotations like @Configured (at type level of panels, pages and components
in general) and @Component would be ignored (or reported).

Is this feature still inviable?

Bruno Borges
www.brunoborges.com.br
+55 21 76727099

The glory of great men should always be
measured by the means they have used to
acquire it.
 - Francois de La Rochefoucauld



On Tue, Feb 22, 2011 at 6:38 PM, James Carman ja...@carmanconsulting.comwrote:

 The problem with that is that it doesn't address the situation where
 the reference is passed elsewhere (like to a DataProvider).  With the
 proxy-based approach (which wicket-spring does now), it does.

 On Tue, Feb 22, 2011 at 4:34 PM, Bruno Borges bruno.bor...@gmail.com
 wrote:
  Hi everyone,
 
 A friend was playing with Wicket and Spring and suggested that the
  Spring integration could have a injector that could call the
  AutowireCapableFactory of Spring to process Spring-native annotations,
 like
  @Autowired and @Value.
 
   @Override
  public void onInstantiation(Component arg0) {
 
 contextLocator.getSpringContext().getAutowireCapableBeanFactory().autowireBean(arg0);
  }
 
  What do you guys think of this?
 
  Best regards,
 
  Bruno Borges
  www.brunoborges.com.br
  +55 21 76727099
 
  The glory of great men should always be
  measured by the means they have used to
  acquire it.
   - Francois de La Rochefoucauld
 



Re: Spring Annotations supoprt for IoC on WebPages

2011-02-22 Thread Jeremy Thomerson
On Tue, Feb 22, 2011 at 4:10 PM, Bruno Borges bruno.bor...@gmail.comwrote:

 If enough documentation is supplied, to state that usage of such
 annotations
 can only be used this way:

 class MyPage extends WebPage {
  @Autowired
  private transient MyService service;
 }


People don't read documentation :)


 Annotations like @Configured (at type level of panels, pages and components
 in general) and @Component would be ignored (or reported).

 Is this feature still inviable?


Most of the places I use services are in my IDataProvider and IModel
implementations.  For that, you need the proxy.  Why muddy the waters with
one way for components and one way for non-components?

-- 
Jeremy Thomerson
http://wickettraining.com
*Need a CMS for Wicket?  Use Brix! http://brixcms.org*