Re: [Wicket-user] extra SNAPSHOT-tests.jar file in lib when using Maven

2007-04-22 Thread Bjön Limell
Just found out that this is only happening when im using
wicket-extensions (1.3.0-incubating-SNAPSHOT)

On 4/22/07, Bjön Limell [EMAIL PROTECTED] wrote:
 Im having this problem too

 On 4/21/07, Peter Thomas [EMAIL PROTECTED] wrote:
  Hi,
 
  Just trying the latest 1.3.0-incubating-SNAPSHOT and I am using
  wicket-extensions also.
 
  I see an additional file called
  wicket-1.3.0-incubating-SNAPSHOT-tests.jar which wasn't
  there before.
 
  What is this?  Is this required and / or is there a Maven setting to remove
  this?
 
  When running mvn with the -X option this is the trace which says that this
  file has scope runtime
 
  [INFO] snapshot
  org.apache.wicket:wicket:1.3.0-incubating-SNAPSHOT:
  checking for updates from wicketstuff.org
  [DEBUG] repository metadata for: 'snapshot
  org.apache.wicket:wicket:1.3.0-incubating-SNAPSHOT' could
  not be found on repository: wicketstuff.org
  [DEBUG] Skipping disabled repository central
  [DEBUG] wicket: using locally installed snapshot
  [DEBUG] Retrieving parent-POM:
  org.apache.wicket:wicket-jdk14::1.3.0-incubating-SNAPSHOT
  for project: null:wicket:jar:null from the repository.
  [DEBUG] wicket-jdk14: using locally installed snapshot
  [DEBUG] Retrieving parent-POM:
  org.apache.wicket:wicket-parent::1.3.0-incubating-SNAPSHOT
  for project: org.apache.wicket:wicket-jdk14:pom:null from
  the repository.
  [DEBUG] wicket-parent: using locally installed snapshot
  [DEBUG]
  org.apache.wicket:wicket:jar:tests:1.3.0-incubating-SNAPSHOT:runtime
  (selected for runtime)
  [DEBUG]
  commons-logging:commons-logging:jar:1.0.4:runtime (removed
  - nearer found: 1.1)
  [DEBUG]   log4j:log4j:jar: 1.2.13:runtime (removed - nearer found:
  1.2.12)
  [DEBUG]
  commons-collections:commons-collections:jar:3.2:compile
  (selected for compile)
 
  Thanks,
 
  Peter.
 
 
 
  -
  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] extra SNAPSHOT-tests.jar file in lib when using Maven

2007-04-22 Thread Bjön Limell
You can use this workaround (if you're using widket-extensions):

dependency
groupIdorg.apache.wicket/groupId
artifactIdwicket-extensions/artifactId
version1.3.0-incubating-SNAPSHOT/version
exclusions
exclusion
groupIdorg.apache.wicket/groupId
artifactIdwicket/artifactId
/exclusion
/exclusions
/dependency

On 4/22/07, Bjön Limell [EMAIL PROTECTED] wrote:
 Just found out that this is only happening when im using
 wicket-extensions (1.3.0-incubating-SNAPSHOT)

 On 4/22/07, Bjön Limell [EMAIL PROTECTED] wrote:
  Im having this problem too
 
  On 4/21/07, Peter Thomas [EMAIL PROTECTED] wrote:
   Hi,
  
   Just trying the latest 1.3.0-incubating-SNAPSHOT and I am using
   wicket-extensions also.
  
   I see an additional file called
   wicket-1.3.0-incubating-SNAPSHOT-tests.jar which wasn't
   there before.
  
   What is this?  Is this required and / or is there a Maven setting to 
   remove
   this?
  
   When running mvn with the -X option this is the trace which says that this
   file has scope runtime
  
   [INFO] snapshot
   org.apache.wicket:wicket:1.3.0-incubating-SNAPSHOT:
   checking for updates from wicketstuff.org
   [DEBUG] repository metadata for: 'snapshot
   org.apache.wicket:wicket:1.3.0-incubating-SNAPSHOT' could
   not be found on repository: wicketstuff.org
   [DEBUG] Skipping disabled repository central
   [DEBUG] wicket: using locally installed snapshot
   [DEBUG] Retrieving parent-POM:
   org.apache.wicket:wicket-jdk14::1.3.0-incubating-SNAPSHOT
   for project: null:wicket:jar:null from the repository.
   [DEBUG] wicket-jdk14: using locally installed snapshot
   [DEBUG] Retrieving parent-POM:
   org.apache.wicket:wicket-parent::1.3.0-incubating-SNAPSHOT
   for project: org.apache.wicket:wicket-jdk14:pom:null from
   the repository.
   [DEBUG] wicket-parent: using locally installed snapshot
   [DEBUG]
   org.apache.wicket:wicket:jar:tests:1.3.0-incubating-SNAPSHOT:runtime
   (selected for runtime)
   [DEBUG]
   commons-logging:commons-logging:jar:1.0.4:runtime (removed
   - nearer found: 1.1)
   [DEBUG]   log4j:log4j:jar: 1.2.13:runtime (removed - nearer found:
   1.2.12)
   [DEBUG]
   commons-collections:commons-collections:jar:3.2:compile
   (selected for compile)
  
   Thanks,
  
   Peter.
  
  
  
   -
   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] What features do want to show in wicket demo

2007-04-22 Thread Zhang Hailong

I think a blog project which covers most common requirements will be fine.
About ORM, I prefer Hibernate.

// I have noticed your plan in Wicket Group of JavaEye. I'd like to take
part in this project, if you start pupa.


best,
Hailong Zhang


On 4/22/07, 王磊 [EMAIL PROTECTED] wrote:


 I will begin a open source project for wicket which name is pupa.
I hope it can be a best practice for wicket users.
 Wicket1.3 is the best choice to write the project,becuase i think
stateless page is very important feature.
But wicket2.0 is too far to use.
So ,i need more advices about the features in the demo.
I also want know which ORM framework is your favourite,Hibernate or
IBatis,maybe OJB is not bad.

One world, one dream.
I like it.

-
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] What features do want to show in wicket demo

2007-04-22 Thread 王磊
I will begin a open source project for wicket which name is pupa.
I hope it can be a best practice for wicket users.
Wicket1.3 is the best choice to write the project,becuase i think stateless 
page is very important feature.
But wicket2.0 is too far to use.
So ,i need more advices about the features in the demo.
I also want know which ORM framework is your favourite,Hibernate or 
IBatis,maybe OJB is not bad.

One world, one dream.
I like it.-
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] Giving Wicket a try; a few questions

2007-04-22 Thread Matthias Karlsson
Hi,

I'm about to develop a new e-commerce site and having grown tired of other
frameworks I have tried, Wicket seems to bring forward a lot that I have
been missing and wanting to use. 

However, I have never used a component-based framework and I have a few
questions that I hope someone can answer.

I'm still not completely clear of what server-side state management means,
but seeing as Wicket is built on the standard technology, I assume this
means using HttpSession to store information. Things being Serializable
seems to be a common technique within Wicket; does this mean that the
HttpSession will become full of serialized objects? How can this not affect
memory usage? Or is this the trade-off, that is, if you use a
component-based framework, you don't have to worry about the session state
so much, but you better add more memory to the production box(?).

For example, for the new site that I'm developing, the only information that
I can see is needed to be stored between requests in the session objects is
whether the user is logged in or not (and his/her user-id). For such a site,
is something like Wicket overkill in terms of state management? The homepage
talks about how the back-button-problem is solved, but with my
requirements I can't even see where the problem is. Why should I care where
the user is when each request is independent? 

And one more specific question regarding Wicket template system. For my web
application, I'll most likely need some part of each page that either
displays some information about the logged in user, or otherwise a form
allowing the user to log in. With some other framework, I'd have a
conditional test and then output the appropriate HTML. None of the examples
that I have seen on components have this kind of conditional output so I
was simply wondering how one would go about developing such component with
Wicket? 

That's it for now, but I'd be very grateful for any feedback I could get.
Browsing around and reading the (actually rather sparse) documentation
available, Wicket seems to be a very nice framework, but I think I'm too
stuck in the old way of developing web applications to see all the
benefits.

Thanks!

Matthias


-
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] What features do want to show in wicket demo

2007-04-22 Thread Igor Vaynberg

why not use JPA? then you can back that by hibernate/toplink/whatever

-igor


On 4/22/07, Zhang Hailong [EMAIL PROTECTED] wrote:


I think a blog project which covers most common requirements will be fine.
About ORM, I prefer Hibernate.

// I have noticed your plan in Wicket Group of JavaEye. I'd like to take
part in this project, if you start pupa.


best,
Hailong Zhang


On 4/22/07, 王磊 [EMAIL PROTECTED] wrote:

  I will begin a open source project for wicket which name is pupa.
 I hope it can be a best practice for wicket users.
  Wicket1.3 is the best choice to write the project,becuase i think
 stateless page is very important feature.
 But wicket2.0 is too far to use.
 So ,i need more advices about the features in the demo.
 I also want know which ORM framework is your favourite,Hibernate or
 IBatis,maybe OJB is not bad.

 One world, one dream.
 I like it.


 -
 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] What features do want to show in wicket demo

2007-04-22 Thread Matej Knopp
Because it lacks criteria queries? :)

-Matej

On 4/22/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 why not use JPA? then you can back that by hibernate/toplink/whatever

 -igor



 On 4/22/07, Zhang Hailong [EMAIL PROTECTED]  wrote:
  I think a blog project which covers most common requirements will be fine.
  About ORM, I prefer Hibernate.
 
  // I have noticed your plan in Wicket Group of JavaEye. I'd like to take
 part in this project, if you start pupa.
 
 
  best,
  Hailong Zhang
 
 
 
 
  On 4/22/07, 王磊  [EMAIL PROTECTED] wrote:
  
  
  
   I will begin a open source project for wicket which name is pupa.
   I hope it can be a best practice for wicket users.
  
   Wicket1.3 is the best choice to write the project,becuase i think
 stateless page is very important feature.
   But wicket2.0 is too far to use.
   So ,i need more advices about the features in the demo.
   I also want know which ORM framework is your favourite,Hibernate or
 IBatis,maybe OJB is not bad.
  
   One world, one dream.
   I like it.
  
 -
   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



-
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] Giving Wicket a try; a few questions

2007-04-22 Thread Matej Knopp
Hi

On 4/22/07, Matthias Karlsson [EMAIL PROTECTED] wrote:
 Hi,

 I'm about to develop a new e-commerce site and having grown tired of other
 frameworks I have tried, Wicket seems to bring forward a lot that I have
 been missing and wanting to use.

 However, I have never used a component-based framework and I have a few
 questions that I hope someone can answer.

 I'm still not completely clear of what server-side state management means,
 but seeing as Wicket is built on the standard technology, I assume this
 means using HttpSession to store information. Things being Serializable
 seems to be a common technique within Wicket; does this mean that the
 HttpSession will become full of serialized objects? How can this not affect
 memory usage? Or is this the trade-off, that is, if you use a
 component-based framework, you don't have to worry about the session state
 so much, but you better add more memory to the production box(?).

 For example, for the new site that I'm developing, the only information that
 I can see is needed to be stored between requests in the session objects is
 whether the user is logged in or not (and his/her user-id). For such a site,
 is something like Wicket overkill in terms of state management? The homepage
 talks about how the back-button-problem is solved, but with my
 requirements I can't even see where the problem is. Why should I care where
 the user is when each request is independent?

Well, wicket does uses session, unless you build your entire
application with stateless pages with is neither convenient, nor very
wicket-way :)

As for memory usage, Wicket 1.3 only stores last visited page in
session, all other are stored on disk. Even for complex application,
this shouldn't (under normal circumstances) take more than say 50kb of
session memory for logged in user.

 And one more specific question regarding Wicket template system. For my web
 application, I'll most likely need some part of each page that either
 displays some information about the logged in user, or otherwise a form
 allowing the user to log in. With some other framework, I'd have a
 conditional test and then output the appropriate HTML. None of the examples
 that I have seen on components have this kind of conditional output so I
 was simply wondering how one would go about developing such component with
 Wicket?

add(new UserInfoPanel(userInfo) {
  public boolean isVisible() {
return getSession().getLoggedUser() != null;
  }
};

add(new LoginPanel(loginPanel) {
  public boolean isVisible() {
   return getSession().getLoggedUser() == null;
  }
});


 That's it for now, but I'd be very grateful for any feedback I could get.
 Browsing around and reading the (actually rather sparse) documentation
 available, Wicket seems to be a very nice framework, but I think I'm too
 stuck in the old way of developing web applications to see all the
 benefits.

That might be the case :) Beware that there is a unlearn phase
alongside the standard learningcurve :)

-Matej


 Thanks!

 Matthias


 -
 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] Giving Wicket a try; a few questions

2007-04-22 Thread Carlos Pita
Hi Matthias,

 For example, for the new site that I'm developing, the only information that
 I can see is needed to be stored between requests in the session objects is
 whether the user is logged in or not (and his/her user-id). For such a site,
 is something like Wicket overkill in terms of state management? The homepage
 talks about how the back-button-problem is solved, but with my
 requirements I can't even see where the problem is. Why should I care where
 the user is when each request is independent?

You have different kind of models to feed your components. If you want
to keep your state exclusively inside the db, you can always use a
LoadableDetachableModel that brings it from the db upon every request
by simply overriding a load() method. Some stuff will still be kept in
the session, of course, as your component hierarchy, but nothing
really data-intensive. That said, if you do things like field by field
ajax-validation, for example, sometimes it's very convenient and
natural to kept the entire form state in the session. With models you
can choose on a case by case basis. As you, at first I was reluctant
to store my domain objects inside the session, but in practice I found
the approach of making them Serializable and keeping them as
field-members of my forms more natural and somewhat easy-going. I
think you can fine-tune the page and version cache parameters too,
although I've never done that.

 And one more specific question regarding Wicket template system. For my web
 application, I'll most likely need some part of each page that either
 displays some information about the logged in user, or otherwise a form
 allowing the user to log in. With some other framework, I'd have a

You can define a couple of components, one for each case, and -say- a
static helper method like Helpers.addLoginComponent(page) that decides
which one to instantiate and add. Or you can add this logic to the
constructor of a base page class which you inherit from every class in
you application. Etc. Namely, logic is done java-side, you have the
full power of java and ooad at your disposal.

My 2c.

Cheers,
Carlos

-
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 problem

2007-04-22 Thread Vadim Tesis
Hi all,

i'm trying to write a simple test to see if a page gets rendered.  when i 
run the test i'm getting error: NoClassDefFoundError for GenericServlet (see 
below).  it complains about the line where WicketTester gets instantiated.  
i tried to specify absolute path to the .war file in the WicketTester's 
constructor but getting the same error.
do you know what might cause the problem?

Thanks,
Vadim

C:java -cp build\classes;..\lib\junit-4.1.jar;..\lib\wicket-1.2.5.jar junit
.textui.TestRunner com.ds.deal.gui.GuiAllTests
.E
Time: 0.046
There was 1 error:
1) 
testHomePageRender(com.ds.deal.gui.HomeTest)java.lang.NoClassDefFoundError: 
javax/servl
et/GenericServlet
at com.ds.deal.gui.HomeTest.setUp(HomeTest.java:12)

FAILURES!!!
Tests run: 1,  Failures: 0,  Errors: 1


this is the code:
public class HomeTest extends TestCase
{
private WicketTester m_tester;

public void setUp()
{
m_tester = new WicketTester();
} // end of setUp()

public void testHomePageRender()
{
m_tester.startPage(Home.class);

// ensure that request has not been intercepted or redirected
m_tester.assertRenderedPage(Home.class);

// a page might render with an error message
m_tester.assertNoErrorMessage();
} // end of testHomePageRender()
} // end of class HomeTest

_
The average US Credit Score is 675. The cost to see yours: $0 by Experian. 
http://www.freecreditreport.com/pm/default.aspx?sc=660600bcd=EMAILFOOTERAVERAGE


-
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] Wicket 1.2.6 has been released

2007-04-22 Thread Martijn Dashorst
Wicket 1.2.6 available

The Wicket team is proud to announce another maintenance release for
Wicket 1.2. With our first 1.3 release looming on the horizon, this
probably marks the last 1.2 release. This release contains numerous
fixes.

IMPORTANT NOTE

A critical bug has been identified in the request processing of
Wicket. In rare cases this bug could lead to users being presented
with a page from another user's session. This bug is caused by a
failure to  clean up resources in the processing thread under very
rare circumstances. See WICKET-476 [1] for more information on this
issue.

Users are advised to upgrade their Wicket to 1.2.6. If you are using a
custom built Wicket, please apply revision 529917 to your code [2].

Other issues

This release fixes other issues as well:

Bugs:

[WICKET-9] - OnError does not work on file upload exceding max size
[WICKET-134] - servlet.jar is included in the wicket examples war file.
[WICKET-260] - Wicket uses trivial encryption if
com.sun.crypto.provider.SunJCE is not available
[WICKET-268] - NPE in ListView.renderItem(ListItem)
[WICKET-269] - Calls to enabled and visibleInHierarchy should not be
done in component resolving.
[WICKET-276] - AbstractHeaderContributor.cleanup() will never be called
[WICKET-281] - wicket-ajax.js is sometime missing from lt;headgt; section
[WICKET-290] - Inconsistent url generation
[WICKET-291] - return immutable parameter map or a copy of parameters
[WICKET-304] - AnnotSpringInjector corrupted class file in 1.2.5 release.
[WICKET-342] - Application_sv.properties variable bugs
[WICKET-349] - ListView can't undo changes to model
[WICKET-378] - autocomplete does not explicitly call input's onchange event
[WICKET-395] - Bookmarkable page problems
[WICKET-432] - getvariation() is called from webpage constructor
through commoninit()
[WICKET-438] - File handles are leaked when loading images from a jar
file, Tomcat crashes
[WICKET-475] - NPE in WebClientInfo when user-agent header is not sent
[WICKET-476] - Backport RequestCycle#updateSession and pagemap#session
removal to 1.2.x
[WICKET-490] - The wicket-auth-roles-1.2.5.jar contains the .svn subdirectories.

Improvement

[WICKET-324] - AjaxFormComponentUpdatingBehavior updating other Component
[WICKET-325] - Enable WebMarkupContainer as target for wicketSerialize

New Feature

[WICKET-3] - listen for quot;selection changedquot;  event at
AutocompleteTextField
[WICKET-338] - DateTextField

Although Wicket has recently entered the ASF Incubator, this interim
release is provided outside of the ASF, solely as a service to
existing Wicket users to resolve existing bugs in the Wicket product.
As such, this release of the  Wicket project is not endorsed or
approved by the Apache Software Foundation. The Apache Software
Foundation is in  no way affiliated with this release.

Download Wicket 1.2.6 here:
http://sourceforge.net/project/showfiles.php?group_id=119783

[1] https://issues.apache.org/jira/browse/WICKET-476
[2] http://svn.apache.org/viewvc?view=revrev=529917

-- 
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 will keep your server alive. 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


Re: [Wicket-user] LiveSessionsPage

2007-04-22 Thread Jonathan Locke


yeah, i think all that stuff moved to examples due to 
security concerns with that stuff being bookmarkable
and not protected by an authorization strategy.


Alexander Lohse wrote:
 
 Hi,
 
 I cannot find the LiveSessionsPage since I recently updated our  
 project to the lastest version of wicket.
 
 Has it been renamed or moved to a separate project?
 
 Best regards and thanks,
 
 Alex
 __
 
 Alexander Lohse • Entwicklungsleitung  Projektmanagement
 Tel +49 38374 752 11 • Fax +49 38374 752 23
 http://www.humantouch.de
 
 Human Touch Medienproduktion GmbH
 Am See 1 • 17440 Klein Jasedow • Deutschland
 
 Geschäftsführung:
 Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath (Senior)
 Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684
 
 
 
 -
 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/LiveSessionsPage-tf3626728.html#a10128794
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


Re: [Wicket-user] Can templates have an extension other than .html?

2007-04-22 Thread Jonathan Locke


i can confirm that.  i have no idea what i meant by that comment.  ;-)


Eelco Hillenius wrote:
 
 On 2/28/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 that is an interesting comment indeed. if it was really true then
 webpage.getmarkuptype() would be final. anyone else mind to comment?
 
 Looks like an ancient leftover. I ditched it.
 
 Eelco
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 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/Can-templates-have-an-extension-other-than-.html--tf3309848.html#a10128798
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


[Wicket-user] How do I show/hide row

2007-04-22 Thread john . mattucci
I have a table which contains a list of users. At the end of each row there
is an delete/undo link. When the user clicks delete I want to hide the row
and replace it with only the undo link. What would be the best way to do
this? Thanks for your time.

view = new ListView(rows, data) {
  public void populateItem(ListItem listItem) {
UserType value = (UserType
)listItem.getModelObject();
listItem.add(new
ModalWindowPanel(userSearchPanel, value));

listItem.add(new CheckBox(admin, new Model(new
Boolean(value.isAdmin();
listItem.add(new DeleteUndoPanel(deleteUndoPanel,
listItem.getModel()));
  }
};


private class DeleteUndoPanel extends Panel {


public DeleteUndoPanel(String id, final IModel model) {
  super(id, model);
  setOutputMarkupId(true);
  final UserType type = (UserType)this.getModelObject();

  undoItem = new AjaxLink(undoItem) {

@Override
  public boolean isVisible() {

 }

public void onClick(AjaxRequestTarget target) {
  type.setDelete(false);
  target.addComponent(DeleteUndoPanel.this);
}
  };
  ..
  deleteItem = new AjaxLink(deleteItem) {



NOTICE OF CONFIDENTIALITY
This communication including any information transmitted with it is 
intended only for the use of the addressees and is confidential. 
If you are not an intended recipient or responsible for delivering 
the message to an intended recipient, any review, disclosure, 
conversion to hard copy, dissemination, reproduction or other use 
of any part of this communication is strictly prohibited, as is the 
taking or omitting of any action in reliance upon this communication. 
If you receive this communication in error or without authorization 
please notify us immediately by return e-mail or otherwise and 
permanently delete the entire communication from any computer, 
disk drive, or other storage medium.

If the above disclaimer is not properly readable, it can be found at 
www.td.com/legal
   
AVERTISSEMENT DE CONFIDENTIALITE   
Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement 
aux destinataires susmentionnés,  est confidentiel.  Si vous 
n’êtes pas le destinataire prévu ou un agent responsable de la 
livraison de ce courriel, tout examen, divulgation, copie, impression, 
reproduction, distribution, ou autre utilisation d’une partie de ce 
courriel est strictement interdit de même que toute intervention ou 
abstraction à cet égard.  Si vous avez reçu ce message par erreur ou 
sans autorisation, veuillez en aviser immédiatement l’expéditeur par 
retour de courriel ou par un autre moyen et supprimer immédiatement 
cette communication entière de tout système électronique.

Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous 
pouvez le consulter à www.td.com/francais/legale
-
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] ajax libraries wicket

2007-04-22 Thread Flavius

Is the DatesComparatorValidator object something you wrote or is that
something coming
in wicket 1.3? 


-- 
View this message in context: 
http://www.nabble.com/-Wicket-user--ajax-libraries---wicket-tf3191437.html#a10129826
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


[Wicket-user] Difference between Link and PageLink

2007-04-22 Thread shumbola

I wonder what's the difference between Link and PageLink in the following
situation:
-use Link and in onClick() handler use setResponsePage(new MyPage(myParam));
-use PageLink and provide getPage() and getPageIdentity() functions and
inside getPage() return new MyPage(myParam);


-- 
View this message in context: 
http://www.nabble.com/Difference-between-Link-and-PageLink-tf3629301.html#a10134189
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