Re: [Wicket-user] Tree

2006-07-28 Thread Eelco Hillenius
Yep. Override getCss:

protected PackageResourceReference getCss()
{
return new PackageResourceReference(FooTree.class, bar.css);
}

Also note that since a few days (will be in 1.2.2) there is a new tree
component put in extensions for 1.2.x, and will replace the tree in
core for 2.0. That tree is leaner and meaner, and has very nice
features like running in ajax mode etc. You might want to check that
out. They both work with Swing's TreeModel.

Eelco


On 7/27/06, Henk Laracker [EMAIL PROTECTED] wrote:



 Hello,

 I use the wicket tree component, is it possible to disable the style sheet?

 Because we want to use our own.



 Thank you,

 Henk Laracker
  Lead Architect
  Development
  

  Planon B.V.
  Wijchenseweg 8
  6537 TL Nijmegen
  P.O. Box 38074
  6503 AB Nijmegen
  The Netherlands
  T:  +31 (0) 24 641 3135
  F:  +31 (0) 24 642 2942
  E:  [EMAIL PROTECTED]
  W: www.planon-fm.com


 Deze email en alle bijlagen zijn slechts voor gebruik door de beoogde
 ontvanger. De email kan intellectueel eigendom en/of vertrouwelijke
 informatie bevatten. Het mag niet worden gekopieerd, openbaar gemaakt,
 bewaard of gebruikt worden door anderen dan waarvoor deze bestemd is. Bent u
 niet de beoogde ontvanger,verwijdert u dan deze email met alle bijlagen en
 kopieën onmiddellijk en informeer de afzender.

 This e-mail and any attachment is for authorised use by the intended
 recipient(s) only. It may contain proprietary material, confidential
 information and/or be subject to legal privilege. It should not be copied,
 disclosed to, retained or used by, any other party. If you are not an
 intended recipient then please promptly delete this e-mail and any
 attachment and all copies and inform the sender.






 -
 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




-
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


Re: [Wicket-user] AjaxSubmitLink and history

2006-07-28 Thread Igor Vaynberg
this happens because ajax requests turn off versioning, otherwise there would be all kinds of problems with page expiration - take selfupdating ajax stuff - 10 updates and all other pages are out of the pagemap so if you click the back button and a link on the prev page you get page expired error. im not really sure what the best solution here is. maybe you can manually call page/component.setversioned(true) and turn the versioning on before you update the model, but then be aware of the page expiration i described above.
i know matej has been working on hybrid urls that /might/ ease the pain somewhat, but i dont know where he is on that.-IgorOn 7/27/06, 
Eelco Hillenius [EMAIL PROTECTED] wrote:
Keep in mind that those model changing methods clone you model androll back to those old models when the back button is pushed. In myexperience this is rarely what you want, certainly not if you use adatabase etc (in which case you would typically get the fresh data
from the database on each call).I can't really think of what else it might be... Are you absolutelysure the models are updated with those ajax request? Does the inputvalidate?EelcoOn 7/26/06, Alexei Sokolov 
[EMAIL PROTECTED] wrote: Hello, I have small problem with ajaxsubmitlink. I have a page with a form which can be submitted by either a regular button
 or an ajaxsubmitlink. In onSubmit method of ajaxsubmitlink I update the form's model and display updated fields using AjaxRequestTarget.addComponent(). Regular button takes the user to another
 page. Everything works great, except the following scenario: i click ajaxsubmitlink (which updates the form's model) and then click regular submit button. From the page displayed I click 'back' button in the browser.
 Now, my form has values which were on it BEFORE I clicked ajaxsubmitlink. I decorated model updates with modelChanging/modelChanged calls, what else is missing for proper back button functioning?
 Thank you, Alex - 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-Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
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


Re: [Wicket-user] AjaxSubmitLink and history

2006-07-28 Thread Alexei Sokolov
I'm 100% sure that the model is updated because I can see correct value on the next page. Input is validated too.Ok, so it is not happening in internet explorer, only in firefox (I tested only those two).Alex
On 7/27/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Keep in mind that those model changing methods clone you model androll back to those old models when the back button is pushed. In myexperience this is rarely what you want, certainly not if you use adatabase etc (in which case you would typically get the fresh data
from the database on each call).I can't really think of what else it might be... Are you absolutelysure the models are updated with those ajax request? Does the inputvalidate?EelcoOn 7/26/06, Alexei Sokolov 
[EMAIL PROTECTED] wrote: Hello, I have small problem with ajaxsubmitlink. I have a page with a form which can be submitted by either a regular button
 or an ajaxsubmitlink. In onSubmit method of ajaxsubmitlink I update the form's model and display updated fields using AjaxRequestTarget.addComponent(). Regular button takes the user to another
 page. Everything works great, except the following scenario: i click ajaxsubmitlink (which updates the form's model) and then click regular submit button. From the page displayed I click 'back' button in the browser.
 Now, my form has values which were on it BEFORE I clicked ajaxsubmitlink. I decorated model updates with modelChanging/modelChanged calls, what else is missing for proper back button functioning?
 Thank you, Alex - 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-Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
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


Re: [Wicket-user] Tree

2006-07-28 Thread David Leangen

You just need to override:

protected PackageResourceReference getCss()
{
return CSS;
}


Cheers,
Dave



On Thu, 2006-07-27 at 11:22 +0200, Henk Laracker wrote:
 Hello,
 
 I use the wicket tree component, is it possible to disable the style
 sheet?
 
 Because we want to use our own.
 
 Thank you,
 
 Henk Laracker
 Lead Architect
 Development
 
 
 Planon B.V.
 Wijchenseweg 8
 6537 TL Nijmegen
 P.O. Box 38074
 6503 AB Nijmegen
 The Netherlands
 T:  +31 (0) 24 641 3135
 F:  +31 (0) 24 642 2942
 E:  [EMAIL PROTECTED]
 W: www.planon-fm.com
 
 
 Deze email en alle bijlagen zijn slechts voor gebruik door de beoogde
 ontvanger. De email kan intellectueel eigendom en/of vertrouwelijke
 informatie bevatten. Het mag niet worden gekopieerd, openbaar gemaakt,
 bewaard of gebruikt worden door anderen dan waarvoor deze bestemd is.
 Bent u niet de beoogde ontvanger,verwijdert u dan deze email met alle
 bijlagen en kopieën onmiddellijk en informeer de afzender.
 
 This e-mail and any attachment is for authorised use by the intended
 recipient(s) only. It may contain proprietary material, confidential
 information and/or be subject to legal privilege. It should not be
 copied, disclosed to, retained or used by, any other party. If you are
 not an intended recipient then please promptly delete this e-mail and
 any attachment and all copies and inform the sender.
 
 -
 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


-
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


Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-28 Thread Martijn Dashorst
Try it again. Probably you were too fast for the sync to ibiblio to happen.

The wicket-parent-1.2.1.pom file is now available on ibiblio.

http://repo1.maven.org/maven2/wicket/

From now on, the maven repository is sync'd frequently with our
repository so (final) releases will become available through maven
much faster than previously.

Martijn


On 7/26/06, Vincent Jenks [EMAIL PROTECTED] wrote:
 Also, I'm not able to build Wicket 1.2.1 w/ maven like I did w/ 1.2.

 In the top-level 'wicket' folder doing mvn install
 -Dmaven.test.skip=true gives me this:

 [INFO] Scanning for projects...
 Downloading: 
 http://maven.sateh.com/repository/wicket/wicket-parent/1.2.1/wicket
 -parent-1.2.1.pom
 [WARNING] Unable to get resource from repository central 
 (http://repo1.maven.org
 /maven2)
 [INFO] 
 
 [ERROR] FATAL ERROR
 [INFO] 
 
 [INFO] Failed to resolve artifact.

 GroupId: wicket
 ArtifactId: wicket-parent
 Version: 1.2.1

 Reason: Unable to download the artifact from any repository

   wicket:wicket-parent:pom:1.2.1

 from the specified remote repositories:
   central (http://repo1.maven.org/maven2)


 [INFO] 
 
 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Cannot find parent: 
 wicket:wic
 ket-parent for project: null:wicket:jar:null
 at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
 java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
 sorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at 
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find 
 parent
 : wicket:wicket-parent for project: null:wicket:jar:null
 at 
 org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
 efaultMavenProjectBuilder.java:1161)
 at 
 org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Def
 aultMavenProjectBuilder.java:674)
 at 
 org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
 leInternal(DefaultMavenProjectBuilder.java:416)
 at 
 org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
 nProjectBuilder.java:192)
 at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
 at 
 org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
 at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
 ... 11 more
 Caused by: org.apache.maven.project.ProjectBuildingException: POM 
 'wicket:wicket
 -parent' not found in repository: Unable to download the artifact from any 
 repos
 itory

   wicket:wicket-parent:pom:1.2.1

 from the specified remote repositories:
   central (http://repo1.maven.org/maven2)

 at 
 org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
 sitory(DefaultMavenProjectBuilder.java:513)
 at 
 org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
 efaultMavenProjectBuilder.java:1157)
 ... 17 more
 Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: 
 Unable
 to download the artifact from any repository

   wicket:wicket-parent:pom:1.2.1

 from the specified remote repositories:
   central (http://repo1.maven.org/maven2)

 at 
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
 faultArtifactResolver.java:136)
 at 
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
 faultArtifactResolver.java:63)
 at 
 org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
 sitory(DefaultMavenProjectBuilder.java:467)
 ... 18 more
 Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to 
 downl
 oad the artifact from any repository
 at 
 org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def
 aultWagonManager.java:260)
 at 
 org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
 faultArtifactResolver.java:124)
 ... 20 more
 [INFO] 
 
 [INFO] Total time:  1 second
 [INFO] 

Re: [Wicket-user] apache wicket?

2006-07-28 Thread V. Jenks




Wow, sounds like a fairly big step, eh?

So, not being familiar w/ the Apache Way - what are the pros and cons vs. what you've been doing so far?

On Wed, 2006-07-26 at 18:03 -0700, Igor Vaynberg wrote:

dear community,

the core wicket team has decided to join the ASF and make wicket a top level apache project (wicket.apache.org)

to those unfamiliar with the game, it goes something like this: 

* the wicket team puts in a proposal to ASF ( http://wiki.apache.org/incubator/WicketProposal )

* the apache powers that be vote on whether or not they want wicket in the ASF ( need 3 +1 and 0 -1 ) 

* if the vote passes wicket will enter the apache incubator and our infrastructure will move to incubator.apache.org. we will have website, SVN, jira, and confluence.

* when wicket is ready to graduate it will move to a top level apache project next to struts/tapestry/etc and our infrastructure will move to apache.org (wicket.apache.org)

if you are interested please read the proposal, it outlines what we hope to give and get from the ASF.

if you have any concerns or thoughts this would be a good time to have a discussion 

-Igor

PS. im hoping apache mailing lists dont have outages as often as sf.net. im sending this on 7/26 6pm PST, lets see when it gets to you... :)

-
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




-
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


Re: [Wicket-user] apache wicket?

2006-07-28 Thread Steven Mak
Hi,I have some queries on this:- What's the benefits of joining ASF then?- How to determine if Wicket is "ready" to graduate?- How do ASF decides who is joining them? They already have Struts, Tapestry, and some others related frameworks. Do they have any criteria to choose? or would they take it as any kind of "conflicts" due to similar nature with existing projects?Regards,StevenIgor Vaynberg [EMAIL PROTECTED] wrote: dear community,the core wicket team has decided to join the ASF and make wicket a top level apache project (wicket.apache.org)to those unfamiliar with the game, it goes something like this: * the wicket team puts in a proposal to ASF ( http://wiki.apache.org/incubator/WicketProposal )* the apache powers that be vote on whether or not they want wicket in the ASF ( need 3 +1 and 0 -1 ) * if the vote passes wicket will enter the apache incubator and our infrastructure will move to incubator.apache.org. we will have website, SVN, jira, and confluence. * when wicket is ready to graduate it will move to a top level apache project next to struts/tapestry/etc and our infrastructure will move to apache.org ( wicket.apache.org)if you are interested please read the proposal, it outlines what we hope to give and get from the ASF.if you have any concerns or thoughts this would be a good time to have a discussion -IgorPS. im hoping apache mailing lists dont have outages as often as sf.net. im sending this on 7/26 6pm PST, lets see when it gets to you... :) -Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user 
		Yahoo! Music Unlimited - Access over 1 million songs.
Try it free. -
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


Re: [Wicket-user] localization in wicket-extensions

2006-07-28 Thread Igor Vaynberg
patches are always welcome-IgorOn 7/26/06, Janos Cserep [EMAIL PROTECTED] wrote:
I've noticed that some components in wicket-extensions are not internationalized properly (DataTable, Palette) in 1.2. Is somebody working on this or shall I go ahead and do it myself? 
Janos

-Take Surveys. Earn Cash. Influence the Future of ITJoin 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.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
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


Re: [Wicket-user] apache wicket?

2006-07-28 Thread Peter Neubauer
Wow,
major cool! Think this is a very good move for Wicket, it belongs peer
to Tapestry etc to say the least :)

/peter

On 7/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 dear community,

 the core wicket team has decided to join the ASF and make wicket a top level
 apache project (wicket.apache.org)

 to those unfamiliar with the game, it goes something like this:

 * the wicket team puts in a proposal to ASF (
 http://wiki.apache.org/incubator/WicketProposal )

 * the apache powers that be vote on whether or not they want wicket in the
 ASF ( need 3 +1 and 0 -1 )

 * if the vote passes wicket will enter the apache incubator and our
 infrastructure will move to incubator.apache.org. we will have website, SVN,
 jira, and confluence.

  * when wicket is ready to graduate it will move to a top level apache
 project next to struts/tapestry/etc and our infrastructure will move to
 apache.org ( wicket.apache.org)

 if you are interested please read the proposal, it outlines what we hope to
 give and get from the ASF.

 if you have any concerns or thoughts this would be a good time to have a
 discussion

 -Igor

 PS. im hoping apache mailing lists dont have outages as often as sf.net. im
 sending this on 7/26 6pm PST, lets see when it gets to you... :)

 -
 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




-
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


Re: [Wicket-user] localization in wicket-extensions

2006-07-28 Thread Johan Compagner
sent in a patch.On 7/26/06, Janos Cserep [EMAIL PROTECTED] wrote:
I've noticed that some components in wicket-extensions are not internationalized properly (DataTable, Palette) in 1.2. Is somebody working on this or shall I go ahead and do it myself? 
Janos

-Take Surveys. Earn Cash. Influence the Future of ITJoin 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.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
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


Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-28 Thread Eelco Hillenius
In your application's init method, call
getDebugSettings.setSerializeSessionAttributes(false);

Eelco

On 7/26/06, Vincent Jenks [EMAIL PROTECTED] wrote:
 I just downloaded 1.2.1, how do I take advantage of this?  I'm hoping
 I can use 1.2.1 on Glassfish w/o having to custom-build it like I did
 w/ 1.2.


-
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


Re: [Wicket-user] apache wicket?

2006-07-28 Thread Stefan Arentz
This is an excellent move. Apache is a great home for a great
framework like Wicket!

Congrats to all!

 S.

On 7/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 dear community,

 the core wicket team has decided to join the ASF and make wicket a top level
 apache project (wicket.apache.org)

-
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


Re: [Wicket-user] AjaxSubmitLink and history

2006-07-28 Thread Johan Compagner
ajax calls dont alter the history. This can be programmed by doing it in _javascript_I think Matej knows more about that.johanOn 7/26/06, Alexei Sokolov
 [EMAIL PROTECTED] wrote:
Hello,I have small problem with ajaxsubmitlink. I have a page with a form which can be submitted by either a regular button or an ajaxsubmitlink. In onSubmit method of ajaxsubmitlink I update the form's model and display updated fields using 
AjaxRequestTarget.addComponent(). Regular button takes the user to another page.Everything works great, except the following scenario: i click ajaxsubmitlink (which updates the form's model) and then click regular submit button. From the page displayed I click 'back' button in the browser. Now, my form has values which were on it BEFORE I clicked ajaxsubmitlink. I decorated model updates with modelChanging/modelChanged calls, what else is missing for proper back button functioning?
Thank you,Alex

-Take Surveys. Earn Cash. Influence the Future of ITJoin 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.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
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


[Wicket-user] How can I use markup containers in head?

2006-07-28 Thread jan_bar
Hi,

how can I handle this problem:

head
wicket:head
meta wicket:id=description name=description content=[SEO page
description] /
/wicket:head
/head



public class Title extends Panel {
public Title(String id) {
super(id);

WebMarkupContainer description = new WebMarkupContainer(description);
description.add(new AttributeModifier(content, true, new Model(me
description)));
add(description);
}
}

Thanks for your support, Jan




-
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


[Wicket-user] Discussing Wicket

2006-07-28 Thread Frank Silbermann



It 
seems to me that most descriptions of Wicket that I've seen on the web focus on 
two properties: the absence of configuration files and the radical 
separation of HTML from Java code. (Then readers debate whether the 
absence of configuration files limit flexibility and whether the use of standard 
tool-friendly HTML is all that important.)

It 
seems to me that Wicket evangelists should put more effort on Wicket's object 
orientation. The key questions we should ask when comparing Wicket to 
another component-oriented framework (e.g. Tapestry or JSF) are the 
following:

(1) If the user wishes to create a panel that assemblesvisual 
components or sub-panels that react to each others events, and which 
provide/handle events to be hooked to other arbitrary components on the page, 
what facility does your framework provide to packagesuch anassembly 
in a re-usable format?

(2) If I have a complex, feature-rich component that I want to use on 
many web-pages, and some of the configuration choices will be set the same way 
for all of them, what facility does your framework give me for creating a facade 
around this component that will set these defaults for me -- so I don't have to 
repeat myself on page after page?

(3) If some of the pages which use this component need it to provide 
extra enhanced or specialized behavior, how does your framework make it easy for 
me to create a new component thatextends the properties and behavior of 
the base component?

We should identify a few simple examples of such usesto contrast 
Wicket's powerwith other frameworks' shortcomings. After the 
big-deal object-orientation revolution of the late-1980s/early-1990s, it 
astounds me that so many programmers can ignore the importance of 
object-orientationfor coding presentation 
logic.
-
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


Re: [Wicket-user] AjaxSubmitLink and history

2006-07-28 Thread Johan Compagner
Maybe firefox really doesn't record those ajas changes to a page somehow.And it really goes back in the cache with the intial data that the url did had...johanOn 7/27/06, 
Alexei Sokolov [EMAIL PROTECTED] wrote:
I'm 100% sure that the model is updated because I can see correct value on the next page. Input is validated too.Ok, so it is not happening in internet explorer, only in firefox (I tested only those two).
Alex
On 7/27/06, Eelco Hillenius 
[EMAIL PROTECTED] wrote:

Keep in mind that those model changing methods clone you model androll back to those old models when the back button is pushed. In myexperience this is rarely what you want, certainly not if you use adatabase etc (in which case you would typically get the fresh data
from the database on each call).I can't really think of what else it might be... Are you absolutelysure the models are updated with those ajax request? Does the inputvalidate?Eelco
On 7/26/06, Alexei Sokolov 
[EMAIL PROTECTED] wrote: Hello, I have small problem with ajaxsubmitlink.
 I have a page with a form which can be submitted by either a regular button
 or an ajaxsubmitlink. In onSubmit method of ajaxsubmitlink I update the form's model and display updated fields using AjaxRequestTarget.addComponent(). Regular button takes the user to another

 page. Everything works great, except the following scenario: i click ajaxsubmitlink (which updates the form's model) and then click regular submit button. From the page displayed I click 'back' button in the browser.
 Now, my form has values which were on it BEFORE I clicked ajaxsubmitlink. I decorated model updates with modelChanging/modelChanged calls, what else is missing for proper back button functioning?

 Thank you, Alex - 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-Take Surveys. Earn Cash. Influence the Future of IT

Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions 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


-Take Surveys. Earn Cash. Influence the Future of ITJoin 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.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
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


[Wicket-user] Tree

2006-07-28 Thread Henk Laracker
Title: Tree






Hello,

I use the wicket tree component, is it possible to disable the style sheet?

Because we want to use our own.

Thank you,



Henk Laracker
Lead Architect
Development


Planon B.V.
Wijchenseweg 8
6537 TL Nijmegen
P.O. Box 38074
6503 AB Nijmegen
The Netherlands
T: +31 (0) 24 641 3135
F: +31 (0) 24 642 2942
E: [EMAIL PROTECTED]
W: www.planon-fm.com


Deze email en alle bijlagen zijn slechts voor gebruik door de beoogde ontvanger. De email kan intellectueel eigendom en/of vertrouwelijke informatie bevatten. Het mag niet worden gekopieerd, openbaar gemaakt, bewaard of gebruikt worden door anderen dan waarvoor deze bestemd is. Bent u niet de beoogde ontvanger,verwijdert u dan deze email met alle bijlagen en kopieën onmiddellijk en informeer de afzender.

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.








-
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


[Wicket-user] Problem handling Double values

2006-07-28 Thread Md. Kamruzzaman

Hi,
I'm having
great problem with handling Double values in the text box. When I am entering a
double value in a text box with more than 3 precisions like 1.99 or 1.,
it is being saved in the database accurately,
but the post back value showing in the text box is rounded to next
Integer (in case of 1.99 or 1. it is showing 2).




My sample code is given below:








add(new
RequiredTextField(amount, Double.class)); 



Looking forward to have a good solution from you.





--Md.
Kamruzzaman 



-
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