[announce]Wicketstuff the Movie!

2009-01-07 Thread nino martinez wael
Proud to present from the comitters at wicketstuff Wicketstuff The Movie!

Go here to see http://vimeo.com/2748657

I might be doing a similar one for Wicket if theres any interest..?

Ps the movie are created with the codeswarm project..


Re: [announce]Wicketstuff the Movie!

2009-01-07 Thread nino martinez wael
Yeah, I guess I actually should have asked before if people wanted to star
in the movie ..

I hope I dont get sued..

2009/1/7 Michael Sparer michael.spa...@gmx.at


 I always dreamed of being part of a movie ... maybe that's the start of my
 movie star career - I'll certainly thank wicket when I get my Academy Award
 ;-)



 Nino Martinez-2 wrote:
 
  Proud to present from the comitters at wicketstuff Wicketstuff The
  Movie!
 
  Go here to see http://vimeo.com/2748657
 
  I might be doing a similar one for Wicket if theres any interest..?
 
  Ps the movie are created with the codeswarm project..
 
 


 -
 Michael Sparer
 http://talk-on-tech.blogspot.com
 --
 View this message in context:
 http://www.nabble.com/-announce-Wicketstuff-the-Movie%21-tp21329704p21329883.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: Why Named Wicket

2009-01-12 Thread nino martinez wael
2009/1/12 Michael Sparer michael.spa...@gmx.at


 same questions, 3 months later ;-) have a look at:

 http://www.nabble.com/Why-is-Wicket-called-Wicket--to20106097.html#a20106097

 or at
 http://letmegooglethatforyou.com/?q=why+is+wicket+called+wicket


ROTFL , did'nt know that site..





 but I'd prefer the first link ;-)



 PSkarthic wrote:
 
  Hi to all
 Actually i am working with wicket for one month and
  suddenly a thought came why it is named wicket.:working:
 
 So anybody know the reason why wicket is named so.
 
 
 
 
  Thanks in advance
  Karthic
 


 -
 Michael Sparer
 http://talk-on-tech.blogspot.com
 --
 View this message in context:
 http://www.nabble.com/Why-Named-Wicket-tp21413514p21414031.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: Technologies to use with large scale Wicket application

2009-01-15 Thread nino martinez wael
Theres also Wicketopia, http://wicketopia.sourceforge.net/

But I think it's a little more incomplete than WWB, but theres couple of
archetypes. And its easy to work with..

2009/1/14 Tauren Mills tau...@tauren.com

 Thanks for the responses to my OT message,

 Daniel -- Thanks for your comments and the link to Wicket RAD.  I'll
 check it out.  I didn't realize WWB doesn't yet support 1.4 and I
 definitely am building this with 1.4.

 Jeremy -- It's good to hear that you also recommend these technologies.

 I'm really hoping to hear from someone who has used Salve, as I
 believe some of the wicket comitters are using it.

 Thanks,
 Tauren


 On Wed, Jan 14, 2009 at 11:24 AM, Jeremy Thomerson
 jer...@wickettraining.com wrote:
  A few comments from my experience:
 
  Wicket - well, of course.  Are there other options?  :)
 
  Spring / Hibernate - I have used these on every project I've done in the
  past four or five years and have been very satisfied with them.
 
  Lucene - Awesome!  I have been extremely impressed with Lucene.  It is
 easy
  to integrate and astoundingly fast and simple.  It is also very flexible,
  allowing almost limitless possibilities.  I would recommend it for search
 as
  highly as Wicket for view tier.
 
 
  --
  Jeremy Thomerson
  http://www.wickettraining.com
 
  On Tue, Jan 13, 2009 at 6:12 PM, Tauren Mills tau...@tauren.com wrote:
 
  Happy new year!
 
  My team is in the preliminary stages of designing a large social
  wicket web application and I'm trying to identify a good set of
  existing tools and technologies that can be leveraged to simplify the
  development of this application.  I would love to hear the opinions
  and suggestions of other Wicket users.  Note that I want to use open
  source tools as much as possible.
 
  Here are some of the tools that I feel might help.  I realize this is
  a big list and may be off-topic, but am still interested in which
  technologies other Wicket developers have found work well with a
  Wicket app. I would appreciate any comments or opinions of these
  technologies as well as suggestions and alternatives that you feel
  would be worth my consideration.
 
  Wicket
  I assume no one here will object to this.  I plan to use version 1.4.
 
  MySQL
  First choice for database. I've used it MySQL more than any other
  database and it hasn't let me down.
 
  PostgreSQL
  Second choice for database.  I've used it less than MySQL, so
  additional time might be required to install, configure, and use it.
 
  Spring + Hibernate
  I'm comfortable with these technologies as I've been using them for a
  few years with Wicket.  But I'm certainly open to suggestions,
  opinions, etc.
 
  Hibernate Annotations
  Ive been using HBM files, but I'm thinking I should look into getting
  rid of my mapping files and put the mapping right into the pojos.  Is
  this the right call?
 
  Salve
  Never used it, but it appears many Wicket developers do.  Is it worth
  looking into?
 
  WicketWebBeans
  Might use this for rapid back-end UI development.  Besides rolling my
  own, are there other tools like this?
 
  Brix
  Jackrabbit
  Our application will need some heavy duty CMS features, and this
  project looks powerful enough to do the job.  Jackrabbit is used by
  Brix to store content.
 
  Lucene
  Hibernate Search
  I will need site-wide and data-wide search that encompasses all of the
  content on the site as well as the data in the application.  I'm not
  sure if these are the best tools for this job, as the content will be
  stored in Jackrabbit.  So I need to be able to search jackrabbit and
  my data and produce unified search results.  Ideas?
 
  ACEGI
  Spring Security
  I haven't used either of these before so I'm not sure if they will
  solve my problem:
  This application will have many levels of roles and permissions.
  Users will belong to groups and can be assigned roles for a group that
  allow them to perform actions.  For instance, a standard user that
  belongs to a group can only view some data.  But if a user has
  additional roles assigned to them, then they will gain the ability to
  see other data, edit data, and so forth.  A user can belong to
  multiple groups, and may have different roles for each group.
 
  Shopping Cart
  Any good open source wicket shopping carts?  I have a homemade one
  that I did for a customer that I plan to start with.  But if something
  else exists, I'd love to hear about it.
 
  Amazon FPS
  This system provides a simple API that can be used to help one user
  pay another user for service, but allow the infrastructure provider
  (me) to take a cut out of the transaction.   It also supports
  micro-payments which I could use. The service fits the needs of my
  business model really well.  I've never used it, so does anyone have
  any horror stories, good things to say, alternative suggestions?
 
  Google Checkout
  PayPal
  Merchant account
  The system will also allow for the sale of products.  I want 

[OT] Wicket Like framework for desktop applications?

2009-01-28 Thread nino martinez wael
Hi Guys

I've havent done much desktop development but I wondered if there were
something like wicket for desktop applications? I need it to be a desktop
application because I need to manipulate the keyboard etc, via robot. (I
have been thinking of embedding winstone in a jar with a wicket application
and just run it locally on each desktop, but that seems really overkill and
will not let me manipulate the desktop).

So I've looked at Eclipse RCP, but it does quite not feel like a light
weight way, it might just be me.. What else would you guys suggest, I could
look into?

regards Nino


Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread nino martinez wael
True, I thought that too.. I guess it could be that simple...

2009/1/28 Antoine Roux antoine.r...@net-vitesse.com

 Swing may be what you are looking for. I never used it, but Wicket is often
 compared to Swing. Swing is included in JSE.


 Antoine



 nino martinez wael a écrit :

  Hi Guys

 I've havent done much desktop development but I wondered if there were
 something like wicket for desktop applications? I need it to be a desktop
 application because I need to manipulate the keyboard etc, via robot. (I
 have been thinking of embedding winstone in a jar with a wicket
 application
 and just run it locally on each desktop, but that seems really overkill
 and
 will not let me manipulate the desktop).

 So I've looked at Eclipse RCP, but it does quite not feel like a light
 weight way, it might just be me.. What else would you guys suggest, I
 could
 look into?

 regards Nino





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




Re: HTML markup not found ?

2009-01-28 Thread nino martinez wael
Are you using markup inheritance ? Then you must remember to put in
wicket:extend into the sub page. And wicket:child in the parent page.

2009/1/28 Antoine Roux antoine.r...@net-vitesse.com

 Hi Dipu,
 Thanks for your help.

 I checked and, yes, HomePage.class and HomePage.html both exist and are in
 the same directory in the resulting build.

 I am using Eclipse. I meet this problem both when I deploy from Eclipse but
 also if I deploy manually to a Tomcat installation. In the war deployed to
 Tomcat, I checked that HomePage.html is there.

 I am still investigating on my side...


 Antoine


 (sorry if you receive this message twice, the first time I was told it was
 rejected because seen as spam...)

 Dipu a écrit :

 could you please check if your IDE is copying the markup file to the
 target folder.
 check if HomePage.html is there in the folder where HomePage.class is.

 regards
 Dipu



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




Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread nino martinez wael
Hmm another even more ot question then are, how does spring/juice/hibernate
integrate with swing? As you mention there are no management of application
lifecycle..?

2009/1/28 Piller Sébastien pi...@hmcrecord.ch

 Hi,

 Swing is more an API than a framework (it provides components, models, etc)
 but it is a bit less powerfull (it doesn't manage your application life
 cycle neither the request cycle, don't have any builtin error management,
 etc).

 But it is great to use and learn, far easier than web dev, almost no
 compatibility issue between jre versions, looks pretty nice (builtin
 selectable look and feel, etc.), has a lot of powerfull components (tree,
 table, spinners, panels where you can draw lines and circles, ...) and
 layouts, and runs much faster than a webapp (but everybody knows than
 desktop are faster than networks), etc...

 If you need to do desktop dev, I guess swing is the best choice. Others
 usually used API are SWT (used for Eclipse) or AWT (ancestor of swing), etc.

 ;)

 nino martinez wael a écrit :

 Hi Guys


 I've havent done much desktop development but I wondered if there were
 something like wicket for desktop applications? I need it to be a desktop
 application because I need to manipulate the keyboard etc, via robot. (I
 have been thinking of embedding winstone in a jar with a wicket
 application
 and just run it locally on each desktop, but that seems really overkill
 and
 will not let me manipulate the desktop).

 So I've looked at Eclipse RCP, but it does quite not feel like a light
 weight way, it might just be me.. What else would you guys suggest, I
 could
 look into?

 regards Nino





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




Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread nino martinez wael
juice=Guice, in the previous mail ..:)

2009/1/28 nino martinez wael nino.martinez.w...@gmail.com

 Hmm another even more ot question then are, how does spring/juice/hibernate
 integrate with swing? As you mention there are no management of application
 lifecycle..?

 2009/1/28 Piller Sébastien pi...@hmcrecord.ch

 Hi,

 Swing is more an API than a framework (it provides components, models,
 etc) but it is a bit less powerfull (it doesn't manage your application life
 cycle neither the request cycle, don't have any builtin error management,
 etc).

 But it is great to use and learn, far easier than web dev, almost no
 compatibility issue between jre versions, looks pretty nice (builtin
 selectable look and feel, etc.), has a lot of powerfull components (tree,
 table, spinners, panels where you can draw lines and circles, ...) and
 layouts, and runs much faster than a webapp (but everybody knows than
 desktop are faster than networks), etc...

 If you need to do desktop dev, I guess swing is the best choice. Others
 usually used API are SWT (used for Eclipse) or AWT (ancestor of swing), etc.

 ;)

 nino martinez wael a écrit :

 Hi Guys


 I've havent done much desktop development but I wondered if there were
 something like wicket for desktop applications? I need it to be a desktop
 application because I need to manipulate the keyboard etc, via robot. (I
 have been thinking of embedding winstone in a jar with a wicket
 application
 and just run it locally on each desktop, but that seems really overkill
 and
 will not let me manipulate the desktop).

 So I've looked at Eclipse RCP, but it does quite not feel like a light
 weight way, it might just be me.. What else would you guys suggest, I
 could
 look into?

 regards Nino





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





Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread nino martinez wael
So basically, if one uses spring 2.5 or Guice, it's probably just supported
by default.



2009/1/28 Edward Yakop edward.ya...@gmail.com

 On Wed, Jan 28, 2009 at 22:04, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  Hmm another even more ot question then are, how does
 spring/juice/hibernate
  integrate with swing? As you mention there are no management of
 application
  lifecycle..?

 This is currently what I do to inject spring bean to my hibernate object.
 http://www.aspectprogrammer.org/blogs/adrian/2006/02/a_practical_gui_2.html

 If you use maven, you can do without load time weaving.
 http://mojo.codehaus.org/aspectj-maven-plugin/

 The best part about this is, spring bean dependency are injected even
 with new operator.

 Regards,
 Edward Yakop

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




Re: [OT] Wicket Like framework for desktop applications?

2009-01-28 Thread nino martinez wael
2009/1/28 jWeekend jweekend_for...@cabouge.com


 Nino,

 Swing has a familiar programming model, is very flexible, extensible,
 powerful and robust. You can also make use of all the core and open-source
 Java libraries you already know. If the target client machines have a JRE
 why use anything else.

Yeah true, my thoughts exactly. Seems Swing is the choice to make.



 Using Swing would also open up various deployment options like Web Start.

 I've used AWT's Robot (although I think it may have been in the last
 century!) as well with good success for an RMI based shared whiteboard.

hehe :) I've used it previously with somewhat good effects on World of
warcraft, and similar but thats another tale..:)



 Regards - Cemal
 http://www.jWeekend.co.uk jWeekend




 Nino Martinez-2 wrote:
 
  True, I thought that too.. I guess it could be that simple...
 
  2009/1/28 Antoine Roux antoine.r...@net-vitesse.com
 
  Swing may be what you are looking for. I never used it, but Wicket is
  often
  compared to Swing. Swing is included in JSE.
 
 
  Antoine
 
 
 
  nino martinez wael a écrit :
 
   Hi Guys
 
  I've havent done much desktop development but I wondered if there were
  something like wicket for desktop applications? I need it to be a
  desktop
  application because I need to manipulate the keyboard etc, via robot.
 (I
  have been thinking of embedding winstone in a jar with a wicket
  application
  and just run it locally on each desktop, but that seems really overkill
  and
  will not let me manipulate the desktop).
 
  So I've looked at Eclipse RCP, but it does quite not feel like a light
  weight way, it might just be me.. What else would you guys suggest, I
  could
  look into?
 
  regards Nino
 
 
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/-OT--Wicket-Like-framework-for-desktop-applications--tp21705472p21706360.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: HTML markup not found ?

2009-01-28 Thread nino martinez wael
Just happy to help:) And I've also needed a parrot a couple of times (it
would be rather effective, because the error are  just so obvious some
times)...

2009/1/28 Antoine Roux antoine.r...@net-vitesse.com

 Thank you so much, it helped me solve my problem !

 In fact, I was doing exactly the opposite : my markup contained
 wicket:extend markup but I forgot to inherit from my BasePage in HomePage. I
 messed up while copying my project.

 Sometimes, you just need an external look on your work.

 Thanks again.


 Antoine



 nino martinez wael a écrit :

 Are you using markup inheritance ? Then you must remember to put in
 wicket:extend into the sub page. And wicket:child in the parent page.

 2009/1/28 Antoine Roux antoine.r...@net-vitesse.com




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




Re: Issues with wicket-contrib-input-events in Mozilla

2009-01-29 Thread nino martinez wael
Ahh ok, it would be very nice if there could be a patch somehow on this..

BTW the auto hook is extremely simple.. So it will only auto hook in the
most simple cases, you can always override, and manually tell it what todo..

2009/1/29 dukejansen dukejan...@gmail.com


 The code I posted below actually doesn't even get called if the tag has an
 onclick attribute...

 I'm working up a workaround now, I'll post it if it ends up working...

 -Jason


 dukejansen wrote:
 
  Nino,
 
  Thanks for the quick reply...
 
  I dug a bit deeper and you are correct, it does have some hooks for
  handling Links, but it may only work for links which extend from the base
  Link class.
 
// Try to bind to link so shortcut will work.
 Should only be done if
// no other handlers were found
if (component instanceof Link  eventType == null)
 {
linkUnbound = true;
return;
}
 
  In my case, the link is an Ajax link which launches a Modal, and AjaxLink
  does not extend Link. Furthermore, the behavior of simply handling the
  link by calling location = href is not necessarily sufficient - I believe
  this would circumvent any onclick event handlers set on the   tag, which
  would prevent the AjaxLink from working...
 
  I'm thinking the hook for ajax links probably needs to be something like
 a
  combination of the two mechanisms - instead of trying to call click(),
  which doesn't exist, would need to call the onclick() directly, and then
  check it's result and if true follow the link, if false do not... that
 way
  it could still handle the ajax fallback links as well, I believe.
 
  This is all theory, haven't actually verified any of this would work
  yet...
 
  On top of all this, I'm working with a 1.4 backport we made of the
  input-events code, so any fix I come up with will likely not make it back
  into the main trunk for the input-events module...
 
  -Jason
 
 
  Nino Martinez-2 wrote:
 
  I cant exactly remember what the scope where, just that it did support
  links at some point, in safari and IE. Patches are always welcome..
 
  But looking in the source there are some auto hooking for links
  actually, which uses href instead of click AFAIR it should just pick it
  up automaticly...:
 
  script type=text/javascript
  function init${wicketComponentId}() {
  shortcut.add(${keys},function() {
 
 
  window.location=document.getElementById('${wicketComponentId}').href;
 
  },{
  'disable_in_input':${disable_in_input},
  'type':'${type}',
  'propagate':${propagate},
  'target':${target}
 
  });
  }
  init${wicketComponentId}();
  /script
 
  Did you check the examples, and see if they still are working, they do
  include a link aswell?
 
 
 https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/input-events-parent/input-events-examples
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Issues-with-wicket-contrib-input-events-in-Mozilla-tp21718528p21732636.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: OpenLayer with google WMS

2009-01-29 Thread nino martinez wael
hhehe just a second faster than me :)

2009/1/29 Jeremy Thomerson jer...@wickettraining.com


 https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3.x/wicket-contrib-openlayers/

 https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3.x/wicket-contrib-openlayers-examples/


 On Thu, Jan 29, 2009 at 12:16 PM, Wadi Jalil Maluf wad...@yahoo.com.ar
 wrote:

  Thanks Jeremy, but it uses wicket 1,4 and I'm using 1.3.4, anyway I'm
  getting
  java.lang.ClassNotFoundException:
  com.vividsolutions.jts.geom.GeometryFactory
  exeptions so I'll just use GMAP integration instead,
  thanks!
 
  -Mensaje original-
  De: Jeremy Thomerson [mailto:jer...@wickettraining.com]
  Enviado el: jueves, 29 de enero de 2009 15:42
  Para: users@wicket.apache.org
  Asunto: Re: OpenLayer with google WMS
 
  There's an openlayer integration in wicketstuff (
  http://wicketstuff.org/maven/repository/org/wicketstuff/) with examples.
  I've never used it.  I believe it's a work of Nino.  I've looked at the
  examples, though.
 
  On Thu, Jan 29, 2009 at 11:19 AM, Wadi Jalil Maluf
  wad...@yahoo.com.arwrote:
 
   Hi All!Does anyone knows how to use openlayer map control with google
 map
   like this example http://openlayers.org/dev/examples/google.html in
   wicket?
  
   Thanks!
  
  
 
 
  --
  Jeremy Thomerson
  http://www.wickettraining.com
 
 
 
  __ Information from ESET NOD32 Antivirus, version of virus
  signature
  database 3805 (20090127) __
 
  The message was checked by ESET NOD32 Antivirus.
 
  http://www.eset.com
 
 
 
  __ Information from ESET NOD32 Antivirus, version of virus
  signature
  database 3805 (20090127) __
 
  The message was checked by ESET NOD32 Antivirus.
 
  http://www.eset.com
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 


 --
 Jeremy Thomerson
 http://www.wickettraining.com



Re: OpenLayer with google WMS

2009-01-29 Thread nino martinez wael
Hi Wadi

just use the old one theres a version for 1.3 branch aswell..

https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3.x/wicket-contrib-openlayers/

But the pick are yours to decide..


2009/1/29 Wadi Jalil Maluf wad...@yahoo.com.ar

 Thanks Jeremy, but it uses wicket 1,4 and I'm using 1.3.4, anyway I'm
 getting
 java.lang.ClassNotFoundException:
 com.vividsolutions.jts.geom.GeometryFactory
 exeptions so I'll just use GMAP integration instead,
 thanks!

 -Mensaje original-
 De: Jeremy Thomerson [mailto:jer...@wickettraining.com]
 Enviado el: jueves, 29 de enero de 2009 15:42
 Para: users@wicket.apache.org
 Asunto: Re: OpenLayer with google WMS

 There's an openlayer integration in wicketstuff (
 http://wicketstuff.org/maven/repository/org/wicketstuff/) with examples.
 I've never used it.  I believe it's a work of Nino.  I've looked at the
 examples, though.

 On Thu, Jan 29, 2009 at 11:19 AM, Wadi Jalil Maluf
 wad...@yahoo.com.arwrote:

  Hi All!Does anyone knows how to use openlayer map control with google map
  like this example http://openlayers.org/dev/examples/google.html in
  wicket?
 
  Thanks!
 
 


 --
 Jeremy Thomerson
 http://www.wickettraining.com



 __ Information from ESET NOD32 Antivirus, version of virus
 signature
 database 3805 (20090127) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com



 __ Information from ESET NOD32 Antivirus, version of virus
 signature
 database 3805 (20090127) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com



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




Re: Issues with wicket-contrib-input-events in Mozilla

2009-01-29 Thread nino martinez wael
Hehe, great :) So no problems after all?

2009/1/29 dukejansen dukejan...@gmail.com


 Okay, nevermind. It turns out the issue can be corrected much more simply,
 by
 using an onclick event type instead of a click event type, which
 arguably may have been obvious.

 I'm still not certain whether this will still work properly for
 AjaxFallbackLinks or other links that have both an onclick AND an href, but
 I believe for most/all of my use cases, that's not an issue...

 -Jason


 dukejansen wrote:
 
  The code I posted below actually doesn't even get called if the tag has
 an
  onclick attribute...
 
  I'm working up a workaround now, I'll post it if it ends up working...
 
  -Jason
 
 
  dukejansen wrote:
 
  Nino,
 
  Thanks for the quick reply...
 
  I dug a bit deeper and you are correct, it does have some hooks for
  handling Links, but it may only work for links which extend from the
 base
  Link class.
 
   // Try to bind to link so shortcut will work.
 Should only be done if
   // no other handlers were found
   if (component instanceof Link  eventType == null)
 {
   linkUnbound = true;
   return;
   }
 
  In my case, the link is an Ajax link which launches a Modal, and
 AjaxLink
  does not extend Link. Furthermore, the behavior of simply handling the
  link by calling location = href is not necessarily sufficient - I
 believe
  this would circumvent any onclick event handlers set on the   tag, which
  would prevent the AjaxLink from working...
 
  I'm thinking the hook for ajax links probably needs to be something like
  a combination of the two mechanisms - instead of trying to call click(),
  which doesn't exist, would need to call the onclick() directly, and then
  check it's result and if true follow the link, if false do not... that
  way it could still handle the ajax fallback links as well, I believe.
 
  This is all theory, haven't actually verified any of this would work
  yet...
 
  On top of all this, I'm working with a 1.4 backport we made of the
  input-events code, so any fix I come up with will likely not make it
 back
  into the main trunk for the input-events module...
 
  -Jason
 
 
  Nino Martinez-2 wrote:
 
  I cant exactly remember what the scope where, just that it did support
  links at some point, in safari and IE. Patches are always welcome..
 
  But looking in the source there are some auto hooking for links
  actually, which uses href instead of click AFAIR it should just pick it
  up automaticly...:
 
  script type=text/javascript
  function init${wicketComponentId}() {
  shortcut.add(${keys},function() {
 
 
  window.location=document.getElementById('${wicketComponentId}').href;
 
  },{
  'disable_in_input':${disable_in_input},
  'type':'${type}',
  'propagate':${propagate},
  'target':${target}
 
  });
  }
  init${wicketComponentId}();
  /script
 
  Did you check the examples, and see if they still are working, they do
  include a link aswell?
 
 
 https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/input-events-parent/input-events-examples
 
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Issues-with-wicket-contrib-input-events-in-Mozilla-tp21718528p21732972.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




automatic Page Flow diagrams?

2009-02-17 Thread nino martinez wael
Hi Guys

Are there anyone which has done something like a pageflow diagram generator
for wicket, would be wonderfull if it were a maven plugin?


regards Nino


Re: Validation From A Custom Component

2009-02-17 Thread nino martinez wael
Hehe, I knew there were some reason.. Just looked a bit odd.

2009/2/17 Jeremy Thomerson jer...@wickettraining.com

 Because there's a compile error if you don't The method
 error(IValidationError) is ambiguous for the type new
 TextFieldString(){}.

 I thought the same, and didn't care to look further since this was just a
 quick example.  Take a look for yourself:

new TextFieldString(, new ModelString()) {
private static final long serialVersionUID = 1L;

public void updateModel() {
try {
super.updateModel();
} catch(Exception ex) {
ValidationError error = new ValidationError();
error.setMessage(ex.getMessage());
/* or you could do this:
 * error.addMessageKey(MaximumValidator);
 * error.setVariable(maximum, 1);
 */
 error(error);
}
}
};


 On Tue, Feb 17, 2009 at 2:56 PM, Nino Martinez 
 nino.martinez.w...@gmail.com
  wrote:

  Jeremy Thomerson wrote:
 
  I, too, agree that this may not be the best way of doing things.  But,
  anyway, there is a solution that will work:
 
  Use ValidationError rather than just a string
 
 public void updateModel() {
 try {
 super.updateModel();
 } catch(Exception ex) {
 ValidationError error = new ValidationError();
 error.setMessage(ex.getMessage());
 /* or you could do this:
  * error.addMessageKey(MaximumValidator);
  * error.setVariable(maximum, 1);
  */
 error((IValidationError) error);
 
 
  why the cast? ValidationError implements IValidationError right?
 
  }
 }
 
 
 
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 


 --
 Jeremy Thomerson
 http://www.wickettraining.com



Re: Yet another Wicket quick start application...

2009-02-18 Thread nino martinez wael
I have mixed feelings about it too. I guess it' sort of the same dialog as
with all the web frameworks available for java...But another nice thing
about consolidating are that mass will increase on the separate projects..
The best of breed might not survive, it the one person get other
priorities..

2009/2/18 Martijn Dashorst martijn.dasho...@gmail.com

 I for one enjoy the many different approaches that are available.
 While we could use more folks hammering away on wicket core bugs,
 there seems to be a never ending supply of quickstarts, crud
 frameworks etc. There are so many ways to skin the cat, and not every
 way is to everyone's liking. So go forth and multiply. Let the best of
 breed tools surface.

 Martijn

 On Wed, Feb 18, 2009 at 8:11 AM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  I wish that some of these frameworks would join existing ones.. To put
 more
  momentum in those..
 
  I know we would be happy to have more people on wicketopia, which does
  something similar..
 
  regards Nino
 
  2009/2/18 Patrick Angeles patr...@inertiabev.com
 
 
  For anyone interested, I've made public yet another quick start
 application
  that brings together Wicket, Spring 2.5 and Hibernate.
 
  The app features a basic CRUD framework based on wicketstuff-crud. The
 CRUD
  framework uses bean annotations to define CRUD properties. It also uses
 the
  excellent InMethod Grid component for the list view.
 
  Link:
 
  http://apptizer.googlecode.com/
 
  Cheers,
 
  - P
  --
  View this message in context:
 
 http://www.nabble.com/Yet-another-Wicket-quick-start-application...-tp22068362p22068362.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 



 --
 Become a Wicket expert, learn from the best: http://wicketinaction.com
 Apache Wicket 1.3.5 is released
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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




Re: Yet another Wicket quick start application...

2009-02-18 Thread nino martinez wael
2009/2/18 Patrick A. patrickange...@gmail.com


 Hey Nino,

 Apptizer is not really a framework. It's more like AppFuse or Qwicket in
 spirit... with the goal of showing how Spring, Hibernate/JPA and Wicket
 integrate. The CRUD framework in there is not meant to be integral. In
 fact,
 the CRUD framework is designed to be disposable.

Ahh so it might be something like my Iolite..



 I've only heard of Wicketopia incidentally, probably on IRC. I checked the
 project page and it was the standard mvn generated site with no information
 or description of the project, so I tuned it out.

Good point, i'll take it up with James, we might need some love on the PR...




 I do agree that there's a number of Wicket-based RAD frameworks out there
 that could benefit from consolidation.

 I'd be willing to pitch in.

Great, I think you should write to James to get setup he is the project lead
(
♫
jwcar...@gmail.com ).. In the mean time the svn url are :
http://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk




 Nino Martinez-2 wrote:
 
  I wish that some of these frameworks would join existing ones.. To put
  more
  momentum in those..
 
  I know we would be happy to have more people on wicketopia, which does
  something similar..
 
  regards Nino
 
  2009/2/18 Patrick Angeles patr...@inertiabev.com
 
 
  For anyone interested, I've made public yet another quick start
  application
  that brings together Wicket, Spring 2.5 and Hibernate.
 
  The app features a basic CRUD framework based on wicketstuff-crud. The
  CRUD
  framework uses bean annotations to define CRUD properties. It also uses
  the
  excellent InMethod Grid component for the list view.
 
  Link:
 
  http://apptizer.googlecode.com/
 
  Cheers,
 
  - P
  --
  View this message in context:
 
 http://www.nabble.com/Yet-another-Wicket-quick-start-application...-tp22068362p22068362.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Yet-another-Wicket-quick-start-application...-tp22068362p22075174.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: Load content while scrolling

2009-02-18 Thread nino martinez wael
Im not sure how this could work with wicket, I think wicket always renders
the full page.. You can lazyload things, or postpone them until a certain
event, for example like the mootip ajax tooltips..

Partial loading of the web page, im not so sure about... I guess its another
way of doing pagination, at least in the DNS pinger example (
http://www.webresourcesdepot.com/dnspinger/ ) ..

2009/2/18 Alex Objelean alexandru.objel...@isdc.ro


 There is an interesting article about some fancy ajax stuff. Here is the
 article:
 http://www.webresourcesdepot.com/load-content-while-scrolling-with-jquery/

 I am curious about how this could be done the wicket way.
 I hope, we'll end up with an interesting thread :)...
 --
 View this message in context:
 http://www.nabble.com/Load-content-while-scrolling-tp22075428p22075428.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: Yet another Wicket quick start application...

2009-02-18 Thread nino martinez wael
2009/2/18 James Carman jcar...@carmanconsulting.com

 On Wed, Feb 18, 2009 at 6:33 AM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  2009/2/18 Patrick A. patrickange...@gmail.com
 
 
  Hey Nino,
 
  Apptizer is not really a framework. It's more like AppFuse or Qwicket in
  spirit... with the goal of showing how Spring, Hibernate/JPA and Wicket
  integrate. The CRUD framework in there is not meant to be integral. In
  fact,
  the CRUD framework is designed to be disposable.
 
  Ahh so it might be something like my Iolite..
 
 
 
  I've only heard of Wicketopia incidentally, probably on IRC. I checked
 the
  project page and it was the standard mvn generated site with no
 information
  or description of the project, so I tuned it out.
 
  Good point, i'll take it up with James, we might need some love on the
 PR...

 Well, we definitely need some PR love.  I've been kinda swamped at
 work with no time to devote to my fun projects, like Wicketopia, but
 I've got big ideas for where I think it should go.


Yeah, my time are scares now as well.. I'd like it do be a bit more simple
to develop new components for annotations.. I guess we could  should take
the discussion on the wicketopia forum? Also to show that there are some
activities there..



 
 
 
 
  I do agree that there's a number of Wicket-based RAD frameworks out
 there
  that could benefit from consolidation.
 
  I'd be willing to pitch in.
 
  Great, I think you should write to James to get setup he is the project
 lead
  (
  ♫
  jwcar...@gmail.com ).. In the mean time the svn url are :
  http://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk

 The more the merrier!

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




[announce] Apache Wicket Merchandise awards

2009-02-19 Thread nino martinez wael
Hi Guys

The first award for helping the Wicket community goes to Daan van Etten
for providing graphics to the merchandise...

You can read more about the merchandise shop and nominate your own favorite
here:

http://ninomartinez.wordpress.com/2009/02/19/apache-wicket-merchandise-shop/

And please nominate someone :)

Best regards Nino


Re: HTML creation tool

2009-02-19 Thread nino martinez wael
I just use the eclipse html/css syntax support.. And then check if it's
working with Firefox and then with browsershots.org for a larger amount of
browsers.

2009/2/19 Edwin Ansicodd erik.g.hau...@gmail.com


 Any css based HTML creation tool recommended by Wicket users?
 --
 View this message in context:
 http://www.nabble.com/HTML-creation-tool-tp22098061p22098061.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: wicket extensions: Palette

2009-02-19 Thread nino martinez wael
I think your selected strings should match those in available.. I cant
remember if palette uses a choicerender.. Then you implement a custom one..

I'd recommend using models anyhow..

2009/2/19 Vasily Vasilkov chand0s@gmail.com

 Hi

 I use the Palette component and I need to fill both palette's lists
 when I create palette.

 For example, a have

 ListString availableValues = new ArrayListString();  // add 5
 strings into this list
 ListString selectedValues = new ArrayListString(); // add 3 strings

 creating palette (this is pseudo-code):
 Palette palette = new Palette(availableValues, selectedValues, ...)

 when palette shows on screen, there are only 5 values in Available
 list, but Selected list is empty.

 I have read the javadoc, but found nothing.

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




Re: Yet another Wicket quick start application...

2009-02-19 Thread nino martinez wael
If your on it Richard, could you put in the wicket merchandise shop aswell?
cafepress.com/apachewicket

2009/2/19 Richard Allen richard.l.al...@gmail.com

 I like the wickethub.org idea! Thank you for your contribution.

 I'm assuming the site doesn't crawl the Internet looking for Wicket things.
 If I'm correct, then people have to post there. Which means people have to
 know about it, both to benefit from it and to contribute to it. I see no
 mention of it on wicket.apache.org or the Wicket wiki.

 On Thu, Feb 19, 2009 at 11:03 AM, francisco treacy 
 francisco.tre...@gmail.com wrote:

  hi richard,
 
  part of your concerns are addressed in wickethub. i launched it a few
  weeks ago but time is scarce to maintain it (anyway, it is open source
  so anyone can access the code / contribute).
 
  there are still issues and lots of things we want to do. i'm thinking
  over the domain model and this will likely change to making the whole
  idea more useful.
 
  hopefully this will only get better in the near future.
 
  francisco
 
  --
  http://wickethub.org
 
 
 
  On Thu, Feb 19, 2009 at 2:10 PM, Richard Allen
  richard.l.al...@gmail.com wrote:
   True. And I have no problem with that. I'll update the wiki with what I
  know
   before the end of the week.
  
   However, I believe the good management of projects is in large part
 what
   makes them a success.
  
  
   On Wed, Feb 18, 2009 at 11:54 AM, Martijn Dashorst 
   martijn.dasho...@gmail.com wrote:
  
   Most pages you refer to (apart from those that are in the
   wicket.apache.org style) are WIKI pages. This means *you* can modify
   them: this holds true for the Wicket WIKI and the Wicket Stuff WIKI.
  
   If you want to contribute text to the main wicket site, you can attach
   it to a JIRA issue. etc.
  
   Martijn
  
   -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
  
  
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 



Re: Storing user entity in session?

2009-02-20 Thread nino martinez wael
Hi Tauren

I've done something similar.. Have no trouble with..

Disclaimer, below code are really ugly and I need to clean it up...


package zeuzgroup.application;

import org.apache.wicket.Request;
import org.apache.wicket.authentication.AuthenticatedWebSession;
import org.apache.wicket.authorization.strategies.role.Roles;
import org.apache.wicket.injection.web.InjectorHolder;
import org.apache.wicket.spring.injection.annot.SpringBean;

import zeuzgroup.application.models.BaseEntityDetachableModel;
import zeuzgroup.core.Person;
import zeuzgroup.core.provider.IDBDao;
import zeuzgroup.core.user.UserType;

public class ZeuzSession extends AuthenticatedWebSession {

private boolean authorized = false;

private BaseEntityDetachableModelPerson personModel;

@SpringBean(name = dBDao)
protected IDBDao dBDao;

protected ZeuzSession(Request request) {
super(request);
InjectorHolder.getInjector().inject(this);

}

@Override
protected void detach() {
super.detach();
if (personModel != null) {
personModel.detach();
}
}

public boolean isAuthorized() {
return authorized;
}

public void setAuthorized(boolean authorized) {

this.authorized = authorized;
if (authorized) {
getPerson().setLoggedIn(true);
}
// Call below too!
signIn(getPerson().getAlias(), getPerson().getPassword());
}

public Person getPerson() {
if (personModel != null) {

Person person = (Person) personModel.getObject();
if (person == null) {
person = new Person();
person.setUserType(UserType.Guest);

}
return person;
} else {
Person person = new Person();
person.setUserType(UserType.Guest);
return person;
}
}

public BaseEntityDetachableModelPerson getPersonModel() {
return personModel;
}

public void setPerson(Person person) {
if (personModel != null) {
personModel.setBaseEntityDetachableModel(person);
} else {
personModel = new BaseEntityDetachableModelPerson(person);
}
}

public void onBeforeDestroy() {
getPerson().setLoggedIn(false);
}

@Override
public boolean authenticate(String username, String password) {

Person person = new Person();
person.setAlias(username);
person.setPassword(password);

return dBDao.authorizePerson(person);
}

@Override
public Roles getRoles() {
// If the user is signed in, they have these roles
// user always are associated with a person
return new Roles(getPerson().getUserType().toString());
}
}


2009/2/20 Tauren Mills tau...@tauren.com

 The WIA book and other example apps I've found online often show a
 User object being stored in the session:

 class BlogSession extends WebSession {
  private User user;
 }

 But does it make sense to do this if your User object is loaded from a
 persistence layer (Hibernate) and can contain a large tree of
 dependent objects?  For instance, what if my User object has a
 hierarchy like this:

 User
  Name
  Password
  SetBlog
Blog
  SetBlogEntry
BlogEntry
  SetTag
  SetTag

 Would this store the entire hierarchy of blogs, tags, blog entries,
 etc. into the session?  I've been experimenting with storing an LDM
 of the user in the session instead of the User directly:

 class BlogSession extends WebSession {
  private DetachableUserModel userModel;
 }

 But I'm getting Hibernate LazyInit errors.  So it leaves me wondering
 if LDMs in Session aren't automatically loaded since it isn't a
 Component.  I haven't really dug into what is going on yet.  I first
 wanted to find out what is common practice for a situation like this.

 Oh, and this isn't my actual User object -- just and example for
 illustrative purposes.  I'm not building a blog, and the properties
 and sets of objects in my User need to be there.

 Thanks!
 Tauren

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




Re: Storing user entity in session?

2009-02-20 Thread nino martinez wael
Hehe, my answer are the same as Martijn. Use the ID as key in LDM, see
below.


public class BaseEntityDetachableModel  E extends BaseEntity extends
LoadableDetachableModel {

@SpringBean(name = dBDao)
protected IDBDao dBDao;

private Long id;
private ClassE clazz;

public BaseEntityDetachableModel() {
InjectorHolder.getInjector().inject(this);
}

public BaseEntityDetachableModel(E baseEntity) {
this();
this.id = baseEntity.getId();
this.clazz = (ClassE) baseEntity.getClass();

}

public void setBaseEntityDetachableModel(E baseEntity) {
this.id = baseEntity.getId();
this.clazz =(ClassE) baseEntity.getClass();
}


@Override
protected E load() {
if(clazz!=null)
{
return dBDao.findEntity(id, clazz);
}
else{
return null;
}
}

}




2009/2/20 nino martinez wael nino.martinez.w...@gmail.com

 Hi Tauren

 I've done something similar.. Have no trouble with..

 Disclaimer, below code are really ugly and I need to clean it up...


 package zeuzgroup.application;

 import org.apache.wicket.Request;
 import org.apache.wicket.authentication.AuthenticatedWebSession;
 import org.apache.wicket.authorization.strategies.role.Roles;
 import org.apache.wicket.injection.web.InjectorHolder;
 import org.apache.wicket.spring.injection.annot.SpringBean;

 import zeuzgroup.application.models.BaseEntityDetachableModel;
 import zeuzgroup.core.Person;
 import zeuzgroup.core.provider.IDBDao;
 import zeuzgroup.core.user.UserType;

 public class ZeuzSession extends AuthenticatedWebSession {

 private boolean authorized = false;

 private BaseEntityDetachableModelPerson personModel;

 @SpringBean(name = dBDao)
 protected IDBDao dBDao;

 protected ZeuzSession(Request request) {
 super(request);
 InjectorHolder.getInjector().inject(this);

 }

 @Override
 protected void detach() {
 super.detach();
 if (personModel != null) {
 personModel.detach();
 }
 }

 public boolean isAuthorized() {
 return authorized;
 }

 public void setAuthorized(boolean authorized) {

 this.authorized = authorized;
 if (authorized) {
 getPerson().setLoggedIn(true);
 }
 // Call below too!
 signIn(getPerson().getAlias(), getPerson().getPassword());
 }

 public Person getPerson() {
 if (personModel != null) {

 Person person = (Person) personModel.getObject();
 if (person == null) {
 person = new Person();
 person.setUserType(UserType.Guest);

 }
 return person;
 } else {
 Person person = new Person();
 person.setUserType(UserType.Guest);
 return person;
 }
 }

 public BaseEntityDetachableModelPerson getPersonModel() {
 return personModel;
 }

 public void setPerson(Person person) {
 if (personModel != null) {
 personModel.setBaseEntityDetachableModel(person);
 } else {
 personModel = new BaseEntityDetachableModelPerson(person);
 }
 }

 public void onBeforeDestroy() {
 getPerson().setLoggedIn(false);
 }

 @Override
 public boolean authenticate(String username, String password) {

 Person person = new Person();
 person.setAlias(username);
 person.setPassword(password);

 return dBDao.authorizePerson(person);
 }

 @Override
 public Roles getRoles() {
 // If the user is signed in, they have these roles
 // user always are associated with a person
 return new Roles(getPerson().getUserType().toString());
 }
 }


 2009/2/20 Tauren Mills tau...@tauren.com

 The WIA book and other example apps I've found online often show a
 User object being stored in the session:

 class BlogSession extends WebSession {
  private User user;
 }

 But does it make sense to do this if your User object is loaded from a
 persistence layer (Hibernate) and can contain a large tree of
 dependent objects?  For instance, what if my User object has a
 hierarchy like this:

 User
  Name
  Password
  SetBlog
Blog
  SetBlogEntry
BlogEntry
  SetTag
  SetTag

 Would this store the entire hierarchy of blogs, tags, blog entries,
 etc. into the session?  I've been experimenting with storing an LDM
 of the user in the session instead of the User directly:

 class BlogSession extends WebSession {
  private DetachableUserModel userModel;
 }

 But I'm getting Hibernate LazyInit errors.  So it leaves me wondering
 if LDMs in Session aren't automatically loaded since it isn't a
 Component.  I haven't really dug into what is going on yet.  I first
 wanted to find out what is common practice for a situation like this.

 Oh, and this isn't my actual User object -- just and example

Re: Wicket VoiceXML framework?

2009-02-20 Thread nino martinez wael
Replying Inline..

2009/2/20 Tauren Mills tau...@tauren.com

 Nino,

 I've considered learning more about VoiceXML as well, but it would be
 for a future project and unfortunately I don't have time to help right
 now.  If you do get it going, I'd certainly be interested in
 contributing down the road.

No problem, it's nice to know that theres someone else out there :)



 However, I am curious what your thoughts are in regards to this.  What
 use-cases are you wanting to solve?  Although my knowledge is *very*
 limited, wouldn't the output of VoiceXML be accomplished simply by
 getting wicket to output XML?  And I believe that is easy enough to to
 with:

@Override
public String getMarkupType() {
return xml;
}

 Of course, I'm not clear how a voice browser (the recipient of the
 voicexml) sends responses back, which could be more challenging.


No you are completely right.. What I guess I would like where to put a
higher level of abstraction on, so the components do most of the foot work
for you. I guess you can compare this to my openlayers integration, it's
easy aswell to use openlayers with out the integration but the integration
makes it much easier, abstracting what you need todo to a much higher
level...

As I dont know a bit about vxml, im not sure how much you could abstract but
I think there should be some room for it. Like being able to generate easy
logic etc.

Something like this could defiantly be done alot simpler :

http://pastebin.com/f21b6b3ea

But im still wondering about the architecture...

-regards Nino




 Tauren


 On Tue, Feb 17, 2009 at 6:09 AM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  Hi Guys
 
  Would any of you be interested in creating a VoiceXML framework based on
  wicket with me? I dont have much knowledge on vxml (im new to the domain)
  but I have a little on wicket :) Im just thinking aloud right now, so
 theres
  no scope or anything defined.
 
 
  regards Nino
 

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




Re: automatic Page Flow diagrams?

2009-02-20 Thread nino martinez wael
What does people thing of this?

Like something that would scan all Wicket Pages, and panels refered by those
thus creating something like this:

PageA--PageB--PageD
^  |
|   -PageC

Im not that great a ascii artist but something like this.

2009/2/17 nino martinez wael nino.martinez.w...@gmail.com

 Hi Guys

 Are there anyone which has done something like a pageflow diagram generator
 for wicket, would be wonderfull if it were a maven plugin?


 regards Nino



Re: Storing user entity in session?

2009-02-20 Thread nino martinez wael
Ok, thanks for the tip...

2009/2/20 Martijn Dashorst martijn.dasho...@gmail.com

 move the IModelPerson to your custom request cycle, otherwise you'll
 run into the issues I've pointed out earlier where on thread detaches
 while another attaches. Storing entities in your session when your
 interested in maintaining them with your entitymanager is BAD, even if
 you put it in a LDM.

 Martijn

 On Fri, Feb 20, 2009 at 11:05 AM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  Hi Tauren
 
  I've done something similar.. Have no trouble with..
 
  Disclaimer, below code are really ugly and I need to clean it up...
 
 
  package zeuzgroup.application;
 
  import org.apache.wicket.Request;
  import org.apache.wicket.authentication.AuthenticatedWebSession;
  import org.apache.wicket.authorization.strategies.role.Roles;
  import org.apache.wicket.injection.web.InjectorHolder;
  import org.apache.wicket.spring.injection.annot.SpringBean;
 
  import zeuzgroup.application.models.BaseEntityDetachableModel;
  import zeuzgroup.core.Person;
  import zeuzgroup.core.provider.IDBDao;
  import zeuzgroup.core.user.UserType;
 
  public class ZeuzSession extends AuthenticatedWebSession {
 
 private boolean authorized = false;
 
 private BaseEntityDetachableModelPerson personModel;
 
 @SpringBean(name = dBDao)
 protected IDBDao dBDao;
 
 protected ZeuzSession(Request request) {
 super(request);
 InjectorHolder.getInjector().inject(this);
 
 }
 
 @Override
 protected void detach() {
 super.detach();
 if (personModel != null) {
 personModel.detach();
 }
 }
 
 public boolean isAuthorized() {
 return authorized;
 }
 
 public void setAuthorized(boolean authorized) {
 
 this.authorized = authorized;
 if (authorized) {
 getPerson().setLoggedIn(true);
 }
 // Call below too!
 signIn(getPerson().getAlias(), getPerson().getPassword());
 }
 
 public Person getPerson() {
 if (personModel != null) {
 
 Person person = (Person) personModel.getObject();
 if (person == null) {
 person = new Person();
 person.setUserType(UserType.Guest);
 
 }
 return person;
 } else {
 Person person = new Person();
 person.setUserType(UserType.Guest);
 return person;
 }
 }
 
 public BaseEntityDetachableModelPerson getPersonModel() {
 return personModel;
 }
 
 public void setPerson(Person person) {
 if (personModel != null) {
 personModel.setBaseEntityDetachableModel(person);
 } else {
 personModel = new BaseEntityDetachableModelPerson(person);
 }
 }
 
 public void onBeforeDestroy() {
 getPerson().setLoggedIn(false);
 }
 
 @Override
 public boolean authenticate(String username, String password) {
 
 Person person = new Person();
 person.setAlias(username);
 person.setPassword(password);
 
 return dBDao.authorizePerson(person);
 }
 
 @Override
 public Roles getRoles() {
 // If the user is signed in, they have these roles
 // user always are associated with a person
 return new Roles(getPerson().getUserType().toString());
 }
  }
 
 
  2009/2/20 Tauren Mills tau...@tauren.com
 
  The WIA book and other example apps I've found online often show a
  User object being stored in the session:
 
  class BlogSession extends WebSession {
   private User user;
  }
 
  But does it make sense to do this if your User object is loaded from a
  persistence layer (Hibernate) and can contain a large tree of
  dependent objects?  For instance, what if my User object has a
  hierarchy like this:
 
  User
   Name
   Password
   SetBlog
 Blog
   SetBlogEntry
 BlogEntry
   SetTag
   SetTag
 
  Would this store the entire hierarchy of blogs, tags, blog entries,
  etc. into the session?  I've been experimenting with storing an LDM
  of the user in the session instead of the User directly:
 
  class BlogSession extends WebSession {
   private DetachableUserModel userModel;
  }
 
  But I'm getting Hibernate LazyInit errors.  So it leaves me wondering
  if LDMs in Session aren't automatically loaded since it isn't a
  Component.  I haven't really dug into what is going on yet.  I first
  wanted to find out what is common practice for a situation like this.
 
  Oh, and this isn't my actual User object -- just and example for
  illustrative purposes.  I'm not building a blog, and the properties
  and sets of objects in my User need to be there.
 
  Thanks!
  Tauren
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 



 --
 Become

Re: Wicket meetup in Switzerland?

2009-02-20 Thread nino martinez wael
On the otherhand his complains got us to answer :)

2009/2/20 Martin Funk mafulaf...@googlemail.com

 Your commitment to this is too;-)

 Please don't get me wrong on this, but
 be agile. Initiate something scaleable.
 Do it in a way that it would be a success for you no matter how many people
 come.

 Just don't start complaining before taking real action.

 mf
 P.S.: I might be interested coming in from Frankfurt. Its always nice to
 find a reason to travel to Zürich.



 2009/2/20 Thomas Mäder thomas.mae...@devotek-it.ch

  Whoa! The silence is deafening! Since I've had one answer in a week, I
  guess
  there is just no interest. Oh well...
 
  Thomas
 
  On Mon, Feb 16, 2009 at 12:04 PM, Thomas Mäder
  thomas.mae...@devotek-it.chwrote:
 
   Hi Folks,
  
   I would be willing to organize a Wicket meetup in Switzerland if there
 is
   enough interest. I propose a meeting somewhere in Zürich. The format I
   imagine is that participants could (don't have to) shortly (15-20min.)
   present their work with Wicket (demos are always nice). That would be
   followed by general mingling with drinks  snacks.
   For the date, I would shoot for the week starting March 16,
 17:30-20:30h.
   Would you be interested in participating in/hosting/sponsoring such a
   thing? Either reply here or to me privately, and if there is enough
   interest, I'll set up a thing on the wiki.
  
   Thomas
  
   --
   Thomas Mäder
   Wicket  Eclipse Consulting
   www.devotek-it.ch
  
 
 
 
  --
  Wicket  Eclipse Consulting
  www.devotek-it.ch
  thomasmaeder.blogspot.com
 



Re: Storing user entity in session?

2009-02-22 Thread nino martinez wael
I think it looks fine.. However I'd delegate the creation of the model to
session...

page
setDefaultModel(getSession().getUserModel())

session:

function DetachableUserModel getUserModel()
{

return new DetachableUserModel(getSession().getUser(),userDao);

}





2009/2/20 Tauren Mills tau...@groovee.com

 Nino and Martijn,

 Thanks for the help.  Last night I was looking through the elephas
 code and found a solution that I think will work for me.  It doesn't
 store an LDM in the session, but stores an identifier and a
 *transient* instance of User.  This seems like an effective solution
 to me. I tried it out and haven't had problems yet.  Here's the
 elephas session so you can see for yourself:

 http://code.google.com/p/elephas/source/browse/trunk/src/main/java/org/elephas/webapp/application/ElephasSession.java?r=87

 Then on my page, I just do something like this:
 setDefaultModel(new DetachableUserModel(getSession().getUser(),userDao));

 Please let me know your thoughts on this.

 Thanks,
 Tauren


 On Fri, Feb 20, 2009 at 2:05 AM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  Hi Tauren
 
  I've done something similar.. Have no trouble with..
 
  Disclaimer, below code are really ugly and I need to clean it up...
 

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




Re: Storing user entity in session?

2009-02-23 Thread nino martinez wael
Having access to the complete user object, comes in handy if you use
compound models.. Like the CompundPropertyModel...

But I see your point.. But it's also sort of what the LDM does, store some
kind of identifier and then looks up the user if its not already loaded..

2009/2/23 Brill Pappin br...@pappin.ca

 Jumping in here part way through the thread, so apologies if you've covered
 this already.

 What we do is simply store a key that represents the user (and maybe a
 small amount of data that is accessed about the user on every page).
 In general we find that our persistence is much more reliable if we don't
 try to optimize it before we know that we need to.
 Most operation only really require the user key to get or update data as
 the user authentication data doesn't change all that much (it's all the data
 attached to the user that does).

 In general I can't image you need to store a whole user object transient or
 not.

 Hope that helps,

 - Brill




 On 23-Feb-09, at 2:42 AM, Martijn Dashorst wrote:

  Storing the user in a field of Session is wrong. Didn't you read the
 concurrency caveats I posted earlier?

 When users click fast enough, you'll get Hibernate exceptions pretty
 soon. Entity instances can't be shared between multiple threads.
 Putting them in the Session exposes them to that threat. Putting
 transient before the field doesn't mitigate that, neither does
 synchronized.

 Martijn

 On Fri, Feb 20, 2009 at 11:25 PM, Tauren Mills tau...@groovee.com
 wrote:

 Nino and Martijn,

 Thanks for the help.  Last night I was looking through the elephas
 code and found a solution that I think will work for me.  It doesn't
 store an LDM in the session, but stores an identifier and a
 *transient* instance of User.  This seems like an effective solution
 to me. I tried it out and haven't had problems yet.  Here's the
 elephas session so you can see for yourself:

 http://code.google.com/p/elephas/source/browse/trunk/src/main/java/org/elephas/webapp/application/ElephasSession.java?r=87

 Then on my page, I just do something like this:
 setDefaultModel(new DetachableUserModel(getSession().getUser(),userDao));

 Please let me know your thoughts on this.

 Thanks,
 Tauren


 On Fri, Feb 20, 2009 at 2:05 AM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:

 Hi Tauren

 I've done something similar.. Have no trouble with..

 Disclaimer, below code are really ugly and I need to clean it up...


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





 --
 Become a Wicket expert, learn from the best: http://wicketinaction.com
 Apache Wicket 1.3.5 is released
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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



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




Re: Wicket meetup in Switzerland?

2009-02-23 Thread nino martinez wael
Ahhh.. :)

2009/2/23 Francisco Diaz Trepat - gmail francisco.diaztre...@gmail.com

 maradona hint no working anymore? Is that a sign I'm beginning to get old?
 I'm in Buenos Aires, Argentina.


 f(t)

 On Sun, Feb 22, 2009 at 6:02 PM, Nino Martinez 
 nino.martinez.w...@gmail.com
  wrote:

  Francisco Diaz Trepat - gmail wrote:
 
  First of all, could this be the coolest list ever?
  May be because Nino is on it.
 
  I would love to be in driving distance but Bs. As. is too far... Though
  starting to beg my boss for a quick trip (as we work for a Zürich based
  company)...
 
  We could have one here
 
  Wheres here? But Im really thinking that either apache con or WUG in UK
  could be the place for an annual WUG meetup..? I might be able to
 persuade
  my boss to let me go for something like it..
 
   , and extend our invitation to all, specially Nino,
  Igor, Elco, Johan, and many more. Could make an Azado (as we are as
 widely
  known for our good meat as maradona, tango and other semi-cultural
  references about my country).
 
  Anyways nagging will continue,
 
  f(t)
 
  On Fri, Feb 20, 2009 at 1:23 PM, Johan Compagner jcompag...@gmail.com
  wrote:
 
 
 
  that was the whole idea, now you spoiled it! ;(
 
  On Fri, Feb 20, 2009 at 17:09, Jeremy Thomerson
  jer...@wickettraining.comwrote:
 
 
 
  I've seen plenty of programming language flame wars, but it looks like
  Johan
  is starting a REAL language flamewar.  :)
 
  On Fri, Feb 20, 2009 at 9:41 AM, Johan Compagner 
 jcompag...@gmail.com
 
 
  wrote:
 if you would do it in a time that i am in the swiss then i
 could
  also
  attend
  But that is now and then +/- 1 time in 2 months..
  (this  week i am in Bern)
 
  I dont have a problem if it was in real german, but it cant be in
 that
  swiss
  german (which has i my eyes nothing to do with german anyway)
  because that i really cant follow at all. its complete garbage.. ;)
 
  johan
 
 
  On Fri, Feb 20, 2009 at 12:17, Thomas Mäder
 
 
  thomas.mae...@devotek-it.ch
 
 
  wrote:
   Whoa! The silence is deafening! Since I've had one answer
 in
  a week,
 
 
  I
 
 
  guess
  there is just no interest. Oh well...
 
  Thomas
 
  On Mon, Feb 16, 2009 at 12:04 PM, Thomas Mäder
  thomas.mae...@devotek-it.chwrote:
 
 
 
  Hi Folks,
 
  I would be willing to organize a Wicket meetup in Switzerland if
 
 
  there
 
 
  is
 
 
  enough interest. I propose a meeting somewhere in Zürich. The
 
 
  format
 
 
  I
 
 
  imagine is that participants could (don't have to) shortly
 
 
  (15-20min.)
 
 
  present their work with Wicket (demos are always nice). That would
 
 
  be
 
 
  followed by general mingling with drinks  snacks.
  For the date, I would shoot for the week starting March 16,
 
 
  17:30-20:30h.
 
 
  Would you be interested in participating in/hosting/sponsoring such
 
 
  a
 
 
  thing? Either reply here or to me privately, and if there is enough
  interest, I'll set up a thing on the wiki.
 
  Thomas
 
  --
  Thomas Mäder
  Wicket  Eclipse Consulting
  www.devotek-it.ch
 
 
 
 
  --
  Wicket  Eclipse Consulting
  www.devotek-it.ch
  thomasmaeder.blogspot.com
 
 
 
 
  --
  Jeremy Thomerson
  http://www.wickettraining.com
 
 
 
 
 
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 



[OT]User group in NYC/Long Island?

2009-02-24 Thread nino martinez wael
Hi Guys

Im going to a course next week in us, and were wondering is there are any
users around NYC preferably Long Island area?

I might have time in the evening to goto a WUG (wicket user group).. So?

I can talk about javascript integration etc with wicket, I guess that my
specialty.. If you cant talk about wicket, some JPA would be nice aswell :)

regards Nino


Re: Wicket + iframe Session Question

2009-02-26 Thread nino martinez wael
Arent there a InternalFrame or something already in wicket?

I think this has been discussed before, search with nabble

2009/2/26 freak182 eman.noll...@gmail.com


 Hello,

 How can I get the session from my main application to the application in
 the
 iframe? here is the scenario:

 1. I have a large wicket application then we agree to separate the
 reporting
 from main application.
 2. The said report application is also a wicket and jasper but embedded
 into
 iframe.

 eg. class TestIframePage extends WebPage {

  publiuc TestIframePage() {

   final String reportServerUrl =
 http://localhost:8282/reports?reportname=;;

final StringBuilder build = new StringBuilder();
build.append(reportServerUrl).append(getReportName());

final WebMarkupContainer wmc = new WebMarkupContainer(wmc);
wmc.add(new SimpleAttributeModifier(src,build.toString()));
add(wmc);

  }

   @Override
public String getReportName()
{
return reportName;
}

 }

 ...and the html file is.

 TestIframePage.html

 html
head
titleReports/title
/head
body

iframe wicket:id=wmc width=500 height=500

/iframe

/body
 /html

 3. As of now it's working fine...now the problem is I want the main
 application session will be passed to report application in the iframe. So
 that i can authenticate the user from the main application. You, might said
 that I could pass using parameter but we already discuss that but for
 security reason we cannot pass it through paramater. I have to securely get
 the session or paramaters from main application to iframe application.

 Any idea.

 Thanks a lot.
 Cheers.

 --
 View this message in context:
 http://www.nabble.com/Wicket-%2B-iframe-Session-Question-tp22218613p22218613.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: GSoC ideas for 09

2009-02-26 Thread nino martinez wael
I'll be happy to mentor, what does it require?. I do have a life besides
Wicket/Wicketstuff as Martijn has :)



regards Nino

2009/2/26 Martijn Dashorst martijn.dasho...@gmail.com

 While I am perfectly capable of working on Wicket in my spare time
 without being rewarded, I find it way out of line to characterize the
 way I spend my own time as lame when such that doesn't fit the
 criteria of anyone. Being characterized as lame because we are engaged
 in other things, such as family, preparing Wicket presentations,
 building releases, fixing bugs, reading books, playing games, earning
 money, eating, sleeping, feeding our children, is utterly uncalled for
 (though sleeping might be considered lame).

 Christopher is very capable of writing English prose, so I take that
 at face value. It's not that someone with a poor knowledge of English
 wrote this.

 Armchair volunteerism is very easy to do: it doesn't cost any time,
 and you don't commit yourself to anything.

 If anyone wants to pursue GSoC, they're very welcome to call
 themselves Vice President of Wicket Stuff and enlist as Mentor etc. If
 any of the other core committers thinks a GSoC is ok, I'm fine with
 that too. However, given that we're struggling to get all the bugs
 fixed in 1.3.6 and 1.4, I find it hard to believe that anyone will
 have the time and energy to do the mentoring as well. I don't have
 that time and energy.

 Martijn

 On Thu, Feb 26, 2009 at 3:03 PM, Richard Allen
 richard.l.al...@gmail.com wrote:
  The words of C. Bergstrom may have been poorly chosen, but he seems to
 have
  the same goal of wanting Wicket to succeed and grow in popularity.
 Providing
  harsh responses to users that, despite poor communication, are otherwise
  excited about your project does not help to grow your community or get
  others involved. This is not the first time I've been surprised by the
  harshness of responses from Wicket core committers. I hope these don't
 have
  the effect of pushing developers away.
 
  On Thu, Feb 26, 2009 at 7:27 AM, Jeroen Steenbeeke j.steenbeeke.ml@
  gmail.com wrote:
 
  
   Once again it seems a lame excuse to say you're too busy or the
 various
   other things when this could both give the project good pr and
 possibly
  add
   more people who contribute to the framework.
 
  I've found that the best way to convince people does not involve
 insulting
  the person you're trying to convince. There is merit to your argument of
  good PR and possible new contributors, but let's not forget that the
 people
  working on Wicket do so in their spare time - and you know that there
 are a
  lot of things in life that require time. It is fully understandable that
  what little time the developers have to spend on Wicket, they'd rather
 use
  that time to improve the framework and fix bugs.
  Mentoring a SoC student takes a considerable amount of time and
  concentration, and while some students may blossom on their own, a lot
 of
  them need guidance on a regular basis - this requires a massive
 investment
  of spare time that could otherwise have been used for improving Wicket.
 A
  mentor that is only half interested will not be an advantage to the
  student,
  and be bad PR rather than good - you need mentors that are willing,
 good,
  know the framework well and have loads of time - the last of which does
 not
  apply to a lot of Wicket Devs. Calling it lame doesn't change anything
  about
  it, but it does agitate the developers, which doesn't exactly help your
  cause.
  - Jeroen
 
 



 --
 Become a Wicket expert, learn from the best: http://wicketinaction.com
 Apache Wicket 1.3.5 is released
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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




Re: Wicket Security Question

2009-02-27 Thread nino martinez wael
Thanks for the update..

2009/2/27 Wayne Pope waynemailingli...@googlemail.com

 Hi,
 In terms of SWARM etc its in the pre-generics stage. It didn't take
 much to get it working with the latest wicket version mind.
 It works fine, however it wan't what we needed in the end - we went
 with the wicket.aurthorization package and rolled our own dynamic
 acl-list/roles etc.
 I had some promising converstions with Les Hazlewood from
 jsecurity.org - that looks like another great package and more
 flexible IMO. However Les was right in the middle of a move to NYC and
 didn't have anytime to spend on doing a wicket version of jsecurity.
 It might be worth pinging him a mail and see if he up for doing it
 again.

 Wayne








 www.glasscubes.com

 On Thu, Feb 26, 2009 at 8:09 PM, Nino Martinez
 nino.martinez.w...@gmail.com wrote:
  I might pick it up (But since it's not something I need right now, it has
  low priority).. But was hoping that Wayne Pope would get back and tell
 whats
  state it is in..
 
  Philippe Laflamme wrote:
 
  FYI: it's not clear what will happen with the wicket-security package.
 The
  original maintainer sadly passed away last year and no-one has
 officially
  taken the torch.
 
  We've used both packages (auth-roles and swarm), but neither with
  spring-security. We'd like to move to using spring-security using Swarm,
  but
  we haven't taken any step in this regard due to the package's
 situation...
 
  Hoping the package gets an official maintainer soon.
 
  Philippe
 
 
  Markus Strickler wrote:
 
 
  Hi-
 
 
  
 http://wicketstuff.org/confluence/display/STUFFWIKI/Security+Framework+Comparison
   
 
  might be of interest.
  I've been using Auth-roles together with ACEGI in a project and it
   worked quite well.
 
  -markus
 
 
  Am 25.02.2009 um 21:23 schrieb M Goodell:
 
 
 
  I would like to pose a question.
 
 
 
  We are looking at using Wicket as a platform for an upcoming  project.
  So far
  we are *really* liking what Wicket brings to the table.
 
 
 
  In terms of security / securing a web application our first thought
  was
  Spring Security.
 
 
 
  My question:
 
 
 
  Does Spring Security play nice with Wicket and is it a viable
   addition to
  a Wicket Application? Or, what are other alternatives are available
  for
  use
  to investigate.
 
 
 
  Thank you in advance for any thoughts, comments and suggestions.
 
 
 
  M. Goodell
 
 
 
 
  --
  This message has been scanned for viruses and
  dangerous content by MailScanner, and is
  believed to be clean.
 
 
 
  --
  This message has been scanned for viruses and
  dangerous content by MailScanner, and is
  believed to be clean.
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
 
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

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




Re: What IDE best fits with Wicket?

2009-02-27 Thread nino martinez wael
I just use mvn eclipse:eclipse , it works every time :)

2009/2/27 Emond Papegaaij emond.papega...@topicus.nl

 That is the plugin Martijn is talking about, and I am one of the co-workers
 he
 mentioned. I tried the m2eclipse plugin and used it for a day. The plugin
 (version 0.9.7.200902090947) was able to checkout the project from svn and
 create eclipse projects for all modules, so far so good, although the
 browse
 button in the svn window didn't work. At that moment the trouble started.

 Somehow, after even the slightest code change, eclipse started to rebuild
 the
 entire project over and over, taking ages. After some more changes (some of
 them might have been in the pom), some of my projects got corrupted and I
 had
 to clean everything, doing a complete rebuild. A few hours later, while I
 was
 working on a Java file, about 30,000 errors suddenly appeared. Somehow,
 m2eclipse had reversed some of my module-to-module dependencies. I tried
 cleaning, updating, refreshing the project configuration, nothing helped. I
 was
 unable to get the project to build again.

 My experience with m2eclipse is that it is slow and very unstable. My last
 attempt was not the first attempt. I tried to use it several times, because
 running mvn eclipse:eclipse all the time is just a pain in the *, but every
 time I ran into some strange problem I could not solve.

 Emond Papegaaij

 On Thursday 26 February 2009 17:20:04 Brill Pappin wrote:
  I don't think we're talking about the same plugin then (although you
  seem to be calling it the same thing)...
  I'm referring to:
 
   http://m2eclipse.codehaus.org/
 
  It's the *only* one I've found that *actually works* properly,
  particularly for larger projects... although I run the dev version so
  I'm not sure how well the released version is working at this moment.
  Of course I could simply go back to the console and use the maven
  plugin to generate the eclipse project files, but I find the plugin to
  be light-years ahead in maintaining a clean build env.
 
  I guess people's experience with various tools also depends a lot on
  *how* they work not just what they work with :)
 
 
  - Brill Pappin
 
  On 24-Feb-09, at 12:38 PM, Martijn Dashorst wrote:
   m2eclipse is absolutely worthless for anything beyond a quickstart. It
   is constantly reparsing poms, grinding eclipse to a halt. It failed to
   generate the right project dependencies for our multimodule project
   that consists of 2 multimodule child projects. It failed miserably to
   uninstall, needing me to axe my eclipse installation.
  
   In short: my experience (and that of my co-workers) with m2eclipse is
   that it is far from ready for prime time.
  
   Martijn
  
   On Tue, Feb 24, 2009 at 5:55 PM, Brill Pappin br...@pappin.ca wrote:
   I should add something about the Eclipse maven plugins... don't go
   for the
   official eclipse Q4 plugin... use the Maven Integration 4 Eclipse
   plugin
   (and actually the development version if your jiggy with it, it
   works and
   gets updated/fixed way more often).
  
   If your on Netbeans, I think Maven will generate Netbeans project
   files for
   you as well (it will do so for eclipse), so you could actually flip
   back and
   forth if you wanted.
  
   - Brill Pappin
  
   On 23-Feb-09, at 5:19 PM, Pierre Goupil wrote:
   +1, I like Wicket Bench. And with M2Eclipse, you have the full
   sources 
   JavaDoc just by adding Wicket as a dependency, which is very
   convenient.
   But
   don't expect Wicket Bench to do too much, it's just a small,
   useful tool.
  
   Pierre
  
   Hi, I use Eclipse with Wicket Bench plugin and it works very fine.
  
   --
   Sans amis était le grand maître des mondes,
   Eprouvait manque, ce pour quoi il créa les esprits,
   Miroirs bienveillants de sa béatitude.
   Mais au vrai, il ne trouva aucun égal,
   Du calice du royaume total des âmes
   Ecume jusqu'à lui l'infinité.
  
   (Schiller, l'amitié)
  
   -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
  
   --
   Become a Wicket expert, learn from the best: http://wicketinaction.com
   Apache Wicket 1.3.5 is released
   Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
  
   -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org


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




Re: Wicket Security Question

2009-02-27 Thread nino martinez wael
Ahh ok, Just wrote Les...

2009/2/27 Maarten Bosteels mbosteels@gmail.com

 I created a google-code project for  Wicket-JSecurity integration, but
 unfortunately haven't had time to work on it.
 Les has already done some commits though.

 http://code.google.com/p/wicket-jsecurity/

 Any help is welcome.

 regards,
 Maarten

 On Fri, Feb 27, 2009 at 8:31 AM, Wayne Pope 
 waynemailingli...@googlemail.com wrote:

  Hi,
  In terms of SWARM etc its in the pre-generics stage. It didn't take
  much to get it working with the latest wicket version mind.
  It works fine, however it wan't what we needed in the end - we went
  with the wicket.aurthorization package and rolled our own dynamic
  acl-list/roles etc.
  I had some promising converstions with Les Hazlewood from
  jsecurity.org - that looks like another great package and more
  flexible IMO. However Les was right in the middle of a move to NYC and
  didn't have anytime to spend on doing a wicket version of jsecurity.
  It might be worth pinging him a mail and see if he up for doing it
  again.
 
  Wayne
 
 
 
 
 
 
 
 
  www.glasscubes.com
 
  On Thu, Feb 26, 2009 at 8:09 PM, Nino Martinez
  nino.martinez.w...@gmail.com wrote:
   I might pick it up (But since it's not something I need right now, it
 has
   low priority).. But was hoping that Wayne Pope would get back and tell
  whats
   state it is in..
  
   Philippe Laflamme wrote:
  
   FYI: it's not clear what will happen with the wicket-security package.
  The
   original maintainer sadly passed away last year and no-one has
  officially
   taken the torch.
  
   We've used both packages (auth-roles and swarm), but neither with
   spring-security. We'd like to move to using spring-security using
 Swarm,
   but
   we haven't taken any step in this regard due to the package's
  situation...
  
   Hoping the package gets an official maintainer soon.
  
   Philippe
  
  
   Markus Strickler wrote:
  
  
   Hi-
  
  
   
 
 http://wicketstuff.org/confluence/display/STUFFWIKI/Security+Framework+Comparison

  
   might be of interest.
   I've been using Auth-roles together with ACEGI in a project and it
worked quite well.
  
   -markus
  
  
   Am 25.02.2009 um 21:23 schrieb M Goodell:
  
  
  
   I would like to pose a question.
  
  
  
   We are looking at using Wicket as a platform for an upcoming
  project.
   So far
   we are *really* liking what Wicket brings to the table.
  
  
  
   In terms of security / securing a web application our first thought
   was
   Spring Security.
  
  
  
   My question:
  
  
  
   Does Spring Security play nice with Wicket and is it a viable
addition to
   a Wicket Application? Or, what are other alternatives are available
   for
   use
   to investigate.
  
  
  
   Thank you in advance for any thoughts, comments and suggestions.
  
  
  
   M. Goodell
  
  
  
  
   --
   This message has been scanned for viruses and
   dangerous content by MailScanner, and is
   believed to be clean.
  
  
  
   --
   This message has been scanned for viruses and
   dangerous content by MailScanner, and is
   believed to be clean.
  
  
   -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
  
  
  
  
  
  
  
  
   -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
  
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 



Re: What IDE best fits with Wicket?

2009-02-27 Thread nino martinez wael
Sure, if you change project structure, you need to invoke mvn
eclipse:eclipse one projects that are changed.. But it works... And true
it's not integrated in eclipse..

I just dont see what the integrations bring, but It might just be because I
too have been unlucky, when I tried m2eclipse...

The subversion (subversive) integration though, that I see the benefits of
(and for me it works 95% of the time)...

2009/2/27 Emond Papegaaij emond.papega...@topicus.nl

 Yes, mvn eclipse:eclipse works, but it's not really integrating maven in
 eclipse. I have to run it manually after changing the pom or the project
 structure and it often results in a complete rebuild of all projects.

 On Friday 27 February 2009 10:08:58 nino martinez wael wrote:
  I just use mvn eclipse:eclipse , it works every time :)
 
  2009/2/27 Emond Papegaaij emond.papega...@topicus.nl
 
   That is the plugin Martijn is talking about, and I am one of the
   co-workers he
   mentioned. I tried the m2eclipse plugin and used it for a day. The
 plugin
   (version 0.9.7.200902090947) was able to checkout the project from svn
   and create eclipse projects for all modules, so far so good, although
 the
   browse
   button in the svn window didn't work. At that moment the trouble
 started.
  
   Somehow, after even the slightest code change, eclipse started to
 rebuild
   the
   entire project over and over, taking ages. After some more changes
 (some
   of them might have been in the pom), some of my projects got corrupted
   and I had
   to clean everything, doing a complete rebuild. A few hours later, while
 I
   was
   working on a Java file, about 30,000 errors suddenly appeared. Somehow,
   m2eclipse had reversed some of my module-to-module dependencies. I
 tried
   cleaning, updating, refreshing the project configuration, nothing
 helped.
   I was
   unable to get the project to build again.
  
   My experience with m2eclipse is that it is slow and very unstable. My
   last attempt was not the first attempt. I tried to use it several
 times,
   because running mvn eclipse:eclipse all the time is just a pain in the
 *,
   but every time I ran into some strange problem I could not solve.
  
   Emond Papegaaij
  
   On Thursday 26 February 2009 17:20:04 Brill Pappin wrote:
I don't think we're talking about the same plugin then (although you
seem to be calling it the same thing)...
I'm referring to:
   
 http://m2eclipse.codehaus.org/
   
It's the *only* one I've found that *actually works* properly,
particularly for larger projects... although I run the dev version so
I'm not sure how well the released version is working at this moment.
Of course I could simply go back to the console and use the maven
plugin to generate the eclipse project files, but I find the plugin
 to
be light-years ahead in maintaining a clean build env.
   
I guess people's experience with various tools also depends a lot on
*how* they work not just what they work with :)
   
   
- Brill Pappin
   
On 24-Feb-09, at 12:38 PM, Martijn Dashorst wrote:
 m2eclipse is absolutely worthless for anything beyond a quickstart.
 It is constantly reparsing poms, grinding eclipse to a halt. It
 failed to generate the right project dependencies for our
 multimodule
 project that consists of 2 multimodule child projects. It failed
 miserably to uninstall, needing me to axe my eclipse installation.

 In short: my experience (and that of my co-workers) with m2eclipse
 is
 that it is far from ready for prime time.

 Martijn

 On Tue, Feb 24, 2009 at 5:55 PM, Brill Pappin br...@pappin.ca
 wrote:
 I should add something about the Eclipse maven plugins... don't go
 for the
 official eclipse Q4 plugin... use the Maven Integration 4
 Eclipse
 plugin
 (and actually the development version if your jiggy with it, it
 works and
 gets updated/fixed way more often).

 If your on Netbeans, I think Maven will generate Netbeans project
 files for
 you as well (it will do so for eclipse), so you could actually
 flip
 back and
 forth if you wanted.

 - Brill Pappin

 On 23-Feb-09, at 5:19 PM, Pierre Goupil wrote:
 +1, I like Wicket Bench. And with M2Eclipse, you have the full
 sources 
 JavaDoc just by adding Wicket as a dependency, which is very
 convenient.
 But
 don't expect Wicket Bench to do too much, it's just a small,
 useful tool.

 Pierre

 Hi, I use Eclipse with Wicket Bench plugin and it works very
 fine.

 --
 Sans amis était le grand maître des mondes,
 Eprouvait manque, ce pour quoi il créa les esprits,
 Miroirs bienveillants de sa béatitude.
 Mais au vrai, il ne trouva aucun égal,
 Du calice du royaume total des âmes
 Ecume jusqu'à lui l'infinité.

 (Schiller, l'amitié

Re: Wicket Link with proxy server: wrong hostname

2009-02-27 Thread nino martinez wael
Works for me too, I also posted some Apache configs to this list some time
ago.. So search the forum, you can use nabble

2009/2/27 Martin Makundi martin.maku...@koodaripalvelut.com

 Hi!

 If you generate the url in your app, it will see the proxyPass address:

  ProxyPass   /pls  http://server:/pls/myapp/
  ProxyPassReverse/pls  http://server:/pls/myapp/

 You could change this into:
 ProxyPass   /pls  http://www.mycompany.com:/pls/myapp/
 ProxyPassReverse/pls  http://www.mycompany.com:/pls/myapp/

 Works for us.

 **
 Martin

 2009/2/27  harri.temo...@nokia.com:
  Hi all,
 
  I have problem when Wicket 1.3.5 application is installed behind proxy
 server.
 
  Application it showing Index page in url
 https://www.mycompany.com/pls/myapp/
  When clicking link (pointing into same Index page), browser is going to
 url http://server:/pls/myapp/
 
  Any ideas about to solve this? Details listed below.
 
  Best Regards
  Harri
 
  ==Index.html=
  html xmlns:wicket=http://wicket.apache.org/;
  body
a wicket:id = linkIndexIndex/a
  /body
  /html
  ==Index.java=
  public class Index extends WebPage {
 public Index() {
 Link linkToAnchor = new Link(linkIndex) {
 public void onClick() {
 setResponsePage(Index.class);
 }
 };
 add(linkToAnchor);
 }
  }
  ==MyApplication.java=
  public class MyApplication extends WebApplication {
 
 @Override
 public Class getHomePage() {
 return Index.class;
 }
  }
  ==web.xml
  ?xml version = '1.0' encoding = 'windows-1252'?
  web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 xmlns=
 http://java.sun.com/xml/ns/j2ee;
 descriptionEmpty web.xml file for Web Application/description
 filter
 filter-nameWicketApplication/filter-name
 
  filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class
 init-param
 param-nameapplicationClassName/param-name
 param-valuecom.mycompany.app.MyApplication/param-value
 /init-param
 /filter
 filter-mapping
 filter-nameWicketApplication/filter-name
 url-pattern/*/url-pattern
 /filter-mapping
 session-config
 session-timeout35/session-timeout
 /session-config
 mime-mapping
 extensionhtml/extension
 mime-typetext/html/mime-type
 /mime-mapping
 mime-mapping
 extensiontxt/extension
 mime-typetext/plain/mime-type
 /mime-mapping
  /web-app
  ===
  My infra stack is:
 
  Alteon SSL Aaccelerator url:
  https://www.mycompany.com/pls/myapp/
 
  Apache Proxy url:
  http://webserver:80/pls/myapp/
  Httpd.conf:
  ProxyPass   /pls  http://server:/pls/myapp/
  ProxyPassReverse/pls  http://server:/pls/myapp/
 
  Oracle Application Server url:
  http://server:/pls/myapp/
 
 
 
 

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




Re: What IDE best fits with Wicket?

2009-02-27 Thread nino martinez wael
Replying inline

2009/2/27 Emond Papegaaij emond.papega...@topicus.nl

 Some of the benefits are:
  - You can edit the pom and the results are immediately visible (like when
 editing java code).

Okay I see some benefit from this...


  - Working with snapshots is much easier. You just checkout the project and
 m2eclipse removes the jar dependency and adds a project dependency. This
 saves
 you from performing a deploy and eclipse:eclipse cycle on every update.

This too are done if you are working a multimodule project with maven and
use eclipse:eclipse


  - Eclipse projects are created automatically for multi-module projects.
 You
 don't have to import them by hand.

The same with mvn eclipse:eclipse if setup properly


  - You don't need a prompt to update.

True, but I actually like to build once in a while from cmd line, because
the fact that eclipse cant handle scopes.. So sometimes something goes
wrong, but you only discover it on your ci server...



 On Friday 27 February 2009 11:49:21 nino martinez wael wrote:
  Sure, if you change project structure, you need to invoke mvn
  eclipse:eclipse one projects that are changed.. But it works... And true
  it's not integrated in eclipse..
 
  I just dont see what the integrations bring, but It might just be because
 I
  too have been unlucky, when I tried m2eclipse...
 
  The subversion (subversive) integration though, that I see the benefits
 of
  (and for me it works 95% of the time)...
 
  2009/2/27 Emond Papegaaij emond.papega...@topicus.nl
 
   Yes, mvn eclipse:eclipse works, but it's not really integrating maven
 in
   eclipse. I have to run it manually after changing the pom or the
 project
   structure and it often results in a complete rebuild of all projects.
  
   On Friday 27 February 2009 10:08:58 nino martinez wael wrote:
I just use mvn eclipse:eclipse , it works every time :)
   
2009/2/27 Emond Papegaaij emond.papega...@topicus.nl
   
 That is the plugin Martijn is talking about, and I am one of the
 co-workers he
 mentioned. I tried the m2eclipse plugin and used it for a day. The
  
   plugin
  
 (version 0.9.7.200902090947) was able to checkout the project from
 svn and create eclipse projects for all modules, so far so good,
 although
  
   the
  
 browse
 button in the svn window didn't work. At that moment the trouble
  
   started.
  
 Somehow, after even the slightest code change, eclipse started to
  
   rebuild
  
 the
 entire project over and over, taking ages. After some more changes
  
   (some
  
 of them might have been in the pom), some of my projects got
 corrupted and I had
 to clean everything, doing a complete rebuild. A few hours later,
 while
  
   I
  
 was
 working on a Java file, about 30,000 errors suddenly appeared.
 Somehow, m2eclipse had reversed some of my module-to-module
 dependencies. I
  
   tried
  
 cleaning, updating, refreshing the project configuration, nothing
  
   helped.
  
 I was
 unable to get the project to build again.

 My experience with m2eclipse is that it is slow and very unstable.
 My
 last attempt was not the first attempt. I tried to use it several
  
   times,
  
 because running mvn eclipse:eclipse all the time is just a pain in
 the
  
   *,
  
 but every time I ran into some strange problem I could not solve.

 Emond Papegaaij

 On Thursday 26 February 2009 17:20:04 Brill Pappin wrote:
  I don't think we're talking about the same plugin then (although
  you seem to be calling it the same thing)...
  I'm referring to:
 
   http://m2eclipse.codehaus.org/
 
  It's the *only* one I've found that *actually works* properly,
  particularly for larger projects... although I run the dev
 version
  so I'm not sure how well the released version is working at this
  moment. Of course I could simply go back to the console and use
 the
  maven plugin to generate the eclipse project files, but I find
 the
  plugin
  
   to
  
  be light-years ahead in maintaining a clean build env.
 
  I guess people's experience with various tools also depends a lot
  on *how* they work not just what they work with :)
 
 
  - Brill Pappin
 
  On 24-Feb-09, at 12:38 PM, Martijn Dashorst wrote:
   m2eclipse is absolutely worthless for anything beyond a
   quickstart. It is constantly reparsing poms, grinding eclipse
 to
   a halt. It failed to generate the right project dependencies
 for
   our
  
   multimodule
  
   project that consists of 2 multimodule child projects. It
 failed
   miserably to uninstall, needing me to axe my eclipse
   installation.
  
   In short: my experience (and that of my co-workers) with
   m2eclipse
  
   is
  
   that it is far from ready for prime time.
  
   Martijn
  
   On Tue, Feb 24, 2009 at 5:55

Re: openstreetmap in openlayers

2009-03-10 Thread nino martinez wael
Seems you are on the right track, unfortunately im pretty busy for the time
being, new job + an daugther.. The idea for the wicket-openlayers.js are to
be a integrator between Openlayers.js and wicket so that it provides
facilities to call the wicket ajax back and forth etc. Thats it.. :)

regards Nino

2009/3/7 morbo richard.wiesin...@gmail.com


 I have to correct myself a little bit. The setCenter method does work! I
 had
 a problem with the coordinates, which were not in the right format. So,
 sorry for that.





 morbo wrote:
 
  Hi Nino,
 
  yes, I would love to contribute to this project. But I'm warning you, I
 am
  not a very experienced javascript developer. :)
 
  What I have done so far, was extending the layer class for all osm
 layers.
  For example I created a OSMMapnik class which contributes
  http://www.openstreetmap.org/openlayers/OpenStreetMap.js; to the header
  and the getJSConstructer method returns this: return new
  Constructor(OpenLayers.Layer.OSM.Mapnik).add(' + getName() +
  ').toJS();
 
  As you see, I am using the OSM object. This solution works but I think it
  would be nicer to use the TSM object, as I have done in my first attempt
  (see above). The problem is that the script does not find the
  osm_getTileURL method. I am not sure why.
 
  Furthermore I modified the setZoom method so, that it calls
  zoomTo(zoom). Thats all.
 
  Maybe, you could give a brief introduction how the project works. I am
 not
  sure if I understand all of your code. Especially the role of the
  wicket-openlayers.js file and event handling.
 
  richard
 
 
 
 
  nino martinez wael wrote:
 
  Hi Richard
 
  Im the author behind the openlayers contrib, I checked the code last
 time
  somewhere in end if december...
 
  Do you have some patches or further clues on whats not working?
 
 
  Im not directly using the openlayers integration currently so patches
 are
  very welcome, even co- coders would be nice :)
  regards Nino
 
  2009/3/6 morbo richard.wiesin...@gmail.com
 
 
  Thank you very much. That really helped a lot. I am now able to render
  the
  different openstreetmap layers (mapnik, ti...@home, cycleMap) with the
  above
  mentioned OpenLayers.Layer.OSM object.
 
  But there still exist some problems. It is not entirely possible to
 edit
  the
  maps with the wicketstuff project. Once the map is rendered there is no
  problem: dragging, zooming, layerswitching are working. But before
  rendering
  not all functions are working. For example the setCenter(lonlat, zoom)
  function of the wicketstuff openlayers contrib seems to do nothing with
  the
  map. Also the setZoom function did not worked at the beginning, but
  after
  some changes I got it working.
 
  I think the project is not entirely up to date with the openlayers api?
  Maybe a user who is more familiar with this project could give a
  statement
  about the problem.
 
 
 
 
 
  Michael O'Cleirigh wrote:
  
   Hello,
  
   Pink tiles means there is a mismatch somewhere between your layers.
  
   Does your openlayers javascript work correctly? (i.e. when not
 emitted
   from wicket openlayers?)
  
   This page embeds an openstreet map in openlayers:
   http://wiki.openstreetmap.org/wiki/OpenLayers
  
   But it doesn't use the OpenLayers.Layer.TMS object. It adds its own
   import (http://openstreetmap.org/openlayers/OpenStreetMap.js ) and
  uses
   an OpenLayers.Layer.OSM object.
  
   Perhaps your integration should use that instead?
  
   There is a ticket for something similiar that might get into
  OpenLayers
   2.8 (http://trac.openlayers.org/ticket/1950)
  
   Mike
  
   I tried a few things and I think I managed the integration of
   openstreetmaps.
   The browser is contacting the osm tile server BUT everything I get
  are
   pink
   tiles?
  
  
   Here is the output of the final html page:
  
   html
   head
   titleWicket Quickstart Archetype Homepage/title
   script type=text/javascript
  
 
 src=resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js/script
   script type=text/javascript
  
 
 src=resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js/script
   script type=text/javascript
  
 
 src=resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js/script
   script type=text/javascript
   id=wicket-ajax-debug-enable!--/*--![CDATA[/*!--*/
   wicketAjaxDebugEnable=true;
   /*--]]*//script
  
   script type=text/javascript
   src=http://openlayers.org/api/OpenLayers.js;/script
  
   script type=text/javascript
  
 
 src=resources/org.wicketstuff.openlayers.OpenLayersMap/wicket-openlayersmap.js/script
   script type=text/javascript !--/*--![CDATA[/*!--*/
   Wicket.Event.add(window, load, function(event) { function
   osm_getTileURL(bounds) {var res = this.map.getResolution();var x =
   Math.round((bounds.left - this.maxExtent.left) / (res *
   this.tileSize.w));var y = Math.round((this.maxExtent.top -
  bounds.top) /
   (res

Re: openstreetmap in openlayers

2009-03-10 Thread nino martinez wael
Next step for you would be to ask about permission on wicketstuff so you can
commit some of the changes you've done...

2009/3/10 nino martinez wael nino.martinez.w...@gmail.com

 Seems you are on the right track, unfortunately im pretty busy for the time
 being, new job + an daugther.. The idea for the wicket-openlayers.js are to
 be a integrator between Openlayers.js and wicket so that it provides
 facilities to call the wicket ajax back and forth etc. Thats it.. :)

 regards Nino

 2009/3/7 morbo richard.wiesin...@gmail.com


 I have to correct myself a little bit. The setCenter method does work! I
 had
 a problem with the coordinates, which were not in the right format. So,
 sorry for that.





 morbo wrote:
 
  Hi Nino,
 
  yes, I would love to contribute to this project. But I'm warning you, I
 am
  not a very experienced javascript developer. :)
 
  What I have done so far, was extending the layer class for all osm
 layers.
  For example I created a OSMMapnik class which contributes
  http://www.openstreetmap.org/openlayers/OpenStreetMap.js; to the
 header
  and the getJSConstructer method returns this: return new
  Constructor(OpenLayers.Layer.OSM.Mapnik).add(' + getName() +
  ').toJS();
 
  As you see, I am using the OSM object. This solution works but I think
 it
  would be nicer to use the TSM object, as I have done in my first attempt
  (see above). The problem is that the script does not find the
  osm_getTileURL method. I am not sure why.
 
  Furthermore I modified the setZoom method so, that it calls
  zoomTo(zoom). Thats all.
 
  Maybe, you could give a brief introduction how the project works. I am
 not
  sure if I understand all of your code. Especially the role of the
  wicket-openlayers.js file and event handling.
 
  richard
 
 
 
 
  nino martinez wael wrote:
 
  Hi Richard
 
  Im the author behind the openlayers contrib, I checked the code last
 time
  somewhere in end if december...
 
  Do you have some patches or further clues on whats not working?
 
 
  Im not directly using the openlayers integration currently so patches
 are
  very welcome, even co- coders would be nice :)
  regards Nino
 
  2009/3/6 morbo richard.wiesin...@gmail.com
 
 
  Thank you very much. That really helped a lot. I am now able to render
  the
  different openstreetmap layers (mapnik, ti...@home, cycleMap) with
 the
  above
  mentioned OpenLayers.Layer.OSM object.
 
  But there still exist some problems. It is not entirely possible to
 edit
  the
  maps with the wicketstuff project. Once the map is rendered there is
 no
  problem: dragging, zooming, layerswitching are working. But before
  rendering
  not all functions are working. For example the setCenter(lonlat, zoom)
  function of the wicketstuff openlayers contrib seems to do nothing
 with
  the
  map. Also the setZoom function did not worked at the beginning, but
  after
  some changes I got it working.
 
  I think the project is not entirely up to date with the openlayers
 api?
  Maybe a user who is more familiar with this project could give a
  statement
  about the problem.
 
 
 
 
 
  Michael O'Cleirigh wrote:
  
   Hello,
  
   Pink tiles means there is a mismatch somewhere between your layers.
  
   Does your openlayers javascript work correctly? (i.e. when not
 emitted
   from wicket openlayers?)
  
   This page embeds an openstreet map in openlayers:
   http://wiki.openstreetmap.org/wiki/OpenLayers
  
   But it doesn't use the OpenLayers.Layer.TMS object. It adds its own
   import (http://openstreetmap.org/openlayers/OpenStreetMap.js ) and
  uses
   an OpenLayers.Layer.OSM object.
  
   Perhaps your integration should use that instead?
  
   There is a ticket for something similiar that might get into
  OpenLayers
   2.8 (http://trac.openlayers.org/ticket/1950)
  
   Mike
  
   I tried a few things and I think I managed the integration of
   openstreetmaps.
   The browser is contacting the osm tile server BUT everything I get
  are
   pink
   tiles?
  
  
   Here is the output of the final html page:
  
   html
   head
   titleWicket Quickstart Archetype Homepage/title
   script type=text/javascript
  
 
 src=resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js/script
   script type=text/javascript
  
 
 src=resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js/script
   script type=text/javascript
  
 
 src=resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js/script
   script type=text/javascript
   id=wicket-ajax-debug-enable!--/*--![CDATA[/*!--*/
   wicketAjaxDebugEnable=true;
   /*--]]*//script
  
   script type=text/javascript
   src=http://openlayers.org/api/OpenLayers.js;/script
  
   script type=text/javascript
  
 
 src=resources/org.wicketstuff.openlayers.OpenLayersMap/wicket-openlayersmap.js/script
   script type=text/javascript !--/*--![CDATA[/*!--*/
   Wicket.Event.add(window, load, function(event) { function
   osm_getTileURL(bounds) {var res

Re: Need to minimize the names using Ajax

2009-03-11 Thread nino martinez wael
and if you use object autocomplete from extensions or is it wicketstuff
theres no limit to it :)

2009/3/11 Linda van der Pal lvd...@heritageagenturen.nl

 Just a slight addition, there is a wonderful example amongst the wicket
 examples on the site. They even limit the number of choices to ten.

 Linda

 Igor Vaynberg wrote:

 see AutoCompleteTextField

 -igor

 On Tue, Mar 10, 2009 at 8:14 AM, newbie_to_wicket sm.shaf...@gmail.com
 wrote:



 Hi All,
 I am using wicket framework.
 I have to achieve the functionality as I shown in the below image.
  http://www.nabble.com/file/p22437770/names.jpeg
 Whenever I pressed R in the textfield box then it should displays the
 names
 which contans R as the first letter.


 Thanks for your help
 J

 --
 View this message in context:

 http://www.nabble.com/Need-to-minimize-the-names-using-Ajax-tp22437770p22437770.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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





  


 No virus found in this incoming message.
 Checked by AVG - www.avg.com Version: 8.5.278 / Virus Database:
 270.11.10/1994 - Release Date: 03/10/09 19:51:00





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




Re: Large Scale Applications using Wicket

2009-03-13 Thread nino martinez wael
Yeah as people say, it's the business logic that will really be the
bottleneck..

2009/3/13 Willis Blackburn wbo...@panix.com

 I don't think that page serialization is going to be your bottleneck.

 I don't know what you're thinking when you say large scale.  Some folks
 think large scale means two server and others think Travelocity or Google.
  I developed a system in PHP that served about 20-50 pages per second.  This
 was PHP 4.  I don't know if things are different now, but in PHP 4, the PHP
 module interpreted every PHP page from scratch, loaded the session state
 from disk, rendered the page, and wrote the session state back to disk, with
 every request.  The time required to serialize the session to the disk and
 read it back every time was negligible.

 I suggest you write your Wicket app first, then analyze the performance and
 determine what you need to optimize.  It almost certainly won't be the
 serialization.  It will be your own code:  mostly database access and
 synchronized blocks.

 W




 On Mar 12, 2009, at 11:52 PM, subbu_tce wrote:


 Do we have any Clustering Solutions other than Terracotta that can
 integrate
 with Wicket to avoid serialization of pages to support development of
 applications in a large scale?

 Thanks,
 Subbu.
 --
 View this message in context:
 http://www.nabble.com/Large-Scale-Applications-using-Wicket-tp22489752p22489752.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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



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




Re: Wicket WebBeans Project...

2009-03-20 Thread nino martinez wael
+1 for wicket-candi :)


Re: Bingind a bean that has getters, but no setters

2009-03-24 Thread nino martinez wael
Hi Andrea

Did you use the openlayers integration project?

just curious...


regards Nino

2009/3/24 Andrea Aime aa...@opengeo.org

 Hi,
 I'm trying to make a component that edits the
 corners of a rectangle. The model of this
 component should be a JTS Envelope class:

 http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html?is-external=true

 This class has getters for minX,minY,maxX,maxY,
 but has no setters for them, you're supposed
 to call init(x1,x2,y1,y2) instead.

 Has anyone an idea of how to bind four text fields
 so that the model of my Panel is the JTS Envelope,
 the fields use the Envelope corners, but the
 update takes place as a single shot instead
 of a field by field basis (that I cannot do
 given the lack of setters?)

 Cheers
 Andrea

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




Re: Bingind a bean that has getters, but no setters

2009-03-24 Thread nino martinez wael
Ok, was just because the openlayer integration exposes the JTD objects...

No problem there..

2009/3/24 Andrea Aime aa...@opengeo.org

 nino martinez wael ha scritto:

 Hi Andrea

 Did you use the openlayers integration project?

 just curious...


 Nope, so far I did not. GeoServer has its own way
 to generate a OL client preview page which uses
 FreeMarker templates.

 Cheers
 Andrea

 --
 Andrea Aime
 OpenGeo - http://opengeo.org
 Expert service straight from the developers.

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




Re: Bingind a bean that has getters, but no setters

2009-03-24 Thread nino martinez wael
I guess you could look into the integration for inspiration on howto use
wicket it does some of the same stuf you are talking about

2009/3/24 nino martinez wael nino.martinez.w...@gmail.com

 Ok, was just because the openlayer integration exposes the JTD objects...

 No problem there..

 2009/3/24 Andrea Aime aa...@opengeo.org

 nino martinez wael ha scritto:

  Hi Andrea

 Did you use the openlayers integration project?

 just curious...


 Nope, so far I did not. GeoServer has its own way
 to generate a OL client preview page which uses
 FreeMarker templates.

 Cheers
 Andrea

 --
 Andrea Aime
 OpenGeo - http://opengeo.org
 Expert service straight from the developers.

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





Re: wicketstuff / ki / jsecurity

2009-03-25 Thread nino martinez wael
Yeah I've for one always been very pro for wicketstuff.. It's nice keeping
things in one place.. Plus as you write if we share a somewhat similar
structure it's potentially easier to maintain..

2009/3/24 Ryan McKinley ryan...@gmail.com

 Hi-

 I've been looking to integrate a complex security model with wicket --
 jsecurity seems really good.  I tried messing with:
 http://code.google.com/p/wicket-jsecurity/

 This appears to be a starting place, but does not have any running example.

 In an effort to get things running (and learn JSecurity) i took that +
 wicket-auth-roles and tried to make a functioning core + example.  I've got
 something running and would love to share it...

 Should I post this to the google code site?

 It makes more sense (to me) if we keep it in the wicketstuff repos -- that
 way we get the benefit of Jeremy's work to make wickettuff-core much
 cleaner.

 Thoughts?

 Ryan



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




Re: How to prevent a flickering when Ajax updates an Image

2009-03-25 Thread nino martinez wael
Hi

Must be the delay to your server (which is normal I think), I'd suggest
using something like scriptaculus and then a fade in / out effect. You could
possibly also just prefect it and replace it when fully loaded.

2009/3/24 santo_75 reinhard.vornh...@coredumped.de


 Hi there,

 i have a page that updates an image through a ajax request.

 Some Code first:

 public class MyPage extends WebPage{
private RenderedDynamicImageResource imageResourceMap;

 ...
 NonCachingImage map = new NonCachingImage(map, new PropertyModel(this,
 imageResourceMap)){
private static final long serialVersionUID = 1L;

@Override
protected void onBeforeRender() {
generateMap();
super.onBeforeRender();
}
};


AjaxLink lNorth = new AjaxLink(north_link, this.getModel()) {
@Override
public void onClick(AjaxRequestTarget target) {
 ...
target.addComponent(Overview.this.get(map));
}
};


private void generateMap(){
HexCoordinates hc = (HexCoordinates) getModelObject();
imageResourceMap = mapGenerationService.getMap(hc.getX(), hc.getY(),
 6);
}

   ...
 }

 html markup is this

 ...

 ...


 So my problem is, everytime I click the ajaxlink the image gets updated
 correctly but it flickers. Which is very unpleasant. Doesn't matter if I
 use
 IE or FF. Both show the flickering effect.

 Any help is greatly appreciated.
 Thanx
 Santo.

 --
 View this message in context:
 http://www.nabble.com/How-to-prevent-a-flickering-when-Ajax-updates-an-Image-tp22691158p22691158.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: How to prevent a flickering when Ajax updates an Image

2009-03-25 Thread nino martinez wael
Okay here are some pointers :

http://ninomartinez.wordpress.com/2008/09/09/apache-wicket-javascript-integration/
http://blog.jayway.com/2008/09/26/wicket-javascript-internals-dissected/

And I would probably make a hidden container in which the image loads(so
that the browser has it loaded), and then use scriptaculous to load it as a
replacement for the image..


2009/3/25 santo_75 reinhard.vornh...@coredumped.de


 Hi,

 well yes, I understand what you say. But I am not that deep into wicket an
 ajax yet... so right now, I don't know what to do next.

 Could you, or anyone else, give some details how to submit the image to the
 client-browser and not show it before it's fully loaded?


 thx
 Santo


 nino martinez wael wrote:
 
  Hi
 
  Must be the delay to your server (which is normal I think), I'd suggest
  using something like scriptaculus and then a fade in / out effect. You
  could
  possibly also just prefect it and replace it when fully loaded.
 
  2009/3/24 santo_75 reinhard.vornh...@coredumped.de
 
 
  Hi there,
 
  i have a page that updates an image through a ajax request.
 
  Some Code first:
 
  public class MyPage extends WebPage{
 private RenderedDynamicImageResource imageResourceMap;
 
  ...
  NonCachingImage map = new NonCachingImage(map, new PropertyModel(this,
  imageResourceMap)){
 private static final long serialVersionUID = 1L;
 
 @Override
 protected void onBeforeRender() {
 generateMap();
 super.onBeforeRender();
 }
 };
 
 
 AjaxLink lNorth = new AjaxLink(north_link, this.getModel()) {
 @Override
 public void onClick(AjaxRequestTarget target) {
  ...
 target.addComponent(Overview.this.get(map));
 }
 };
 
 
 private void generateMap(){
 HexCoordinates hc = (HexCoordinates) getModelObject();
 imageResourceMap = mapGenerationService.getMap(hc.getX(),
  hc.getY(),
  6);
 }
 
...
  }
 
  html markup is this
 
  ...
 
  ...
 
 
  So my problem is, everytime I click the ajaxlink the image gets updated
  correctly but it flickers. Which is very unpleasant. Doesn't matter if I
  use
  IE or FF. Both show the flickering effect.
 
  Any help is greatly appreciated.
  Thanx
  Santo.
 
  --
  View this message in context:
 
 http://www.nabble.com/How-to-prevent-a-flickering-when-Ajax-updates-an-Image-tp22691158p22691158.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/How-to-prevent-a-flickering-when-Ajax-updates-an-Image-tp22691158p22697431.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: AttributeModifier in AjaxLink's onClick. Possible?

2009-03-25 Thread nino martinez wael
No theres a ajax decorator you can override instead, or something like it...

2009/3/25 CrocodileShoes markjohndo...@googlemail.com


 Can I do this?

 MarkupContainer facetNameLink = new AjaxLink(facetNameLink) {
  @Override
  public void onClick(AjaxRequestTarget target) {
// Get the dataprovider's query response
SolrQuery query = responseModel.getQuery();
// Set the query back to the beginning.
query.setStart(0);
// Add the clicked facet as a filter query on the solr query
query.addFilterQuery(ffcount.getAsFilterQuery());

this.add(new SimpleAttributeModifier(id, facetFieldTitleSelected));
target.addComponent(this);
this.setResponsePage(getPage());
  }
 }.add(new Label(facetName, ffcount.getName()));

 facetNameLink.setOutputMarkupId(true);


 Nothing seems to change in the markup so i'm doing something stupid
 somewhere.  Note everything else works as expected apart from the
 AttributeModifier.

 Cheers
 --
 View this message in context:
 http://www.nabble.com/AttributeModifier-in-AjaxLink%27s-onClick.--Possible--tp22697831p22697831.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: best way to add tooltips in wicket

2009-03-25 Thread nino martinez wael
Hehe, we have several ways of doing it...

Theres two in wicketstuff minies.. ProtoTip and Mootip, both can do many
things.. The mootip has an example page for you aswell..

You can see the video at the end of this article for a small demo:

http://ninomartinez.wordpress.com/2008/09/09/apache-wicket-javascript-integration/

regards Nino

2009/3/25 RoyBatty math...@afjochnick.net


 Hello,

 i'm quite new to Wicket, and i'm trying to see what is the most common way
 of adding tooltip texts to for example a Label in wicket.

 I did find the 10-point-wiki about tooltips
 (http://cwiki.apache.org/WICKET/how-to-add-tooltips.html), which seemed
 quite complicated to me, so I thought i'd go and look if there was a
 smoother way.

 I found the dojo-package which seemed ok at first, but when i looked at the
 tutorial page
 (http://wicketstuff.org/confluence/display/STUFFWIKI/DojoTutorials), it
 noted all the tooltip-related sections as obsolete, but no further
 indication as to why this is the case...

 Can anybody help me out a bit here? Can I use dojo, or is there something
 better that people use, that hopefully is pretty easy to set up in my
 wicket
 project?

 Thankful for pointers.
 --
 View this message in context:
 http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22697930.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: AttributeModifier in AjaxLink's onClick. Possible?

2009-03-25 Thread nino martinez wael
No problem :)

2009/3/25 CrocodileShoes markjohndo...@googlemail.com


 Ah Ok.  After a quick search through the wiki I came up with this:

 @Override
 protected IAjaxCallDecorator getAjaxCallDecorator() {
  return new AjaxCallDecorator() {
public CharSequence decorateScript(CharSequence script) {
  // add Javascript to change id here
  return  + script;
}
  };
 }

 Now I have to look up the Javascript.

 Thanks, Nino.
 --
 View this message in context:
 http://www.nabble.com/AttributeModifier-in-AjaxLink%27s-onClick.--Possible--tp22697831p22698229.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: best way to add tooltips in wicket

2009-03-25 Thread nino martinez wael
no you should use this one for 1.4

http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-minis/1.4.0-SNAPSHOT/

But it should be the result of this one :

https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/minis-parent/

Im not sure where Jeremys server deploy to...

2009/3/25 CrocodileShoes markjohndo...@googlemail.com


 I've basically followed the same route as you.  I think i'll try mootips as
 well.

 Looks like there is a Maven repo here:

 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-minis/1.3.0-SNAPSHOT/


 RoyBatty wrote:
 
  Right, thanks. I did find that one, but decided to try Dojo out first (it
  looked pretty simple from the examples). Dojo, it seems, has no build for
  1.4 in their repository, and i can't build it myself for various reasons.
 
  So i guess i'll have a go at minis... cheers.
 

 --
 View this message in context:
 http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22698603.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: best way to add tooltips in wicket

2009-03-25 Thread nino martinez wael
I think this is pretty simple aswell :

add(new Label(tooltip01, this is tool tip 01)
.add(new MootipBehaviour(
This is my tool tip,
I can be very long and even 
have formatting like br / and be
strongstrong/strong)));

And if you need something more it just uses panels..

add(new MootipPanel());
MootipSettings mooSettings=new MootipSettings();
mooSettings.setEvalAlways(true);
MootipBehaviour behaviour=new MootipBehaviour(new MooPanel());
behaviour.setMootipSettings(mooSettings);

add(new Label(tooltip02, this is tool tip 02)
.add(behaviour));


2009/3/25 RoyBatty math...@afjochnick.net

 Right, thanks. I did find that one, but decided to try Dojo out first (it
 looked pretty simple from the examples). Dojo, it seems, has no build for
 1.4 in their repository, and i can't build it myself for various reasons.

 So i guess i'll have a go at minis... cheers.
 --
 View this message in context: 
 http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22698514.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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


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



Re: wicketstuff / ki / jsecurity

2009-03-25 Thread nino martinez wael
2009/3/25 Martin Funk mafulaf...@googlemail.com:

 Am 25.03.2009 um 10:17 schrieb nino martinez wael:

 The problem with wicket stuff have been cleared up a bit, the part about
 which projects are dead and not.. Those in wicketstuff-core are alive, and
 if they become incompatible with the current version of wicket they will
 be
 kicked..

 are they? I mean alive.

AFAIK inmethod are not part of wicketstuff core
 Locking here:
 http://wicketstuff.org/teamcity/viewLog.html?buildId=3486tab=buildResultsDivbuildTypeId=bt35
 I'd say it's at least not compiling no more.

 Could someone please fix that?

 mf



 2009/3/25 Maarten Bosteels mbosteels@gmail.com

 Hi Ryan,

 I added you to the Project Members, so feel free to commit your examples.
 Unfortunately, until now I haven't had time to work on it myself

 The idea was to let the code mature in
 http://code.google.com/p/wicket-jsecurity/
 and maybe move it to wicket-stuff later on.

 Maybe we should move it to wicket-stuff already.
 My main problem with wicket-stuff is/was that it's not always very clear
 which projects are still alive and maintained and which are practically
 dead. And at the time, wicket-stuff had some problems with continuous
 integration, IIRC.

 Les, what do you think ?
 We should change the project name to wicket-ki anyway.

 regards,
 Maarten

 On Wed, Mar 25, 2009 at 7:47 AM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

 Yeah I've for one always been very pro for wicketstuff.. It's nice

 keeping

 things in one place.. Plus as you write if we share a somewhat similar
 structure it's potentially easier to maintain..

 2009/3/24 Ryan McKinley ryan...@gmail.com

 Hi-

 I've been looking to integrate a complex security model with wicket --
 jsecurity seems really good.  I tried messing with:
 http://code.google.com/p/wicket-jsecurity/

 This appears to be a starting place, but does not have any running

 example.

 In an effort to get things running (and learn JSecurity) i took that +
 wicket-auth-roles and tried to make a functioning core + example.  I've

 got

 something running and would love to share it...

 Should I post this to the google code site?

 It makes more sense (to me) if we keep it in the wicketstuff repos --

 that

 way we get the benefit of Jeremy's work to make wickettuff-core much
 cleaner.

 Thoughts?

 Ryan



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






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



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



Re: Getting confirmation Javascript function value in wicket

2009-03-25 Thread nino martinez wael
see this thread
http://www.nabble.com/AttributeModifier-in-AjaxLink%27s-onClick.--Possible--tp22697831p22698229.html

2009/3/25 vela vela@gmail.com:

 Hello,

 I have a  AjaxFallbackLink and on click of it, the application performs some
 action. But the application should continue only based on the confirmation
 dialog value of the java script.

 Lets say, the code is like this.

 add(new AjaxFallbackLink(delete)
 {
   public void onClick(AjaxRequestTarget target)
   {
             target.appendJavascript(confirm('do you wanna to delete'););
             // how to find the confirm dialog value whether ok or cancel is
 selected


  }
 });

 How to acheive this?
 If there is any other way to achieve it,  please give an example.
 --
 View this message in context: 
 http://www.nabble.com/Getting-confirmation-Javascript-function-value-in-wicket-tp22699158p22699158.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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



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



Re: WYSIWYG component

2009-03-25 Thread nino martinez wael
There is some fix, where you preload(use a headercontributer) the
tinymce script on the page where the ajaxtabbedPanel are.. Last time I
did this where for 1.3...

2009/3/25 Daniel Ferreira Castro dfcas...@gmail.com:
 I solved the problem.
 The problem was due a incompatibility of TinyMCE with AjaxTabbedPanel.
 After I change it to TabbedPanel it worked.


 On Tue, Mar 24, 2009 at 6:19 PM, Daniel Ferreira Castro
 dfcas...@gmail.comwrote:

 I am still trying to make tinymce work on my project.  But I only get a
 simple text area.
 So I start to look for dependencies that could be missing.

 I downloaded the TinyMCE from here - http://tinymce.moxiecode.com/
 Unzipped and imported every artificat to my project.

 Added all the resources, javascripts and css, present on the examples on my
 Panel


 add(JavascriptPackageResource.getHeaderContribution(CadastroNewsletterPanel.class,
         ./javascript/tiny_mce.js));

 add(JavascriptPackageResource.getHeaderContribution(CadastroNewsletterPanel.class,
         ./javascript/lists/template_list.js));

 add(JavascriptPackageResource.getHeaderContribution(CadastroNewsletterPanel.class,
         ./javascript/lists/link_list.js));

 add(JavascriptPackageResource.getHeaderContribution(CadastroNewsletterPanel.class,
         ./javascript/lists/image_list.js));

 add(JavascriptPackageResource.getHeaderContribution(CadastroNewsletterPanel.class,
         ./javascript/lists/media_list.js));

 add(CSSPackageResource.getHeaderContribution(CadastroNewsletterPanel.class,
         ./css/content.css));

 Cleaned the project
 Built the Project
 Restarted the jetty and launched the application.

 Nothing happened.
 Please, could anyone help me?


 On Fri, Mar 13, 2009 at 7:32 PM, Daniel Ferreira Castro 
 dfcas...@gmail.com wrote:

 Great :) Thanks :)
 The Exception stopped from ocurring, but I still have the problem of only
 showing a TextArea without the look of an WYSWYG edit text area.
 I looked inside
 https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/tinymce-parent/tinymce-examples/src/main/java/wicket/contrib/examples/tinymce/and
  subdirs but did not find any war file that I could look inside for how
 the markup html is written.  I did as the example showed, but did not have
 success.


 If anyone can help me...

 This is my implementation

 ---
 NewsletterForm.java
 ---

 package com.jasp.ecommfwk.pages.newsleter.forms;

 import org.apache.wicket.ajax.AjaxRequestTarget;
 import org.apache.wicket.ajax.markup.html.form.AjaxButton;
 import org.apache.wicket.markup.html.basic.Label;
 import org.apache.wicket.markup.html.form.Form;
 import org.apache.wicket.markup.html.form.TextArea;
 import org.apache.wicket.markup.html.panel.FeedbackPanel;
 import org.apache.wicket.model.Model;
 import org.apache.wicket.model.StringResourceModel;

 import wicket.contrib.tinymce.TinyMceBehavior;
 import wicket.contrib.tinymce.settings.ContextMenuPlugin;
 import wicket.contrib.tinymce.settings.DateTimePlugin;
 import wicket.contrib.tinymce.settings.DirectionalityPlugin;
 import wicket.contrib.tinymce.settings.EmotionsPlugin;
 import wicket.contrib.tinymce.settings.FullScreenPlugin;
 import wicket.contrib.tinymce.settings.IESpellPlugin;
 import wicket.contrib.tinymce.settings.MediaPlugin;
 import wicket.contrib.tinymce.settings.PastePlugin;
 import wicket.contrib.tinymce.settings.PreviewPlugin;
 import wicket.contrib.tinymce.settings.PrintPlugin;
 import wicket.contrib.tinymce.settings.SavePlugin;
 import wicket.contrib.tinymce.settings.SearchReplacePlugin;
 import wicket.contrib.tinymce.settings.SpellCheckPlugin;
 import wicket.contrib.tinymce.settings.TablePlugin;
 import wicket.contrib.tinymce.settings.TinyMCESettings;

 import com.jasp.ecommfwk.pages.forms.BaseForm;
 import com.jasp.persistence.admin.Newsletter;

 public class NewsletterForm extends BaseForm {
     private static final String TEXT = pimg src=\logo.jpg\ alt=\ \
 hspace=\5\ vspace=\5\ width=\250\ height=\48\ align=\right\ /
         + TinyMCE is a platform independent web based Javascript HTML
 strongWYSIWYG/strong editor control released as Open Source under LGPL
 by Moxiecode Systems AB. 
         + It has the ability to convert HTML TEXTAREA fields or other
 HTML elements to editor instances. TinyMCE is very easy to integrate into
 other Content Management Systems./p
         + pWe recommend a href=\http://www.getfirefox.com\;
 target=\_blank\Firefox/a and a href=\http://www.google.com\;
 target=\_blank\Google/a br //p;

     private static final long serialVersionUID = 2335975457449309765L;
     private final StringResourceModel labelNewsletterValue = new
 StringResourceModel(
             news.newsletter, this, null, new Object[] { getLocale() });

     private Label labelNews;

     private TextArea StringnewsLetterContent;
     private AjaxButton cadastrar;
     private FeedbackPanel feedbackPanel;

Re: Xml models [Was: Making wicket work with Dynamically created html]

2009-03-25 Thread nino martinez wael
This again makes me wonder how the cglibproxy thing are comming along?

2009/3/25 Erik van Oosten e.vanoos...@grons.nl:
 Haha, yes ugly, but very clear.

 In any case, using bind (as on CompoundPropertyModel) works as well. That
 way you can use proper component ids in combination with XPath-like property
 expression.



 Johan Compagner wrote:

 do you really use such ugly id's? :)

 On Tue, Mar 24, 2009 at 15:15, Erik van Oosten e.vanoos...@grons.nl
 wrote:



 Interesting.

 I think we have something similar. We do stuff like
  new TextField(/addresses/address[1]/street)
 and this will automatically bind the text field to a node in the XML
 document that was attached to the form.

 Regards,
  Erik.


 Jan Kriesten wrote:



 I did something like that with XML specifying the form and having a
 ElementModel
 binding the form elements to JDOM nodes.

 Best regards, --- Jan.




 --
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/


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



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



Re: best way to add tooltips in wicket

2009-03-25 Thread nino martinez wael
The newer version of prototip js is a commercial license, so im not
sure what the future are for it.. Mootip are not..

2009/3/25 RoyBatty math...@afjochnick.net:

 I've only tried prototip (obviously...) so far, and it seems to do everything
 i need. :)


 I have one more question though... For minis, all resources - images,
 js-files and most importantly, .css-files  - are located in the same package
 as the java classes inside the jar. But i'll want to change most of the
 css-stuff related to the popup boxes.

 How is this best done with wicket? I can't just add it to a spontaneous CSS
 i have, since the prototip is included below my own css in the HTML header
 and will override anything in my css.
 --
 View this message in context: 
 http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22703629.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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



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



Re: Xml models [Was: Making wicket work with Dynamically created html]

2009-03-25 Thread nino martinez wael
yup thats the one, and thanks for answering

2009/3/25 Johan Compagner jcompag...@gmail.com:
 you mean the PropertyModel based on proxies (there is an issue in jira for
 that)

 I have some code working yes. But the problem is that commons-proxy isnt
 good enough yet to use
 (because we in wicket need to make a decision which proxy to use up front)

 Or i could just go for the default jdk proxy.

 the best thing was if commons proxy would work like slf4j

 johan

 On Wed, Mar 25, 2009 at 14:44, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

 This again makes me wonder how the cglibproxy thing are comming along?

 2009/3/25 Erik van Oosten e.vanoos...@grons.nl:
  Haha, yes ugly, but very clear.
 
  In any case, using bind (as on CompoundPropertyModel) works as well. That
  way you can use proper component ids in combination with XPath-like
 property
  expression.
 
 
 
  Johan Compagner wrote:
 
  do you really use such ugly id's? :)
 
  On Tue, Mar 24, 2009 at 15:15, Erik van Oosten e.vanoos...@grons.nl
  wrote:
 
 
 
  Interesting.
 
  I think we have something similar. We do stuff like
   new TextField(/addresses/address[1]/street)
  and this will automatically bind the text field to a node in the XML
  document that was attached to the form.
 
  Regards,
   Erik.
 
 
  Jan Kriesten wrote:
 
 
 
  I did something like that with XML specifying the form and having a
  ElementModel
  binding the form elements to JDOM nodes.
 
  Best regards, --- Jan.
 
 
 
 
  --
  Erik van Oosten
  http://www.day-to-day-stuff.blogspot.com/
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

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




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



Re: best way to add tooltips in wicket

2009-03-25 Thread nino martinez wael
ohh and yeah mootip supports ajax tips, tool tips loaded via ajax...
very usefull if you have lots of tips with images / animations...

2009/3/25 nino martinez wael nino.martinez.w...@gmail.com:
 The newer version of prototip js is a commercial license, so im not
 sure what the future are for it.. Mootip are not..

 2009/3/25 RoyBatty math...@afjochnick.net:

 I've only tried prototip (obviously...) so far, and it seems to do everything
 i need. :)


 I have one more question though... For minis, all resources - images,
 js-files and most importantly, .css-files  - are located in the same package
 as the java classes inside the jar. But i'll want to change most of the
 css-stuff related to the popup boxes.

 How is this best done with wicket? I can't just add it to a spontaneous CSS
 i have, since the prototip is included below my own css in the HTML header
 and will override anything in my css.
 --
 View this message in context: 
 http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22703629.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




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



Re: number of active users

2009-03-25 Thread nino martinez wael
yeah search the list i did something once but its not a great solution
and it does not work when clustering

2009/3/25 Andreas Kaluza kal...@rhrk.uni-kl.de:
 Hi @ all,



 I'm using Wicket 1.35 with a jetty server. My question is if I can get the
 number of the active users, who are logged in the system. Perhaps getting
 the number of active sessions or something like that. Is there a solution
 for my problem?



 Greetings







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



Re: freelance gig

2009-03-26 Thread nino martinez wael
I think what are mentioned in the article are the Grand redesign, I
do not think this is the case here, also since the dead line are in a
month or two..

2009/3/25 Phillip Rhodes spamsu...@rhoderunner.com:
 It's just rewriting the UI.  Most of the code is behind spring services, so 
 this is hardly a 100% rewrite, it's just a rewrite of the UI layer.

 Please bear in mind that we are not rewriting the application just to get 
 from webframework a into webframework b.  Even if I kept it in webframe a, 
 everything needs to be changed.  The entire security paradigm has changed, 
 every screen has changed.  Not much reuse will be achieved by trying to 
 enhance the old application.


 -Original Message-
 From: Martin Makundi martin.maku...@koodaripalvelut.com
 Sent: Wednesday, March 25, 2009 2:58pm
 To: users@wicket.apache.org
 Subject: Re: freelance gig

 Don't do it: http://www.joelonsoftware.com/articles/fog69.html

 **
 Martin

 2009/3/25 Phillip Rhodes spamsu...@rhoderunner.com:
 I apologize for this posting, but being a fellow wicket enthusiast who needs 
 some help, I wouldn't have minded seeing such a posting.  For our project, 
 we are implementing a new user interface.  The existing UI is written using 
 another java-based web framework, and many of the elements of the new 
 interface requires components (i.e. Modal popups, trees) that either do not 
 exist in this framework or are buggy.
 Most of the application code is in the service layer and not the UI layer, 
 so given the vastly different UI, a total UI rewrite is necessary.

 The project is to implement a newly redesigned UI using wicket.  The wicket 
 UI will interface with an already written suite of spring services that work 
 with hibernate to persist data to the database.  In addition to hibernate, 
 the spring services layer will integrate with Lucene.  Ideally, the person 
 to do this work is already familiar with wicket, spring, hibernate and 
 Lucene.  Of most importance is familiarity with wicket.

 The work can be done remotely, and we will be working together (splitting 
 out the components, pages, etc) to deliver a new UI.  Delivery is slated for 
 mid-may.  Please email me (off the mailing list of course) if you are 
 interested, how your experience matches what i need and what your rate 
 requirements are.

 Thanks, and I apologize for the non-development question.
 Phillip



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



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




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



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



Re: number of active users

2009-03-26 Thread nino martinez wael
it's this one:

http://www.nabble.com/Session-end-method-td18020171.html#a18024174

was pretty good hidden

2009/3/26 Jeremy Thomerson jer...@wickettraining.com:
 the list = this mailing list

 search it on nabble

 --
 Jeremy Thomerson
 http://www.wickettraining.com



 On Wed, Mar 25, 2009 at 7:10 PM, Andreas Kaluza kal...@rhrk.uni-kl.dewrote:

 Thx for the reply!

 1) In which class do I find the list?
 2) Has someone another idea, for my problem?

 Greetz


  -Ursprüngliche Nachricht-
  Von: nino martinez wael [mailto:nino.martinez.w...@gmail.com]
  Gesendet: Mittwoch, 25. März 2009 20:18
  An: users@wicket.apache.org
  Betreff: Re: number of active users
 
  yeah search the list i did something once but its not a great solution
  and it does not work when clustering
 
  2009/3/25 Andreas Kaluza kal...@rhrk.uni-kl.de:
   Hi @ all,
  
  
  
   I'm using Wicket 1.35 with a jetty server. My question is if I can
  get the
   number of the active users, who are logged in the system. Perhaps
  getting
   the number of active sessions or something like that. Is there a
  solution
   for my problem?
  
  
  
   Greetings
  
  
  
  
  
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org


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




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



Re: best way to add tooltips in wicket

2009-03-26 Thread nino martinez wael
Ok thanks about the pointer, I correct the url.. I forgot todo it
after minis was adopted into wicketstuff core

2009/3/26 RoyBatty math...@afjochnick.net:

 OK, OK, i get it, everyone loves MooTip :)

 The reason i started out with prototip was actually that the mootip
 example link on the wicketstuff-minis page was broken.
 (http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis).

 But if it's easier to change the CSS setting for MooTip i guess i'll try it
 out...


 nino martinez wael wrote:

 ohh and yeah mootip supports ajax tips, tool tips loaded via ajax...
 very usefull if you have lots of tips with images / animations...


 --
 View this message in context: 
 http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22717577.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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



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



Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-17 Thread nino martinez wael
Why will you lose that?

2009/8/17 Gonzalo Aguilar Delgado g...@aguilardelgado.com:
 Sure?


 But I will loose control over how transactions are managed...



 El vie, 14-08-2009 a las 22:14 +0200, nino martinez wael escribió:

 Yup so you should either use open session in view or more preferred
 AFAIK detachable models.

 2009/8/14 Russell Simpkins russellsimpk...@hotmail.com:
 
  Errors like those are caused when the hibernate session is closed too soon.
  https://www.hibernate.org/43.html
  Russ
 
  Subject: Re: CORRECT portlet+spring+hibernate configuration (Two options, 
  what's right?)
  From: g...@aguilardelgado.com
  To: users@wicket.apache.org
  Date: Fri, 14 Aug 2009 11:01:05 +0200
 
  About the error I mentioned the exception it throws is:
 
  Caused by: org.hibernate.LazyInitializationException: failed to lazily
  initialize a collection of role:
  com.level2crm.hibernate.generated.User.contactBasicDetails, no session
  or session was closed
        at
  org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)
        at
  org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350)
        at
  org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:97)
        at
  org.hibernate.collection.PersistentSet.isEmpty(PersistentSet.java:146)
        at 
  com.level2crm.portals.crm.wicket.customerdetail.pages.ViewModePage
  $1.load(ViewModePage.java:54)
        at
  org.apache.wicket.model.LoadableDetachableModel.getObject(LoadableDetachableModel.java:122)
        at
  org.apache.wicket.Component.getDefaultModelObject(Component.java:1664)
        at
  org.apache.wicket.markup.html.list.ListView.getViewSize(ListView.java:221)
        at
  org.apache.wicket.markup.html.list.ListView.onPopulate(ListView.java:525)
        at
  org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:131)
        at
  org.apache.wicket.Component.internalBeforeRender(Component.java:1061)
        at org.apache.wicket.Component.beforeRender(Component.java:1095)
        at
  org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1751)
        ... 109 more
 
 
  May this have something to do with selected configuration?
 
  Thank you again.
 
 
  El vie, 14-08-2009 a las 10:53 +0200, Gonzalo Aguilar Delgado escribió:
 
   Hi again,
  
   For a shake of completeness y will provide two of the working
   configurations I've found to work. I would know what's the one
   correct and why. Someone can throw a little bit light on this issue,
   please?
  
   -=[ First Choice ]=-
  
  
   -
   web.xml
   -
   ?xml version=1.0 encoding=UTF-8?
   !--
     Licensed to the Apache Software Foundation (ASF) under one
     or more contributor license agreements.  See the NOTICE file
     distributed with this work for additional information
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     License); you may not use this file except in compliance
     with the License.  You may obtain a copy of the License at
  
      http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing,
     software distributed under the License is distributed on an
     AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.
   --
   web-app xmlns=http://java.sun.com/xml/ns/j2ee;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=2.4
       xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
   http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
       display-nameMy Portlet Application/display-name
  
       !-- For deploying on Websphere: disable WebSphere default
   portletcontainer
            However: if you actually want to deploy on WebSphere Portal,
   comment the following out --
  
       context-param
  
   param-namecom.ibm.websphere.portletcontainer.PortletDeploymentEnabled/param-name
           param-valuefalse/param-value
       /context-param
  
       !-- This is for Spring self configuration --
       context-param
               param-namecontextConfigLocation/param-name
               param-value/WEB-INF/applicationContext.xml/param-value
       /context-param
  
       listener
  
   listener-classorg.springframework.web.context.ContextLoaderListener/listener-class
       /listener
  
       !-- Enable the filters for Hibernate (How to check it's 
   working?)--
  
       filter
               filter-nameopensessioninview/filter-name
  
   filter-classorg.springframework.orm.hibernate3.support.OpenSessionInViewFilter/filter-class
       /filter

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-17 Thread nino martinez wael
Hmm

I have several suggestions.

The order of the web filters are important. You could also try with
with the wicket spring managed apps, im not sure how that applies.

And are you sure that your filter ( /hibernate/*), get's hit? What's
your wicket filter url, the same or?

2009/8/17 Gonzalo Aguilar Delgado g...@aguilardelgado.com:
 Ok. Maybe I don't understand...

 Let me show the situation. I have Spring + portlet + hibernate config
 with transactions working with the current configuration:

 I have my DAO objects under package
 com.level2crm.hibernate.enterprise.dao.contact
 And model under com.level2crm.model

 I configured one advice:
        tx:advice id=txAdvice transaction-manager=txManager
                !-- the transactional semantics... --
                tx:attributes
                        !-- all methods starting with 'get' are read-only --
                        tx:method name=get*  propagation=REQUIRED 
 read-only=true /
                        !-- other methods use the default transaction 
 settings (see below)
 --
                        tx:method name=*  propagation=REQUIRED / !--
 propagation=SUPPORTS --
                /tx:attributes
        /tx:advice

 And several pointcuts:
        aop:config
                aop:pointcut id=allModelOperation expression=execution(*
 com.level2crm.model..*+.*(..))/
                aop:advisor advice-ref=txAdvice
 pointcut-ref=allModelOperation/
        /aop:config

        aop:config
                aop:pointcut id=allDAO expression=execution(*
 com.level2crm.hibernate.enterprise.dao..*+.*(..))/
                aop:advisor advice-ref=txAdvice pointcut-ref=allDAO/
        /aop:config

        aop:config
                aop:pointcut id=TRG expression=execution(*
 com.trg.dao.hibernate.*+.*(..))/
                aop:advisor advice-ref=txAdvice pointcut-ref=TRG/
        /aop:config

 !-- This one does not work --
    aop:config
                aop:pointcut id=portlets expression=execution(*
 com.level2crm.portals.crm.wicket.customerlist.pages..*+.*(..))/
                aop:advisor advice-ref=txAdvice pointcut-ref=portlets/
        /aop:config

 I tried to configure the open session in view (web.xml):
        listener

 listener-classorg.springframework.web.context.ContextLoaderListener/listener-class
        /listener

        !-- Enable the filters for Hibernate --

        filter
                filter-nameopensessioninview/filter-name

 filter-classorg.springframework.orm.hibernate3.support.OpenSessionInViewFilter/filter-class
        /filter
        filter-mapping
                filter-nameopensessioninview/filter-name
                url-pattern/hibernate/*/url-pattern
        /filter-mapping
        !-- END hibernate filters --



 But I found that this does not work. Because:


 public class ViewModePage extends org.apache.wicket.markup.html.WebPage
 {
 ...

       �...@springbean(name = userDAOBean)
        private UserDAO userDAO;


        IModel loadableUserModel = new LoadableDetachableModel() {

               �...@override
                protected Object load(){
                        User selectedUser = null;
                        String value =
 ((PortletRequestContext)RequestContext.get()).getPortletRequest().getParameter(crmportal:userId);
                        if(value!=null)
                        {
                                UuidUserType uuid = 
 UuidUserType.fromString(value); //Works!!
                                userDAO.testSessoion(uuid);//Works!!

                                selectedUser = userDAO.find(uuid);//Works!!

                                if(!userDAO.isAttached(selectedUser)) 
 //Works!! But is not
 attached!!!
                                {

                                        userDAO.save(selectedUser); //Attach 
 it     //Works!! It
 saves/updates the object but it's still not attached
                                }



                                SetContactBasicDetail setDetails =
 selectedUser.getContactBasicDetails(); //Works!! It gets the set
                                setDetails.isEmpty(); // FAIL FAIL Cannot load 
 lazy

                                return setDetails.toArray();
                        }
                        return null;
                }


        };
 ...
 }


 This load() function does not work! It makes the exception. But:


        1.- It can get the User. Because the pointcut works inside the
        DAO?
        2.- It can save the object. Because the pointcut works inside
        the DAO?
        3.- It can get the Set. Because the pointcut works inside the
        DAO?


 The  userDAO.testSessoion(uuid); function inside the DAO object works.
 What I do is to get the Hibernate session, check that is ok. And check
 also if the transaction was created and I can attach and use object.
 Inside the userDAO.testSessoion function I do the same code that in the
 load() function but this time everything works!

 I'm sure that it works because 

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-18 Thread nino martinez wael
Happy to help, please see further answers below.

2009/8/17 Gonzalo Aguilar Delgado g...@aguilardelgado.com:


 I have several suggestions.

 The order of the web filters are important. You could also try with
 with the wicket spring managed apps, im not sure how that applies.

 Will check. I didn't know about filter order... Will also check it.
 Thanks!



 And are you sure that your filter ( /hibernate/*), get's hit? What's
 your wicket filter url, the same or?


 No, It's different. Can I set it to just /*? Should I do it that way?
Well it depends, if the hibernate filter should be activated at the
same url's as wicket.

I've never had a case where my wicket filter and osiw did not match.
You might have performance increases if they differ, for example if
you know that you willl never use hibernate on /myapp/ but always put
in /myapp/pages/dynamic/*  for pages that use db lookup..

 Thank you very much for your answers...




 2009/8/17 Gonzalo Aguilar Delgado g...@aguilardelgado.com:
  Ok. Maybe I don't understand...
 
  Let me show the situation. I have Spring + portlet + hibernate config
  with transactions working with the current configuration:
 
  I have my DAO objects under package
  com.level2crm.hibernate.enterprise.dao.contact
  And model under com.level2crm.model
 
  I configured one advice:
         tx:advice id=txAdvice transaction-manager=txManager
                 !-- the transactional semantics... --
                 tx:attributes
                         !-- all methods starting with 'get' are read-only 
  --
                         tx:method name=get*  propagation=REQUIRED 
  read-only=true /
                         !-- other methods use the default transaction 
  settings (see below)
  --
                         tx:method name=*  propagation=REQUIRED / !--
  propagation=SUPPORTS --
                 /tx:attributes
         /tx:advice
 
  And several pointcuts:
         aop:config
                 aop:pointcut id=allModelOperation expression=execution(*
  com.level2crm.model..*+.*(..))/
                 aop:advisor advice-ref=txAdvice
  pointcut-ref=allModelOperation/
         /aop:config
 
         aop:config
                 aop:pointcut id=allDAO expression=execution(*
  com.level2crm.hibernate.enterprise.dao..*+.*(..))/
                 aop:advisor advice-ref=txAdvice pointcut-ref=allDAO/
         /aop:config
 
         aop:config
                 aop:pointcut id=TRG expression=execution(*
  com.trg.dao.hibernate.*+.*(..))/
                 aop:advisor advice-ref=txAdvice pointcut-ref=TRG/
         /aop:config
 
  !-- This one does not work --
     aop:config
                 aop:pointcut id=portlets expression=execution(*
  com.level2crm.portals.crm.wicket.customerlist.pages..*+.*(..))/
                 aop:advisor advice-ref=txAdvice pointcut-ref=portlets/
         /aop:config
 
  I tried to configure the open session in view (web.xml):
         listener
 
  listener-classorg.springframework.web.context.ContextLoaderListener/listener-class
         /listener
 
         !-- Enable the filters for Hibernate --
 
         filter
                 filter-nameopensessioninview/filter-name
 
  filter-classorg.springframework.orm.hibernate3.support.OpenSessionInViewFilter/filter-class
         /filter
         filter-mapping
                 filter-nameopensessioninview/filter-name
                 url-pattern/hibernate/*/url-pattern
         /filter-mapping
         !-- END hibernate filters --
 
 
 
  But I found that this does not work. Because:
 
 
  public class ViewModePage extends org.apache.wicket.markup.html.WebPage
  {
  ...
 
        �...@springbean(name = userDAOBean)
         private UserDAO userDAO;
 
 
         IModel loadableUserModel = new LoadableDetachableModel() {
 
                �...@override
                 protected Object load(){
                         User selectedUser = null;
                         String value =
  ((PortletRequestContext)RequestContext.get()).getPortletRequest().getParameter(crmportal:userId);
                         if(value!=null)
                         {
                                 UuidUserType uuid = 
  UuidUserType.fromString(value); //Works!!
                                 userDAO.testSessoion(uuid);//Works!!
 
                                 selectedUser = userDAO.find(uuid);//Works!!
 
                                 if(!userDAO.isAttached(selectedUser)) 
  //Works!! But is not
  attached!!!
                                 {
 
                                         userDAO.save(selectedUser); 
  //Attach it     //Works!! It
  saves/updates the object but it's still not attached
                                 }
 
 
 
                                 SetContactBasicDetail setDetails =
  selectedUser.getContactBasicDetails(); //Works!! It gets the set
                                 setDetails.isEmpty(); // FAIL FAIL Cannot 
  load lazy
 
                                 return setDetails.toArray();
             

Re: Shall we have(embed) a swf in wicket component(Panel or in wicket page).

2009-08-20 Thread nino martinez wael
:

 Nino sorry to say that i dont know that
 please tell me clear.
 if possible give some modal code

 ThanksRegards,
 Gerald A

 On Tue, Aug 18, 2009 at 6:45 PM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

  stuff the panel in to the modal window
 
  2009/8/18 Gerald Fernando gerald.anto.ferna...@gmail.com:
    Hello Friends,
  
   Shall we have(embed) a swf in wicket component(Panel or in wicket
 page).
   I have swf that shows chart for dynamic data.
   i want to show my .swf file into wicket page or wicket panel
   if possible please give me modal code.
   I need urgent reply
  
   --
   Thanksregards,
   Gerald A
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 


 --
 Thanksregards,
 Gerald A




 --
 Fernando Wermus.

 www.linkedin.com/in/fernandowermus


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



Re: what is modal window

2009-08-21 Thread nino martinez wael
http://www.wicket-library.com/wicket-examples/ajax/modal-window.1


2009/8/21 Gerald Fernando gerald.anto.ferna...@gmail.com:
 hi friends,
 what is modal window what is the difference between this and Panel
 what are the uses

 ThanksRegards,
 Gerald A

 --
 Thanksregards,
 Gerald A


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



[OT] Apache Wicket Merchandise Awards Jeremy Thomerson

2009-08-26 Thread nino martinez wael
Hi Guys

Just wanted to tell that Jeremy has been awarded a golf t-shirt for
his work organizing Wicketstuff Core. Great Job Jeremy.

See here for more information:
http://ninomartinez.wordpress.com/2009/02/19/apache-wicket-merchandise-shop/

Thanks to all for buying merchandise, you are making this possible!
Please post your nominees at the blog or write me directly.

Regards Nino

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



Re: Wicket + Webservice

2009-08-28 Thread nino martinez wael
Going for the web page, you could in theory do REST... But how smooth
it are i do not know..

regards Nino

2009/8/28 Bas Gooren b...@iswd.nl:
 I would like to integrate a webservice callable by others into my existing 
 Wicket application.
 The reason is that I'm integration a third-party payment provider and they 
 provide a callback mechanism in the form of a WSDL I need to implement.

 Now I've taken a look at enunciate, which looks great btw, but it seems to 
 operate next to wicket instead of integrated with wicket: as a separate 
 filter.

 I'd like to be able to control the location where the webservice is mounted 
 from wicket, and access my guice-injected services through wicket-guice 
 integration. This way I have easy access to all the services and daos in my 
 application

 The questions I have are:
 - is it possible to handle an incoming webservice request through a WebPage 
 implementation?
 - if not, what would be a good alternative? (given the requirement that I'd 
 like to be able to use the wicket-guice injector)

 Bas

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



Re: AjaxLink/Behaviour with shortcut

2009-08-28 Thread nino martinez wael
Thanks for the feedback, the quick solution would be to extend the
inputevent class. Did you see the example project?

2009/8/28 Johannes Schneider maili...@cedarsoft.com:
 And I think EventType shouldn't be an enum but instead a class with
 several constants. So everybody could add own event types if necessary.


 Regards

 Johannes

 Johannes Schneider wrote:
 I made some progress:

 When using the (newly created) EventType onclick the behvious seems to
 be improved.

 The first time it works great, but if I add the link to the
 AjaxRequestTarget (so that the link is updated), the event is executed
 multiple times...


 Regards,

 Johannes


 Johannes Schneider wrote:
 That thing works great with normal links. But I have a problem with
 Ajax(Fallback)Links. The created JavaScript looks good but it does not work.
 Since I really don't understand JavaScript I don't have a clue what to
 do next. I have modified the example to reproduce the problem:


 Add to HomePage.html:

  hra href=# wicket:id=ajaxLinkAjax here!/a


 Added to HomePage.java:

  AjaxLinkObject ajaxLink = new AjaxLinkObject(ajaxLink) {
       @Override
       public void onClick( AjaxRequestTarget ajaxRequestTarget ) {
         System.out.println( # );
       }
     };

     ajaxLink.add( new InputBehavior( new KeyType[]{KeyType.n} ) );
     add( ajaxLink );



 Any ideas?


 Thanks,

 Johannes


 danisevsky wrote:
 look at
 https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/input-events-parent/

 2009/8/26 Johannes Schneider maili...@cedarsoft.com

 Hi,

 I have here several AjaxLinks that should be triggered using a shortcut
 (e.g. PageDown or Delete).
 Does anybody have some lines of code or a hint how that could be done?

 Alternatively a AjaxBehaviour could be used to start the action.


 Any ideas?
 Thanks,


 Johannes

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


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


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


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



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



Re: Wicket + Webservice

2009-08-28 Thread nino martinez wael
Ahh ok, you can also make a web page return xml. Im not sure how SOAP
communicates. But this might be the way for you...

2009/8/28 Bas Gooren b...@iswd.nl:
 Nino,

 I read a blog post by Bruno borges on this (see
 http://code.google.com/p/wicket-rest/). But in my case I need to adhere to a
 WSDL provided by the payment provider. The WSDL specifies a SOAP binding, so
 that's what I need to implement.

 Bas

 - Original Message - From: nino martinez wael
 nino.martinez.w...@gmail.com
 To: users@wicket.apache.org
 Sent: Friday, August 28, 2009 1:16 PM
 Subject: Re: Wicket + Webservice


 Going for the web page, you could in theory do REST... But how smooth
 it are i do not know..

 regards Nino

 2009/8/28 Bas Gooren b...@iswd.nl:

 I would like to integrate a webservice callable by others into my
 existing Wicket application.
 The reason is that I'm integration a third-party payment provider and
 they provide a callback mechanism in the form of a WSDL I need to implement.

 Now I've taken a look at enunciate, which looks great btw, but it seems
 to operate next to wicket instead of integrated with wicket: as a separate
 filter.

 I'd like to be able to control the location where the webservice is
 mounted from wicket, and access my guice-injected services through
 wicket-guice integration. This way I have easy access to all the services
 and daos in my application

 The questions I have are:
 - is it possible to handle an incoming webservice request through a
 WebPage implementation?
 - if not, what would be a good alternative? (given the requirement that
 I'd like to be able to use the wicket-guice injector)

 Bas

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




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



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



Re: Wicket + Webservice

2009-08-28 Thread nino martinez wael
doh, took a closer look at the blog, it's already described there.. So
you know that wicket can return XML

2009/8/28 nino martinez wael nino.martinez.w...@gmail.com:
 Ahh ok, you can also make a web page return xml. Im not sure how SOAP
 communicates. But this might be the way for you...

 2009/8/28 Bas Gooren b...@iswd.nl:
 Nino,

 I read a blog post by Bruno borges on this (see
 http://code.google.com/p/wicket-rest/). But in my case I need to adhere to a
 WSDL provided by the payment provider. The WSDL specifies a SOAP binding, so
 that's what I need to implement.

 Bas

 - Original Message - From: nino martinez wael
 nino.martinez.w...@gmail.com
 To: users@wicket.apache.org
 Sent: Friday, August 28, 2009 1:16 PM
 Subject: Re: Wicket + Webservice


 Going for the web page, you could in theory do REST... But how smooth
 it are i do not know..

 regards Nino

 2009/8/28 Bas Gooren b...@iswd.nl:

 I would like to integrate a webservice callable by others into my
 existing Wicket application.
 The reason is that I'm integration a third-party payment provider and
 they provide a callback mechanism in the form of a WSDL I need to 
 implement.

 Now I've taken a look at enunciate, which looks great btw, but it seems
 to operate next to wicket instead of integrated with wicket: as a separate
 filter.

 I'd like to be able to control the location where the webservice is
 mounted from wicket, and access my guice-injected services through
 wicket-guice integration. This way I have easy access to all the services
 and daos in my application

 The questions I have are:
 - is it possible to handle an incoming webservice request through a
 WebPage implementation?
 - if not, what would be a good alternative? (given the requirement that
 I'd like to be able to use the wicket-guice injector)

 Bas

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




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




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



Re: Wicket + Webservice

2009-08-28 Thread nino martinez wael
Hmm, good question. Are it some db services that you are accessing..?

like warp?

filter
filter-nameguiceFilter/filter-name
filter-classcom.wideplay.warp.servlet.WebFilter/filter-class
/filter

Then just map it to everything:

filter-mapping
filter-nameguiceFilter/filter-name
url-pattern/*/url-pattern
/filter-mapping



2009/8/28 Bas Gooren b...@iswd.nl:
 Yeah, I've built Wicket pages which return XML responses before, so that's
 not the problem.

 But since I have to adhere to a certain WSDL and hand-constructing the SOAP
 response seems like the wrong thing to do, I was hoping that there might be
 a way to say

 class WebservicePage extends WebPage {
 public WebservicePage() {
   SoapService service = new SoapService( Impl.class ); // Possibly guice
 injected
   service.handle( HttpServletRequest ... ); // Get the servlet request
 through wicket
 }
 }

 But since that is wrapping a handler in a handler, it's not very clean
 either. Anyway, the main issue remains: since I have google guice nicely set
 up within Wicket, how do I build a webservice which has access to guice
 injection? I am not using spring, and switching this application to spring
 is not going to happen.

 I have found JAX-WS Guice integration (see
 https://jax-ws-commons.dev.java.net/guice/), so maybe I can find a way to
 make it use the wicket-guice injector.

 Bas

 - Original Message - From: nino martinez wael
 nino.martinez.w...@gmail.com
 To: users@wicket.apache.org
 Sent: Friday, August 28, 2009 2:04 PM
 Subject: Re: Wicket + Webservice


 doh, took a closer look at the blog, it's already described there.. So
 you know that wicket can return XML

 2009/8/28 nino martinez wael nino.martinez.w...@gmail.com:

 Ahh ok, you can also make a web page return xml. Im not sure how SOAP
 communicates. But this might be the way for you...

 2009/8/28 Bas Gooren b...@iswd.nl:

 Nino,

 I read a blog post by Bruno borges on this (see
 http://code.google.com/p/wicket-rest/). But in my case I need to adhere
 to a
 WSDL provided by the payment provider. The WSDL specifies a SOAP
 binding, so
 that's what I need to implement.

 Bas

 - Original Message - From: nino martinez wael
 nino.martinez.w...@gmail.com
 To: users@wicket.apache.org
 Sent: Friday, August 28, 2009 1:16 PM
 Subject: Re: Wicket + Webservice


 Going for the web page, you could in theory do REST... But how smooth
 it are i do not know..

 regards Nino

 2009/8/28 Bas Gooren b...@iswd.nl:

 I would like to integrate a webservice callable by others into my
 existing Wicket application.
 The reason is that I'm integration a third-party payment provider and
 they provide a callback mechanism in the form of a WSDL I need to
 implement.

 Now I've taken a look at enunciate, which looks great btw, but it
 seems
 to operate next to wicket instead of integrated with wicket: as a
 separate
 filter.

 I'd like to be able to control the location where the webservice is
 mounted from wicket, and access my guice-injected services through
 wicket-guice integration. This way I have easy access to all the
 services
 and daos in my application

 The questions I have are:
 - is it possible to handle an incoming webservice request through a
 WebPage implementation?
 - if not, what would be a good alternative? (given the requirement
 that
 I'd like to be able to use the wicket-guice injector)

 Bas

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




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




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




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



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



Re: How to tackle Ajax Flooding

2009-08-31 Thread nino martinez wael
Is it something like this?

http://www.nabble.com/No-behavior-listener-found-td20325302.html

2009/8/30 Tom Wollert tom.woll...@googlemail.com:
 Hello there,

 I have a problem with my Wicket Application, which is quite Ajax heavy.
 Certain ajax calls take some time as they start an import, however the
 button can still be clicked and sends another ajax call (which is delayed
 for quite some time). Is it possible to disable the button while the request
 cycle is not complete? (I mean with wicket, or do I need to use
 Javascript?). Also ajax calls are postponed as long as the channel is busy,
 is it possible to deactivate this behaviour? And are there reasons why I
 should not?


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



Re: How to tackle Ajax Flooding

2009-08-31 Thread nino martinez wael
Heh, the whole idea with ajax are that it are asynchronous :)

2009/8/31 Tom Wollert tom.woll...@googlemail.com:
 The only idea I can come up with is to keep state of my model on client
 side, but that would require alot of javascript :/


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



Re: how to add panel in gmap2

2009-09-01 Thread nino martinez wael
Why are you adding a panel to the GMap? Instead add the panel below or above.

regards Nino

2009/9/1 新希望软件 -- 俞宏伟 nhsoft@gmail.com:
 i want to add child panel to gmap2 container, but when add child panel,
 there alway throw tag not closed error.

 here is my code detail:

 GMap2 gMap = new gMap = new GMap2(googleMap,
 application.getGoogleMapApiKey());
 add(gMap);

 final WebMarkupContainer wmChild = new WebMarkupContainer(wmcChild);
 wmChild .setOutputMarkupId(true);
 gmap2.add(wmChild);

 html file:
 div wicket:id=googleMap
div wicket:id=wmcChild/div
 /div

 when run, it throws error: close tag not found for tag: div
 id=googleMap2c style=width: 46.8em; height: 350px; position: relative;
 background-color: rgb(229, 227, 223); wicket:id=googleMap. Component:
 [MarkupContainer [Component id = googleMap]]

 org.apache.wicket.markup.MarkupException: close tag not found for tag: div
 id=googleMap2c style=width: 46.8em; height: 350px; position: relative;
 background-color: rgb(229, 227, 223); wicket:id=googleMap. Component:
 [MarkupContainer [Component id = googleMap]]
at
 org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:121)
at org.apache.wicket.Component.renderComponent(Component.java:2524)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1412)
at org.apache.wicket.Component.render(Component.java:2361)
at
 org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1298)
at
 org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1477)
at
 org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:640)
at
 org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:112)
at org.apache.wicket.Component.renderComponent(Component.java:2524)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1412)
at org.apache.wicket.Component.render(Component.java:2361)
at
 org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1298)
at
 org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1477)
at
 org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:640)
at
 org.apache.wicket.markup.html.panel.Panel.onComponentTagBody(Panel.java:112)
at org.apache.wicket.Component.renderComponent(Component.java:2524)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1412)
at org.apache.wicket.Component.render(Component.java:2361)
at
 org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1298)
at
 org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1477)
at
 org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1402)
at org.apache.wicket.Component.renderComponent(Component.java:2524)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1412)
at org.apache.wicket.Component.render(Component.java:2361)
at
 org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1298)
at
 org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1477)
at
 org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1402)
at org.apache.wicket.Component.renderComponent(Component.java:2524)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1412)
at org.apache.wicket.Component.render(Component.java:2361)
at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:222)
at
 org.apache.wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:66)
at
 org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1325)
at
 org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1477)
at
 org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1402)
at org.apache.wicket.Component.renderComponent(Component.java:2524)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1412)
at org.apache.wicket.Component.render(Component.java:2361)
at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:222)
at
 org.apache.wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:73)
at
 org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1325)
at
 org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1428)
at org.apache.wicket.Page.onRender(Page.java:1502)
at org.apache.wicket.Component.render(Component.java:2361)
at org.apache.wicket.Page.renderPage(Page.java:913)
at
 org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:240)
at
 org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104)
at
 org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1245)
at 

Re: 32 External CSS Files Limitation of Internet Explorer 6,7,8

2009-09-01 Thread nino martinez wael
Hmm what about the merged resources from wicketstuff:

http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-merged-resources


2009/9/1 Martin Letendre letendre.mar...@gmail.com:
 Hello Folks

 Is there a feature that can be enabled that merge css ressource into one
 file ?

 Someone answer in this post that this kind of feature does not exist...

 http://www.nabble.com/Wicket-resources-%28css,-js-and-images%29--td19160980.html

 This is sad because it's causing a bug if you are using IE (6,7 or 8) and
 have more than 31 css file included in one Wicket page.

 Please read this article for more details:

 http://acidmartin.wordpress.com/2008/11/25/the-32-external-css-files-limitation-of-internet-explorer-and-more/


 Martin Letendre
 Montreal, Quebec
 Canada


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



Re: Wicket Stuff Core 1.4.1 Release[ing]

2009-09-10 Thread nino martinez wael
Hi Jeremy

Should we have a list of offendending project?

2009/9/6 Jeremy Thomerson jer...@wickettraining.com:
 First, jquery was built.  They don't follow the naming conventions like they
 should, so you have to look into the pom to realize that it's actually
 wicketstuff-jquery [1].

 Second, regarding merged resources - there's a link on the wiki [2] that
 explains how.  Please make sure to follow all conventions and run mvn clean
 install as well as mvn site:site on all of wicketstuff-core when you are
 done.  If you can't build everything or you can't generate sites, please
 don't commit.  I just comment out projects that can't easily be fixed and
 built when building releases.

 [1]
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-jquery/1.4.1/
 [2]
 http://wicketstuff.org/confluence/display/STUFFWIKI/WicketStuff+Core+-+Migration+Guide

 Best regards,

 --
 Jeremy Thomerson
 http://www.wickettraining.com



 On Sun, Sep 6, 2009 at 11:22 AM, Jörn Zaefferer 
 joern.zaeffe...@googlemail.com wrote:

 So jquery-parent was build, which just references jquery and
 jquery-examples - neither of which were build. Whats the point of
 that?

 Also, how can we get wicketstuff-merged-resources included in the next
 release?

 Jörn

 On Mon, Aug 31, 2009 at 10:20 PM, Jeremy
 Thomersonjer...@wickettraining.com wrote:
  I have the credentials and think that I will definitely be trying this on
  the next release :)
 
  --
  Jeremy Thomerson
  http://www.wickettraining.com
 
 
 
  On Mon, Aug 31, 2009 at 3:16 PM, Martijn Dashorst 
  martijn.dasho...@gmail.com wrote:
 
  Perhaps it's more beneficial to do the actual release local on the
  machine? I'm sure Johan can provide you with the credentials to do so.
 
  Martijn
 
  On Mon, Aug 31, 2009 at 9:27 PM, Jeremy
  Thomersonjer...@wickettraining.com wrote:
   It's mostly uploading and then merging the POMs on the remote server.
   The
   build isn't actually that bad (maybe 15 or 20 minutes for the release
   procedure, including tagging, etc).
  
   --
   Jeremy Thomerson
   http://www.wickettraining.com
  
  
  
   On Mon, Aug 31, 2009 at 2:14 PM, Nicolas Melendez 
  nmelen...@getsense.com.ar
   wrote:
  
   very slow build :)
  
   On Mon, Aug 31, 2009 at 9:07 PM, Jeremy
   Thomersonjer...@wickettraining.com wrote:
Wicket Stuff Core 1.4.1 is now released:
   
[INFO] BUILD SUCCESSFUL
[INFO]
   
  
[INFO] Total time: 204 minutes 20 seconds
[INFO] Finished at: Mon Aug 31 14:04:09 CDT 2009
[INFO] Final Memory: 218M/929M
[INFO]
   
  
   
   
--
Jeremy Thomerson
http://www.wickettraining.com
   
   
   
On Mon, Aug 31, 2009 at 10:38 AM, Jeremy Thomerson 
jer...@wickettraining.com wrote:
   
That was only in the event that we really needed an interim
 release.
    The
plan still is that we will release to match Wicket releases.
   
PS - I have to try to start the deploy over again:
   
    [INFO] Retrieving previous metadata from wicketstuff-org-maven
       [INFO] Uploading repository metadata for: 'artifact
org.wicketstuff:sitemap-xml'
        [INFO] Uploading project information for sitemap-xml 1.4.1
       Uploading: scpexe://
   
  
 
 wicketstuff.org/home/wicket/tomcat/webapps/maven/repository/org/wicketstuff/sitemap-xml/1.4.1/sitemap-xml-1.4.1-sources.jar
    [INFO]
   
  
       [ERROR] BUILD ERROR
        [INFO]
   
  
       [INFO] Error deploying artifact: Error executing command
 for
transfer
   
   Exit code 255 - Write failed: Connection timed out
   
       [INFO]
   
  
        [INFO] For more information, run Maven with the -e switch
       [INFO]
   
  
        [INFO] Total time: 601 minutes 35 seconds
       [INFO] Finished at: Mon Aug 31 10:33:31 CDT 2009
        [INFO] Final Memory: 221M/902M
       [INFO]
   
  
        [INFO]
   
  
[ERROR] BUILD ERROR
   
   
--
Jeremy Thomerson
http://www.wickettraining.com
   
   
   
   
On Mon, Aug 31, 2009 at 3:36 AM, Maarten Bosteels
   mbosteels@gmail.com
wrote:
 Hi Jeremy,

 Great to see another release of Wicket Stuff Core !!

 Some weeks ago you suggested :
  I think that the best solution is that we have 1.4.1.X where X
 is
   our
 release number.

 Did you change your mind about this ?


 

Re: Wicket Stuff Core 1.4.1 Release[ing]

2009-09-11 Thread nino martinez wael
Let me see if I could do that in the coming weeks. However we could
have a red zone for projects that are becoming outdated.. If of course
there are any? Just to tell the authors that they are in danger of
being removed - attic.

2009/9/10 Jeremy Thomerson jer...@wickettraining.com:
 In the time it would take to generate the list, you could fix the problems.
 I wrote detailed instructions for adding projects to WS-core, so someone
 should be able to take those and fix the projects that are not meeting those
 standards.

 You want to do it?

 --
 Jeremy Thomerson
 http://www.wickettraining.com



 On Thu, Sep 10, 2009 at 1:11 PM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

 Hi Jeremy

 Should we have a list of offendending project?

 2009/9/6 Jeremy Thomerson jer...@wickettraining.com:
  First, jquery was built.  They don't follow the naming conventions like
 they
  should, so you have to look into the pom to realize that it's actually
  wicketstuff-jquery [1].
 
  Second, regarding merged resources - there's a link on the wiki [2] that
  explains how.  Please make sure to follow all conventions and run mvn
 clean
  install as well as mvn site:site on all of wicketstuff-core when you
 are
  done.  If you can't build everything or you can't generate sites, please
  don't commit.  I just comment out projects that can't easily be fixed and
  built when building releases.
 
  [1]
 
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-jquery/1.4.1/
  [2]
 
 http://wicketstuff.org/confluence/display/STUFFWIKI/WicketStuff+Core+-+Migration+Guide
 
  Best regards,
 
  --
  Jeremy Thomerson
  http://www.wickettraining.com
 
 
 
  On Sun, Sep 6, 2009 at 11:22 AM, Jörn Zaefferer 
  joern.zaeffe...@googlemail.com wrote:
 
  So jquery-parent was build, which just references jquery and
  jquery-examples - neither of which were build. Whats the point of
  that?
 
  Also, how can we get wicketstuff-merged-resources included in the next
  release?
 
  Jörn
 
  On Mon, Aug 31, 2009 at 10:20 PM, Jeremy
  Thomersonjer...@wickettraining.com wrote:
   I have the credentials and think that I will definitely be trying this
 on
   the next release :)
  
   --
   Jeremy Thomerson
   http://www.wickettraining.com
  
  
  
   On Mon, Aug 31, 2009 at 3:16 PM, Martijn Dashorst 
   martijn.dasho...@gmail.com wrote:
  
   Perhaps it's more beneficial to do the actual release local on the
   machine? I'm sure Johan can provide you with the credentials to do
 so.
  
   Martijn
  
   On Mon, Aug 31, 2009 at 9:27 PM, Jeremy
   Thomersonjer...@wickettraining.com wrote:
It's mostly uploading and then merging the POMs on the remote
 server.
    The
build isn't actually that bad (maybe 15 or 20 minutes for the
 release
procedure, including tagging, etc).
   
--
Jeremy Thomerson
http://www.wickettraining.com
   
   
   
On Mon, Aug 31, 2009 at 2:14 PM, Nicolas Melendez 
   nmelen...@getsense.com.ar
wrote:
   
very slow build :)
   
On Mon, Aug 31, 2009 at 9:07 PM, Jeremy
Thomersonjer...@wickettraining.com wrote:
 Wicket Stuff Core 1.4.1 is now released:

 [INFO] BUILD SUCCESSFUL
 [INFO]

  
 
 [INFO] Total time: 204 minutes 20 seconds
 [INFO] Finished at: Mon Aug 31 14:04:09 CDT 2009
 [INFO] Final Memory: 218M/929M
 [INFO]

  
 


 --
 Jeremy Thomerson
 http://www.wickettraining.com



 On Mon, Aug 31, 2009 at 10:38 AM, Jeremy Thomerson 
 jer...@wickettraining.com wrote:

 That was only in the event that we really needed an interim
  release.
 The
 plan still is that we will release to match Wicket releases.

 PS - I have to try to start the deploy over again:

     [INFO] Retrieving previous metadata from
 wicketstuff-org-maven
        [INFO] Uploading repository metadata for: 'artifact
 org.wicketstuff:sitemap-xml'
         [INFO] Uploading project information for sitemap-xml
 1.4.1
        Uploading: scpexe://

   
  
 
 wicketstuff.org/home/wicket/tomcat/webapps/maven/repository/org/wicketstuff/sitemap-xml/1.4.1/sitemap-xml-1.4.1-sources.jar
     [INFO]

  
 
        [ERROR] BUILD ERROR
         [INFO]

  
 
        [INFO] Error deploying artifact: Error executing command
  for
 transfer

    Exit code 255 - Write failed: Connection timed out

        [INFO]

  
 
         [INFO] For more information, run Maven with the -e
 switch
        [INFO

Re: removing a behavior

2009-09-13 Thread nino martinez wael
What about just not adding it instead? So in the first cycle you add
it and in the next rendering you do not?

2009/9/13 Pierre Goupil goupilpie...@gmail.com:
 Good morning,

 I use CSSPackageResource .getHeaderContribution(style.css) in order to
 load CSS files into my page. But is there any way to remove the
 HeaderContributor ?

 If I just add another one in a subsequent request, the old CSS is still
 there, which I don't want.

 Regards,

 Zala


 --
 Sans amis était le grand maître des mondes,
 Eprouvait manque, ce pour quoi il créa les esprits,
 Miroirs bienveillants de sa béatitude.
 Mais au vrai, il ne trouva aucun égal,
 Du calice du royaume total des âmes
 Ecume jusqu'à lui l'infinité.

 (Schiller, l'amitié)


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



Re: Wicket Stuff Core 1.4.1 Release[ing]

2009-09-14 Thread nino martinez wael
Hmm seems the only one who are not compiling are ddcalendar.. The
other two are syringe and shiro-security, until their dependencies
become available..

There seems to be something here :

http://repository.apache.org/snapshots/org/apache/shiro/

Tauren mentioned that he would correct the pom..? Or did he mean that
it had to be on the common maven repository..?

And as for syringe commons proxy 1.1 is still not out :(

-Nino

2009/9/11 nino martinez wael nino.martinez.w...@gmail.com:
 Let me see if I could do that in the coming weeks. However we could
 have a red zone for projects that are becoming outdated.. If of course
 there are any? Just to tell the authors that they are in danger of
 being removed - attic.

 2009/9/10 Jeremy Thomerson jer...@wickettraining.com:
 In the time it would take to generate the list, you could fix the problems.
 I wrote detailed instructions for adding projects to WS-core, so someone
 should be able to take those and fix the projects that are not meeting those
 standards.

 You want to do it?

 --
 Jeremy Thomerson
 http://www.wickettraining.com



 On Thu, Sep 10, 2009 at 1:11 PM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

 Hi Jeremy

 Should we have a list of offendending project?

 2009/9/6 Jeremy Thomerson jer...@wickettraining.com:
  First, jquery was built.  They don't follow the naming conventions like
 they
  should, so you have to look into the pom to realize that it's actually
  wicketstuff-jquery [1].
 
  Second, regarding merged resources - there's a link on the wiki [2] that
  explains how.  Please make sure to follow all conventions and run mvn
 clean
  install as well as mvn site:site on all of wicketstuff-core when you
 are
  done.  If you can't build everything or you can't generate sites, please
  don't commit.  I just comment out projects that can't easily be fixed and
  built when building releases.
 
  [1]
 
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-jquery/1.4.1/
  [2]
 
 http://wicketstuff.org/confluence/display/STUFFWIKI/WicketStuff+Core+-+Migration+Guide
 
  Best regards,
 
  --
  Jeremy Thomerson
  http://www.wickettraining.com
 
 
 
  On Sun, Sep 6, 2009 at 11:22 AM, Jörn Zaefferer 
  joern.zaeffe...@googlemail.com wrote:
 
  So jquery-parent was build, which just references jquery and
  jquery-examples - neither of which were build. Whats the point of
  that?
 
  Also, how can we get wicketstuff-merged-resources included in the next
  release?
 
  Jörn
 
  On Mon, Aug 31, 2009 at 10:20 PM, Jeremy
  Thomersonjer...@wickettraining.com wrote:
   I have the credentials and think that I will definitely be trying this
 on
   the next release :)
  
   --
   Jeremy Thomerson
   http://www.wickettraining.com
  
  
  
   On Mon, Aug 31, 2009 at 3:16 PM, Martijn Dashorst 
   martijn.dasho...@gmail.com wrote:
  
   Perhaps it's more beneficial to do the actual release local on the
   machine? I'm sure Johan can provide you with the credentials to do
 so.
  
   Martijn
  
   On Mon, Aug 31, 2009 at 9:27 PM, Jeremy
   Thomersonjer...@wickettraining.com wrote:
It's mostly uploading and then merging the POMs on the remote
 server.
    The
build isn't actually that bad (maybe 15 or 20 minutes for the
 release
procedure, including tagging, etc).
   
--
Jeremy Thomerson
http://www.wickettraining.com
   
   
   
On Mon, Aug 31, 2009 at 2:14 PM, Nicolas Melendez 
   nmelen...@getsense.com.ar
wrote:
   
very slow build :)
   
On Mon, Aug 31, 2009 at 9:07 PM, Jeremy
Thomersonjer...@wickettraining.com wrote:
 Wicket Stuff Core 1.4.1 is now released:

 [INFO] BUILD SUCCESSFUL
 [INFO]

  
 
 [INFO] Total time: 204 minutes 20 seconds
 [INFO] Finished at: Mon Aug 31 14:04:09 CDT 2009
 [INFO] Final Memory: 218M/929M
 [INFO]

  
 


 --
 Jeremy Thomerson
 http://www.wickettraining.com



 On Mon, Aug 31, 2009 at 10:38 AM, Jeremy Thomerson 
 jer...@wickettraining.com wrote:

 That was only in the event that we really needed an interim
  release.
 The
 plan still is that we will release to match Wicket releases.

 PS - I have to try to start the deploy over again:

     [INFO] Retrieving previous metadata from
 wicketstuff-org-maven
        [INFO] Uploading repository metadata for: 'artifact
 org.wicketstuff:sitemap-xml'
         [INFO] Uploading project information for sitemap-xml
 1.4.1
        Uploading: scpexe://

   
  
 
 wicketstuff.org/home/wicket/tomcat/webapps/maven/repository/org/wicketstuff/sitemap-xml/1.4.1/sitemap-xml-1.4.1-sources.jar
     [INFO]

  
 
        [ERROR] BUILD ERROR
         [INFO

Re: wicket.properties conflict 1.2.6 vs 1.4.1

2009-09-14 Thread nino martinez wael
I meant ear files

2009/9/14 nino martinez wael nino.martinez.w...@gmail.com:
 You can if you put them in different wars.. That will work.

 We have a similar setup that does this.

 2009/9/14 Olivier Bourgeois olivier.bourgeois@gmail.com:
 Except that you can parameter JBoss to use an optimization of its own :
 UnifiedClassloader :


 http://www.jboss.org/community/wiki/classloadingconfiguration

 In jboss-3.2.3, the jbossweb-tomcat41.sar is configured to use a unified
 class loader as the web application class loader. This is controlled by the
 UseJBossWebLoader attribute in the
 jbossweb-tomcat41.sar/META-INF/jboss-service.xml descriptor. The use of a
 unified class loader means that the classes available in the war inside of
 the WEB-INF/classes and WEB-INF/lib are incorporated into the default shared
 class loader repository. This may not be what you want as its contrary to
 the default servlet 2.3 class loading model and can result in sharing of
 classes/resources between web applications. You can disable this by setting
 this attribute to false.



 That is, if this setting is activated all webapps are sharing the same
 classloader, which is of course not J2EE standard, and you can't use two
 different versions of Wicket.

 2009/9/14 Igor Vaynberg igor.vaynb...@gmail.com:
 if the two apps are deployed as two separate apps then they should not
 see each other's jars and therefore should not see each other's
 wicket.properties files.

 -igor

 On Mon, Sep 14, 2009 at 4:08 AM, A. Zwaan a.zw...@finan.nl wrote:
 Sorry about the late reply, the migration was put on hold for a couple of
 days as some higher priority project needed some extra resources.

 The wicket 1.2.6 jar is in an ear file, which is one of the applications.
 The 1.4.1 jar is included in a war file, which is the other application.
 Both are deployed with the same JBoss instance.



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



Re: wicket.properties conflict 1.2.6 vs 1.4.1

2009-09-14 Thread nino martinez wael
It depends if the 1.2.6 one is in a shared class loader of that ear...

But as you mention the 1.4.1 will only be visible in the one war file.
However in that one it would have both 1.2.6 and 1.4.1 visible thus
having a conflict..:(

2009/9/14 Igor Vaynberg igor.vaynb...@gmail.com:
 if the two apps are deployed as two separate apps then they should not
 see each other's jars and therefore should not see each other's
 wicket.properties files.

 -igor

 On Mon, Sep 14, 2009 at 4:08 AM, A. Zwaan a.zw...@finan.nl wrote:
 Sorry about the late reply, the migration was put on hold for a couple of 
 days as some higher priority project needed some extra resources.

 The wicket 1.2.6 jar is in an ear file, which is one of the applications. 
 The 1.4.1 jar is included in a war file, which is the other application. 
 Both are deployed with the same JBoss instance.

 To my knowledge this should work as both wicket versions use different 
 packages and therefore should not conflict with each other. The only problem 
 seems to be in that both wicket versions still look for ALL the 
 wicket.properties files, which probably results in one being overwritten and 
 both applications trying to load the same Initializer class.


 -Original Message-
 From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
 Sent: woensdag 9 september 2009 17:47
 To: users@wicket.apache.org
 Subject: Re: wicket.properties conflict 1.2.6 vs 1.4.1

 are you sharing your wicket jars? is both 1.2.6 and 1.4.1 in a servlet
 container's shared lib dir?

 -igor

 On Wed, Sep 9, 2009 at 6:09 AM, A. Zwaan a.zw...@finan.nl wrote:
 Hello all,



 At the moment we migrated one of our applications to wicket 1.4.1 to
 solve an issue, but some of our other application are still running on
 wicket 1.2.6.



 Now we ran into a problem with wicket.properties, both wicket versions
 use the same file and both versions look up ALL the wicket.properties
 files on the classpath, which results in one of both application loading
 the wrong Initializer class. Running in separate server instances is a
 possibility of course, but atm we already have too many of them, so we
 prefer to run within one server instance.



 Is there any way around this issue?



 Also why didn't wicket choose to use a differently named properties file
 (only used internally) for the new wicket version?

 It would have allowed to run both version within the same instance
 without much problems (packages are different already anyway).



 Thanks in advance.





 Met vriendelijke groet,



 Arjan Zwaan

 F I N A N  F i n a n c i a l   A n a l y s i s


 Koggelaan 5-D
 8017 JH Zwolle

 ( Tel. : +31 88 77 88 990

 7 E-mail: a.zw...@finan.nl mailto:a.zw...@finan.nl

 : Internet: www.finan.nl http://www.finan.nl/
 (Findesk BV) KvK nr. 29039392





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


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



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



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



Re: wicket.properties conflict 1.2.6 vs 1.4.1

2009-09-14 Thread nino martinez wael
You can use a named class loader...

So EarA and EarB will not have the same class loaders.. Unless they
use the same class loader, which you would have to specify separately,
further more you can bring JBoss back to compliance by a setting
AFAIK.

2009/9/14 Olivier Bourgeois olivier.bourgeois@gmail.com:
 I think you have to put them in different wars and not to use
 UnifiedClassloader. The wars have access to the ear classloader (otherwise
 they would not have access to the EJBs) so putting 1.2.3 on the ear
 classpath and 1.4.x on the war classpath should not work.

 2009/9/14 nino martinez wael nino.martinez.w...@gmail.com

 I meant ear files

 2009/9/14 nino martinez wael nino.martinez.w...@gmail.com:
  You can if you put them in different wars.. That will work.
 
  We have a similar setup that does this.
 
  2009/9/14 Olivier Bourgeois olivier.bourgeois@gmail.com:
  Except that you can parameter JBoss to use an optimization of its own
 :
  UnifiedClassloader :
 



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



Re: wicket.properties conflict 1.2.6 vs 1.4.1

2009-09-14 Thread nino martinez wael
You can if you put them in different wars.. That will work.

We have a similar setup that does this.

2009/9/14 Olivier Bourgeois olivier.bourgeois@gmail.com:
 Except that you can parameter JBoss to use an optimization of its own :
 UnifiedClassloader :


 http://www.jboss.org/community/wiki/classloadingconfiguration

 In jboss-3.2.3, the jbossweb-tomcat41.sar is configured to use a unified
 class loader as the web application class loader. This is controlled by the
 UseJBossWebLoader attribute in the
 jbossweb-tomcat41.sar/META-INF/jboss-service.xml descriptor. The use of a
 unified class loader means that the classes available in the war inside of
 the WEB-INF/classes and WEB-INF/lib are incorporated into the default shared
 class loader repository. This may not be what you want as its contrary to
 the default servlet 2.3 class loading model and can result in sharing of
 classes/resources between web applications. You can disable this by setting
 this attribute to false.



 That is, if this setting is activated all webapps are sharing the same
 classloader, which is of course not J2EE standard, and you can't use two
 different versions of Wicket.

 2009/9/14 Igor Vaynberg igor.vaynb...@gmail.com:
 if the two apps are deployed as two separate apps then they should not
 see each other's jars and therefore should not see each other's
 wicket.properties files.

 -igor

 On Mon, Sep 14, 2009 at 4:08 AM, A. Zwaan a.zw...@finan.nl wrote:
 Sorry about the late reply, the migration was put on hold for a couple of
 days as some higher priority project needed some extra resources.

 The wicket 1.2.6 jar is in an ear file, which is one of the applications.
 The 1.4.1 jar is included in a war file, which is the other application.
 Both are deployed with the same JBoss instance.


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



Upgrading from 1.4.0-snapshot to 1.4.1

2009-09-14 Thread nino martinez wael
Hi Guys

I've just begun upgrading an application and i've run into something
im not sure howto fix.

I have this, which were working:

ListIColumn? columns = new ArrayListIColumn?();
columns.add(new PropertyColumnString(new 
ModelString(Email),
email));
columns.add(new PropertyColumnString(
new ModelString(Sent email?), sentEmail));
columns.add(new PropertyColumnString(new ModelString(Will 
come?),
willCome));
columns.add(new PropertyColumnString(new 
ModelString(Validated),
validated));
columns.add(new PropertyColumnString(new ModelString(
Comments by invitee), comment));

ajaxContainer = new WebMarkupContainer(ajaxContainer);
ajaxContainer.setOutputMarkupId(true);
page.add(ajaxContainer);
ajaxContainer.add(new 
AjaxFallbackDefaultDataTableInvitee(invitees,
columns, new 
UnsortableInviteeDataProvider(eventModel), 5));

Now what it is complaining about are the ListIColumn? has to be a
ListIColumnInvitee but how is that possible when I put in string
property columns or do I have to change those too? Is this just
generics on the edge?

regards Nino

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



Re: Upgrading from 1.4.0-snapshot to 1.4.1

2009-09-14 Thread nino martinez wael
Thanks for confirming :) And it worked :)

Typesafety is very nice, but sometimes you have to work for it :)

2009/9/14 Igor Vaynberg igor.vaynb...@gmail.com:
 new PropertyColumnInvitee

 -igor

 On Mon, Sep 14, 2009 at 1:48 PM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
 Hi Guys

 I've just begun upgrading an application and i've run into something
 im not sure howto fix.

 I have this, which were working:

                ListIColumn? columns = new ArrayListIColumn?();
                columns.add(new PropertyColumnString(new 
 ModelString(Email),
                                email));
                columns.add(new PropertyColumnString(
                                new ModelString(Sent email?), 
 sentEmail));
                columns.add(new PropertyColumnString(new 
 ModelString(Will come?),
                                willCome));
                columns.add(new PropertyColumnString(new 
 ModelString(Validated),
                                validated));
                columns.add(new PropertyColumnString(new ModelString(
                                Comments by invitee), comment));

                ajaxContainer = new WebMarkupContainer(ajaxContainer);
                ajaxContainer.setOutputMarkupId(true);
                page.add(ajaxContainer);
                ajaxContainer.add(new 
 AjaxFallbackDefaultDataTableInvitee(invitees,
                                columns, new 
 UnsortableInviteeDataProvider(eventModel), 5));

 Now what it is complaining about are the ListIColumn? has to be a
 ListIColumnInvitee but how is that possible when I put in string
 property columns or do I have to change those too? Is this just
 generics on the edge?

 regards Nino

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



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



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



Re: Wicket Stuff Core 1.4.1 Release[ing]

2009-09-15 Thread nino martinez wael
Ahh, I misunderstood then, I though that every thing that were not in
compliance was commented out.

Looks really nice with the new simplified names.

2009/9/15 Jeremy Thomerson jer...@wickettraining.com:

 Nino,

  Thanks for taking a look at this.  This is only half the battle, though.
 Looking back earlier in this thread, you'll see that the actual problem was
 that jquery is not following the naming conventions in
 /wicketstuff-core/jquery-parent/jquery/pom.xml it uses an artifact ID of
 wicketstuff-jquery.  There are two problems with this.  One, we were
 removing all of the wicketstuff- names from the children modules, and
 leaving it only on the parent - wicketstuff-core.  The other is that it
 doesn't match the folder name (jquery) - which causes some minor issues
 with some of the maven plugins that (blindly) rely on the folder and
 artifact ID to be the same.

 So, in this case, the pom.xml should be changed so that artifact ID is
 jquery - to match the convention and the folder name.

 There may be others - I just don't know - haven't looked in a while.

 --
 Jeremy Thomerson
 http://www.wickettraining.com



 On Mon, Sep 14, 2009 at 4:10 AM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

 Hmm seems the only one who are not compiling are ddcalendar.. The
 other two are syringe and shiro-security, until their dependencies
 become available..

 There seems to be something here :

 http://repository.apache.org/snapshots/org/apache/shiro/

 Tauren mentioned that he would correct the pom..? Or did he mean that
 it had to be on the common maven repository..?

 And as for syringe commons proxy 1.1 is still not out :(

 -Nino

 2009/9/11 nino martinez wael nino.martinez.w...@gmail.com:
  Let me see if I could do that in the coming weeks. However we could
  have a red zone for projects that are becoming outdated.. If of course
  there are any? Just to tell the authors that they are in danger of
  being removed - attic.
 
  2009/9/10 Jeremy Thomerson jer...@wickettraining.com:
  In the time it would take to generate the list, you could fix the
 problems.
  I wrote detailed instructions for adding projects to WS-core, so someone
  should be able to take those and fix the projects that are not meeting
 those
  standards.
 
  You want to do it?
 
  --
  Jeremy Thomerson
  http://www.wickettraining.com
 
 
 
  On Thu, Sep 10, 2009 at 1:11 PM, nino martinez wael 
  nino.martinez.w...@gmail.com wrote:
 
  Hi Jeremy
 
  Should we have a list of offendending project?
 
  2009/9/6 Jeremy Thomerson jer...@wickettraining.com:
   First, jquery was built.  They don't follow the naming conventions
 like
  they
   should, so you have to look into the pom to realize that it's
 actually
   wicketstuff-jquery [1].
  
   Second, regarding merged resources - there's a link on the wiki [2]
 that
   explains how.  Please make sure to follow all conventions and run
 mvn
  clean
   install as well as mvn site:site on all of wicketstuff-core when
 you
  are
   done.  If you can't build everything or you can't generate sites,
 please
   don't commit.  I just comment out projects that can't easily be fixed
 and
   built when building releases.
  
   [1]
  
 
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-jquery/1.4.1/
   [2]
  
 
 http://wicketstuff.org/confluence/display/STUFFWIKI/WicketStuff+Core+-+Migration+Guide
  
   Best regards,
  
   --
   Jeremy Thomerson
   http://www.wickettraining.com
  
  
  
   On Sun, Sep 6, 2009 at 11:22 AM, Jörn Zaefferer 
   joern.zaeffe...@googlemail.com wrote:
  
   So jquery-parent was build, which just references jquery and
   jquery-examples - neither of which were build. Whats the point of
   that?
  
   Also, how can we get wicketstuff-merged-resources included in the
 next
   release?
  
   Jörn
  
   On Mon, Aug 31, 2009 at 10:20 PM, Jeremy
   Thomersonjer...@wickettraining.com wrote:
I have the credentials and think that I will definitely be trying
 this
  on
the next release :)
   
--
Jeremy Thomerson
http://www.wickettraining.com
   
   
   
On Mon, Aug 31, 2009 at 3:16 PM, Martijn Dashorst 
martijn.dasho...@gmail.com wrote:
   
Perhaps it's more beneficial to do the actual release local on
 the
machine? I'm sure Johan can provide you with the credentials to
 do
  so.
   
Martijn
   
On Mon, Aug 31, 2009 at 9:27 PM, Jeremy
Thomersonjer...@wickettraining.com wrote:
 It's mostly uploading and then merging the POMs on the remote
  server.
 The
 build isn't actually that bad (maybe 15 or 20 minutes for the
  release
 procedure, including tagging, etc).

 --
 Jeremy Thomerson
 http://www.wickettraining.com



 On Mon, Aug 31, 2009 at 2:14 PM, Nicolas Melendez 
nmelen...@getsense.com.ar
 wrote:

 very slow build :)

 On Mon, Aug 31, 2009 at 9:07 PM, Jeremy
 Thomersonjer...@wickettraining.com wrote:
  Wicket Stuff Core 1.4.1

Re: Wicketstuff really needs some updates

2009-09-15 Thread nino martinez wael
 Great Jeremy, I were about to ask the same, so Johannes please give
us the sf account and we will add you to the project. And thanks for
these updates.. :)

regards Nino

2009/9/15 Jeremy Thomerson jer...@wickettraining.com:
 Have you asked for commit access?  I don't see your sf.net username on the
 thread.  Nobody is stingy with wicketstuff commit access.  Just send your
 username.

 --
 Jeremy Thomerson
 http://www.wickettraining.com



 On Tue, Sep 15, 2009 at 8:12 AM, Johannes Schneider
 maili...@cedarsoft.comwrote:

 Come on guys. Please help me. Since there is an invalid repository
 definition no one out there will be able to use a project using
 input-events...
 I have the necessary patches sitting right here. I have created a Jira
 entry and I am willing to commit them if anybody gives me commit access.

 Please don't force me to release my own version. That would be just
 duplicate work done.


 Sincerly

 Johannes

 Johannes Schneider wrote:
  I have created some patches that help me a bit.
  Can be found here (found no better place).
 
  http://wicketstuff.org/jira/browse/WSMINIS-10
 
  Those are created using git. I hope the patch format is ok
 
 
  Sincerly,
 
  Johannes
 
  Johannes Schneider wrote:
  Well, who is the One?
 
  Igor Vaynberg wrote:
  or you can request commit access and eat your own donuts :)
 
  -igor
 
  On Fri, Sep 4, 2009 at 10:43 AM, Johannes
  Schneidermaili...@cedarsoft.com wrote:
  Hi,
 
  I really love the work that has been put into WicketStuff. The world
 is
  much better *with* WicketStuff.
  But unfortunately several files are outdated and many releases are
 missing.
 
  So at first I want to say thank you to everybody who has put work into
  that project. Then I want to motivate those with commit rights to
 update
  the projects and release some of the modules...
  I am offering some donuts ;-)
 
 
  Thanks,
 
  Johannes
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 

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




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



Re: Wicket Stuff Core 1.4.1 Release[ing]

2009-09-15 Thread nino martinez wael
No I understood what you said.. I'll fix them..

2009/9/15 Jeremy Thomerson jer...@wickettraining.com:
 You're still missing the point.  Look at the following URL.  See where it
 says wicketstuff-jquery.  This should be jquery.  That's what caused the
 confusion that started this thread.  That's what should be fixed.  I'm not
 sure how many other projects do the same.  Haven't had time to test.

 https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/jquery-parent/jquery/pom.xml

 --
 Jeremy Thomerson
 http://www.wickettraining.com



 On Tue, Sep 15, 2009 at 2:15 AM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

 Ahh, I misunderstood then, I though that every thing that were not in
 compliance was commented out.

 Looks really nice with the new simplified names.

 2009/9/15 Jeremy Thomerson jer...@wickettraining.com:

  Nino,
 
   Thanks for taking a look at this.  This is only half the battle, though.
  Looking back earlier in this thread, you'll see that the actual problem
 was
  that jquery is not following the naming conventions in
  /wicketstuff-core/jquery-parent/jquery/pom.xml it uses an artifact ID of
  wicketstuff-jquery.  There are two problems with this.  One, we were
  removing all of the wicketstuff- names from the children modules, and
  leaving it only on the parent - wicketstuff-core.  The other is that it
  doesn't match the folder name (jquery) - which causes some minor issues
  with some of the maven plugins that (blindly) rely on the folder and
  artifact ID to be the same.
 
  So, in this case, the pom.xml should be changed so that artifact ID is
  jquery - to match the convention and the folder name.
 
  There may be others - I just don't know - haven't looked in a while.
 
  --
  Jeremy Thomerson
  http://www.wickettraining.com
 
 
 
  On Mon, Sep 14, 2009 at 4:10 AM, nino martinez wael 
  nino.martinez.w...@gmail.com wrote:
 
  Hmm seems the only one who are not compiling are ddcalendar.. The
  other two are syringe and shiro-security, until their dependencies
  become available..
 
  There seems to be something here :
 
  http://repository.apache.org/snapshots/org/apache/shiro/
 
  Tauren mentioned that he would correct the pom..? Or did he mean that
  it had to be on the common maven repository..?
 
  And as for syringe commons proxy 1.1 is still not out :(
 
  -Nino
 
  2009/9/11 nino martinez wael nino.martinez.w...@gmail.com:
   Let me see if I could do that in the coming weeks. However we could
   have a red zone for projects that are becoming outdated.. If of course
   there are any? Just to tell the authors that they are in danger of
   being removed - attic.
  
   2009/9/10 Jeremy Thomerson jer...@wickettraining.com:
   In the time it would take to generate the list, you could fix the
  problems.
   I wrote detailed instructions for adding projects to WS-core, so
 someone
   should be able to take those and fix the projects that are not
 meeting
  those
   standards.
  
   You want to do it?
  
   --
   Jeremy Thomerson
   http://www.wickettraining.com
  
  
  
   On Thu, Sep 10, 2009 at 1:11 PM, nino martinez wael 
   nino.martinez.w...@gmail.com wrote:
  
   Hi Jeremy
  
   Should we have a list of offendending project?
  
   2009/9/6 Jeremy Thomerson jer...@wickettraining.com:
First, jquery was built.  They don't follow the naming conventions
  like
   they
should, so you have to look into the pom to realize that it's
  actually
wicketstuff-jquery [1].
   
Second, regarding merged resources - there's a link on the wiki
 [2]
  that
explains how.  Please make sure to follow all conventions and run
  mvn
   clean
install as well as mvn site:site on all of wicketstuff-core
 when
  you
   are
done.  If you can't build everything or you can't generate sites,
  please
don't commit.  I just comment out projects that can't easily be
 fixed
  and
built when building releases.
   
[1]
   
  
 
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-jquery/1.4.1/
[2]
   
  
 
 http://wicketstuff.org/confluence/display/STUFFWIKI/WicketStuff+Core+-+Migration+Guide
   
Best regards,
   
--
Jeremy Thomerson
http://www.wickettraining.com
   
   
   
On Sun, Sep 6, 2009 at 11:22 AM, Jörn Zaefferer 
joern.zaeffe...@googlemail.com wrote:
   
So jquery-parent was build, which just references jquery and
jquery-examples - neither of which were build. Whats the point of
that?
   
Also, how can we get wicketstuff-merged-resources included in the
  next
release?
   
Jörn
   
On Mon, Aug 31, 2009 at 10:20 PM, Jeremy
Thomersonjer...@wickettraining.com wrote:
 I have the credentials and think that I will definitely be
 trying
  this
   on
 the next release :)

 --
 Jeremy Thomerson
 http://www.wickettraining.com



 On Mon, Aug 31, 2009 at 3:16 PM, Martijn Dashorst 
 martijn.dasho...@gmail.com

Re: Wicket Stuff Core 1.4.1 Release[ing]

2009-09-15 Thread nino martinez wael
Ok fixed the jquery one.. Everybody else seems to comply (not having
contrib or stuff in their name), although alot of projects has a
naming like this : wicket-projectname

Im not sure if that fits the standard?

2009/9/15 nino martinez wael nino.martinez.w...@gmail.com:
 No I understood what you said.. I'll fix them..

 2009/9/15 Jeremy Thomerson jer...@wickettraining.com:
 You're still missing the point.  Look at the following URL.  See where it
 says wicketstuff-jquery.  This should be jquery.  That's what caused the
 confusion that started this thread.  That's what should be fixed.  I'm not
 sure how many other projects do the same.  Haven't had time to test.

 https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/jquery-parent/jquery/pom.xml

 --
 Jeremy Thomerson
 http://www.wickettraining.com



 On Tue, Sep 15, 2009 at 2:15 AM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

 Ahh, I misunderstood then, I though that every thing that were not in
 compliance was commented out.

 Looks really nice with the new simplified names.

 2009/9/15 Jeremy Thomerson jer...@wickettraining.com:

  Nino,
 
   Thanks for taking a look at this.  This is only half the battle, though.
  Looking back earlier in this thread, you'll see that the actual problem
 was
  that jquery is not following the naming conventions in
  /wicketstuff-core/jquery-parent/jquery/pom.xml it uses an artifact ID of
  wicketstuff-jquery.  There are two problems with this.  One, we were
  removing all of the wicketstuff- names from the children modules, and
  leaving it only on the parent - wicketstuff-core.  The other is that it
  doesn't match the folder name (jquery) - which causes some minor issues
  with some of the maven plugins that (blindly) rely on the folder and
  artifact ID to be the same.
 
  So, in this case, the pom.xml should be changed so that artifact ID is
  jquery - to match the convention and the folder name.
 
  There may be others - I just don't know - haven't looked in a while.
 
  --
  Jeremy Thomerson
  http://www.wickettraining.com
 
 
 
  On Mon, Sep 14, 2009 at 4:10 AM, nino martinez wael 
  nino.martinez.w...@gmail.com wrote:
 
  Hmm seems the only one who are not compiling are ddcalendar.. The
  other two are syringe and shiro-security, until their dependencies
  become available..
 
  There seems to be something here :
 
  http://repository.apache.org/snapshots/org/apache/shiro/
 
  Tauren mentioned that he would correct the pom..? Or did he mean that
  it had to be on the common maven repository..?
 
  And as for syringe commons proxy 1.1 is still not out :(
 
  -Nino
 
  2009/9/11 nino martinez wael nino.martinez.w...@gmail.com:
   Let me see if I could do that in the coming weeks. However we could
   have a red zone for projects that are becoming outdated.. If of course
   there are any? Just to tell the authors that they are in danger of
   being removed - attic.
  
   2009/9/10 Jeremy Thomerson jer...@wickettraining.com:
   In the time it would take to generate the list, you could fix the
  problems.
   I wrote detailed instructions for adding projects to WS-core, so
 someone
   should be able to take those and fix the projects that are not
 meeting
  those
   standards.
  
   You want to do it?
  
   --
   Jeremy Thomerson
   http://www.wickettraining.com
  
  
  
   On Thu, Sep 10, 2009 at 1:11 PM, nino martinez wael 
   nino.martinez.w...@gmail.com wrote:
  
   Hi Jeremy
  
   Should we have a list of offendending project?
  
   2009/9/6 Jeremy Thomerson jer...@wickettraining.com:
First, jquery was built.  They don't follow the naming conventions
  like
   they
should, so you have to look into the pom to realize that it's
  actually
wicketstuff-jquery [1].
   
Second, regarding merged resources - there's a link on the wiki
 [2]
  that
explains how.  Please make sure to follow all conventions and run
  mvn
   clean
install as well as mvn site:site on all of wicketstuff-core
 when
  you
   are
done.  If you can't build everything or you can't generate sites,
  please
don't commit.  I just comment out projects that can't easily be
 fixed
  and
built when building releases.
   
[1]
   
  
 
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-jquery/1.4.1/
[2]
   
  
 
 http://wicketstuff.org/confluence/display/STUFFWIKI/WicketStuff+Core+-+Migration+Guide
   
Best regards,
   
--
Jeremy Thomerson
http://www.wickettraining.com
   
   
   
On Sun, Sep 6, 2009 at 11:22 AM, Jörn Zaefferer 
joern.zaeffe...@googlemail.com wrote:
   
So jquery-parent was build, which just references jquery and
jquery-examples - neither of which were build. Whats the point of
that?
   
Also, how can we get wicketstuff-merged-resources included in the
  next
release?
   
Jörn
   
On Mon, Aug 31, 2009 at 10:20 PM, Jeremy
Thomersonjer...@wickettraining.com wrote:
 I have

  1   2   3   4   5   6   7   8   9   >