Re: need source code for [AutoCompleteTextField]
I want to implement AutoCompleteTextField that ships with Wicket but not the built-in functionality that ships with wicket. For Example: various Countries & ISO languages have been shiped with wicket as default (as implemented in the wicket library examples) So, i want to introduce my own values(choices) stored in an array through java code. those will be populate when i press any of those choices' prefixes. thanx... --- On Thu, 4/2/09, Jeremy Thomerson wrote: From: Jeremy Thomerson Subject: Re: need source code for [AutoCompleteTextField] To: users@wicket.apache.org Date: Thursday, April 2, 2009, 5:51 AM So, let me see if I understand this You want the source code to implement an AutoCompleteTextField. BUT - You don't want the source to the AutoCompleteTextField that ships as a DEFAULT PART OF WICKET? Why? -- Jeremy Thomerson http://www.wickettraining.com On Thu, Apr 2, 2009 at 12:45 AM, FaRHaN wrote: > Anybody who loves to develop applications with Ajax will certainly know the > Autocomplete behaviour of Ajax and most probably he developed this feature > in his application also. > I want to introduce that feature in my application, that will take input > (choices) stored in an array of strings or in database. Please provide me > some source code example to accomplish this behaviour. > (Please dont refer me to Wicket library examples because built-in > functionality has been implemented in those Ajax examples) > > Thanx... > > > >
OnChangeAjaxBehavior
Hi, I have RadioChoice component and CompoundPropertyModel. I've added OnChangeAjaxBehavior but when I change value and go to method "onUpdate" then the model object is not updated yet. am I using wrong behaviour or what is it wrong? thx, Vitek
Re: need source code for [AutoCompleteTextField]
Because here's some perfectly good source for an AutoCompleteTextField: http://svn.apache.org/repos/asf/wicket/trunk/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/AutoCompleteTextField.java -- Jeremy Thomerson http://www.wickettraining.com On Thu, Apr 2, 2009 at 12:51 AM, Jeremy Thomerson wrote: > So, let me see if I understand this > > You want the source code to implement an AutoCompleteTextField. > > BUT - You don't want the source to the AutoCompleteTextField that ships as > a DEFAULT PART OF WICKET? > > Why? > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > > On Thu, Apr 2, 2009 at 12:45 AM, FaRHaN wrote: > >> Anybody who loves to develop applications with Ajax will certainly know >> the Autocomplete behaviour of Ajax and most probably he developed this >> feature in his application also. >> I want to introduce that feature in my application, that will take input >> (choices) stored in an array of strings or in database. Please provide me >> some source code example to accomplish this behaviour. >> (Please dont refer me to Wicket library examples because built-in >> functionality has been implemented in those Ajax examples) >> >> Thanx... >> >> >> >> > > >
Re: need source code for [AutoCompleteTextField]
So, let me see if I understand this You want the source code to implement an AutoCompleteTextField. BUT - You don't want the source to the AutoCompleteTextField that ships as a DEFAULT PART OF WICKET? Why? -- Jeremy Thomerson http://www.wickettraining.com On Thu, Apr 2, 2009 at 12:45 AM, FaRHaN wrote: > Anybody who loves to develop applications with Ajax will certainly know the > Autocomplete behaviour of Ajax and most probably he developed this feature > in his application also. > I want to introduce that feature in my application, that will take input > (choices) stored in an array of strings or in database. Please provide me > some source code example to accomplish this behaviour. > (Please dont refer me to Wicket library examples because built-in > functionality has been implemented in those Ajax examples) > > Thanx... > > > >
Re: WicketTester assertPageLink and BookmarkablePageLink
I ran into the same problem the other day. I quickly added a method to our test helper that we extend to do this. I had a quick look at the code to see what it was doing for the assertPageLink, and testing Bookmarkable links is easier... something like public void assertBookmarkablePageLink(final String path, final Class expectedPageClass) { final BookmarkablePageLink pageLink = (BookmarkablePageLink)getComponentFromLastRenderedPage(path); final Class pageClass = pageLink.getPageClass(); Assert.assertEquals("expect bookmarkablepagelink that links to the expected class",expectedPageClass, pageClass); } Alan wrote: Thanks Martijn for your answer, but I think I didn't make myself clear enough, I'm writing a JUnit test for a custom component (subclass of Panel), This custom component is made of several standard components such as Label, and BookmarkablePageLink I want to test that this component is rendered correctly. So I use a WicketTester to render the Component, then assertLabel for the Label objects. But I didn't find how to test the BookmarkablePageLink object. The only way I found to check that a link is present is to do assertComponent("mylink",BookmarkablePageLink.class); but it is not explicit enough to test that the BookmarkablePageLink actually goes to the Link I have created. Thus my original question, is there something equivalent to assertLabel, for a BookmarkablePageLink ? Or am I mistaking totally? [image: :)] Alan 2009/4/1 Martijn Dashorst clickLink("book"); assertRenderedPage(Book.class); Martijn On Tue, Mar 31, 2009 at 11:56 PM, Alan wrote: Hi ! I have a very quick question. Is there a way to test a BookmarkablePageLink ? Something similar to the assertPageLink method? Thanks, Alan -- Jason Lea
need source code for [AutoCompleteTextField]
Anybody who loves to develop applications with Ajax will certainly know the Autocomplete behaviour of Ajax and most probably he developed this feature in his application also. I want to introduce that feature in my application, that will take input (choices) stored in an array of strings or in database. Please provide me some source code example to accomplish this behaviour. (Please dont refer me to Wicket library examples because built-in functionality has been implemented in those Ajax examples) Thanx...
Re: setting up REST API that can respond to requests alongside Wicket
Allow me to jump in, since it kinda touches on a related subject we discussed earlier today: http://www.nabble.com/Wicket-and-(or)-restlet-tt22822162.html#a22833918 What I understand from Jamie is to do kind of the reverse from what I wanted, that is, hook into the raw data Wicket is using to serve Ajax components etc. and use it to serve public REST requests. If this was possible, I would no longer be using Jersey to serve occasional web content but rather use Wicket to serve occasional REST requests. If I have completely misunderstood you Jamie and is thus stealing your thread, I apologize. /Casper On Thu, Apr 2, 2009 at 5:01 AM, Igor Vaynberg wrote: > yeah, you can map wicket to /* and services to /services/*. wicket > filter will let requests that do not map fallthrough, just make sure > you have no wicket mounts that are on /services/*. > > i still dont get what you mean by wicket daos. wicket has no daos. if > you put your services handling into the same webapp then it will all > live in the same classloader. > > if you were using spring or guice then wicket would obtain the daos > from spring or guice inside its components, and the same would happen > inside your services classes. > > if you deploy this as a single webapp then the shared space is the > servlet context which every filter and servlet can access. > > -igor > > On Wed, Apr 1, 2009 at 7:51 PM, jpswain wrote: > > > > Igor, > > > > Thanks for the response. Sorry, I wasn't very clear when I said "wicket > > realm." > > > > What I meant was to be able to access the Wicket DAO's and stuff like > that. > > Maybe what I am talking about is only directly possible with objects that > > share the same classloader? > > > > Would the best way to offload the incoming REST requests with RMI? > > > > Also, would it be possible to map wicket to /* and services to > /services/*? > > > > Finally, thanks for everything you and all the other Wicket developers do > to > > advance Wicket and make it the best Web Framework on the planet!! It's > > really a pleasure to work with :) > > > > Jamie > > > > > > igor.vaynberg wrote: > >> > >> map your wicket filter to /app/* and your services filter/servlet to > >> /services/* > >> > >> im not sure what you mean by services impl calling objects in the > >> wicket realm - all that is or should be in the wicket realm are ui > >> objects you wont have a need to reuse in your services.. > >> > >> -igor > >> > >> On Wed, Apr 1, 2009 at 6:03 PM, Jamie Swain wrote: > >>> I'm sorry this isn't directly a Wicket question, but I thought you > >>> guys in here might be able to help :). What I'm doing is building a > >>> Wicket-based web app, and I would additionally like to offer some data > >>> to other sites/clients in the form of an HTTP-REST API (that responds > >>> to simple GET and POST requests and returns XML and/or JSON). (It > >>> would be something that works kind of like the Twitter API > >>> http://apiwiki.twitter.com/REST+API+Documentation). > >>> > >>> My question is what is the best way to access the objects and classes > >>> that Wicket can see and call methods on from my REST Web Service API. > >>> > >>> Do I create a separate servlet running the the same Tomcat Server that > >>> can call somehow objects in the Wicket realm? > >>> > >>> Or is there a class I can implement within my Wicket-based app that > >>> can respond to these REST requests? It would probably be most > >>> feasible for now to have it all integrated into the same app. > >>> > >>> I have been working with Wicket for a while, and feel pretty > >>> comfortable with it, but I don't really have any experience working > >>> with servlets, so I'd really appreciate a little guidance on this. > >>> > >>> I appreciate the help guys! > >>> Thanks, > >>> Jamie > >>> > >>> - > >>> 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 > >> > >> > >> > > > > -- > > View this message in context: > http://www.nabble.com/setting-up-REST-API-that-can-respond-to-requests-alongside-Wicket-tp22839000p22839851.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: setting up REST API that can respond to requests alongside Wicket
yeah, you can map wicket to /* and services to /services/*. wicket filter will let requests that do not map fallthrough, just make sure you have no wicket mounts that are on /services/*. i still dont get what you mean by wicket daos. wicket has no daos. if you put your services handling into the same webapp then it will all live in the same classloader. if you were using spring or guice then wicket would obtain the daos from spring or guice inside its components, and the same would happen inside your services classes. if you deploy this as a single webapp then the shared space is the servlet context which every filter and servlet can access. -igor On Wed, Apr 1, 2009 at 7:51 PM, jpswain wrote: > > Igor, > > Thanks for the response. Sorry, I wasn't very clear when I said "wicket > realm." > > What I meant was to be able to access the Wicket DAO's and stuff like that. > Maybe what I am talking about is only directly possible with objects that > share the same classloader? > > Would the best way to offload the incoming REST requests with RMI? > > Also, would it be possible to map wicket to /* and services to /services/*? > > Finally, thanks for everything you and all the other Wicket developers do to > advance Wicket and make it the best Web Framework on the planet!! It's > really a pleasure to work with :) > > Jamie > > > igor.vaynberg wrote: >> >> map your wicket filter to /app/* and your services filter/servlet to >> /services/* >> >> im not sure what you mean by services impl calling objects in the >> wicket realm - all that is or should be in the wicket realm are ui >> objects you wont have a need to reuse in your services.. >> >> -igor >> >> On Wed, Apr 1, 2009 at 6:03 PM, Jamie Swain wrote: >>> I'm sorry this isn't directly a Wicket question, but I thought you >>> guys in here might be able to help :). What I'm doing is building a >>> Wicket-based web app, and I would additionally like to offer some data >>> to other sites/clients in the form of an HTTP-REST API (that responds >>> to simple GET and POST requests and returns XML and/or JSON). (It >>> would be something that works kind of like the Twitter API >>> http://apiwiki.twitter.com/REST+API+Documentation). >>> >>> My question is what is the best way to access the objects and classes >>> that Wicket can see and call methods on from my REST Web Service API. >>> >>> Do I create a separate servlet running the the same Tomcat Server that >>> can call somehow objects in the Wicket realm? >>> >>> Or is there a class I can implement within my Wicket-based app that >>> can respond to these REST requests? It would probably be most >>> feasible for now to have it all integrated into the same app. >>> >>> I have been working with Wicket for a while, and feel pretty >>> comfortable with it, but I don't really have any experience working >>> with servlets, so I'd really appreciate a little guidance on this. >>> >>> I appreciate the help guys! >>> Thanks, >>> Jamie >>> >>> - >>> 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 >> >> >> > > -- > View this message in context: > http://www.nabble.com/setting-up-REST-API-that-can-respond-to-requests-alongside-Wicket-tp22839000p22839851.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: setting up REST API that can respond to requests alongside Wicket
Igor, Thanks for the response. Sorry, I wasn't very clear when I said "wicket realm." What I meant was to be able to access the Wicket DAO's and stuff like that. Maybe what I am talking about is only directly possible with objects that share the same classloader? Would the best way to offload the incoming REST requests with RMI? Also, would it be possible to map wicket to /* and services to /services/*? Finally, thanks for everything you and all the other Wicket developers do to advance Wicket and make it the best Web Framework on the planet!! It's really a pleasure to work with :) Jamie igor.vaynberg wrote: > > map your wicket filter to /app/* and your services filter/servlet to > /services/* > > im not sure what you mean by services impl calling objects in the > wicket realm - all that is or should be in the wicket realm are ui > objects you wont have a need to reuse in your services.. > > -igor > > On Wed, Apr 1, 2009 at 6:03 PM, Jamie Swain wrote: >> I'm sorry this isn't directly a Wicket question, but I thought you >> guys in here might be able to help :). What I'm doing is building a >> Wicket-based web app, and I would additionally like to offer some data >> to other sites/clients in the form of an HTTP-REST API (that responds >> to simple GET and POST requests and returns XML and/or JSON). (It >> would be something that works kind of like the Twitter API >> http://apiwiki.twitter.com/REST+API+Documentation). >> >> My question is what is the best way to access the objects and classes >> that Wicket can see and call methods on from my REST Web Service API. >> >> Do I create a separate servlet running the the same Tomcat Server that >> can call somehow objects in the Wicket realm? >> >> Or is there a class I can implement within my Wicket-based app that >> can respond to these REST requests? It would probably be most >> feasible for now to have it all integrated into the same app. >> >> I have been working with Wicket for a while, and feel pretty >> comfortable with it, but I don't really have any experience working >> with servlets, so I'd really appreciate a little guidance on this. >> >> I appreciate the help guys! >> Thanks, >> Jamie >> >> - >> 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 > > > -- View this message in context: http://www.nabble.com/setting-up-REST-API-that-can-respond-to-requests-alongside-Wicket-tp22839000p22839851.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: Feedback Panel
ty. On Wed, Apr 1, 2009 at 9:33 PM, Jeremy Thomerson wrote: > this.error(getString('key')) > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > On Wed, Apr 1, 2009 at 9:23 PM, Luther Baker > wrote: > > > I have an onSubmit handler that fails. I would like to catch the > exception > > and explicitly write a message to the page's FeedbackPanel. The message > > would be a 'message' from Page.properties ... > > > > My problem is that a literal string works just fine ... > > this.error("something I said") but how do I get something from my > Resource > > or messages file in there? > > > > Something like > > > >this.error(new ResourceModel("key")); > > > > obviously doesn't work ... but is there a well defined way? > > > > Thanks, > > > > -Luther > > >
Re: Feedback Panel
this.error(getString('key')) -- Jeremy Thomerson http://www.wickettraining.com On Wed, Apr 1, 2009 at 9:23 PM, Luther Baker wrote: > I have an onSubmit handler that fails. I would like to catch the exception > and explicitly write a message to the page's FeedbackPanel. The message > would be a 'message' from Page.properties ... > > My problem is that a literal string works just fine ... > this.error("something I said") but how do I get something from my Resource > or messages file in there? > > Something like > >this.error(new ResourceModel("key")); > > obviously doesn't work ... but is there a well defined way? > > Thanks, > > -Luther >
Feedback Panel
I have an onSubmit handler that fails. I would like to catch the exception and explicitly write a message to the page's FeedbackPanel. The message would be a 'message' from Page.properties ... My problem is that a literal string works just fine ... this.error("something I said") but how do I get something from my Resource or messages file in there? Something like this.error(new ResourceModel("key")); obviously doesn't work ... but is there a well defined way? Thanks, -Luther
delete onSubmit
I am trying to delete an object in my form's Submit handler. In one case, the object has references to other objects and so it correctly complains throws a (GenericJDBCException). When the view refreshes, the "Choose One" method is gone and the previously selected object is selected again. If I submit the form it throws a different Hibernate error (NonUniqueObjectException) which all subsequent requests throw. If I navigate away from the page and back, the first exception to be thrown on deletion submit is again, GenericJDBCException - afterwhich subsequent requests throw NonUniqueObjectException. Per the OSIV pattern, I am creating a new Session and creating a high level transaction in an outer JEE filter. I think this is all correct behavior but I'm wondering why the NonUniqueObjectException on all subsequent delete requests from the same page. The form is indeed tied directly to an instance of the object I am deleting. I am guessing that it is, as it indicates, trying to continually delete an object that already exists in Hibernate's memory. Is there a way to correctly/formally "remove" the object from Hibernate's immediate memory? I think that is more than simply "disconnecting" it since, each request by definition creates a new Session object to which, this particular Hibernate entity object isn't attached to. Thanks in advance. I'm a noobie to both so I apologize if this is really a Hibernate question. -Luther
Re: setting up REST API that can respond to requests alongside Wicket
map your wicket filter to /app/* and your services filter/servlet to /services/* im not sure what you mean by services impl calling objects in the wicket realm - all that is or should be in the wicket realm are ui objects you wont have a need to reuse in your services.. -igor On Wed, Apr 1, 2009 at 6:03 PM, Jamie Swain wrote: > I'm sorry this isn't directly a Wicket question, but I thought you > guys in here might be able to help :). What I'm doing is building a > Wicket-based web app, and I would additionally like to offer some data > to other sites/clients in the form of an HTTP-REST API (that responds > to simple GET and POST requests and returns XML and/or JSON). (It > would be something that works kind of like the Twitter API > http://apiwiki.twitter.com/REST+API+Documentation). > > My question is what is the best way to access the objects and classes > that Wicket can see and call methods on from my REST Web Service API. > > Do I create a separate servlet running the the same Tomcat Server that > can call somehow objects in the Wicket realm? > > Or is there a class I can implement within my Wicket-based app that > can respond to these REST requests? It would probably be most > feasible for now to have it all integrated into the same app. > > I have been working with Wicket for a while, and feel pretty > comfortable with it, but I don't really have any experience working > with servlets, so I'd really appreciate a little guidance on this. > > I appreciate the help guys! > Thanks, > Jamie > > - > 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
setting up REST API that can respond to requests alongside Wicket
I'm sorry this isn't directly a Wicket question, but I thought you guys in here might be able to help :). What I'm doing is building a Wicket-based web app, and I would additionally like to offer some data to other sites/clients in the form of an HTTP-REST API (that responds to simple GET and POST requests and returns XML and/or JSON). (It would be something that works kind of like the Twitter API http://apiwiki.twitter.com/REST+API+Documentation). My question is what is the best way to access the objects and classes that Wicket can see and call methods on from my REST Web Service API. Do I create a separate servlet running the the same Tomcat Server that can call somehow objects in the Wicket realm? Or is there a class I can implement within my Wicket-based app that can respond to these REST requests? It would probably be most feasible for now to have it all integrated into the same app. I have been working with Wicket for a while, and feel pretty comfortable with it, but I don't really have any experience working with servlets, so I'd really appreciate a little guidance on this. I appreciate the help guys! Thanks, Jamie - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Picket Web Framework -- PHP's answer to Java's Wicket
Hey man... if its got laser beams, I'm in! - Brill On 1-Apr-09, at 6:37 PM, Jonathan Locke wrote: will this include SHARKS with FRICKIN' LASER BEAMS attached to their heads? Otan wrote: Are you a fan of Wicket but you can't use it because your company or client is tied with PHP? Have you ever wished that Wicket was available in the PHP land? Picket to the rescue! Picket is a project that aims to bring Wicket's awesome features and philosophy to the PHP community. The project was started by YouSoft Consulting (Nasdaq: YSFT) and being used internally since 2006. Now that Picket 1.1 has been released, and is stable enough for prime time, YouSoft opened the source code for public consumption with multi-licenses, namely, GPL v2, GPL v3, BSD, Apache, MPL and CDDL. For more information, visit its official website at http://4thmonth.yousoft.com/1stday/picket Have a happy day! -- View this message in context: http://www.nabble.com/Picket-Web-FrameworkPHP%27s-answer-to-Java%27s-Wicket-tp22820258p22834990.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: VOTE: Rename Apache Wicket to Apache WicketFX
-1 (because this isn't real) As ashamed as I am to say it, "WicketFX" does sound kind of cool! Martijn Dashorst-4 wrote: > > The Wicket PMC has discussed the following action. Because I think it > is prudent that the Wicket community keeps evolving with the state of > Java, I've created a board resolution to rename Wicket to WicketFX > (thanks Igor for the suggestion!) > > WHEREAS, the Board of Directors deems it to be in the best interests > of the Foundation and the Apache Wicket community to rename Apache > Wicket to Apache WicketFX to get presentation slots at the JavaOne > conference, and make it easier to obtain JSR status. > > NOW, THEREFORE, BE IT RESOLVED, that the project formerly known as the > "Apache Wicket" project, be and hereby is renamed to "Apache > WicketFX"; and be it further > > RESOLVED, that the Apache WicketFX PMC be and hereby is responsible to > submit or propose new presentations and tutorials to the JavaOne > Conference concerning Wicket and FX; and be it further > > RESOLVED, that the Apache WicketFX PMC be and hereby is responsible to > submit the Apache WicketFX project to the JCP and obtain JSR status; > and be it further > > RESOLVED, that the original Apache Wicket PMC be and hereby is > dissolved of its responsibilities for this day, April 1st, 2009. > > [ ] +1, accept above resolution > [ ] -1, don't accept above resolution, because ... > > This vote runs for just today, otherwise we won't be able to get it > accepted by the board this month. > > Martijn > > - > 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/VOTE%3A-Rename-Apache-Wicket-to-Apache-WicketFX-tp22820921p22835019.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: Picket Web Framework -- PHP's answer to Java's Wicket
http://compsoc.dur.ac.uk/whitespace/ all the way! -igor On Wed, Apr 1, 2009 at 3:31 PM, Barry van Someren wrote: > I was holding out for the brainf*ck version ;-) > > On Thu, Apr 2, 2009 at 12:27 AM, bchi49 wrote: >> >> oh man!!! April 1st >> >> bchi49 wrote: >>> >>> Alright I was just wondering if it's available for PHP!!! >>> >>> Otan wrote: Are you a fan of Wicket but you can't use it because your company or client is tied with PHP? Have you ever wished that Wicket was available in the PHP land? Picket to the rescue! Picket is a project that aims to bring Wicket's awesome features and philosophy to the PHP community. The project was started by YouSoft Consulting (Nasdaq: YSFT) and being used internally since 2006. Now that Picket 1.1 has been released, and is stable enough for prime time, YouSoft opened the source code for public consumption with multi-licenses, namely, GPL v2, GPL v3, BSD, Apache, MPL and CDDL. For more information, visit its official website at http://4thmonth.yousoft.com/1stday/picket Have a happy day! >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Picket-Web-FrameworkPHP%27s-answer-to-Java%27s-Wicket-tp22820258p22834971.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 >> >> > > > > -- > Barry van Someren > --- > LinkedIn: http://www.linkedin.com/in/barryvansomeren > Skype: BvsomerenSprout > Blog: http://blog.bvansomeren.com > KvK: 27317624 > irc: BarryNL @ FreeNode > > - > 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: Picket Web Framework -- PHP's answer to Java's Wicket
will this include SHARKS with FRICKIN' LASER BEAMS attached to their heads? Otan wrote: > > Are you a fan of Wicket but you can't use it because your company or > client > is tied with PHP? Have you ever wished that Wicket was available in the > PHP > land? > > Picket to the rescue! > > Picket is a project that aims to bring Wicket's awesome features and > philosophy to the PHP community. The project was started by YouSoft > Consulting (Nasdaq: YSFT) and being used internally since 2006. Now that > Picket 1.1 has been released, and is stable enough for prime time, YouSoft > opened the source code for public consumption with multi-licenses, namely, > GPL v2, GPL v3, BSD, Apache, MPL and CDDL. > > For more information, visit its official website at > http://4thmonth.yousoft.com/1stday/picket > > Have a happy day! > > -- View this message in context: http://www.nabble.com/Picket-Web-FrameworkPHP%27s-answer-to-Java%27s-Wicket-tp22820258p22834990.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: Picket Web Framework -- PHP's answer to Java's Wicket
I was holding out for the brainf*ck version ;-) On Thu, Apr 2, 2009 at 12:27 AM, bchi49 wrote: > > oh man!!! April 1st > > bchi49 wrote: >> >> Alright I was just wondering if it's available for PHP!!! >> >> Otan wrote: >>> >>> Are you a fan of Wicket but you can't use it because your company or >>> client >>> is tied with PHP? Have you ever wished that Wicket was available in the >>> PHP >>> land? >>> >>> Picket to the rescue! >>> >>> Picket is a project that aims to bring Wicket's awesome features and >>> philosophy to the PHP community. The project was started by YouSoft >>> Consulting (Nasdaq: YSFT) and being used internally since 2006. Now that >>> Picket 1.1 has been released, and is stable enough for prime time, >>> YouSoft >>> opened the source code for public consumption with multi-licenses, >>> namely, >>> GPL v2, GPL v3, BSD, Apache, MPL and CDDL. >>> >>> For more information, visit its official website at >>> http://4thmonth.yousoft.com/1stday/picket >>> >>> Have a happy day! >>> >>> >> >> > > -- > View this message in context: > http://www.nabble.com/Picket-Web-FrameworkPHP%27s-answer-to-Java%27s-Wicket-tp22820258p22834971.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 > > -- Barry van Someren --- LinkedIn: http://www.linkedin.com/in/barryvansomeren Skype: BvsomerenSprout Blog: http://blog.bvansomeren.com KvK: 27317624 irc: BarryNL @ FreeNode - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Picket Web Framework -- PHP's answer to Java's Wicket
oh man!!! April 1st bchi49 wrote: > > Alright I was just wondering if it's available for PHP!!! > > Otan wrote: >> >> Are you a fan of Wicket but you can't use it because your company or >> client >> is tied with PHP? Have you ever wished that Wicket was available in the >> PHP >> land? >> >> Picket to the rescue! >> >> Picket is a project that aims to bring Wicket's awesome features and >> philosophy to the PHP community. The project was started by YouSoft >> Consulting (Nasdaq: YSFT) and being used internally since 2006. Now that >> Picket 1.1 has been released, and is stable enough for prime time, >> YouSoft >> opened the source code for public consumption with multi-licenses, >> namely, >> GPL v2, GPL v3, BSD, Apache, MPL and CDDL. >> >> For more information, visit its official website at >> http://4thmonth.yousoft.com/1stday/picket >> >> Have a happy day! >> >> > > -- View this message in context: http://www.nabble.com/Picket-Web-FrameworkPHP%27s-answer-to-Java%27s-Wicket-tp22820258p22834971.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: Picket Web Framework -- PHP's answer to Java's Wicket
Alright I was just wondering if it's available for PHP!!! Otan wrote: > > Are you a fan of Wicket but you can't use it because your company or > client > is tied with PHP? Have you ever wished that Wicket was available in the > PHP > land? > > Picket to the rescue! > > Picket is a project that aims to bring Wicket's awesome features and > philosophy to the PHP community. The project was started by YouSoft > Consulting (Nasdaq: YSFT) and being used internally since 2006. Now that > Picket 1.1 has been released, and is stable enough for prime time, YouSoft > opened the source code for public consumption with multi-licenses, namely, > GPL v2, GPL v3, BSD, Apache, MPL and CDDL. > > For more information, visit its official website at > http://4thmonth.yousoft.com/1stday/picket > > Have a happy day! > > -- View this message in context: http://www.nabble.com/Picket-Web-FrameworkPHP%27s-answer-to-Java%27s-Wicket-tp22820258p22834947.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-auth-roles + EJB 3 (Authentication and Authorization)
Hi, Sorry for not getting back sooner. I've decided to try the integration as listed in the Wiki and use container authentication for now. For now it seems to work, but if it doesn't I'll give you solution a try (or I might refactor to it at some point as it sounds nicer) Thank you for your help! On Mon, Mar 23, 2009 at 8:51 AM, Marc Ende wrote: > Hi Barry, > > I've running three webapps using wicket (1.3) wicket-security (SWARM/WASP) > together with JAAS. > It's working great. Ok, the logout isn't very nice but it's doing it's job. > At first I had the same impression that's a hack and complicated but now, > using it several times. It looks easy and it makes sense to me. > > Thinks I had to do: > - Create a "CustomPrincipal" > Just let it implement > "org.apache.wicket.security.hive.authorization.Principal" > - Create a "CustomSubject" > Extends "org.apache.wicket.security.hive.authentication.DefaultSubject" > > - Create a "CustomLoginContext" > Extends "org.apache.wicket.security.hive.authentication.LoginContext" > implement the JAAS Login in the login() method of the CustomLoginContext > and take care that the subject is filled with the username and the gorups > (of jaas) > are filled in as principals in the subject. > > - Modify your WebApplication to extend Swam > Extend "org.apache.wicket.security.swarm.SwarmWebApplication" > implement setUpHive and getLoginPage > > - create your hive-file. > > You wanted to use w1.4, so I think that you'll have to patch swarm/wasp a > little bit to work with 1.4 > > M. > > Barry van Someren schrieb: >> >> Hi all, >> >> I've been busy on a project of mine that uses Wicket 1.4 RC 2 as a >> frontend to a collection of EJB3 beans containing my business logic. >> As users of this application will be able to use webservices as well >> to use the application I'd also like to use authentication and more >> importantly authorization on the side of the EJB's >> >> I'm fairly familiar with EJB security but not very familiar with >> Wicket security and I'm wondering what is the best course of action to >> authenticate a user inside the Wicket application AND to put these >> credentials inside the EJBContext? >> I'm looking at >> http://cwiki.apache.org/WICKET/servlet-container-authentication.html >> and seeing if I can somehow integrate the two, but it sounds a bit >> like a hack. >> >> Any other suggestions worth looking at? >> Google is not returning much unfortunately. >> >> Many thanks! >> >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Barry van Someren --- LinkedIn: http://www.linkedin.com/in/barryvansomeren Skype: BvsomerenSprout Blog: http://blog.bvansomeren.com KvK: 27317624 irc: BarryNL @ FreeNode - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: WicketTester assertPageLink and BookmarkablePageLink
Thanks Martijn for your answer, but I think I didn't make myself clear enough, I'm writing a JUnit test for a custom component (subclass of Panel), This custom component is made of several standard components such as Label, and BookmarkablePageLink I want to test that this component is rendered correctly. So I use a WicketTester to render the Component, then assertLabel for the Label objects. But I didn't find how to test the BookmarkablePageLink object. The only way I found to check that a link is present is to do assertComponent("mylink",BookmarkablePageLink.class); but it is not explicit enough to test that the BookmarkablePageLink actually goes to the Link I have created. Thus my original question, is there something equivalent to assertLabel, for a BookmarkablePageLink ? Or am I mistaking totally? [image: :)] Alan 2009/4/1 Martijn Dashorst > clickLink("book"); > assertRenderedPage(Book.class); > > Martijn > > On Tue, Mar 31, 2009 at 11:56 PM, Alan wrote: > > Hi ! I have a very quick question. > > Is there a way to test a BookmarkablePageLink ? Something similar to the > > assertPageLink method? > > Thanks, > > Alan > > > > >
Re: VOTE: Rename Apache Wicket to Apache WicketFX
Marko Sibakov wrote: Someone has already made logo for us http://3.bp.blogspot.com/_hXCPcd3owoI/RwvVRW1wlBI/ACE/UcDATzR4F9c/s1600/logo.jpg including lens flare, glow around the characters and textured font. now we just need it to rotate aka amiga demo style :) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: drag and drop
implements Serializable 2009/4/1 Daniel Ferreira Castro : > I was reading the drag and drop thread, started on March 19th and trying to > use the *yui *ajax implementation as the yui example suggests.But I am > recieving an exception like that > > It is wierd because I declared the class field TargetSlot as transient. No > matter if I declare it as transient or not, the result is the same. > > Did anyone have any similar bug? how to solve it? > > ERROR - Objects- Error serializing object class > com.jasp.ecommfwk.pages.common.layout.Index [object=[Page class = > com.jasp.ecommfwk.pages.common.layout.Index, id = 0, version = 0]] > org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: > Unable to serialize class: > org.wicketstuff.yui.markup.html.dragdrop.TargetSlot > Field hierarchy is: > 0 [class=com.jasp.ecommfwk.pages.common.layout.Index, path=0] >private java.lang.Object org.apache.wicket.MarkupContainer.children > [class=[Ljava.lang.Object;] > private org.apache.wicket.markup.html.link.PopupSettings > org.apache.wicket.markup.html.link.Link.popupSettings[2] > [class=org.apache.wicket.extensions.ajax.markup.html.tabs.AjaxTabbedPanel, > path=0:tabs] >private java.lang.Object org.apache.wicket.MarkupContainer.children > [class=[Ljava.lang.Object;] > private org.apache.wicket.markup.html.link.PopupSettings > org.apache.wicket.markup.html.link.Link.popupSettings[1] > [class=com.jasp.ecommfwk.pages.common.layout.panels.configuracao.ConfiguracaoPanel, > path=0:tabs:panel] >private java.lang.Object > org.apache.wicket.MarkupContainer.children > [class=org.apache.wicket.extensions.markup.html.tabs.TabbedPanel, > path=0:tabs:panel:Configuracoes] > private java.lang.Object > org.apache.wicket.MarkupContainer.children [class=[Ljava.lang.Object;] >private org.apache.wicket.markup.html.link.PopupSettings > org.apache.wicket.markup.html.link.Link.popupSettings[1] > [class=com.jasp.ecommfwk.pages.vitrine.ConfiguracaoVitrinePanel, > path=0:tabs:panel:Configuracoes:panel] > private java.lang.Object > org.apache.wicket.MarkupContainer.children [class=[Ljava.lang.Object;] >private final java.lang.Object[] > org.apache.wicket.model.StringResourceModel.parameters[0][2] > [class=org.wicketstuff.yui.markup.html.dragdrop.DragDropGroup, > path=0:tabs:panel:Configuracoes:panel:dragDrop] > private java.lang.Object > org.apache.wicket.MarkupContainer.children [class=[Ljava.lang.Object;] >private java.lang.Object > org.apache.wicket.markup.html.form.FormComponent.validators[2] > [class=org.wicketstuff.yui.markup.html.dragdrop.DragDropGroup$3, > path=0:tabs:panel:Configuracoes:panel:dragDrop:targetListView] > java.lang.Object org.apache.wicket.Component.data > [class=org.apache.wicket.model.util.ListModel] >private java.lang.Object > org.apache.wicket.model.util.GenericBaseModel.object > [class=java.util.ArrayList] > private java.lang.Object > org.apache.wicket.model.util.GenericBaseModel.object[write:1] > [class=org.wicketstuff.yui.markup.html.dragdrop.TargetSlot] <- field > that is not serializable > at > org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:349) > at > org.apache.wicket.util.io.SerializableChecker.access$500(SerializableChecker.java:63) > at > org.apache.wicket.util.io.SerializableChecker$1InterceptingObjectOutputStream.replaceObject(SerializableChecker.java:497) > at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1116) > at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) > at java.util.ArrayList.writeObject(ArrayList.java:570) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) > at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461) > at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) > at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) > at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) > at > org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:504) > at > org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618) > at > org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541) > at > org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618) > at > org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541) > at > org.apache.wicket.util.
Re: VOTE: Rename Apache Wicket to Apache WicketFX
chuckle. more of a whine-buzz sound... - brill On 1-Apr-09, at 2:22 PM, Igor Vaynberg wrote: did it make a swoosh sound? :) -igor On Wed, Apr 1, 2009 at 11:20 AM, Brill Pappin wrote: Caught red handed :) I never remember... and since the kids didn't pull anything on me this morning as a reminder, it went completely over my head :) - Brill On 1-Apr-09, at 11:10 AM, Daan van Etten wrote: To make it a bit less painful: Look at the date. :-) Daan Op 1 apr 2009, om 16:25 heeft Brill Pappin het volgende geschreven: ~0/1 I don't care... but I can't say that I think FX makes it "cool"... Sounds more like a bad 90's TV show to me :) As long as it work, I don't care what its called... um... maybe I should qualify that... I don't care what its called as long as I won't be embarrassed when talking to my clients about it :) - brill On 1-Apr-09, at 10:19 AM, Daan van Etten wrote: FX sounds just way cool. "WicketFX. Where function meets form. Web development in style." Say for yourself, would you rather want to work with a framework called Wicket, or a framework called WicketFX?! Birthday parties and pub nights never are the same again: "What technologies you use? - "WicketFX, Spri.." "Wow! You are so cool!" Regards, Daan Op 1 apr 2009, om 15:36 heeft Chenini, Mohamed het volgende geschreven: Same concern here. Why the "FX" suffix? -Original Message- From: Johan Compagner [mailto:jcompag...@gmail.com] Sent: Wednesday, April 01, 2009 9:33 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Failed eXtremely On Wed, Apr 1, 2009 at 15:08, Ames, Tim wrote: Please excuse my EXTREME ignorance, but what exactly does or will the FX mean from a Wicket standpoint? What does it do or allow a developer to do that would designate it as "FX"? -Original Message- From: David Leangen [mailto:wic...@leangen.net] Sent: Wednesday, April 01, 2009 4:08 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Or... WTF! (Wicket The Framework) +1 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. - 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 and (or) restlet
well, i'd be the first to admit i don't know either of these two products deeply, but for the kinds of applications i have for web services, i found jersey to have really easy, transparent support for request parameter processing. you just annotate some parameters, create a jaxb schema and add an @Path attribute and you've pretty much got a web service. although it looks like a nice architecture that sticks to REST terminology, i at least couldn't find how restlet made some of this grunt work easy (but then maybe i missed that somehow). Alexandru Objelean wrote: > > Jonathan, can you elaborate? Why do you think jersey is better? Have you > any experience of integrating it with wicket? > > Thanks! > > > Jonathan Locke wrote: >> >> >> interesting. yeah, igor's right. wicket is not for web services. >> >> i prefer jersey to restlet and jersey plays fine with wicket. >> >> >> Casper Bang-3 wrote: >>> restlet is for building services not uis, that quote makes absolutely no sense. >>> >>> While I agree the quote smells of FUD, one doesn't necessarily exclude >>> the >>> other. The beauty of REST is its statelessness, addressability, >>> representation negotiation, caching and other ways it embraces HTTP >>> rather >>> than run away from it (and use overloaded POST's with tiny RPC handlers >>> for >>> everything). >>> >>> In Jersey it's also possible to serve (dynamic) HTML through a standard >>> templating engine, I'm doing this currently and achieving very high >>> scalability while keeping things simple. The caveat with this approach >>> is >>> that you are stuck to the classic templating model and components don't >>> really exist apart from whatever jQuery/ExtJS stuff you wire up >>> manually. >>> >>> So probably like the OP, I can't help but wonder about the possebility >>> of >>> Wicket running on top as a model-view technology - or perhaps just a >>> programming model adopted after Wicket. >>> >>> /Casper >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Wicket-and-%28or%29-restlet-tp22822162p22833918.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: Transformin a form into a component
Thanks, it worked. :) On Wed, Apr 1, 2009 at 3:49 PM, Igor Vaynberg wrote: > put it into a panel > > -igor > > On Wed, Apr 1, 2009 at 11:46 AM, Daniel Ferreira Castro > wrote: > > I have a doubt about componentizing a Form. > > > > If I create a class, MyForm.java, that extends Form > > Inside of it I declare all the form componets. > > > > After that I create the markup with all the components present on > > MyForm.java. I call it MyForm.html > > > > If I want to use it on a page, like MyPage for instance, how should I > > declare the form component on my page markup? > > It will be like that? Or are there any more steps to take to be able to > > componentize a form? > > > > MyPage.html > > ... > > > > > > MyPage.java > > private final MyForm myform = new myForm("myform"); > > ... > > this.add(myform); > > > > ? > > > > -- > > "Two rules to succeed in life: > > 1 - don´t tell people everything you know." > > > > We shall go on to the end. > > We shall fight in France > > We shall fightover the seas and oceans. > > We shall fight with growing confidence and growing strength in the air. > > We shall defend our island whatever the cost may be > > We shall fight on beaches, we shall fight on the landing grounds, > > We shall fight in the fields and in the streets, > > We shall fight on the hills. > > We shall never surrender. > > Winston Churchill > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- "Two rules to succeed in life: 1 - don´t tell people everything you know." We shall go on to the end. We shall fight in France We shall fightover the seas and oceans. We shall fight with growing confidence and growing strength in the air. We shall defend our island whatever the cost may be We shall fight on beaches, we shall fight on the landing grounds, We shall fight in the fields and in the streets, We shall fight on the hills. We shall never surrender. Winston Churchill
Re: urlFor ResourceStreamRequestTarget returning null
i updated to 1.4-rc2, but that didn't help. right now, with exactly the same codebase, the url is being correctly generated in my development environment - but outputting the bad url in our continuous integration server version. i set up several breakpoints in the WebRequestCodingStrategy class to analyze step by step how urls are being built. but i have no idea when it is going to start working differently again, and be able to compare. i'm really puzzled. hints anyone, on what could be causing this? so i can go debug there thanks francisco 2009/4/1 francisco treacy : > thanks maarten, but i still can't get the url for the resource in the > renderHead method. > > in the open flash chart example, there are two types of urls built: > - resourcereferences (easy peasy to get the url) > - resource, via RequestCycle.get().urlFor(OpenFlashChart.this, > IResourceListener.INTERFACE); > > remember, my component is: > public abstract class SWFComponent extends WebMarkupContainer > implements IResourceListener, IHeaderContributor > > in my case i need the url to a *resource*, so i tried: > > a) RequestCycle.get().urlFor(SWFComponent.this, > IResourceListener.INTERFACE); or urlFor(IResourceListener.INTERFACE); > in the onBeforeRender method > => it outputs the url to a *bookmarkable page* / not my resource: > ?wicket:bookmarkablePage=:app.wicket.project.DocumentPage&wicket:interface=:2:docsPanel:viewer:flash::IResourceListener:: > > b) RequestCycle.get().urlFor(SWFComponent.this, > IResourceListener.INTERFACE); in the renderHead method > => it outputs the url to another different *bookmarkable page* / > not my resource: > ?wicket:bookmarkablePage=:app.wicket.document.DocumentDetailPage&wicket:interface=:10:detailPanel:viewer:flash::IResourceListener:: > > c) urlFor(IResourceListener.INTERFACE); in the renderHead method > => *sometimes* it works. > > this means *sometimes* it outputs > "?wicket:interface=:3:docsPanel:viewer:flash::IResourceListener:: " > (this is correct - it works) , but some other times it outputs " > ?wicket:bookmarkablePage=:app.wicket.document.DocumentDetailPage&wicket:interface=:10:detailPanel:viewer:flash::IResourceListener:: > " (this is not correct - it doesn't work). > > this mysterious behaviour hasn't occured just once, it randomly > happened after compilation several times. > > is this a bug or why does it behave like that? am i misusing the api? > should the resource, markup container and/or header contributor live > in different classes? suggestions? > > thanks again > > francisco > > > 2009/3/31 Maarten Bosteels : >> Have you seen this page [1], it also features an SWFObject. >> >> http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html >> >> regards, >> Maarten >> >> On Tue, Mar 31, 2009 at 3:36 PM, francisco treacy >> wrote: >>> hi all, >>> >>> i can't seem to find the way to get an url for a given RequestTarget. >>> i'm using wicket 1.4-rc1. >>> >>> basically i have an SWFComponent : http://paste.pocoo.org/show/110435/ >>> >>> my problem is in line 35, when i call urlFor(target) to the renderHead >>> method. the target is of type ResourceStreamRequestTarget and when i >>> dig into the sources for the urlFor call, i end up in >>> WebRequestCodingStrategy#encode: >>> >>> // fall through for non-default request targets >>> url = doEncode(requestCycle, requestTarget); >>> >>> doEncode javadoc reads: >>> >>> * In case you are using custom targets that are not part of the >>> default target hierarchy, you >>> * need to override this method, which will be called after the >>> defaults have been tried. When >>> * this doesn't provide a url either (returns null), an exception >>> will be thrown by the encode >>> * method saying that encoding could not be done. >>> >>> where am i supposed to override this method? >>> >>> additionally, wicket doesn't seem to throw an exception as stated - it >>> silently returns the null value. >>> >>> any ideas on how to get the url, or improvements to the code i pasted >>> to make it work? >>> >>> thank you, >>> >>> francisco >>> >>> ps: note that the ResourceStreamRequestTarget works fine. for instance >>> if i call getRequestCycle().setRequestTarget(target); on renderHead, >>> the http response streams the swf file. >>> >>> - >>> 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
DropDown Models
This select impl works just fine ... creating a project that must include a Category from a drop down: public AddProjectForm(final String id) { super(id); this.project = new Project(); *this.setModel(new CompoundPropertyModel(this.project));* // category *IModel categoryModel = new PropertyModel(this.project, "category");* IModel detachableModel = new LoadableDetachableModel() { private static final long serialVersionUID = -7673902927079196813L; @Override protected Object load() { List categories = ServiceLocator.getPersistenceService().findAll(Category.class); return categories; } }; ChoiceRenderer cr = new ChoiceRenderer("name", "id"); DropDownChoice ddc = new DropDownChoice("category", * categoryModel*, detachableModel, cr); ddc.setRequired(true); this.add(ddc); I see that I set a model for the form -- and then I set another model (albeit the same one) for the Drop Down. In another case, I have a simple page that tries to DELETE a CATEGORY. private static class DelCategoryForm extends Form { private Category category; public DelCategoryForm(final String id) { super(id); this.category = new Category(); *this.setModel(new Model(this.category));* // category *IModel categoryModel = new Model(this.category);* IModel detachableModel = new LoadableDetachableModel() { private static final long serialVersionUID = -6814520399090264461L; @Override protected Object load() { List categories = ServiceLocator.getPersistenceService().findAll(Category.class); return categories; } }; ChoiceRenderer cr = new ChoiceRenderer("name", "id"); DropDownChoice ddc = new DropDownChoice("categories", * categoryModel*, detachableModel, cr); ddc.setRequired(true); this.add(ddc); In this case, I don't think I need the CompoundPropertyModel or PropertyModel since, the contents of the DROP DOWN indeed are everything I need. So I changed the both to simply Model. Unfortunately, values are always 'null' in the onSubmit handler of the delete implementation. Any quick thoughts on what I'm doing incorrectly here? Basically, I'm trying to populate the Category object with the select. It works for the 1st example - but not in the second. In the first, it is a property of a containing object - in the 2nd, it is the loan object. Thanks, -Luther
Re: Transformin a form into a component
put it into a panel -igor On Wed, Apr 1, 2009 at 11:46 AM, Daniel Ferreira Castro wrote: > I have a doubt about componentizing a Form. > > If I create a class, MyForm.java, that extends Form > Inside of it I declare all the form componets. > > After that I create the markup with all the components present on > MyForm.java. I call it MyForm.html > > If I want to use it on a page, like MyPage for instance, how should I > declare the form component on my page markup? > It will be like that? Or are there any more steps to take to be able to > componentize a form? > > MyPage.html > ... > > > MyPage.java > private final MyForm myform = new myForm("myform"); > ... > this.add(myform); > > ? > > -- > "Two rules to succeed in life: > 1 - don´t tell people everything you know." > > We shall go on to the end. > We shall fight in France > We shall fightover the seas and oceans. > We shall fight with growing confidence and growing strength in the air. > We shall defend our island whatever the cost may be > We shall fight on beaches, we shall fight on the landing grounds, > We shall fight in the fields and in the streets, > We shall fight on the hills. > We shall never surrender. > Winston Churchill > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Transformin a form into a component
I have a doubt about componentizing a Form. If I create a class, MyForm.java, that extends Form Inside of it I declare all the form componets. After that I create the markup with all the components present on MyForm.java. I call it MyForm.html If I want to use it on a page, like MyPage for instance, how should I declare the form component on my page markup? It will be like that? Or are there any more steps to take to be able to componentize a form? MyPage.html ... MyPage.java private final MyForm myform = new myForm("myform"); ... this.add(myform); ? -- "Two rules to succeed in life: 1 - don´t tell people everything you know." We shall go on to the end. We shall fight in France We shall fightover the seas and oceans. We shall fight with growing confidence and growing strength in the air. We shall defend our island whatever the cost may be We shall fight on beaches, we shall fight on the landing grounds, We shall fight in the fields and in the streets, We shall fight on the hills. We shall never surrender. Winston Churchill
Re: VOTE: Rename Apache Wicket to Apache WicketFX
On Wed, Apr 1, 2009 at 2:22 PM, Igor Vaynberg wrote: > did it make a swoosh sound? :) More like a race car! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket and (or) restlet
Jonathan, can you elaborate? Why do you think jersey is better? Have you any experience of integrating it with wicket? Thanks! Jonathan Locke wrote: > > > interesting. yeah, igor's right. wicket is not for web services. > > i prefer jersey to restlet and jersey plays fine with wicket. > > > Casper Bang-3 wrote: >> >>> restlet is for building services not uis, that quote makes absolutely no >>> sense. >>> >> >> While I agree the quote smells of FUD, one doesn't necessarily exclude >> the >> other. The beauty of REST is its statelessness, addressability, >> representation negotiation, caching and other ways it embraces HTTP >> rather >> than run away from it (and use overloaded POST's with tiny RPC handlers >> for >> everything). >> >> In Jersey it's also possible to serve (dynamic) HTML through a standard >> templating engine, I'm doing this currently and achieving very high >> scalability while keeping things simple. The caveat with this approach is >> that you are stuck to the classic templating model and components don't >> really exist apart from whatever jQuery/ExtJS stuff you wire up manually. >> >> So probably like the OP, I can't help but wonder about the possebility of >> Wicket running on top as a model-view technology - or perhaps just a >> programming model adopted after Wicket. >> >> /Casper >> >> > > -- View this message in context: http://www.nabble.com/Wicket-and-%28or%29-restlet-tp22822162p22832756.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: VOTE: Rename Apache Wicket to Apache WicketFX
did it make a swoosh sound? :) -igor On Wed, Apr 1, 2009 at 11:20 AM, Brill Pappin wrote: > Caught red handed :) > > I never remember... and since the kids didn't pull anything on me this > morning as a reminder, it went completely over my head :) > > - Brill > > On 1-Apr-09, at 11:10 AM, Daan van Etten wrote: > >> To make it a bit less painful: >> Look at the date. >> >> :-) >> >> Daan >> >> Op 1 apr 2009, om 16:25 heeft Brill Pappin het volgende geschreven: >> >>> ~0/1 >>> >>> I don't care... but I can't say that I think FX makes it "cool"... >>> Sounds more like a bad 90's TV show to me :) >>> >>> As long as it work, I don't care what its called... um... maybe I should >>> qualify that... I don't care what its called as long as I won't be >>> embarrassed when talking to my clients about it :) >>> >>> - brill >>> >>> On 1-Apr-09, at 10:19 AM, Daan van Etten wrote: >>> FX sounds just way cool. "WicketFX. Where function meets form. Web development in style." Say for yourself, would you rather want to work with a framework called Wicket, or a framework called WicketFX?! Birthday parties and pub nights never are the same again: "What technologies you use? - "WicketFX, Spri.." "Wow! You are so cool!" Regards, Daan Op 1 apr 2009, om 15:36 heeft Chenini, Mohamed het volgende geschreven: > Same concern here. Why the "FX" suffix? > > -Original Message- > From: Johan Compagner [mailto:jcompag...@gmail.com] > Sent: Wednesday, April 01, 2009 9:33 AM > To: users@wicket.apache.org > Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX > > Failed eXtremely > > > > On Wed, Apr 1, 2009 at 15:08, Ames, Tim wrote: > >> Please excuse my EXTREME ignorance, but what exactly does or will the > > FX >> >> mean from a Wicket standpoint? What does it do or allow a developer > > to do >> >> that would designate it as "FX"? >> >> >> >> -Original Message- >> From: David Leangen [mailto:wic...@leangen.net] >> Sent: Wednesday, April 01, 2009 4:08 AM >> To: users@wicket.apache.org >> Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX >> >>> Or... WTF! (Wicket The Framework) >> >> +1 >> >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > _ _ _ >> >> EMAIL CONFIDENTIALITY NOTICE >> >> This Email message, and any attachments, may contain confidential >> patient health information that is legally protected. This information >> is intended only for the use of the individual or entity named above. >> The authorized recipient of this information is prohibited from > > disclosing >> >> this information to any other party unless required to do so by law >> or regulation and is required to destroy the information after its > > stated >> >> need has been fulfilled. If you are not the intended recipient, you > > are >> >> hereby notified that any disclosure, copying, distribution, or action >> taken in reliance on the contents of this message is strictly > > prohibited. >> >> If you have received this information in error, please notify >> the sender immediately by replying to this message and delete the >> message from your system. >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > This email/fax message is for the sole use of the intended > recipient(s) and may contain confidential and privileged information. > Any unauthorized review, use, disclosure or distribution of this > email/fax is prohibited. If you are not the intended recipient, please > destroy all paper and electronic copies of the original message. > > > - > 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: VOTE: Rename Apache Wicket to Apache WicketFX
Caught red handed :) I never remember... and since the kids didn't pull anything on me this morning as a reminder, it went completely over my head :) - Brill On 1-Apr-09, at 11:10 AM, Daan van Etten wrote: To make it a bit less painful: Look at the date. :-) Daan Op 1 apr 2009, om 16:25 heeft Brill Pappin het volgende geschreven: ~0/1 I don't care... but I can't say that I think FX makes it "cool"... Sounds more like a bad 90's TV show to me :) As long as it work, I don't care what its called... um... maybe I should qualify that... I don't care what its called as long as I won't be embarrassed when talking to my clients about it :) - brill On 1-Apr-09, at 10:19 AM, Daan van Etten wrote: FX sounds just way cool. "WicketFX. Where function meets form. Web development in style." Say for yourself, would you rather want to work with a framework called Wicket, or a framework called WicketFX?! Birthday parties and pub nights never are the same again: "What technologies you use? - "WicketFX, Spri.." "Wow! You are so cool!" Regards, Daan Op 1 apr 2009, om 15:36 heeft Chenini, Mohamed het volgende geschreven: Same concern here. Why the "FX" suffix? -Original Message- From: Johan Compagner [mailto:jcompag...@gmail.com] Sent: Wednesday, April 01, 2009 9:33 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Failed eXtremely On Wed, Apr 1, 2009 at 15:08, Ames, Tim wrote: Please excuse my EXTREME ignorance, but what exactly does or will the FX mean from a Wicket standpoint? What does it do or allow a developer to do that would designate it as "FX"? -Original Message- From: David Leangen [mailto:wic...@leangen.net] Sent: Wednesday, April 01, 2009 4:08 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Or... WTF! (Wicket The Framework) +1 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. - 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: VOTE: Rename Apache Wicket to Apache WicketFX
good joke :) -- View this message in context: http://www.nabble.com/VOTE%3A-Rename-Apache-Wicket-to-Apache-WicketFX-tp22820921p22832563.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 and (or) restlet
interesting. yeah, igor's right. wicket is not for web services. i prefer jersey to restlet and jersey plays fine with wicket. Casper Bang-3 wrote: > >> restlet is for building services not uis, that quote makes absolutely no >> sense. >> > > While I agree the quote smells of FUD, one doesn't necessarily exclude the > other. The beauty of REST is its statelessness, addressability, > representation negotiation, caching and other ways it embraces HTTP rather > than run away from it (and use overloaded POST's with tiny RPC handlers > for > everything). > > In Jersey it's also possible to serve (dynamic) HTML through a standard > templating engine, I'm doing this currently and achieving very high > scalability while keeping things simple. The caveat with this approach is > that you are stuck to the classic templating model and components don't > really exist apart from whatever jQuery/ExtJS stuff you wire up manually. > > So probably like the OP, I can't help but wonder about the possebility of > Wicket running on top as a model-view technology - or perhaps just a > programming model adopted after Wicket. > > /Casper > > -- View this message in context: http://www.nabble.com/Wicket-and-%28or%29-restlet-tp22822162p22832474.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 and (or) restlet
True, but as I said, one does not necessarily exclude the other. In its current state such a use of Jersey is best suited for low-interactivity, data-driven applications - but the same could be said for other web frameworks such as Stripes. Jersey provides implicit and explicit views through JSP's out of the box: http://blogs.sun.com/sandoz/entry/mvcj That's the way I use it, people have plugged in their own template layers. I'd be interested in a component model such as Wicket on top, which is why I reacted to this thread. I think there's a broad understanding that the Wicket model makes programmers happy. /Casper On Wed, Apr 1, 2009 at 7:25 PM, Igor Vaynberg wrote: > huh? wicket is trying to address a completely different problem space > - which is orthogonal to what restlet and other rest-like services are > trying to achieve. > > do any of these restlet-like services provide anything to help you > generate the ui? do they have jstl tags? components? templating? > nothing out of the box right? you have to glue that yourself on top of > them. > > -igor > > On Wed, Apr 1, 2009 at 10:05 AM, Casper Bang wrote: > >> restlet is for building services not uis, that quote makes absolutely no > >> sense. > >> > > > > While I agree the quote smells of FUD, one doesn't necessarily exclude > the > > other. The beauty of REST is its statelessness, addressability, > > representation negotiation, caching and other ways it embraces HTTP > rather > > than run away from it (and use overloaded POST's with tiny RPC handlers > for > > everything). > > > > In Jersey it's also possible to serve (dynamic) HTML through a standard > > templating engine, I'm doing this currently and achieving very high > > scalability while keeping things simple. The caveat with this approach is > > that you are stuck to the classic templating model and components don't > > really exist apart from whatever jQuery/ExtJS stuff you wire up manually. > > > > So probably like the OP, I can't help but wonder about the possebility of > > Wicket running on top as a model-view technology - or perhaps just a > > programming model adopted after Wicket. > > > > /Casper > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: drag and drop
I was reading the drag and drop thread, started on March 19th and trying to use the *yui *ajax implementation as the yui example suggests.But I am recieving an exception like that It is wierd because I declared the class field TargetSlot as transient. No matter if I declare it as transient or not, the result is the same. Did anyone have any similar bug? how to solve it? ERROR - Objects- Error serializing object class com.jasp.ecommfwk.pages.common.layout.Index [object=[Page class = com.jasp.ecommfwk.pages.common.layout.Index, id = 0, version = 0]] org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: Unable to serialize class: org.wicketstuff.yui.markup.html.dragdrop.TargetSlot Field hierarchy is: 0 [class=com.jasp.ecommfwk.pages.common.layout.Index, path=0] private java.lang.Object org.apache.wicket.MarkupContainer.children [class=[Ljava.lang.Object;] private org.apache.wicket.markup.html.link.PopupSettings org.apache.wicket.markup.html.link.Link.popupSettings[2] [class=org.apache.wicket.extensions.ajax.markup.html.tabs.AjaxTabbedPanel, path=0:tabs] private java.lang.Object org.apache.wicket.MarkupContainer.children [class=[Ljava.lang.Object;] private org.apache.wicket.markup.html.link.PopupSettings org.apache.wicket.markup.html.link.Link.popupSettings[1] [class=com.jasp.ecommfwk.pages.common.layout.panels.configuracao.ConfiguracaoPanel, path=0:tabs:panel] private java.lang.Object org.apache.wicket.MarkupContainer.children [class=org.apache.wicket.extensions.markup.html.tabs.TabbedPanel, path=0:tabs:panel:Configuracoes] private java.lang.Object org.apache.wicket.MarkupContainer.children [class=[Ljava.lang.Object;] private org.apache.wicket.markup.html.link.PopupSettings org.apache.wicket.markup.html.link.Link.popupSettings[1] [class=com.jasp.ecommfwk.pages.vitrine.ConfiguracaoVitrinePanel, path=0:tabs:panel:Configuracoes:panel] private java.lang.Object org.apache.wicket.MarkupContainer.children [class=[Ljava.lang.Object;] private final java.lang.Object[] org.apache.wicket.model.StringResourceModel.parameters[0][2] [class=org.wicketstuff.yui.markup.html.dragdrop.DragDropGroup, path=0:tabs:panel:Configuracoes:panel:dragDrop] private java.lang.Object org.apache.wicket.MarkupContainer.children [class=[Ljava.lang.Object;] private java.lang.Object org.apache.wicket.markup.html.form.FormComponent.validators[2] [class=org.wicketstuff.yui.markup.html.dragdrop.DragDropGroup$3, path=0:tabs:panel:Configuracoes:panel:dragDrop:targetListView] java.lang.Object org.apache.wicket.Component.data [class=org.apache.wicket.model.util.ListModel] private java.lang.Object org.apache.wicket.model.util.GenericBaseModel.object [class=java.util.ArrayList] private java.lang.Object org.apache.wicket.model.util.GenericBaseModel.object[write:1] [class=org.wicketstuff.yui.markup.html.dragdrop.TargetSlot] <- field that is not serializable at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:349) at org.apache.wicket.util.io.SerializableChecker.access$500(SerializableChecker.java:63) at org.apache.wicket.util.io.SerializableChecker$1InterceptingObjectOutputStream.replaceObject(SerializableChecker.java:497) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1116) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at java.util.ArrayList.writeObject(ArrayList.java:570) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:504) at org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618) at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541) at org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618) at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541) at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:395) at org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618) at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.ja
Re: Wicket and (or) restlet
huh? wicket is trying to address a completely different problem space - which is orthogonal to what restlet and other rest-like services are trying to achieve. do any of these restlet-like services provide anything to help you generate the ui? do they have jstl tags? components? templating? nothing out of the box right? you have to glue that yourself on top of them. -igor On Wed, Apr 1, 2009 at 10:05 AM, Casper Bang wrote: >> restlet is for building services not uis, that quote makes absolutely no >> sense. >> > > While I agree the quote smells of FUD, one doesn't necessarily exclude the > other. The beauty of REST is its statelessness, addressability, > representation negotiation, caching and other ways it embraces HTTP rather > than run away from it (and use overloaded POST's with tiny RPC handlers for > everything). > > In Jersey it's also possible to serve (dynamic) HTML through a standard > templating engine, I'm doing this currently and achieving very high > scalability while keeping things simple. The caveat with this approach is > that you are stuck to the classic templating model and components don't > really exist apart from whatever jQuery/ExtJS stuff you wire up manually. > > So probably like the OP, I can't help but wonder about the possebility of > Wicket running on top as a model-view technology - or perhaps just a > programming model adopted after Wicket. > > /Casper > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket and (or) restlet
> restlet is for building services not uis, that quote makes absolutely no > sense. > While I agree the quote smells of FUD, one doesn't necessarily exclude the other. The beauty of REST is its statelessness, addressability, representation negotiation, caching and other ways it embraces HTTP rather than run away from it (and use overloaded POST's with tiny RPC handlers for everything). In Jersey it's also possible to serve (dynamic) HTML through a standard templating engine, I'm doing this currently and achieving very high scalability while keeping things simple. The caveat with this approach is that you are stuck to the classic templating model and components don't really exist apart from whatever jQuery/ExtJS stuff you wire up manually. So probably like the OP, I can't help but wonder about the possebility of Wicket running on top as a model-view technology - or perhaps just a programming model adopted after Wicket. /Casper
Re: How to switch Panels with a Tree?
selectedPanel.replaceWith(currentPanel); selectedPanel=currentPanel; -igor On Wed, Apr 1, 2009 at 5:58 AM, Christian Helmbold wrote: > > Hello, > > I want to switch panels with a tree (like switching panels within a > TabbedPanel), but get an error when clicking more than once on a node. > > It should look like this: > > +-+ > | (TreePanel) | > | +-+ | > | | (Tree) | | > | * root | +---+ | > | | ** Folder A | | (ContentPanel) | | > | | *** [File1] | | File1 | | > | | *** File2 | | | | > | +-+ +---+ | > +-+ > > The Panel according to the selected node (File1) is displayed. > > The top-level TreePanel contains the Tree and the and the ContentPanel. > > Java code of TreePanel: > > public class TreePanel extends Panel{ > > private Tree tree; > private NodePanel selectedPanel; > > > public TreePanel(String id, NodePanel rootNode) > { > super(id); > DefaultTreeModel treeModel = new > DefaultTreeModel(rootNode.getAsTreeNode()); > selectedPanel = rootNode; > > add(selectedPanel); > tree = new Tree("tree", treeModel) > { > �...@override > protected String renderNode(TreeNode node) > { > DefaultMutableTreeNode treeNode = (DefaultMutableTreeNode)node; > Object userObject = treeNode.getUserObject(); > if (userObject instanceof List) > return ""; > else > { > NodePanel panel = (NodePanel)userObject; > return panel.getTitle(); > } > } > > �...@override > protected void onNodeLinkClicked(AjaxRequestTarget target, > javax.swing.tree.TreeNode node) > { > DefaultMutableTreeNode treeNode = (DefaultMutableTreeNode)node; > NodePanel currentPanel = (NodePanel)treeNode.getUserObject(); > selectedPanel.replaceWith(currentPanel); > } > }; > > add(tree); > } > > /** > * Get a reference to the tree to configure or query it. > * @return > */ > public Tree getTree() > { > return tree; > } > > } > > > In the Page class that uses my TreePanel I add some NodePanls to the tree. > When I open the Page in the browser, the root panel is displayed as expected. > When I click on a node the first time everything is fine and the panel gets > replaced, but when I click on another link I get: > > WicketMessage: Method onLinkClicked of interface > org.apache.wicket.markup.html.link.ILinkListener targeted at component > [MarkupContainer [Component id = nodeLink]] threw an exception > > Root cause: > > java.lang.IllegalStateException: This method can only be called on a > component that has already been added to its parent. > at org.apache.wicket.Component.replaceWith(Component.java:2717) > at > com.helmbold.wicket.components.tree.TreePanel$1.onNodeLinkClicked(TreePanel.java:53) > ... > > What's wrong with my code? > > Regards > Christian > > > > PS: > > For completeness the code of NodePanel (ContentPanel in the example extends > NodePanel): > > public abstract class NodePanel extends Panel{ > > private DefaultMutableTreeNode treeNode = new DefaultMutableTreeNode(this); > > > /** > * Constructs a NodePanel with the given id. > * @param id wicket:id > */ > public NodePanel(String id) > { > super(id); > } > > > /** > * Wraps this object in a DefaultMutableTreeNode. > * @return A DefaultMutableTreeNode object which returns this object when > * DefaultMutableTreeNode#getUserObject() is invoked. > */ > public DefaultMutableTreeNode getAsTreeNode() > { > return treeNode; > } > > > /** > * Add a child in the tree hierarchy - not a nested panel this a panel! > * @param child > */ > public void addChild(NodePanel child) > { > treeNode.add(child.getAsTreeNode()); > } > > > /** > * @return Title of the Panel that will be displayed as node link in the > tree. > */ > public abstract String getTitle(); > > } > > > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.o
Re: VOTE: Rename Apache Wicket to Apache WicketFX
Timo Rantalaiho wrote: On Wed, 01 Apr 2009, Martijn Dashorst wrote: [X] -1, don't accept above resolution, because ... I still liked the other name suggestion "jdave-wicket-webdriver-wicket-fx" better, shall I do another vote thread on it? Someone has already made logo for us http://3.bp.blogspot.com/_hXCPcd3owoI/RwvVRW1wlBI/ACE/UcDATzR4F9c/s1600/logo.jpg - 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-Extensions Installation
On 01.04.2009, at 17:58, Tomáš Mihok wrote: Hi there, I would like to ask for a guide or a page explaining installation process of wicket-extensions. I need especially TabbedPanel and TabControl. Thx oin advance. I cannot answer about the existence of the page. -- But if you are using Maven, just add a dependency org.apache.wicket wicket-extensions 1.4-SNAPSHOT to your pom.xml, with 1.4-SNAPSHOT as shown or the desired version of wicket-extensions. Maven will take care of the rest and you will be able use TabbedPanel, etc. (You can use http://wicket.apache.org/quickstart.html to get an initial project structure for use with maven; then add the above dependency.) Kaspar - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to switch Panels with a Tree?
Hi, > selectedPanel.replaceWith(currentPanel); > java.lang.IllegalStateException: This method can only be called on a > component that has already been added to its parent. at org.apache.wicket.Component.replaceWith(Component.java:2717) Obviously your selected panel is not added to page and you try to call replaceWith on it. -Matej On Wed, Apr 1, 2009 at 2:58 PM, Christian Helmbold wrote: > > Hello, > > I want to switch panels with a tree (like switching panels within a > TabbedPanel), but get an error when clicking more than once on a node. > > It should look like this: > > +-+ > | (TreePanel) | > | +-+ | > | | (Tree) | | > | * root | +---+ | > | | ** Folder A | | (ContentPanel) | | > | | *** [File1] | | File1 | | > | | *** File2 | | | | > | +-+ +---+ | > +-+ > > The Panel according to the selected node (File1) is displayed. > > The top-level TreePanel contains the Tree and the and the ContentPanel. > > Java code of TreePanel: > > public class TreePanel extends Panel{ > > private Tree tree; > private NodePanel selectedPanel; > > > public TreePanel(String id, NodePanel rootNode) > { > super(id); > DefaultTreeModel treeModel = new > DefaultTreeModel(rootNode.getAsTreeNode()); > selectedPanel = rootNode; > > add(selectedPanel); > tree = new Tree("tree", treeModel) > { > �...@override > protected String renderNode(TreeNode node) > { > DefaultMutableTreeNode treeNode = (DefaultMutableTreeNode)node; > Object userObject = treeNode.getUserObject(); > if (userObject instanceof List) > return ""; > else > { > NodePanel panel = (NodePanel)userObject; > return panel.getTitle(); > } > } > > �...@override > protected void onNodeLinkClicked(AjaxRequestTarget target, > javax.swing.tree.TreeNode node) > { > DefaultMutableTreeNode treeNode = (DefaultMutableTreeNode)node; > NodePanel currentPanel = (NodePanel)treeNode.getUserObject(); > selectedPanel.replaceWith(currentPanel); > } > }; > > add(tree); > } > > /** > * Get a reference to the tree to configure or query it. > * @return > */ > public Tree getTree() > { > return tree; > } > > } > > > In the Page class that uses my TreePanel I add some NodePanls to the tree. > When I open the Page in the browser, the root panel is displayed as expected. > When I click on a node the first time everything is fine and the panel gets > replaced, but when I click on another link I get: > > WicketMessage: Method onLinkClicked of interface > org.apache.wicket.markup.html.link.ILinkListener targeted at component > [MarkupContainer [Component id = nodeLink]] threw an exception > > Root cause: > > java.lang.IllegalStateException: This method can only be called on a > component that has already been added to its parent. > at org.apache.wicket.Component.replaceWith(Component.java:2717) > at > com.helmbold.wicket.components.tree.TreePanel$1.onNodeLinkClicked(TreePanel.java:53) > ... > > What's wrong with my code? > > Regards > Christian > > > > PS: > > For completeness the code of NodePanel (ContentPanel in the example extends > NodePanel): > > public abstract class NodePanel extends Panel{ > > private DefaultMutableTreeNode treeNode = new DefaultMutableTreeNode(this); > > > /** > * Constructs a NodePanel with the given id. > * @param id wicket:id > */ > public NodePanel(String id) > { > super(id); > } > > > /** > * Wraps this object in a DefaultMutableTreeNode. > * @return A DefaultMutableTreeNode object which returns this object when > * DefaultMutableTreeNode#getUserObject() is invoked. > */ > public DefaultMutableTreeNode getAsTreeNode() > { > return treeNode; > } > > > /** > * Add a child in the tree hierarchy - not a nested panel this a panel! > * @param child > */ > public void addChild(NodePanel child) > { > treeNode.add(child.getAsTreeNode()); > } > > > /** > * @return Title of the Panel that will be displayed as node link in the > tree. > */ > public abstract String getTitle(); > > } >
Re: Constructor not being called when Back button clicked
Yup, got that in but the problem still exists, the constructor is not being called when the browser goes back to that page. It *could* be because my Wicket app is running in an iframe (sucks, but unavoidable) so the request params are being screwed up and Wicket is not initialising the page properly. Still all works fine in Safari4 though. Odd. Thanks for the replies. On 1 Apr 2009, at 17:03, Mathias P.W Nilsson wrote: Like matej says @Override protected void setHeaders(WebResponse response) { response.setHeader("Pragma", "no-cache"); response.setHeader("Cache-Control", "no-cache, max-age=0, must-revalidate, no-store"); } -- View this message in context: http://www.nabble.com/Constructor-not-being-called-when-Back-button-clicked-tp22827398p22829529.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 smime.p7s Description: S/MIME cryptographic signature
Re: Modify class : org.apache.wicket.spring.SpringWebApplicationFactory (possible) ?
you can quiet easily implement your own version that works with your environment. -igor On Wed, Apr 1, 2009 at 5:58 AM, cmoulliard wrote: > > Hi, > > Is it possible to modify the following class : > org.apache.wicket.spring.SpringWebApplicationFactory > in order to retrieve the class org.springframework.osgi.BundleContext where > info about class loading are. This is required when Wicket is deployed on > OSGI server > > Regards, > > Charles Moulliard > SOA Architect > > cmoulliard wrote: >> >> Hi, >> >> When I start my Apache Wicket bundle using Apache Service Mix (based on >> Felix and Spring DM), I receive the following error : >> Quote: >> 16:35:58,415 | DEBUG | localShell | jetty | >> .service.internal.util.JCLLogger 85 | started >> org.ops4j.pax.web.service.internal.model.ServletMo del-66 >> 16:35:58,415 | INFO | localShell | HttpServiceProxy | >> ervice.internal.HttpServiceProxy 129 | Registering event listener >> [org.springframework.web.context.ContextLoaderListe n...@196dc61] >> 16:35:58,415 | DEBUG | localShell | HttpServiceStarted | >> vice.internal.HttpServiceStarted 324 | Using context >> [ContextModel{id=org.ops4j.pax.web.service.internal >> .model.ContextModel-64,name=reportincident,httpContext=org.ops4j.pax.w >> eb.extender.war.internal.webapphttpcont...@fe404a, >> contextParams={webapp.context=reportincident, >> contextClass=org.springframework.osgi.web.context. >> support.OsgiBundleXmlWebApplicationContext}}] >> 16:35:58,415 | INFO | localShell | /reportincident | >> .service.internal.util.JCLLogger 102 | Initializing Spring root >> WebApplicationContext >> 16:35:58,415 | INFO | localShell | ContextLoader | >> mework.web.context.ContextLoader 189 | Root WebApplicationContext: >> initialization started >> 16:35:58,415 | ERROR | localShell | ContextLoader | >> mework.web.context.ContextLoader 215 | Context initialization failed >> java.lang.IllegalArgumentException: bundle context should be set before >> refreshing the application context >> at org.springframework.util.Assert.notNull(Assert.jav a:112) >> at org.springframework.osgi.context.support.AbstractD >> elegatedExecutionApplicationContext.normalRefresh( >> AbstractDelegatedExecutionApplicationContext.java: 179) >> at org.springframework.osgi.context.support.AbstractD >> elegatedExecutionApplicationContext$NoDependencies >> WaitRefreshExecutor.refresh(AbstractDelegatedExecu >> tionApplicationContext.java:89) >> at org.springframework.osgi.context.support.AbstractD >> elegatedExecutionApplicationContext.refresh(Abstra >> ctDelegatedExecutionApplicationContext.java:175) >> at org.springframework.web.context.ContextLoader.crea >> teWebApplicationContext(ContextLoader.java:255) >> at org.springframework.web.context.ContextLoader.init >> WebApplicationContext(ContextLoader.java:199) >> at org.springframework.web.context.ContextLoaderListe >> ner.contextInitialized(ContextLoaderListener.java: 45) >> Here is the config of my web.xml file : >> >> Quote: >> >> http://java.sun.com/xml/ns/j2ee"; 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"> >> >> reportincident.web >> >> >> contextClass >> org.springframework.osgi.web.context.support >> .OsgiBundleXmlWebApplicationContext >> >> >> >> org.springframework.web.context.ContextLoade >> rListener >> >> >> >> wicket.reportincident.web >> org.apache.wicket.protocol.http.WicketFilter >> >> applicationClassName >> org.apache.camel.example.WicketApplication >> >> >> >> >> wicket.reportincident.web >> /* >> >> >> >> >> Any idea to solve this problem is welcome ? >> >> Regards, >> >> Charles >> __ >> SOA Architect >> >> >> - >> Charles Moulliard >> SOA Architect >> >> My Blog : http://cmoulliard.blogspot.com/ >> > > > - > Charles Moulliard > SOA Architect > > My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/ > -- > View this message in context: > http://www.nabble.com/java.lang.IllegalArgumentException%3A-bundle-context-should-be-set--before-refreshing-the-application-context-tp22807226p22825852.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 and (or) restlet
restlet is for building services not uis, that quote makes absolutely no sense. -igor On Wed, Apr 1, 2009 at 4:01 AM, Alexandru Objelean wrote: > > Actually there are very few informations regarding this subject. Recently I > have found a quote at restlet page (http://www.restlet.org/about/quotes) : > "I was working on a small project using Wicket but since switching to > Restlet I will not be going back. Restlet makes java development productive, > fun, and places no real framework burden on a developer." > > I didn't have an opportunity to work with restlet, that is why I'm asking > the community about it. > > Alex > > > > Erik van Oosten wrote: >> >> There are several mails with opinions regarding this subject. >> >> One way to actually use Restlet and Wicket together is described on >> http://cwiki.apache.org/WICKET/springbean-outside-wicket.html. >> >> Regards, >> Erik. >> >> >> Objelean Alex wrote: >>> I'm curious what are the community thoughts about restlet. Have you used >>> this framework? Can wicket & restlet work together? Have you had any >>> experience with it? >>> >>> Thank you! >>> >>> >> >> -- >> 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 >> >> >> > > -- > View this message in context: > http://www.nabble.com/Wicket-and-%28or%29-restlet-tp22822162p22824090.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: FileUpload: mark/reset not supported
Please post some code. -- View this message in context: http://www.nabble.com/FileUpload%3A-mark-reset-not-supported-tp22824642p22829535.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: Constructor not being called when Back button clicked
Like matej says @Override protected void setHeaders(WebResponse response) { response.setHeader("Pragma", "no-cache"); response.setHeader("Cache-Control", "no-cache, max-age=0, must-revalidate, no-store"); } -- View this message in context: http://www.nabble.com/Constructor-not-being-called-when-Back-button-clicked-tp22827398p22829529.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: where is AuthenticatedWebApplication
James, and Jeremy from other letter - thanks! James Carman пишет: wicket-auth-roles-1.3.5.jar On Wed, Apr 1, 2009 at 11:51 AM, Khlystov Alexandr wrote: | Hello all! I see sample at http://www.wicket-library.com/wicket-examples/authentication but I don't see class org.apache.wicket.authentication.AuthenticatedWebApplication; in wicket-1.3.5.jar? Where could I find it? Thanks in advance. | -- Khlystov Alexandr - 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 -- Khlystov Alexandr - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Wicket-Extensions Installation
Hi there, I would like to ask for a guide or a page explaining installation process of wicket-extensions. I need especially TabbedPanel and TabControl. Thx oin advance. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: where is AuthenticatedWebApplication
TRUNK: ./wicket-auth-roles/src/main/java/org/apache/wicket/authentication/AuthenticatedWebApplication.java 1.3-X: ./jdk-1.5/wicket-auth-roles/src/main/java/org/apache/wicket/authentication/AuthenticatedWebApplication.java -- Jeremy Thomerson http://www.wickettraining.com On Wed, Apr 1, 2009 at 10:51 AM, Khlystov Alexandr wrote: > | > Hello all! > > I see sample at > http://www.wicket-library.com/wicket-examples/authentication > > but I don't see class > org.apache.wicket.authentication.AuthenticatedWebApplication; in > wicket-1.3.5.jar? > > Where could I find it? > > Thanks in advance. > | > > -- > Khlystov Alexandr > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: where is AuthenticatedWebApplication
wicket-auth-roles-1.3.5.jar On Wed, Apr 1, 2009 at 11:51 AM, Khlystov Alexandr wrote: > | > Hello all! > > I see sample at http://www.wicket-library.com/wicket-examples/authentication > > but I don't see class > org.apache.wicket.authentication.AuthenticatedWebApplication; in > wicket-1.3.5.jar? > > Where could I find it? > > Thanks in advance. > | > > -- > Khlystov Alexandr > > > - > 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
where is AuthenticatedWebApplication
| Hello all! I see sample at http://www.wicket-library.com/wicket-examples/authentication but I don't see class org.apache.wicket.authentication.AuthenticatedWebApplication; in wicket-1.3.5.jar? Where could I find it? Thanks in advance. | -- Khlystov Alexandr - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: VOTE: Rename Apache Wicket to Apache WicketFX
Yeah, I picked up on that of course AFTER I asked the question. This day was named just for ME! I feel so privileged. -Original Message- From: Daan van Etten [mailto:d...@stuq.nl] Sent: Wednesday, April 01, 2009 11:11 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX To make it a bit less painful: Look at the date. :-) Daan Op 1 apr 2009, om 16:25 heeft Brill Pappin het volgende geschreven: > ~0/1 > > I don't care... but I can't say that I think FX makes it "cool"... > Sounds more like a bad 90's TV show to me :) > > As long as it work, I don't care what its called... um... maybe I > should qualify that... I don't care what its called as long as I > won't be embarrassed when talking to my clients about it :) > > - brill > > On 1-Apr-09, at 10:19 AM, Daan van Etten wrote: > >> FX sounds just way cool. >> >> "WicketFX. Where function meets form. Web development in style." >> >> Say for yourself, would you rather want to work with a framework >> called Wicket, or a framework called WicketFX?! >> >> Birthday parties and pub nights never are the same again: >> "What technologies you use? >> - "WicketFX, Spri.." >> "Wow! You are so cool!" >> >> Regards, >> >> Daan >> >> Op 1 apr 2009, om 15:36 heeft Chenini, Mohamed het volgende >> geschreven: >> >>> Same concern here. Why the "FX" suffix? >>> >>> -Original Message- >>> From: Johan Compagner [mailto:jcompag...@gmail.com] >>> Sent: Wednesday, April 01, 2009 9:33 AM >>> To: users@wicket.apache.org >>> Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX >>> >>> Failed eXtremely >>> >>> >>> >>> On Wed, Apr 1, 2009 at 15:08, Ames, Tim >>> wrote: >>> Please excuse my EXTREME ignorance, but what exactly does or will the >>> FX mean from a Wicket standpoint? What does it do or allow a developer >>> to do that would designate it as "FX"? -Original Message- From: David Leangen [mailto:wic...@leangen.net] Sent: Wednesday, April 01, 2009 4:08 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX > Or... WTF! (Wicket The Framework) +1 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >>> _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from >>> disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its >>> stated need has been fulfilled. If you are not the intended recipient, you >>> are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly >>> prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> This email/fax message is for the sole use of the intended >>> recipient(s) and may contain confidential and privileged >>> information. >>> Any unauthorized review, use, disclosure or distribution of this >>> email/fax is prohibited. If you are not the intended recipient, >>> please >>> destroy all paper and electronic copies of the original message. >>> >>> >>> - >>> 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 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE Th
Re: Constructor not being called when Back button clicked
You need to add Cache-control: no-store header to prevent firefox from caching the page on back button. Look at WebPage#setHeaders(WebResponse response) -Matej On Wed, Apr 1, 2009 at 5:15 PM, Timm Helbig wrote: >> Is there some way to force the page to be reconstructed? > Don't use Ajax, use the default Button insteand > > Regards, > Timm > > Am Mittwoch, 1. April 2009 16:11:07 schrieb Steve Swinsburg: >> Hi all, >> >> I have a Page and on that page a Form which submits via Ajax. >> >> In this page's constructor I added a debug statement that prints a >> message when the constructor is called (for testing). I then submit >> the form, click away, then click Back and in Safari 4 for Mac, the >> page is reconstructed and I see my message again (good). Everything >> works ok (also good). >> >> However, in Firefox for Mac (and for PC and all IE flavours), clicking >> Back has the original search text in the box, and the page is NOT >> reconstructed. Clicking search again throws NPE's because certain >> elements are not initialised properly. >> >> Is there some way to force the page to be reconstructed? Is this some >> caching issue that is causing it to be not reconstructed and hence >> just reused? >> >> >> thanks, >> Steve > > > > - > 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: DatePicker, TextField and AjaxEventBehavior
If someone have same problem I have solved that by using DateTextField instead of DateField from wicket extension. M. Michal Hybler wrote: > > Hi, > i have problem with using datepicker in wicket. I have TextField and > DatePicker attached to it. > > final TextField dateFieldfrom = new TextField("validityFrom", > new > Model(userClassification.getValidity().getValidFrom())); > dateFieldfrom.add(new DatePicker()); > dateFieldfrom.add(new > DateFieldBehaviour(DateFieldBehaviour.FROM, > userClassification)); > If value of textField is changed it invokes onEvent method. Its good. > Now I need to get value from textField with selected date. I have tried > getValue(), getModelObject() etc. Everything returns original value. New > value is displayed correctly but i cant get it from textField. > Any ideas? > > Thx for your help. > With regards Michal > -- View this message in context: http://www.nabble.com/DatePicker%2C-TextField-and-AjaxEventBehavior-tp22738598p22828791.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: VOTE: Rename Apache Wicket to Apache WicketFX
To make it a bit less painful: Look at the date. :-) Daan Op 1 apr 2009, om 16:25 heeft Brill Pappin het volgende geschreven: ~0/1 I don't care... but I can't say that I think FX makes it "cool"... Sounds more like a bad 90's TV show to me :) As long as it work, I don't care what its called... um... maybe I should qualify that... I don't care what its called as long as I won't be embarrassed when talking to my clients about it :) - brill On 1-Apr-09, at 10:19 AM, Daan van Etten wrote: FX sounds just way cool. "WicketFX. Where function meets form. Web development in style." Say for yourself, would you rather want to work with a framework called Wicket, or a framework called WicketFX?! Birthday parties and pub nights never are the same again: "What technologies you use? - "WicketFX, Spri.." "Wow! You are so cool!" Regards, Daan Op 1 apr 2009, om 15:36 heeft Chenini, Mohamed het volgende geschreven: Same concern here. Why the "FX" suffix? -Original Message- From: Johan Compagner [mailto:jcompag...@gmail.com] Sent: Wednesday, April 01, 2009 9:33 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Failed eXtremely On Wed, Apr 1, 2009 at 15:08, Ames, Tim wrote: Please excuse my EXTREME ignorance, but what exactly does or will the FX mean from a Wicket standpoint? What does it do or allow a developer to do that would designate it as "FX"? -Original Message- From: David Leangen [mailto:wic...@leangen.net] Sent: Wednesday, April 01, 2009 4:08 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Or... WTF! (Wicket The Framework) +1 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. - 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: Constructor not being called when Back button clicked
> Is there some way to force the page to be reconstructed? Don't use Ajax, use the default Button insteand Regards, Timm Am Mittwoch, 1. April 2009 16:11:07 schrieb Steve Swinsburg: > Hi all, > > I have a Page and on that page a Form which submits via Ajax. > > In this page's constructor I added a debug statement that prints a > message when the constructor is called (for testing). I then submit > the form, click away, then click Back and in Safari 4 for Mac, the > page is reconstructed and I see my message again (good). Everything > works ok (also good). > > However, in Firefox for Mac (and for PC and all IE flavours), clicking > Back has the original search text in the box, and the page is NOT > reconstructed. Clicking search again throws NPE's because certain > elements are not initialised properly. > > Is there some way to force the page to be reconstructed? Is this some > caching issue that is causing it to be not reconstructed and hence > just reused? > > > thanks, > Steve - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: VOTE: Rename Apache Wicket to Apache WicketFX
Daan van Etten wrote: FX sounds just way cool. "WicketFX. Where function meets form. Web development in style." Say for yourself, would you rather want to work with a framework called Wicket, or a framework called WicketFX?! Birthday parties and pub nights never are the same again: "What technologies you use? - "WicketFX, Spri.." "Wow! You are so cool!" Hahahaha!!! Oh glourious future, I await thee :-))) Regards, Daan Op 1 apr 2009, om 15:36 heeft Chenini, Mohamed het volgende geschreven: Same concern here. Why the "FX" suffix? -Original Message- From: Johan Compagner [mailto:jcompag...@gmail.com] Sent: Wednesday, April 01, 2009 9:33 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Failed eXtremely On Wed, Apr 1, 2009 at 15:08, Ames, Tim wrote: Please excuse my EXTREME ignorance, but what exactly does or will the FX mean from a Wicket standpoint? What does it do or allow a developer to do that would designate it as "FX"? -Original Message- From: David Leangen [mailto:wic...@leangen.net] Sent: Wednesday, April 01, 2009 4:08 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Or... WTF! (Wicket The Framework) +1 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. - 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: VOTE: Rename Apache Wicket to Apache WicketFX
~0/1 I don't care... but I can't say that I think FX makes it "cool"... Sounds more like a bad 90's TV show to me :) As long as it work, I don't care what its called... um... maybe I should qualify that... I don't care what its called as long as I won't be embarrassed when talking to my clients about it :) - brill On 1-Apr-09, at 10:19 AM, Daan van Etten wrote: FX sounds just way cool. "WicketFX. Where function meets form. Web development in style." Say for yourself, would you rather want to work with a framework called Wicket, or a framework called WicketFX?! Birthday parties and pub nights never are the same again: "What technologies you use? - "WicketFX, Spri.." "Wow! You are so cool!" Regards, Daan Op 1 apr 2009, om 15:36 heeft Chenini, Mohamed het volgende geschreven: Same concern here. Why the "FX" suffix? -Original Message- From: Johan Compagner [mailto:jcompag...@gmail.com] Sent: Wednesday, April 01, 2009 9:33 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Failed eXtremely On Wed, Apr 1, 2009 at 15:08, Ames, Tim wrote: Please excuse my EXTREME ignorance, but what exactly does or will the FX mean from a Wicket standpoint? What does it do or allow a developer to do that would designate it as "FX"? -Original Message- From: David Leangen [mailto:wic...@leangen.net] Sent: Wednesday, April 01, 2009 4:08 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Or... WTF! (Wicket The Framework) +1 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. - 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: VOTE: Rename Apache Wicket to Apache WicketFX
I'm still waiting on the scala implementation that was talked about around this time last year. 2009/4/1 Daan van Etten > FX sounds just way cool. > > "WicketFX. Where function meets form. Web development in style." > > Say for yourself, would you rather want to work with a framework called > Wicket, or a framework called WicketFX?! > > Birthday parties and pub nights never are the same again: > "What technologies you use? > - "WicketFX, Spri.." > "Wow! You are so cool!" > > Regards, > > Daan > > Op 1 apr 2009, om 15:36 heeft Chenini, Mohamed het volgende geschreven: > > > Same concern here. Why the "FX" suffix? >> >> -Original Message- >> From: Johan Compagner [mailto:jcompag...@gmail.com] >> Sent: Wednesday, April 01, 2009 9:33 AM >> To: users@wicket.apache.org >> Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX >> >> Failed eXtremely >> >> >> >> On Wed, Apr 1, 2009 at 15:08, Ames, Tim wrote: >> >> Please excuse my EXTREME ignorance, but what exactly does or will the >>> >> FX >> >>> mean from a Wicket standpoint? What does it do or allow a developer >>> >> to do >> >>> that would designate it as "FX"? >>> >>> >>> >>> -Original Message- >>> From: David Leangen [mailto:wic...@leangen.net] >>> Sent: Wednesday, April 01, 2009 4:08 AM >>> To: users@wicket.apache.org >>> Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX >>> >>> Or... WTF! (Wicket The Framework) >>> >>> +1 >>> >>> >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >>> >> _ _ _ >> >>> >>> EMAIL CONFIDENTIALITY NOTICE >>> >>> This Email message, and any attachments, may contain confidential >>> patient health information that is legally protected. This information >>> is intended only for the use of the individual or entity named above. >>> The authorized recipient of this information is prohibited from >>> >> disclosing >> >>> this information to any other party unless required to do so by law >>> or regulation and is required to destroy the information after its >>> >> stated >> >>> need has been fulfilled. If you are not the intended recipient, you >>> >> are >> >>> hereby notified that any disclosure, copying, distribution, or action >>> taken in reliance on the contents of this message is strictly >>> >> prohibited. >> >>> >>> If you have received this information in error, please notify >>> the sender immediately by replying to this message and delete the >>> message from your system. >>> >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >>> >> This email/fax message is for the sole use of the intended >> recipient(s) and may contain confidential and privileged information. >> Any unauthorized review, use, disclosure or distribution of this >> email/fax is prohibited. If you are not the intended recipient, please >> destroy all paper and electronic copies of the original message. >> >> >> - >> 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 > > -- Ryan Gravener http://ryangravener.com
Re: AW: Extending wicket for non webapp implementations
Yah, I'm digging in the source right now. A basic email is one thing, but I was really interested in the nice clean 1:1 relationship between resource and code along with the nice basic components like list etc. All you'd really need to do is extend page and create a new type, however being what it is, its very much tied to the servlet container and its session, which is only partly useful in the same of an EmailPage. After a quick check, I'm thinking that it's not the best solution because of its dependency on the servlet spec... but still I dream. - Brill On 1-Apr-09, at 10:09 AM, Christian Helmbold wrote: Why don't you use a template engine like FreeMarker? I think Wickets component model doesn't work well to create E-Mails. Christian - 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: Employ JQuery Accordion in Wicket
perhaps this will work: it's a dojo accordion pane for wicket 1.3 http://wicketstuff.org/wicketdojo13/?wicket:bookmarkablePage=%3Aorg.wicketstuff.dojo.examples.accordioncontainer.AccordionContainerSample try it and respond if it is working. -- View this message in context: http://www.nabble.com/Employ-JQuery-Accordion-in-Wicket-tp22825442p22827578.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: VOTE: Rename Apache Wicket to Apache WicketFX
FX sounds just way cool. "WicketFX. Where function meets form. Web development in style." Say for yourself, would you rather want to work with a framework called Wicket, or a framework called WicketFX?! Birthday parties and pub nights never are the same again: "What technologies you use? - "WicketFX, Spri.." "Wow! You are so cool!" Regards, Daan Op 1 apr 2009, om 15:36 heeft Chenini, Mohamed het volgende geschreven: Same concern here. Why the "FX" suffix? -Original Message- From: Johan Compagner [mailto:jcompag...@gmail.com] Sent: Wednesday, April 01, 2009 9:33 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Failed eXtremely On Wed, Apr 1, 2009 at 15:08, Ames, Tim wrote: Please excuse my EXTREME ignorance, but what exactly does or will the FX mean from a Wicket standpoint? What does it do or allow a developer to do that would designate it as "FX"? -Original Message- From: David Leangen [mailto:wic...@leangen.net] Sent: Wednesday, April 01, 2009 4:08 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Or... WTF! (Wicket The Framework) +1 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. - 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: Extending wicket for non webapp implementations
On Wed, Apr 1, 2009 at 9:57 AM, Brill Pappin wrote: > I'd love to use wicket as a more general template library. > My immediate problem is that I need to build email template library. > > Has anyone done an extension that would allow it to process non HTML files? This question has been asked multiple times in the past. Check Nabble's archives for the discussions. Folks have done it before and yes, it works. I had the same objections as Christian before, but folks insisted they still wanted it. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Constructor not being called when Back button clicked
Hi all, I have a Page and on that page a Form which submits via Ajax. In this page's constructor I added a debug statement that prints a message when the constructor is called (for testing). I then submit the form, click away, then click Back and in Safari 4 for Mac, the page is reconstructed and I see my message again (good). Everything works ok (also good). However, in Firefox for Mac (and for PC and all IE flavours), clicking Back has the original search text in the box, and the page is NOT reconstructed. Clicking search again throws NPE's because certain elements are not initialised properly. Is there some way to force the page to be reconstructed? Is this some caching issue that is causing it to be not reconstructed and hence just reused? thanks, Steve smime.p7s Description: S/MIME cryptographic signature
AW: Extending wicket for non webapp implementations
Why don't you use a template engine like FreeMarker? I think Wickets component model doesn't work well to create E-Mails. Christian - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Extending wicket for non webapp implementations
I'd love to use wicket as a more general template library. My immediate problem is that I need to build email template library. Has anyone done an extension that would allow it to process non HTML files? - Brill Pappin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Application & IConverterLocator when using Hibernate & friends
something like this might be of help? if (entity instanceof HibernateProxy) { entity = (T) ((HibernateProxy) entity).getHibernateLazyInitializer().getImplementation(); } francisco 2009/4/1 Steve Flasby : > Chaps, > need a hint please. > > I have my own IConverterLocator which provides standard display of > things like Money, Percentage & other domain types we have invented. > > All is good. > > Today I enhanced it to handle our Country type. This is an @Entity. > To my surprise the rendering didn't change. It seems I am getting > a wrapped class back from Hibernate (CGLIB artifact) rather than the > real type. (I guess I should have known this already). > > The IConverterLocator doesn't know about this class, and can't as it > is dynamically created. Can anyone suggest a way of handling this? > > > Cheers - Steve > > - > 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: urlFor ResourceStreamRequestTarget returning null
thanks maarten, but i still can't get the url for the resource in the renderHead method. in the open flash chart example, there are two types of urls built: - resourcereferences (easy peasy to get the url) - resource, via RequestCycle.get().urlFor(OpenFlashChart.this, IResourceListener.INTERFACE); remember, my component is: public abstract class SWFComponent extends WebMarkupContainer implements IResourceListener, IHeaderContributor in my case i need the url to a *resource*, so i tried: a) RequestCycle.get().urlFor(SWFComponent.this, IResourceListener.INTERFACE); or urlFor(IResourceListener.INTERFACE); in the onBeforeRender method => it outputs the url to a *bookmarkable page* / not my resource: ?wicket:bookmarkablePage=:app.wicket.project.DocumentPage&wicket:interface=:2:docsPanel:viewer:flash::IResourceListener:: b) RequestCycle.get().urlFor(SWFComponent.this, IResourceListener.INTERFACE); in the renderHead method => it outputs the url to another different *bookmarkable page* / not my resource: ?wicket:bookmarkablePage=:app.wicket.document.DocumentDetailPage&wicket:interface=:10:detailPanel:viewer:flash::IResourceListener:: c) urlFor(IResourceListener.INTERFACE); in the renderHead method => *sometimes* it works. this means *sometimes* it outputs "?wicket:interface=:3:docsPanel:viewer:flash::IResourceListener:: " (this is correct - it works) , but some other times it outputs " ?wicket:bookmarkablePage=:app.wicket.document.DocumentDetailPage&wicket:interface=:10:detailPanel:viewer:flash::IResourceListener:: " (this is not correct - it doesn't work). this mysterious behaviour hasn't occured just once, it randomly happened after compilation several times. is this a bug or why does it behave like that? am i misusing the api? should the resource, markup container and/or header contributor live in different classes? suggestions? thanks again francisco 2009/3/31 Maarten Bosteels : > Have you seen this page [1], it also features an SWFObject. > > http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html > > regards, > Maarten > > On Tue, Mar 31, 2009 at 3:36 PM, francisco treacy > wrote: >> hi all, >> >> i can't seem to find the way to get an url for a given RequestTarget. >> i'm using wicket 1.4-rc1. >> >> basically i have an SWFComponent : http://paste.pocoo.org/show/110435/ >> >> my problem is in line 35, when i call urlFor(target) to the renderHead >> method. the target is of type ResourceStreamRequestTarget and when i >> dig into the sources for the urlFor call, i end up in >> WebRequestCodingStrategy#encode: >> >> // fall through for non-default request targets >> url = doEncode(requestCycle, requestTarget); >> >> doEncode javadoc reads: >> >> * In case you are using custom targets that are not part of the >> default target hierarchy, you >> * need to override this method, which will be called after the >> defaults have been tried. When >> * this doesn't provide a url either (returns null), an exception >> will be thrown by the encode >> * method saying that encoding could not be done. >> >> where am i supposed to override this method? >> >> additionally, wicket doesn't seem to throw an exception as stated - it >> silently returns the null value. >> >> any ideas on how to get the url, or improvements to the code i pasted >> to make it work? >> >> thank you, >> >> francisco >> >> ps: note that the ResourceStreamRequestTarget works fine. for instance >> if i call getRequestCycle().setRequestTarget(target); on renderHead, >> the http response streams the swf file. >> >> - >> 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: VOTE: Rename Apache Wicket to Apache WicketFX
+1 but only because it's april fool's day :) Martijn Dashorst wrote: The Wicket PMC has discussed the following action. Because I think it is prudent that the Wicket community keeps evolving with the state of Java, I've created a board resolution to rename Wicket to WicketFX (thanks Igor for the suggestion!) WHEREAS, the Board of Directors deems it to be in the best interests of the Foundation and the Apache Wicket community to rename Apache Wicket to Apache WicketFX to get presentation slots at the JavaOne conference, and make it easier to obtain JSR status. NOW, THEREFORE, BE IT RESOLVED, that the project formerly known as the "Apache Wicket" project, be and hereby is renamed to "Apache WicketFX"; and be it further RESOLVED, that the Apache WicketFX PMC be and hereby is responsible to submit or propose new presentations and tutorials to the JavaOne Conference concerning Wicket and FX; and be it further RESOLVED, that the Apache WicketFX PMC be and hereby is responsible to submit the Apache WicketFX project to the JCP and obtain JSR status; and be it further RESOLVED, that the original Apache Wicket PMC be and hereby is dissolved of its responsibilities for this day, April 1st, 2009. [ ] +1, accept above resolution [ ] -1, don't accept above resolution, because ... This vote runs for just today, otherwise we won't be able to get it accepted by the board this month. Martijn - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: VOTE: Rename Apache Wicket to Apache WicketFX
Same concern here. Why the "FX" suffix? -Original Message- From: Johan Compagner [mailto:jcompag...@gmail.com] Sent: Wednesday, April 01, 2009 9:33 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX Failed eXtremely On Wed, Apr 1, 2009 at 15:08, Ames, Tim wrote: > Please excuse my EXTREME ignorance, but what exactly does or will the FX > mean from a Wicket standpoint? What does it do or allow a developer to do > that would designate it as "FX"? > > > > -Original Message- > From: David Leangen [mailto:wic...@leangen.net] > Sent: Wednesday, April 01, 2009 4:08 AM > To: users@wicket.apache.org > Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX > > > Or... WTF! (Wicket The Framework) > > +1 > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > EMAIL CONFIDENTIALITY NOTICE > > This Email message, and any attachments, may contain confidential > patient health information that is legally protected. This information > is intended only for the use of the individual or entity named above. > The authorized recipient of this information is prohibited from disclosing > this information to any other party unless required to do so by law > or regulation and is required to destroy the information after its stated > need has been fulfilled. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution, or action > taken in reliance on the contents of this message is strictly prohibited. > > If you have received this information in error, please notify > the sender immediately by replying to this message and delete the > message from your system. > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: VOTE: Rename Apache Wicket to Apache WicketFX
Failed eXtremely On Wed, Apr 1, 2009 at 15:08, Ames, Tim wrote: > Please excuse my EXTREME ignorance, but what exactly does or will the FX > mean from a Wicket standpoint? What does it do or allow a developer to do > that would designate it as "FX"? > > > > -Original Message- > From: David Leangen [mailto:wic...@leangen.net] > Sent: Wednesday, April 01, 2009 4:08 AM > To: users@wicket.apache.org > Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX > > > Or... WTF! (Wicket The Framework) > > +1 > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > EMAIL CONFIDENTIALITY NOTICE > > This Email message, and any attachments, may contain confidential > patient health information that is legally protected. This information > is intended only for the use of the individual or entity named above. > The authorized recipient of this information is prohibited from disclosing > this information to any other party unless required to do so by law > or regulation and is required to destroy the information after its stated > need has been fulfilled. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution, or action > taken in reliance on the contents of this message is strictly prohibited. > > If you have received this information in error, please notify > the sender immediately by replying to this message and delete the > message from your system. > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
RE: VOTE: Rename Apache Wicket to Apache WicketFX
Please excuse my EXTREME ignorance, but what exactly does or will the FX mean from a Wicket standpoint? What does it do or allow a developer to do that would designate it as "FX"? -Original Message- From: David Leangen [mailto:wic...@leangen.net] Sent: Wednesday, April 01, 2009 4:08 AM To: users@wicket.apache.org Subject: Re: VOTE: Rename Apache Wicket to Apache WicketFX > Or... WTF! (Wicket The Framework) +1 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ EMAIL CONFIDENTIALITY NOTICE This Email message, and any attachments, may contain confidential patient health information that is legally protected. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party unless required to do so by law or regulation and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or action taken in reliance on the contents of this message is strictly prohibited. If you have received this information in error, please notify the sender immediately by replying to this message and delete the message from your system. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Modify class : org.apache.wicket.spring.SpringWebApplicationFactory (possible) ?
Hi, Is it possible to modify the following class : org.apache.wicket.spring.SpringWebApplicationFactory in order to retrieve the class org.springframework.osgi.BundleContext where info about class loading are. This is required when Wicket is deployed on OSGI server Regards, Charles Moulliard SOA Architect cmoulliard wrote: > > Hi, > > When I start my Apache Wicket bundle using Apache Service Mix (based on > Felix and Spring DM), I receive the following error : > Quote: > 16:35:58,415 | DEBUG | localShell | jetty | > .service.internal.util.JCLLogger 85 | started > org.ops4j.pax.web.service.internal.model.ServletMo del-66 > 16:35:58,415 | INFO | localShell | HttpServiceProxy | > ervice.internal.HttpServiceProxy 129 | Registering event listener > [org.springframework.web.context.ContextLoaderListe n...@196dc61] > 16:35:58,415 | DEBUG | localShell | HttpServiceStarted | > vice.internal.HttpServiceStarted 324 | Using context > [ContextModel{id=org.ops4j.pax.web.service.internal > .model.ContextModel-64,name=reportincident,httpContext=org.ops4j.pax.w > eb.extender.war.internal.webapphttpcont...@fe404a, > contextParams={webapp.context=reportincident, > contextClass=org.springframework.osgi.web.context. > support.OsgiBundleXmlWebApplicationContext}}] > 16:35:58,415 | INFO | localShell | /reportincident | > .service.internal.util.JCLLogger 102 | Initializing Spring root > WebApplicationContext > 16:35:58,415 | INFO | localShell | ContextLoader | > mework.web.context.ContextLoader 189 | Root WebApplicationContext: > initialization started > 16:35:58,415 | ERROR | localShell | ContextLoader | > mework.web.context.ContextLoader 215 | Context initialization failed > java.lang.IllegalArgumentException: bundle context should be set before > refreshing the application context > at org.springframework.util.Assert.notNull(Assert.jav a:112) > at org.springframework.osgi.context.support.AbstractD > elegatedExecutionApplicationContext.normalRefresh( > AbstractDelegatedExecutionApplicationContext.java: 179) > at org.springframework.osgi.context.support.AbstractD > elegatedExecutionApplicationContext$NoDependencies > WaitRefreshExecutor.refresh(AbstractDelegatedExecu > tionApplicationContext.java:89) > at org.springframework.osgi.context.support.AbstractD > elegatedExecutionApplicationContext.refresh(Abstra > ctDelegatedExecutionApplicationContext.java:175) > at org.springframework.web.context.ContextLoader.crea > teWebApplicationContext(ContextLoader.java:255) > at org.springframework.web.context.ContextLoader.init > WebApplicationContext(ContextLoader.java:199) > at org.springframework.web.context.ContextLoaderListe > ner.contextInitialized(ContextLoaderListener.java: 45) > Here is the config of my web.xml file : > > Quote: > > http://java.sun.com/xml/ns/j2ee"; 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"> > > reportincident.web > > > contextClass > org.springframework.osgi.web.context.support > .OsgiBundleXmlWebApplicationContext > > > > org.springframework.web.context.ContextLoade > rListener > > > > wicket.reportincident.web > org.apache.wicket.protocol.http.WicketFilter > > applicationClassName > org.apache.camel.example.WicketApplication > > > > > wicket.reportincident.web > /* > > > > > Any idea to solve this problem is welcome ? > > Regards, > > Charles > __ > SOA Architect > > > - > Charles Moulliard > SOA Architect > > My Blog : http://cmoulliard.blogspot.com/ > - Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/ -- View this message in context: http://www.nabble.com/java.lang.IllegalArgumentException%3A-bundle-context-should-be-set--before-refreshing-the-application-context-tp22807226p22825852.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
How to switch Panels with a Tree?
Hello, I want to switch panels with a tree (like switching panels within a TabbedPanel), but get an error when clicking more than once on a node. It should look like this: +-+ | (TreePanel) | | +-+ | | |(Tree) | | | * root | +---+ | | | ** Folder A | |(ContentPanel) | | | | *** [File1] | | File1 | | | | *** File2 | | | | | +-+ +---+ | +-+ The Panel according to the selected node (File1) is displayed. The top-level TreePanel contains the Tree and the and the ContentPanel. Java code of TreePanel: public class TreePanel extends Panel{ private Tree tree; private NodePanel selectedPanel; public TreePanel(String id, NodePanel rootNode) { super(id); DefaultTreeModel treeModel = new DefaultTreeModel(rootNode.getAsTreeNode()); selectedPanel = rootNode; add(selectedPanel); tree = new Tree("tree", treeModel) { @Override protected String renderNode(TreeNode node) { DefaultMutableTreeNode treeNode = (DefaultMutableTreeNode)node; Object userObject = treeNode.getUserObject(); if (userObject instanceof List) return ""; else { NodePanel panel = (NodePanel)userObject; return panel.getTitle(); } } @Override protected void onNodeLinkClicked(AjaxRequestTarget target, javax.swing.tree.TreeNode node) { DefaultMutableTreeNode treeNode = (DefaultMutableTreeNode)node; NodePanel currentPanel = (NodePanel)treeNode.getUserObject(); selectedPanel.replaceWith(currentPanel); } }; add(tree); } /** * Get a reference to the tree to configure or query it. * @return */ public Tree getTree() { return tree; } } In the Page class that uses my TreePanel I add some NodePanls to the tree. When I open the Page in the browser, the root panel is displayed as expected. When I click on a node the first time everything is fine and the panel gets replaced, but when I click on another link I get: WicketMessage: Method onLinkClicked of interface org.apache.wicket.markup.html.link.ILinkListener targeted at component [MarkupContainer [Component id = nodeLink]] threw an exception Root cause: java.lang.IllegalStateException: This method can only be called on a component that has already been added to its parent. at org.apache.wicket.Component.replaceWith(Component.java:2717) at com.helmbold.wicket.components.tree.TreePanel$1.onNodeLinkClicked(TreePanel.java:53) ... What's wrong with my code? Regards Christian PS: For completeness the code of NodePanel (ContentPanel in the example extends NodePanel): public abstract class NodePanel extends Panel{ private DefaultMutableTreeNode treeNode = new DefaultMutableTreeNode(this); /** * Constructs a NodePanel with the given id. * @param id wicket:id */ public NodePanel(String id) { super(id); } /** * Wraps this object in a DefaultMutableTreeNode. * @return A DefaultMutableTreeNode object which returns this object when * DefaultMutableTreeNode#getUserObject() is invoked. */ public DefaultMutableTreeNode getAsTreeNode() { return treeNode; } /** * Add a child in the tree hierarchy - not a nested panel this a panel! * @param child */ public void addChild(NodePanel child) { treeNode.add(child.getAsTreeNode()); } /** * @return Title of the Panel that will be displayed as node link in the tree. */ public abstract String getTitle(); } - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Should a form submit when sub-form has error's?
If you are referring to org.apache.wicket.markup.html.form.validation.TestHomePage Those never run at least not when I call "mvn clean package" I had to change it to org.apache.wicket.markup.html.form.validation.HomePageTest to get it to work. (Which in my view could indicate that there are more tests not running) still checking the actual problem. Thijs On 31-3-2009 19:51, Igor Vaynberg wrote: not it shouldnt. there should already be unit tests that check for this, can you please check those and provide a patch if possible. -igor On Tue, Mar 31, 2009 at 4:34 AM, Thijs wrote: Hi, Should a Form submit when a subform has error's? I have a main-form where I add a panel that contains another form. This sub-form contains a formvalidator that gives the error. However the main-form is submitted, but the feedbackpanel does show the error message set in the sub-form's validator. Is this expected behavior using 1.4-snapshot? Because in wicket 1.3.x this does work and the mainform is not submitted. (I can provide a testcase if needed) Thijs - 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
Employ JQuery Accordion in Wicket
Hey, My team lead is insisting on employing JQuery Accordion in our Wicket application. As you know that the Accordion consists of pairs of headers and contents panels. The requirement is to hide/show some pairs depending on the user's permission. Is is possible to do so? if yes, would you please give me some clues how to implement it? Thanks for help, this is my first Wicket project and my team lead is putting the heavy weight on my shoulders. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [announce] WASMP , Wicket AsSeMbler Project
In theory yes, but we would require Wicket to abstract all classes via interfaces and make WASP and SWARM to rely on those instead.. Since the byte code signature are not identical for the code.. 2009/4/1 Johan Compagner : > Will WASP and SWARM run on WASMP? > > On Wed, Apr 1, 2009 at 10:32, nino martinez wael < > nino.martinez.w...@gmail.com> wrote: > >> Hi Guys >> >> Im happy to announce the new Shiny Wicket Assembler Project on behalf >> of the WASMP team. Do you need speed? Then WASMP is for you, in it's >> first release it will be able to run on a 386 system and are written >> for DOS 3. Initial tests (on the pre alpha release) states that this >> out runs a comparative Wicket Java system on a brand new 4 GHZ 4 core >> intel system. >> >> We are using native classes (Assembler thru C) to provide these >> performance boots. >> >> Stay tuned for more information! >> >> -The WASMP Team >> >> - >> 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: [announce] WASMP , Wicket AsSeMbler Project
Will WASP and SWARM run on WASMP? On Wed, Apr 1, 2009 at 10:32, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > Hi Guys > > Im happy to announce the new Shiny Wicket Assembler Project on behalf > of the WASMP team. Do you need speed? Then WASMP is for you, in it's > first release it will be able to run on a 386 system and are written > for DOS 3. Initial tests (on the pre alpha release) states that this > out runs a comparative Wicket Java system on a brand new 4 GHZ 4 core > intel system. > > We are using native classes (Assembler thru C) to provide these > performance boots. > > Stay tuned for more information! > > -The WASMP Team > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
FileUpload: mark/reset not supported
Hi @ all! I have a FileUpload which is not working. My Feedback component recognized: The file cannot be saved! Cause: mark/reset not supported What I'm doing is: I pass the input stream from the FileUpload to a method, which uses it for XML-parsing. With some files it's working with other not. All files are valid! Is this a FileUpload error, or a parsing error? Greetings
Re: NameService usage in wicket ?
Thats not a problem with wicket I think? Im not sure how you've implemented the nameservice (usually you do that with static methods), but I'd use IOC instead, it avoids some of the anti patterns you get into when doing the servicelocator pattern or the factory pattern.. regards Nino 2009/4/1 FaRHaN : > when i access NameService methods such as NameService service = > NameService.(dot) the intellisense only shows class rather than all methods > of NameService. Is there anything missing ? > Thanx again... > > --- On Wed, 4/1/09, nino martinez wael wrote: > > From: nino martinez wael > Subject: Re: NameService usage in wicket ? > To: users@wicket.apache.org > Date: Wednesday, April 1, 2009, 9:27 AM > > This should not be a problem.. Im not sure why you get that problem? > Why is it not accessible from you wicket application, it's not > different from any other app. Now there might be something with an > application context. > > 2009/4/1 FaRHaN : >> Sorry, it was NameService instead of NameSpace. >> I want to use NameService for finding (extracting) values stored in an array. >> >> For Example, i want to use: >> List names = new ArrayList(); >> names.add("Abe"); >> names.add("Abel"); >> String prefix = request.getParameter("name"); >> NameService service = NameService.getInstance(names); >> List matching = service.findNames(prefix); >> >> but getInstance() method of NameService not being eccessible in java class >> of wicket appplication. >> >> Thanks, >> FaRHaN. >> >> --- On Wed, 4/1/09, nino martinez wael wrote: >> >> From: nino martinez wael >> Subject: Re: NameSpace usage in wicket ? >> To: users@wicket.apache.org >> Date: Wednesday, April 1, 2009, 8:34 AM >> >> Can you be more descriptive? >> >> Are you thinking of Javascripts name spaces? You can look at the >> openlayers integration on wicketstuff if so. >> >> 2009/4/1 FaRHaN : >>> Is there any way to use NameSpace in wicket applicatin ? >>> Please reply... >>> >>> Regards, >>> FaRHaN BaJWa. >>> >>> >>> >>> >> >> - >> 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: VOTE: Rename Apache Wicket to Apache WicketFX
+1 -Original Message- From: martijn.dasho...@gmail.com [mailto:martijn.dasho...@gmail.com] On Behalf Of Martijn Dashorst Sent: Wednesday, April 01, 2009 3:03 AM To: d...@wicket.apache.org; users@wicket.apache.org Subject: VOTE: Rename Apache Wicket to Apache WicketFX The Wicket PMC has discussed the following action. Because I think it is prudent that the Wicket community keeps evolving with the state of Java, I've created a board resolution to rename Wicket to WicketFX (thanks Igor for the suggestion!) WHEREAS, the Board of Directors deems it to be in the best interests of the Foundation and the Apache Wicket community to rename Apache Wicket to Apache WicketFX to get presentation slots at the JavaOne conference, and make it easier to obtain JSR status. NOW, THEREFORE, BE IT RESOLVED, that the project formerly known as the "Apache Wicket" project, be and hereby is renamed to "Apache WicketFX"; and be it further RESOLVED, that the Apache WicketFX PMC be and hereby is responsible to submit or propose new presentations and tutorials to the JavaOne Conference concerning Wicket and FX; and be it further RESOLVED, that the Apache WicketFX PMC be and hereby is responsible to submit the Apache WicketFX project to the JCP and obtain JSR status; and be it further RESOLVED, that the original Apache Wicket PMC be and hereby is dissolved of its responsibilities for this day, April 1st, 2009. [ ] +1, accept above resolution [ ] -1, don't accept above resolution, because ... This vote runs for just today, otherwise we won't be able to get it accepted by the board this month. 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: Wicket and (or) restlet
Actually there are very few informations regarding this subject. Recently I have found a quote at restlet page (http://www.restlet.org/about/quotes) : "I was working on a small project using Wicket but since switching to Restlet I will not be going back. Restlet makes java development productive, fun, and places no real framework burden on a developer." I didn't have an opportunity to work with restlet, that is why I'm asking the community about it. Alex Erik van Oosten wrote: > > There are several mails with opinions regarding this subject. > > One way to actually use Restlet and Wicket together is described on > http://cwiki.apache.org/WICKET/springbean-outside-wicket.html. > > Regards, > Erik. > > > Objelean Alex wrote: >> I'm curious what are the community thoughts about restlet. Have you used >> this framework? Can wicket & restlet work together? Have you had any >> experience with it? >> >> Thank you! >> >> > > -- > 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 > > > -- View this message in context: http://www.nabble.com/Wicket-and-%28or%29-restlet-tp22822162p22824090.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
Application & IConverterLocator when using Hibernate & friends
Chaps, need a hint please. I have my own IConverterLocator which provides standard display of things like Money, Percentage & other domain types we have invented. All is good. Today I enhanced it to handle our Country type. This is an @Entity. To my surprise the rendering didn't change. It seems I am getting a wrapped class back from Hibernate (CGLIB artifact) rather than the real type. (I guess I should have known this already). The IConverterLocator doesn't know about this class, and can't as it is dynamically created. Can anyone suggest a way of handling this? Cheers - Steve - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket and (or) restlet
There are several mails with opinions regarding this subject. One way to actually use Restlet and Wicket together is described on http://cwiki.apache.org/WICKET/springbean-outside-wicket.html. Regards, Erik. Objelean Alex wrote: I'm curious what are the community thoughts about restlet. Have you used this framework? Can wicket & restlet work together? Have you had any experience with it? Thank you! -- 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
Re: NameService usage in wicket ?
when i access NameService methods such as NameService service = NameService.(dot) the intellisense only shows class rather than all methods of NameService. Is there anything missing ? Thanx again... --- On Wed, 4/1/09, nino martinez wael wrote: From: nino martinez wael Subject: Re: NameService usage in wicket ? To: users@wicket.apache.org Date: Wednesday, April 1, 2009, 9:27 AM This should not be a problem.. Im not sure why you get that problem? Why is it not accessible from you wicket application, it's not different from any other app. Now there might be something with an application context. 2009/4/1 FaRHaN : > Sorry, it was NameService instead of NameSpace. > I want to use NameService for finding (extracting) values stored in an array. > > For Example, i want to use: > List names = new ArrayList(); > names.add("Abe"); > names.add("Abel"); > String prefix = request.getParameter("name"); > NameService service = NameService.getInstance(names); > List matching = service.findNames(prefix); > > but getInstance() method of NameService not being eccessible in java class of > wicket appplication. > > Thanks, > FaRHaN. > > --- On Wed, 4/1/09, nino martinez wael wrote: > > From: nino martinez wael > Subject: Re: NameSpace usage in wicket ? > To: users@wicket.apache.org > Date: Wednesday, April 1, 2009, 8:34 AM > > Can you be more descriptive? > > Are you thinking of Javascripts name spaces? You can look at the > openlayers integration on wicketstuff if so. > > 2009/4/1 FaRHaN : >> Is there any way to use NameSpace in wicket applicatin ? >> Please reply... >> >> Regards, >> FaRHaN BaJWa. >> >> >> >> > > - > 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: clean way to add visibility constraints
one is static, the other dynamic. You can make setVisible more dynamic by doing it in page.onBeforeRender Martijn On Wed, Apr 1, 2009 at 11:42 AM, Boydens Joeri (OZ) wrote: > > Is there prefered way between the methods below? > > if (condition) { > component.setVisible(false); > } > > OR > > component { > @Override > public boolean isVisible() { > return !condition; > } > > If I use the above I can group my components and set them with the > setVisible method depending on the condition, with the last method I > have to add the the condition to every component. > > > -Oorspronkelijk bericht- > Van: Daan van Etten [mailto:d...@stuq.nl] > Verzonden: woensdag 1 april 2009 11:20 > Aan: users@wicket.apache.org > Onderwerp: Re: clean way to add visibility constraints > > You could write a method that sets the visibility on the relevant > components. > The Form components have to be visible to that method though (or you > have to use a visitor). > > Regards, > > Daan > > Op 1 apr 2009, om 08:32 heeft Boydens Joeri (OZ) het volgende > geschreven: > >> Hi, >> >> >> >> I have this page where I have different components that need to be >> show >> or hidden, depending on the value of some model fields. I implemented >> this by overriding the isVisible method of the components. Now I was >> wondering if there is a less verbose way of handling this? (I can't >> group the components because it's not possible in the html markup). >> >> >> >> item.add(new TextField("value") { >> >> public boolean isVisible() { >> >> >> OnlineBookingParametersArticle article = >> (OnlineBookingParametersArticle) getParent().getModel().getObject(); >> >> return >> article.getArticle().getNumberInStock() > 0; >> >> } >> >> }); >> >> >> >> item.add(new >> Label("article.numberOfArticlesLabel", "Geen beschikbaar") { >> >> public boolean isVisible() { >> >> >> OnlineBookingParametersArticle article = >> (OnlineBookingParametersArticle) getParent().getModel().getObject(); >> >> return >> article.getArticle().getNumberInStock() <= 0; >> >> } >> >> }); >> >> >> >> item.add(new >> Label("article.description")); >> >> >> >> item.add(new >> WebMarkupContainer("participantInfo") { >> >> public boolean >> isVisible() { >> >> >> OnlineBookingParametersArticle article = >> (OnlineBookingParametersArticle) getParent().getModel().getObject(); >> >> return >> article.getArticle().getNumberInStock() > 0; >> >> } >> >> } >> >> .add(new >> Label("article.numberOfRequiredParticipants")) >> >> .add(new >> Label("article.maximumNumberOfParticipants"))); >> >> >> >> >> >> item.add(new Link("contactLink"){ >> >> @Override >> >> public void onClick(){ >> >> //TODO : go to correct >> page >> >> } >> >> @Override >> >> public boolean isVisible() { >> >> >> OnlineBookingParametersArticle article = >> (OnlineBookingParametersArticle) getParent().getModel().getObject(); >> >> return >> article.getArticle().getNumberInStock() <= 0; >> >> } >> >> }); >> >> >> >> >> > > > - > 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 > > -- 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: Picket Web Framework -- PHP's answer to Java's Wicket
Wow.. looks very promising. Nice.. nice... :) On Wed, Apr 1, 2009 at 12:56 PM, Otan wrote: > Are you a fan of Wicket but you can't use it because your company or client > is tied with PHP? Have you ever wished that Wicket was available in the PHP > land? > > Picket to the rescue! > > Picket is a project that aims to bring Wicket's awesome features and > philosophy to the PHP community. The project was started by YouSoft > Consulting (Nasdaq: YSFT) and being used internally since 2006. Now that > Picket 1.1 has been released, and is stable enough for prime time, YouSoft > opened the source code for public consumption with multi-licenses, namely, > GPL v2, GPL v3, BSD, Apache, MPL and CDDL. > > For more information, visit its official website at > http://4thmonth.yousoft.com/1stday/picket > > Have a happy day! > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: clean way to add visibility constraints
Is there prefered way between the methods below? if (condition) { component.setVisible(false); } OR component { @Override public boolean isVisible() { return !condition; } If I use the above I can group my components and set them with the setVisible method depending on the condition, with the last method I have to add the the condition to every component. -Oorspronkelijk bericht- Van: Daan van Etten [mailto:d...@stuq.nl] Verzonden: woensdag 1 april 2009 11:20 Aan: users@wicket.apache.org Onderwerp: Re: clean way to add visibility constraints You could write a method that sets the visibility on the relevant components. The Form components have to be visible to that method though (or you have to use a visitor). Regards, Daan Op 1 apr 2009, om 08:32 heeft Boydens Joeri (OZ) het volgende geschreven: > Hi, > > > > I have this page where I have different components that need to be > show > or hidden, depending on the value of some model fields. I implemented > this by overriding the isVisible method of the components. Now I was > wondering if there is a less verbose way of handling this? (I can't > group the components because it's not possible in the html markup). > > > > item.add(new TextField("value") { > > public boolean isVisible() { > > > OnlineBookingParametersArticle article = > (OnlineBookingParametersArticle) getParent().getModel().getObject(); > > return > article.getArticle().getNumberInStock() > 0; > > } > > }); > > > > item.add(new > Label("article.numberOfArticlesLabel", "Geen beschikbaar") { > > public boolean isVisible() { > > > OnlineBookingParametersArticle article = > (OnlineBookingParametersArticle) getParent().getModel().getObject(); > > return > article.getArticle().getNumberInStock() <= 0; > > } > > }); > > > > item.add(new > Label("article.description")); > > > > item.add(new > WebMarkupContainer("participantInfo") { > > public boolean > isVisible() { > > > OnlineBookingParametersArticle article = > (OnlineBookingParametersArticle) getParent().getModel().getObject(); > > return > article.getArticle().getNumberInStock() > 0; > > } > > } > > .add(new > Label("article.numberOfRequiredParticipants")) > > .add(new > Label("article.maximumNumberOfParticipants"))); > > > > > > item.add(new Link("contactLink"){ > > @Override > > public void onClick(){ > > //TODO : go to correct > page > > } > > @Override > > public boolean isVisible() { > > > OnlineBookingParametersArticle article = > (OnlineBookingParametersArticle) getParent().getModel().getObject(); > > return > article.getArticle().getNumberInStock() <= 0; > > } > > }); > > > > > - 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: need Help on [AutoCompleteTextField]
I dont have any more explicit examples laying around.. Just do it like you would in any other java application.. And it certainly are possible... 2009/4/1 FaRHaN : > I have tried examples exist in wicket library but these examples are used to > display only built-in (countries & languages) values. But i want to display > my own values stored in an array or in DBIs there any ? > > --- On Wed, 4/1/09, nino martinez wael wrote: > > From: nino martinez wael > Subject: Re: need Help on [AutoCompleteTextField] > To: users@wicket.apache.org > Date: Wednesday, April 1, 2009, 9:05 AM > > Look at the examples on wicket library, if you need more then you > could try the object autocomplete from wicketstuff.. > > 2009/3/31 FaRHaN : >> Is there any way to display User Defined values in AutoCompleteTextField >> (ajax behavior) by using array of values. >> Please refer me some examples and links to demonstrate such type of >> behaviour. >> >> Thanks, >> FaRHaN >> >> >> >> > > - > 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: NameService usage in wicket ?
This should not be a problem.. Im not sure why you get that problem? Why is it not accessible from you wicket application, it's not different from any other app. Now there might be something with an application context. 2009/4/1 FaRHaN : > Sorry, it was NameService instead of NameSpace. > I want to use NameService for finding (extracting) values stored in an array. > > For Example, i want to use: > List names = new ArrayList(); > names.add("Abe"); > names.add("Abel"); > String prefix = request.getParameter("name"); > NameService service = NameService.getInstance(names); > List matching = service.findNames(prefix); > > but getInstance() method of NameService not being eccessible in java class of > wicket appplication. > > Thanks, > FaRHaN. > > --- On Wed, 4/1/09, nino martinez wael wrote: > > From: nino martinez wael > Subject: Re: NameSpace usage in wicket ? > To: users@wicket.apache.org > Date: Wednesday, April 1, 2009, 8:34 AM > > Can you be more descriptive? > > Are you thinking of Javascripts name spaces? You can look at the > openlayers integration on wicketstuff if so. > > 2009/4/1 FaRHaN : >> Is there any way to use NameSpace in wicket applicatin ? >> Please reply... >> >> Regards, >> FaRHaN BaJWa. >> >> >> >> > > - > 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: need Help on [AutoCompleteTextField]
I have tried examples exist in wicket library but these examples are used to display only built-in (countries & languages) values. But i want to display my own values stored in an array or in DBIs there any ? --- On Wed, 4/1/09, nino martinez wael wrote: From: nino martinez wael Subject: Re: need Help on [AutoCompleteTextField] To: users@wicket.apache.org Date: Wednesday, April 1, 2009, 9:05 AM Look at the examples on wicket library, if you need more then you could try the object autocomplete from wicketstuff.. 2009/3/31 FaRHaN : > Is there any way to display User Defined values in AutoCompleteTextField > (ajax behavior) by using array of values. > Please refer me some examples and links to demonstrate such type of behaviour. > > Thanks, > FaRHaN > > > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: clean way to add visibility constraints
You could write a method that sets the visibility on the relevant components. The Form components have to be visible to that method though (or you have to use a visitor). Regards, Daan Op 1 apr 2009, om 08:32 heeft Boydens Joeri (OZ) het volgende geschreven: Hi, I have this page where I have different components that need to be show or hidden, depending on the value of some model fields. I implemented this by overriding the isVisible method of the components. Now I was wondering if there is a less verbose way of handling this? (I can't group the components because it's not possible in the html markup). item.add(new TextField("value") { public boolean isVisible() { OnlineBookingParametersArticle article = (OnlineBookingParametersArticle) getParent().getModel().getObject(); return article.getArticle().getNumberInStock() > 0; } }); item.add(new Label("article.numberOfArticlesLabel", "Geen beschikbaar") { public boolean isVisible() { OnlineBookingParametersArticle article = (OnlineBookingParametersArticle) getParent().getModel().getObject(); return article.getArticle().getNumberInStock() <= 0; } }); item.add(new Label("article.description")); item.add(new WebMarkupContainer("participantInfo") { public boolean isVisible() { OnlineBookingParametersArticle article = (OnlineBookingParametersArticle) getParent().getModel().getObject(); return article.getArticle().getNumberInStock() > 0; } } .add(new Label("article.numberOfRequiredParticipants")) .add(new Label("article.maximumNumberOfParticipants"))); item.add(new Link("contactLink"){ @Override public void onClick(){ //TODO : go to correct page } @Override public boolean isVisible() { OnlineBookingParametersArticle article = (OnlineBookingParametersArticle) getParent().getModel().getObject(); return article.getArticle().getNumberInStock() <= 0; } }); - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: NameService usage in wicket ?
Sorry, it was NameService instead of NameSpace. I want to use NameService for finding (extracting) values stored in an array. For Example, i want to use: List names = new ArrayList(); names.add("Abe"); names.add("Abel"); String prefix = request.getParameter("name"); NameService service = NameService.getInstance(names); List matching = service.findNames(prefix); but getInstance() method of NameService not being eccessible in java class of wicket appplication. Thanks, FaRHaN. --- On Wed, 4/1/09, nino martinez wael wrote: From: nino martinez wael Subject: Re: NameSpace usage in wicket ? To: users@wicket.apache.org Date: Wednesday, April 1, 2009, 8:34 AM Can you be more descriptive? Are you thinking of Javascripts name spaces? You can look at the openlayers integration on wicketstuff if so. 2009/4/1 FaRHaN : > Is there any way to use NameSpace in wicket applicatin ? > Please reply... > > Regards, > FaRHaN BaJWa. > > > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: need Help on [AutoCompleteTextField]
Look at the examples on wicket library, if you need more then you could try the object autocomplete from wicketstuff.. 2009/3/31 FaRHaN : > Is there any way to display User Defined values in AutoCompleteTextField > (ajax behavior) by using array of values. > Please refer me some examples and links to demonstrate such type of behaviour. > > Thanks, > FaRHaN > > > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org