Re: [Wicket-user] Wicket 1.3 Javadoc

2007-07-25 Thread Evan Chooly
On 7/25/07, Bjön Limell [EMAIL PROTECTED] wrote:

 hi

 Im using this one: http://wicketstuff.org/wicket13doc/

 On 7/25/07, NateBot2000 [EMAIL PROTECTED] wrote:
 
  Can someone tell me where a public 1.3-beta2 Javadoc is located?  or do
 I
  need to pull from SVN and build it myself?  I can only find older
 versions.
  It would be really sweet if there were a link to each version's Javadoc
 on
  the front page of wicket.apache.org...
 


Or if you use maven (or the maven ant tasks) you can download the javadoc
using the javadoc classifier on the dep.
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] About to use Wicket. ORM?

2007-07-24 Thread Evan Chooly
Except the question wasn't about learning.  It's about being productive.
And too often NIH is the anti-productivity pill.  Don't want a feature?
Don't use it.  Wicket offers a lot that I don't use but I'd have to crazy
not to use it because of that.

On 7/24/07, davor-x [EMAIL PROTECTED] wrote:


 I'm making software for  10 years now. And I dont use / like orm. But
 that's
 me. I hate everything that's bloated with features. I hope wicket will not
 add new features in it's core. For my use, I've build a kind of my inhouse
 orm, I want to view the same data in, say a browsable and selectable list
 and then in a crud form - synchonized. The best and only way of learning -
 for me - is: DIY.

 --
 View this message in context:
 http://www.nabble.com/About-to-use-Wicket.-ORM--tf4131916.html#a11764361
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] About to use Wicket. ORM?

2007-07-24 Thread Evan Chooly
On 7/23/07, James Law [EMAIL PROTECTED] wrote:

 Hi Matthias, my 2 cents on orm.
 As far as which orm/persistence tool, I think a good strategy that I
 follow is to use them all!
 Really though, I categorize data access into multiple categories

 1. Lots of insert/update stuff use cases, where you want to modify a
 domain model, put bus logic on domain objects, and not think in terms of
 rows, but instead modify an object model and let hibernate see your
 changes --- use hibernate

 2. Get queries on the screen fast (no need for persistence context, or
 changes to the objects)
 think ibatis, or spring jdbc.

 I love hibernate, but for complex queries, I think it at times can
 require too much understanding of the black box. Like how are my
 many-one setup, is it cached, outer joined, or ?.

 I accomplish this matrix approach using spring.. since it allows me to
 use both and still have transactions, and one stop shopping for managing
 datasource with all of these tools...


I agree.  Here at my current job, we're doing a mix of both approaches where
we have a number of domain objects managed by Spring/Hibernate/JPA but then
we have a number of dynamically generated queries that don't really equate
to domain objects.  For those we're using straight SQL to (hopefully)
quickly pull that data out of the database.  If you want to use hibernate
and wicket, there's the databinder which has a number of nice
Hibernate-related components to use to help manage your models and the like
and there's qwicket that'll help you generate the base spring/wicket setup
for you if you choose to use spring.

If you go with hibernate, I'd recommend sticking as close to pure JPA as
you can so that you're not necessarily tied to hibernate but get the
benefits of an ORM.  You can still drop to native SQL if you'd like using
the JPA interfaces.
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JPA Annotation Validation

2007-07-13 Thread Evan Chooly

I use the JPA annotations.  Have been for probably a year now.  The went
final with the EE 5 spec, though.

On 7/12/07, Ryan Sonnek [EMAIL PROTECTED] wrote:


I haven't seen anything on JPA annotations.  Last I heard, they were in
draft or review.  Are they actually available now, and if so, who's
using them?

On 7/12/07, Craig Lenzen [EMAIL PROTECTED] wrote:


 Thanks Al, I look forward to the post.

 -Craig


 Al Maw wrote:
 
  Craig Lenzen wrote:
  Sorry, I was a little confused, I thought this project was using the
 JPA
  annotations for validation.  Instead you are actually using the
 hibernate
  validator project annotations.  Which means the @Column annotation
 would
  be
  pretty hard to use..:)
 
  :-)
 
  I have JPA annotation integration working. It's really very easy. Will

  post some stuff on my blog about it later.
 
  Al
  --
  herebebeasties.com
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 View this message in context:
 http://www.nabble.com/JPA-Annotation-Validation-tf4064781.html#a11572215
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -

 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] WicketTester and Spring

2007-07-11 Thread Evan Chooly

yeah, I saw that which is great.  The problem is still getting the
environment set up so that spring, et. al, can find everything it needs to
initialize the application context.  I figured it out yesterday and am
writing up a blog entry on it now.

On 7/10/07, Ingram Chen [EMAIL PROTECTED] wrote:


for wicket 1.2, see http://cwiki.apache.org/WICKET/spring.html  for
reference (button)

Wicket 1.3 can use actual WebApplication so it should be no problem.

On 7/11/07, Evan Chooly [EMAIL PROTECTED] wrote:

 Does anyone have any documentation on using WicketTester with annotation
 based spring injection?  I tried creating a WicketTester using my own
 Application rather then the DummyApplication that's used by default but
 spring complains with:  java.lang.IllegalStateException: No
 WebApplicationContext found: no ContextLoaderListener registered?

 But it's not immediately clear how I can do that from my test code.
 Anyone have any ideas?  All the google results i've found so far deal with
 creating mocks and manully injecting them which is not really what I want.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Ingram Chen
online share order: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] WicketTester and Spring

2007-07-11 Thread Evan Chooly

Here it is warts and all:  http://www.antwerkz.com/wp/?p=1026

On 7/11/07, Evan Chooly [EMAIL PROTECTED] wrote:


yeah, I saw that which is great.  The problem is still getting the
environment set up so that spring, et. al, can find everything it needs to
initialize the application context.  I figured it out yesterday and am
writing up a blog entry on it now.

On 7/10/07, Ingram Chen [EMAIL PROTECTED] wrote:

 for wicket 1.2, see http://cwiki.apache.org/WICKET/spring.html  for
 reference (button)

 Wicket 1.3 can use actual WebApplication so it should be no problem.

 On 7/11/07, Evan Chooly  [EMAIL PROTECTED] wrote:
 
  Does anyone have any documentation on using WicketTester with
  annotation based spring injection?  I tried creating a WicketTester using my
  own Application rather then the DummyApplication that's used by default but
  spring complains with:  java.lang.IllegalStateException: No
  WebApplicationContext found: no ContextLoaderListener registered?
 
  But it's not immediately clear how I can do that from my test code.
  Anyone have any ideas?  All the google results i've found so far deal with
  creating mocks and manully injecting them which is not really what I want.
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 --
 Ingram Chen
 online share order: http://dinbendon.net
 blog: http://www.javaworld.com.tw/roller/page/ingramchen

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] WicketTester and Spring

2007-07-10 Thread Evan Chooly

Does anyone have any documentation on using WicketTester with annotation
based spring injection?  I tried creating a WicketTester using my own
Application rather then the DummyApplication that's used by default but
spring complains with:  java.lang.IllegalStateException: No
WebApplicationContext found: no ContextLoaderListener registered?

But it's not immediately clear how I can do that from my test code.  Anyone
have any ideas?  All the google results i've found so far deal with creating
mocks and manully injecting them which is not really what I want.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] replaceWith() not working

2007-06-29 Thread Evan Chooly

It is not.  I'm not entirely sure what's broken here.  I'm assuming that
tests exist in wicket for this and that it works there so the problem has
*got* to be on my end.  I'm just not seeing it.  I'll turn logging back on
and dig through each line.  There's just so much info there...  sigh/

On 6/29/07, Johan Compagner [EMAIL PROTECTED] wrote:


it is not by accident an ajax request right?


On 6/28/07, Evan Chooly [EMAIL PROTECTED] wrote:

 On 6/28/07, Eelco Hillenius  [EMAIL PROTECTED] wrote:
 
   public void onClick() {
   DeleteLink.this.replaceWith(new
   ConfirmDeletePanel(DeleteLink.this.getId(), really delete?) {
   @Override
   protected void onCancel() {
   replaceWith(DeleteLink.this);
   }
  
   @Override
   protected void onConfirm() {
   Filter filter =
   (Filter)getParent().getParent().getModelObject();
   service.delete(filter);
   replaceWith(DeleteLink.this);
   }
   });
   }
 
  Code looks fine to me. And I'm using replaceWith quite a bit and it
  works fine. Can you try to set a break point in onClick, see if it
  arrives there and step into the replace code?


 The onClick() is definitely getting called (I set breakpoints this
 morning...) but the panel just isn't getting replaced.  Now, is there any
 problem with replacing a link (in this case) with a panel?  There's no
 impedence mismatch between the a and the span that would normally get
 used?



 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] replaceWith() not working

2007-06-29 Thread Evan Chooly

A thought occurred to me.  I'm doing this panel replacement inside a
DataTable.  So when the DT rerenders could it be overwriting the change I
just made?  Because this panel replacement wouldn't really change the state
of the DT so when it rerenders itself it would render it's entire tree as it
iterates across all the rows and overwrite what I just changed.  That sounds
like the probably culprit.  Thoughts?

On 6/29/07, Evan Chooly  [EMAIL PROTECTED] wrote:


It is not.  I'm not entirely sure what's broken here.  I'm assuming that
tests exist in wicket for this and that it works there so the problem has
*got* to be on my end.  I'm just not seeing it.  I'll turn logging back on
and dig through each line.  There's just so much info there...  sigh/

On 6/29/07, Johan Compagner  [EMAIL PROTECTED] wrote:

 it is not by accident an ajax request right?


 On 6/28/07, Evan Chooly  [EMAIL PROTECTED] wrote:
 
  On 6/28/07, Eelco Hillenius  [EMAIL PROTECTED] wrote:
  
public void onClick() {
DeleteLink.this.replaceWith(new
ConfirmDeletePanel(DeleteLink.this.getId(), really delete?) {
@Override
protected void onCancel() {
replaceWith(DeleteLink.this);
}
   
@Override
protected void onConfirm() {
Filter filter =
(Filter)getParent().getParent().getModelObject();
service.delete(filter);
replaceWith(DeleteLink.this);
}
});
}
  
   Code looks fine to me. And I'm using replaceWith quite a bit and it
   works fine. Can you try to set a break point in onClick, see if it
   arrives there and step into the replace code?
 
 
  The onClick() is definitely getting called (I set breakpoints this
  morning...) but the panel just isn't getting replaced.  Now, is there any
  problem with replacing a link (in this case) with a panel?  There's no
  impedence mismatch between the a and the span that would normally get
  used?
 
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] replaceWith() not working

2007-06-29 Thread Evan Chooly

That's a good idea i'll remember for the future.  Instead I had the better
idea of using a modal window for the delete confirmation.  Purty.

On 6/29/07, Martijn Dashorst [EMAIL PROTECTED] wrote:


Try a reuse items strategy to see if that works?

Martijn

On 6/29/07, Evan Chooly [EMAIL PROTECTED] wrote:
 A thought occurred to me.  I'm doing this panel replacement inside a
 DataTable.  So when the DT rerenders could it be overwriting the change
I
 just made?  Because this panel replacement wouldn't really change the
state
 of the DT so when it rerenders itself it would render it's entire tree
as it
 iterates across all the rows and overwrite what I just changed.  That
sounds
 like the probably culprit.  Thoughts?


 On 6/29/07, Evan Chooly  [EMAIL PROTECTED] wrote:
  It is not.  I'm not entirely sure what's broken here.  I'm assuming
that
 tests exist in wicket for this and that it works there so the problem
has
 *got* to be on my end.  I'm just not seeing it.  I'll turn logging back
on
 and dig through each line.  There's just so much info there...  sigh/
 
 
 
  On 6/29/07, Johan Compagner  [EMAIL PROTECTED] wrote:
   it is not by accident an ajax request right?
  
  
  
   On 6/28/07, Evan Chooly  [EMAIL PROTECTED] wrote:
   
On 6/28/07, Eelco Hillenius  [EMAIL PROTECTED] wrote:
   
  public void onClick() {
  DeleteLink.this.replaceWith(new
  ConfirmDeletePanel(DeleteLink.this.getId(), really delete?)
{
  @Override
  protected void onCancel() {
  replaceWith(DeleteLink.this);
  }
 
  @Override
  protected void onConfirm() {
  Filter filter =
  (Filter)getParent().getParent().getModelObject();
  service.delete(filter);
  replaceWith(DeleteLink.this);
  }
  });
  }

 Code looks fine to me. And I'm using replaceWith quite a bit and
it
 works fine. Can you try to set a break point in onClick, see if
it
 arrives there and step into the replace code?
   
   
The onClick() is definitely getting called (I set breakpoints this
 morning...) but the panel just isn't getting replaced.  Now, is there
any
 problem with replacing a link (in this case) with a panel?  There's no
 impedence mismatch between the a and the span that would normally
get
 used?
   
   
   

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
  
  
  

-
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 



-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user

[Wicket-user] replaceWith() not working

2007-06-28 Thread Evan Chooly

I'm on the latest snapshot and am having a problem using replaceWith().
When I have wicket logging turned on I can see all sorts of activity, but my
page doesn't get updated.  Below is the code I'm using.  I ripped this code
off from eelco's blog at
http://chillenious.wordpress.com/2006/11/30/ask-confirmation-on-link-clicks-with-wicket/.
Does anyone see anything wrong here?  Do you need more info?



   public void onClick() {
   DeleteLink.this.replaceWith(new ConfirmDeletePanel(
DeleteLink.this.getId(), really delete?) {
   @Override
   protected void onCancel() {
   replaceWith(DeleteLink.this);
   }

   @Override
   protected void onConfirm() {
   Filter filter =
(Filter)getParent().getParent().getModelObject();
   service.delete(filter);
   replaceWith(DeleteLink.this);
   }
   });
   }
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] replaceWith() not working

2007-06-28 Thread Evan Chooly

On 6/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


 public void onClick() {
 DeleteLink.this.replaceWith(new
 ConfirmDeletePanel(DeleteLink.this.getId(), really delete?) {
 @Override
 protected void onCancel() {
 replaceWith(DeleteLink.this);
 }

 @Override
 protected void onConfirm() {
 Filter filter =
 (Filter)getParent().getParent().getModelObject();
 service.delete(filter);
 replaceWith(DeleteLink.this);
 }
 });
 }

Code looks fine to me. And I'm using replaceWith quite a bit and it
works fine. Can you try to set a break point in onClick, see if it
arrives there and step into the replace code?



The onClick() is definitely getting called (I set breakpoints this
morning...) but the panel just isn't getting replaced.  Now, is there any
problem with replacing a link (in this case) with a panel?  There's no
impedence mismatch between the a and the span that would normally get
used?
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] replaceWith() not working

2007-06-28 Thread Evan Chooly

I started off with a panel but i moved it down one to the link itself
thinking there might be some oddities with the panel being part of a column
blah blah blah.  I'll rework it and try again.

On 6/28/07, Matej Knopp [EMAIL PROTECTED] wrote:


huh, if you have a in your markup, then i wouldn't be surprised if
things didn't work as expected. You should try to replace a panel with
panel, possible attached to div

-Matej

On 6/28/07, Evan Chooly [EMAIL PROTECTED] wrote:
 On 6/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
   public void onClick() {
   DeleteLink.this.replaceWith(new
   ConfirmDeletePanel(DeleteLink.this.getId(), really delete?) {
   @Override
   protected void onCancel() {
   replaceWith(DeleteLink.this);
   }
  
   @Override
   protected void onConfirm() {
   Filter filter =
   (Filter)getParent().getParent().getModelObject();
   service.delete(filter);
   replaceWith(DeleteLink.this);
   }
   });
   }
 
  Code looks fine to me. And I'm using replaceWith quite a bit and it
  works fine. Can you try to set a break point in onClick, see if it
  arrives there and step into the replace code?


 The onClick() is definitely getting called (I set breakpoints this
 morning...) but the panel just isn't getting replaced.  Now, is there
any
 problem with replacing a link (in this case) with a panel?  There's no
 impedence mismatch between the a and the span that would normally
get
 used?



-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] replaceWith() not working

2007-06-28 Thread Evan Chooly

On 6/28/07, Evan Chooly [EMAIL PROTECTED] wrote:


I started off with a panel but i moved it down one to the link itself
thinking there might be some oddities with the panel being part of a column
blah blah blah.  I'll rework it and try again.



So bumping it back up to the whole panel didn't fix it either.  I've
verified that the ID used by the new panel matches the one used by the panel
i'm trying to replace.  No luck.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] [announce] Apache Wicket

2007-06-20 Thread Evan Chooly

Awesome!  Let me be the first to say ...

So when is beta 2 coming out?  8^)=

On 6/20/07, Martijn Dashorst [EMAIL PROTECTED] wrote:


We have Graduation! Apache Wicket is established as a top level
project within the Apache Software Foundation.

From Greg Stein:

 Original Message 
Subject: Apache Board Meeting, June 20, 2007 (new officers!)
Date: Wed, 20 Jun 2007 12:45:06 -0700
From: Greg Stein
Reply-To: members@
To: members@

Hi all,

Today, the newly-elected Board met for the first time. After we
got
done with our regular series of project reviews and other reports,
we
elected a new slate of executive officers. I'm happy to present
that
list:

 Jim Jagielski, Chairman
 Justin Erenkrantz, President
 J Aaron Farr, Treasurer
 Sam Ruby, Exec VP and Secretary

Welcome guys to your new offices!

We also established new three projects:

* Apache Quetzalcoatl: this springs mod_python and related bits
out of
the HTTPD project into its own TLP. Gregory Trubetskoy is its
Chair.

* Apache Wicket: this is a light webapp framework for Java,
graduating
from the Incubator into its own TLP. Martijn Dashorst is the new
Chair.

* Apache Commons: this is the venerable Apache Jakarta Commons,
now
spun out into its own TLP, with Torsten Curdt as its Chair.

Finally, we swapped a couple PMC Chairs:

* Will Glass-Hussin replaces Henning Schmiedehausen as the
Velocity Chair
* David Sean Taylor replaces Santiago Gala as the Portals Chair

That's it for this month. Please feel free to forward this to any
public/private forum as you see fit. If you have any questions,
then
please don't hesitate to ask myself or any other Director or
officer.

Cheers,
-g

We would like to congratulate all Wicket community members with this
remarkable feat, we couldn't have done this without you!

Furthermore, I like to thank the Board of the Apache Software
Foundation for the trust they invested in us. We will not disappoint!

We would like to thank Wicket's mentors:

* Alex Karasulu (whose birthday coincidentally is today… what a better
gift could you receive). Thanks for bringing us on board, and a Happy
Birthday!!!

* Upayavira, who made the transition even run smoother than thought
possible. Thanks for guiding us and I hope you'll stay for a long time
with our project!

* Bertrand Delacretaz, thank you for your help, votes and advise. We
will miss your involvement, but will certainly see you in the future!

* Sylvain Wallez, also big thanks for helping and guiding us. I hope
Wicket is still working within Joost

Finally, congratulations to the new officers, PMC Chairs and the other
two new projects: Apache Quetzalcoatl and Apache Commons! Welcome to
the club!

!!! Champagne !!!

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: newMarkupResourceStream question

2006-05-27 Thread evan
I have implemented something with a similar need, where I load markup 
from a database, and want to let my application control when it is ready 
 for updating. Ideally I would like to have it work outside of 
development mode - so I don't have to leave resource polling - i.e. the 
ModificationWatcher thread running and polling frequently in production.


if Application.markupCache could be changed from private to protected I 
could implement my own MarkupCache.


I could then override MarkupCache.getMarkup() and use custom business 
logic to determine whether to reload a container's markup before 
deferring to super.getMarkup()


Can Application.markupCache be make protected? so in Application.init() 
I can plug in a custom implementation?


thx,
evan


Juergen Donnerstag wrote:

Wicket caches the markup loaded. Hence you'll see it loaded only once.
However in development mode ModificationWatcher receives a request to
check regularly if the file (IResourceStream) has been changed (modify
date). If yes, the cache is cleared and all markup files are reloaded
on request.

Juergen

On 5/27/06, Suhail Ahmed [EMAIL PROTECTED] wrote:

Hi,

I have been developing on Wicket for a couple of weeks. I have come
to the point where I have overridden newMarkupResourceStream on Page
and is using this method to laod a page definition file from outside
the Wicket classpath. However I see that this method is called only
once. Is this true? If true, is there a way to have this method
called again since I am using a cache instance to store the page
definition and would like the newMarkupResourceStream method called
when the cache is invalidated or expires. Thank you in advance.

su./hail


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat 
certifications in

the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] anyone at java one?

2006-05-18 Thread evan

Any wicket users/contributors at Java one?
If so, want to meet and go for a drink tonight?
 I will buy a few rounds as part of my company's contribution back to 
the community :)


Sorry for late notice.

-evan



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: Dynamically updating a tree via Ajax?

2006-04-21 Thread evan
I implemented a tree using CSS/Javascript with the methodology outlined 
here:

http://gethelp.devx.com/techtips/dhtml_pro/10min/10min0702/td072602-4.asp

You could achieve what your are trying to do using that.

To 'ajaxify' it, and load nodes on demand you could try adding a wicket 
AjaxLink around your branch div, and have that replace a target 
component in your Panel that holds all the div elements for tree nodes 
that have been loaded. Then the regular javascript call would make the 
nodes visible for the branch item just clicked.



Question might be what order the calls are made - showbranch or load new 
divs, if showBranch comes first you'd need to workaround.



-evan



David Griffiths wrote:

Hi, how far away is Wicket from being able to do this:

- create a tree object initially displaying only the root node
- when you click to expand a node do it via a xmlhttprequest to the server
- the server responds with just the children which are inserted into the 
DOM rather than the entire page or entire tree object being redrawn


and as an optional nice-to-have:

- preload the children as hidden elements and have an expand operation 
use javascript to make the children visible locally (no roundtrip delay) 
whilst meanwhile calling the server to add new hidden grandchildren in 
the background.


Thanks,

Dave



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job 
easier

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user