Re: Too Many Open Files Wicket 1.4.1
https://issues.apache.org/jira/browse/WICKET-2534 Am Mittwoch, 30. Dezember 2009 04:29:00 schrieb Doug Leeper: Was a JIRA ticket ever created for this? I couldn't find any thing related to it. Is any one else seeing this issue? I just ran across it in our dev env after redeploying my web app. Not sure if this wicket, jdk, or weblogic. Weblogic 10 JRockit (BEA JRockit(R) (build R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-ia32, compiled mode)) Linux Wicket 1.4.4 -- binaere bauten gmbh · tempelhofer ufer 1a · 10961 berlin +49 · 171 · 9342 465 Handelsregister: HRB 115854 - Amtsgericht Charlottenburg Geschäftsführer: Dipl.-Inform. Ilja Pavkovic, Dipl.-Inform. Jost Becker - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Tag Oriented Development
IMHO. The good things about standards is that they introduce some order in places where otherwise complete chaos would arise... e.g. by several software vendors implementing similar functionality on non-compatible ways. The bad thing about standards is specifications have to be maintained and that is not always easy... as vendors will try to push in their own custom features and let out others' custom features. That's usually the way new things get adopted into many standards... In practice there are many kinds of decision makers... and, in some cases, even having the best engineers building a good case in favor of a non standard technology, decision makers might opt to adopt the standard (or a solution the engineers were against to use). I have seen that happening before... Unfortunately this is not a simple matter... On Tue, Dec 29, 2009 at 9:18 PM, Loritsch, Berin C. berin.lorit...@gd-ais.com wrote: The good thing about standards is that there are so many to choose from. .Net is a standard, Java is a standard, PERL is a standard, JavaScript is a standard. As are CSS, HTML, etc. As we all know, just because something is a standard does not mean that it is good, fits the problem, or is implemented properly or in any meaningful way. It is important to understand the thinking that goes into one of the standards. In business, the reason decision makers choose standards is because they want easily replaceable cogs that require little training. They've been trying to get software engineers to pay obeisance to this thinking for years, but the engineers can always come up with good reasons why a standard is not a good fit. The exceptional engineers can do it in a way that even the decision makers see the value in dropping a standard. -Original Message- From: Altuğ B. Altıntaş [mailto:alt...@gmail.com] Sent: Tuesday, December 29, 2009 2:51 PM To: users@wicket.apache.org Subject: Re: Tag Oriented Development Agreed 2009/12/25 b...@actrix.gen.nz JSF == Standard? My question is: What should become a standard? When I think about standards, then things that come to mind are: - SQL - ODBC - Java - JDBC - EJB - JPA but not JSF. And not Spring. And not ... - you name it. For some reason, possibly due to the fast evolving nature of the web, web frameworks are higher up in the food chain, and I don't think that we are ready yet to standardize on that level. People may say JSF is a standard, so what? The fact that there are so many others seems to prove my point. Bernard On Tue, 22 Dec 2009 14:59:16 +0200, you wrote: In business, decision makers choose standards and JSF is standard so JSF is good and JSF is the King. But couldn't be The King Is Naked ?? OR Am i wrong ? JSF is really cool and i don't know the hidden features ?? I don't want to start framework wars, this is useless but I think Wicket should be a JSR. I don't know how a framework like Wicket become a JSR - a standard - but it should be... 2009/12/22 Peter Thomas ptrtho...@gmail.com On Tue, Dec 22, 2009 at 5:47 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: @Tomas, @Martin, I already knew those links... Thanks anyway. Actually I went a bit further an implemented the same application on different technologies so that developers could evaluate for themselves the wonders of downsides of each technology... plus detailed explanations of how the code works Unfortunately I cannot share that code as is property of the company I work for That's a pretty solid approach, pity you can't share the code though. I tried to do something similar as open-source: http://code.google.com/p/perfbench/ Maybe you can contribute some analysis or even an implementation or two ;) I would be interested in your feedback, for e.g. which framework to attempt next - do let me know offline. But the problem is those who will take the final decision will take into account more political reasons that things like development speed, code quality, code re-usability and any other adds you throw at them... @Martin, Congratulations! Hope I can say the same in a few months. Best, Ernesto On Tue, Dec 22, 2009 at 12:57 PM, Peter Thomas ptrtho...@gmail.com wrote: On Tue, Dec 22, 2009 at 5:22 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi Eelco, On Tue, Dec 22, 2009 at 12:38 PM, Eelco Hillenius eelco.hillen...@gmail.com wrote: I love Wicket and the natural approach it offers to do web-development... and I have been pushing hard to use it whenever possible... but on the real world it is not enough to be an excellent product to gain wide acceptance... Does last
Re: wicketstuff-jmx-panel in Wicket 1.4, missing a MarkupContainer.add(Component) ?
I got the same error today, trying to use the JmxPanel with Wicket 1.3.7. Any idea about how to solve this issue? I would really like to use the JmxPanel in my application. Best regards, giovanni From: Trent Larson larsontr...@gmail.com To: users@wicket.apache.org Sent: Wed, March 18, 2009 11:41:38 PM Subject: wicketstuff-jmx-panel in Wicket 1.4, missing a MarkupContainer.add(Component) ? I'm trying to use the wicketstuff-jmx-panel component as simply as possible: add(new JmxPanel(jmx)); But I get a strange error about a method that doesn't exist: Caused by: java.lang.NoSuchMethodError: org.wicketstuff.jmx.markup.html.tree.JmxTreePanel.add(Lorg/apache/wicket/Component;)Lorg/apache/wicket/MarkupContainer; at org.wicketstuff.jmx.markup.html.tree.JmxTreePanel.init(JmxTreePanel.java:33) at org.wicketstuff.jmx.markup.html.JmxPanel.init(JmxPanel.java:113) at org.wicketstuff.jmx.markup.html.JmxPanel.init(JmxPanel.java:94) I call it strange because I'm using 1.4-m3, which appears to have the MarkupContainer.add(Component...) method, so I cannot figure out what it's trying to tell me. So is anyone using this in 1.4? Any idea why it's complaining about no such method? Thanks! Trent
Re: wicketstuff-jmx-panel in Wicket 1.4, missing a MarkupContainer.add(Component) ?
i will try to find some time to take a look at it tonight. gerolf On Wed, Dec 30, 2009 at 11:51 AM, Giovanni pino_o...@yahoo.com wrote: I got the same error today, trying to use the JmxPanel with Wicket 1.3.7. Any idea about how to solve this issue? I would really like to use the JmxPanel in my application. Best regards, giovanni From: Trent Larson larsontr...@gmail.com To: users@wicket.apache.org Sent: Wed, March 18, 2009 11:41:38 PM Subject: wicketstuff-jmx-panel in Wicket 1.4, missing a MarkupContainer.add(Component) ? I'm trying to use the wicketstuff-jmx-panel component as simply as possible: add(new JmxPanel(jmx)); But I get a strange error about a method that doesn't exist: Caused by: java.lang.NoSuchMethodError: org.wicketstuff.jmx.markup.html.tree.JmxTreePanel.add(Lorg/apache/wicket/Component;)Lorg/apache/wicket/MarkupContainer; at org.wicketstuff.jmx.markup.html.tree.JmxTreePanel.init(JmxTreePanel.java:33) at org.wicketstuff.jmx.markup.html.JmxPanel.init(JmxPanel.java:113) at org.wicketstuff.jmx.markup.html.JmxPanel.init(JmxPanel.java:94) I call it strange because I'm using 1.4-m3, which appears to have the MarkupContainer.add(Component...) method, so I cannot figure out what it's trying to tell me. So is anyone using this in 1.4? Any idea why it's complaining about no such method? Thanks! Trent
generics and models that take X as model object but return Y
What's the best practice when using generics with models that take some object but return another type of object? examples: When you have a collection and need to convert it to a list for listview purposes. When you have some object and you need a wrapping model that creates some string representation of the object - usually involving more objects (so you can't just use the toString or other getter of the object).
Re: wicketstuff-jmx-panel in Wicket 1.4, missing a MarkupContainer.add(Component) ?
Gerolf, I solved the problem. It was my wrong configuration of libraries on tomcat. regards giovanni From: Gerolf Seitz gerolf.se...@gmail.com To: users@wicket.apache.org Sent: Wed, December 30, 2009 1:36:56 PM Subject: Re: wicketstuff-jmx-panel in Wicket 1.4, missing a MarkupContainer.add(Component) ? i will try to find some time to take a look at it tonight. gerolf On Wed, Dec 30, 2009 at 11:51 AM, Giovanni pino_o...@yahoo.com wrote: I got the same error today, trying to use the JmxPanel with Wicket 1.3.7. Any idea about how to solve this issue? I would really like to use the JmxPanel in my application. Best regards, giovanni From: Trent Larson larsontr...@gmail.com To: users@wicket.apache.org Sent: Wed, March 18, 2009 11:41:38 PM Subject: wicketstuff-jmx-panel in Wicket 1.4, missing a MarkupContainer.add(Component) ? I'm trying to use the wicketstuff-jmx-panel component as simply as possible: add(new JmxPanel(jmx)); But I get a strange error about a method that doesn't exist: Caused by: java.lang.NoSuchMethodError: org.wicketstuff.jmx.markup.html.tree.JmxTreePanel.add(Lorg/apache/wicket/Component;)Lorg/apache/wicket/MarkupContainer; at org.wicketstuff.jmx.markup.html.tree.JmxTreePanel.init(JmxTreePanel.java:33) at org.wicketstuff.jmx.markup.html.JmxPanel.init(JmxPanel.java:113) at org.wicketstuff.jmx.markup.html.JmxPanel.init(JmxPanel.java:94) I call it strange because I'm using 1.4-m3, which appears to have the MarkupContainer.add(Component...) method, so I cannot figure out what it's trying to tell me. So is anyone using this in 1.4? Any idea why it's complaining about no such method? Thanks! Trent
error page
We created our custom error page so any time error happens wicket redirects to this error page , I want also want to display the exception stack trace in this page , please tell me how to do this ?
Re: Too Many Open Files Wicket 1.4.1
I was able to track down the source of our problem and I did create a https://issues.apache.org/jira/browse/WICKET-2534 JIRA issue which was patched in Wicket 1.4.4. It boiled down to a resource leak in the URLResourceStream which is used by wicket to get access to the lastModifiedTime of jar files it is monitoring. The JIRA issue has some more detail, but I have tested the fix in 1.4.4 and it cleared up our issue straight away. Adam Ilja Pavkovic-3 wrote: https://issues.apache.org/jira/browse/WICKET-2534 Am Mittwoch, 30. Dezember 2009 04:29:00 schrieb Doug Leeper: Was a JIRA ticket ever created for this? I couldn't find any thing related to it. Is any one else seeing this issue? I just ran across it in our dev env after redeploying my web app. Not sure if this wicket, jdk, or weblogic. Weblogic 10 JRockit (BEA JRockit(R) (build R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-ia32, compiled mode)) Linux Wicket 1.4.4 -- binaere bauten gmbh · tempelhofer ufer 1a · 10961 berlin +49 · 171 · 9342 465 Handelsregister: HRB 115854 - Amtsgericht Charlottenburg Geschäftsführer: Dipl.-Inform. Ilja Pavkovic, Dipl.-Inform. Jost Becker - 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://old.nabble.com/Too-Many-Files-Wicket-1.4.1-tp25983047p26968948.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
Initial page - state question
Hi wicket-experts, If i access my wicket page by an url containing the wicket-page version-informations all ajax-modificatins (tree-selections, form-input) are still available after pressing the 'reload' button. Example: http://localhost:8080/?wicket:interface=:2 Unfortunly this does hold for the first-page of my app, which is invoked by a plain url http://localhost:8080/ - without any page-version information. The 'reload' button now has the effect that all the ajax-modifications are gone. I know why that happens and that the behavior is correct. But is there a way the solve this in a wicket-way? My current workaround is a redirect which - i guess - is not the official solution to this? Thanks Jens - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Changing output of ListView, when the list is empty?
Hello Wickets, Does anyone know can I change the output of a listView when the included list is empty? It would be nice for example, when the list is empty, to show a message type Sorry, no results. Best, Jerry
Re: Changing output of ListView, when the list is empty?
You can have: add(listview = listview(...) { // Show list only if it has stuff isvisible() { return !getList().isEmpty(); } } add(label(..., Sorry, no results) { // Show label only if list is empty isvisible() { return listview.getList().isEmpty(); } } ** Martin 2009/12/30 Jerouris jerou...@gmail.com: Hello Wickets, Does anyone know can I change the output of a listView when the included list is empty? It would be nice for example, when the list is empty, to show a message type Sorry, no results. Best, Jerry - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: generics and models that take X as model object but return Y
/** * Simplifies implementing wrapper models that adapt from model object of one type to another * * @author igor.vaynberg * * @param N *new type * @param O *old type */ public abstract class AdapterModelN, O implements IModelN { private static final long serialVersionUID = 1L; /** delegate model */ private final IModelO delegate; /** * Constructor * * @param delegate *model to be wrapped */ public AdapterModel(IModelO delegate) { this.delegate = delegate; } /** {...@inheritdoc} */ public N getObject() { return getObject(delegate); } /** * Translates from codeIModel/code of type codeT/code to object of type codeA/code * * @param delegate * @return adapter value of codedelegate/code model */ protected abstract N getObject(IModelO delegate); /** {...@inheritdoc} */ public void setObject(N object) { setObject(object, delegate); } /** * Translates from object of type codeA/code to codeIModel/code of type codeT/code * * @param object *adapted object that needs to be unadopted * @param delegate *delegate model whose value should be set to unadopted version of *codeobject/code */ protected abstract void setObject(N object, IModelO delegate); /** {...@inheritdoc} */ public void detach() { delegate.detach(); } } -igor On Wed, Dec 30, 2009 at 5:23 AM, Sam Zilverberg samzilverb...@gmail.com wrote: What's the best practice when using generics with models that take some object but return another type of object? examples: When you have a collection and need to convert it to a list for listview purposes. When you have some object and you need a wrapping model that creates some string representation of the object - usually involving more objects (so you can't just use the toString or other getter of the object). - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: error page
reqauestcycle.onruntimeexception(exception e) { return new myerrorpage(e); } -igor On Wed, Dec 30, 2009 at 7:22 AM, tubin gen fachh...@gmail.com wrote: We created our custom error page so any time error happens wicket redirects to this error page , I want also want to display the exception stack trace in this page , please tell me how to do this ? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Too Many Open Files Wicket 1.4.1
we had to revert a part of that patch in 1.4.5 to fix a resource streaming problem. please check with that. -igor On Wed, Dec 30, 2009 at 8:02 AM, adamatmagpie a...@magpieti.com wrote: I was able to track down the source of our problem and I did create a https://issues.apache.org/jira/browse/WICKET-2534 JIRA issue which was patched in Wicket 1.4.4. It boiled down to a resource leak in the URLResourceStream which is used by wicket to get access to the lastModifiedTime of jar files it is monitoring. The JIRA issue has some more detail, but I have tested the fix in 1.4.4 and it cleared up our issue straight away. Adam Ilja Pavkovic-3 wrote: https://issues.apache.org/jira/browse/WICKET-2534 Am Mittwoch, 30. Dezember 2009 04:29:00 schrieb Doug Leeper: Was a JIRA ticket ever created for this? I couldn't find any thing related to it. Is any one else seeing this issue? I just ran across it in our dev env after redeploying my web app. Not sure if this wicket, jdk, or weblogic. Weblogic 10 JRockit (BEA JRockit(R) (build R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-ia32, compiled mode)) Linux Wicket 1.4.4 -- binaere bauten gmbh · tempelhofer ufer 1a · 10961 berlin +49 · 171 · 9342 465 Handelsregister: HRB 115854 - Amtsgericht Charlottenburg Geschäftsführer: Dipl.-Inform. Ilja Pavkovic, Dipl.-Inform. Jost Becker - 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://old.nabble.com/Too-Many-Files-Wicket-1.4.1-tp25983047p26968948.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: Initial page - state question
while not being an official solution it works. -igor On Wed, Dec 30, 2009 at 8:09 AM, Jens Zastrow m...@jens-zastrow.de wrote: Hi wicket-experts, If i access my wicket page by an url containing the wicket-page version-informations all ajax-modificatins (tree-selections, form-input) are still available after pressing the 'reload' button. Example: http://localhost:8080/?wicket:interface=:2 Unfortunly this does hold for the first-page of my app, which is invoked by a plain url http://localhost:8080/ - without any page-version information. The 'reload' button now has the effect that all the ajax-modifications are gone. I know why that happens and that the behavior is correct. But is there a way the solve this in a wicket-way? My current workaround is a redirect which - i guess - is not the official solution to this? Thanks Jens - 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: Changing output of ListView, when the list is empty?
Thanks Martin, It's a nice idea to create a panel with these to components. Jerry 2009/12/30 Martin Makundi martin.maku...@koodaripalvelut.com You can have: add(listview = listview(...) { // Show list only if it has stuff isvisible() { return !getList().isEmpty(); } } add(label(..., Sorry, no results) { // Show label only if list is empty isvisible() { return listview.getList().isEmpty(); } } ** Martin 2009/12/30 Jerouris jerou...@gmail.com: Hello Wickets, Does anyone know can I change the output of a listView when the included list is empty? It would be nice for example, when the list is empty, to show a message type Sorry, no results. Best, Jerry - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
creating item after form is submitted via ajax
Is there a way to create an item only after a form has been submitted? For example, how can I do the following: ---Java Psuedo-Code--- Panel panel1 = new RandomPanel(panel1); add(panel1); add(new AjaxButton(button, form){ onSubmit(AjaxRequestTarget target, Form form){ Panel panel2 = new RandomPanel(panel2); } }; ---End java Psuedo-Code--- ---Psuedo-HTML--- ... span wicket:id=panel1span wicket:id=panel2/span/span ... ---End Psuedo-HTML--- When I try it now I get an error saying panel2 is in my markup but not added to the page. Any help is greatly appreciated. Thanks! mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: creating item after form is submitted via ajax
you have not added panel2 and you would need to it to panel1. I.e. panel1.add(panel2) why don't you add it on page construction and then change its visibility on form submit? best, james. 2009/12/30 wic...@geofflancaster.com wic...@geofflancaster.com: Is there a way to create an item only after a form has been submitted? For example, how can I do the following: ---Java Psuedo-Code--- Panel panel1 = new RandomPanel(panel1); add(panel1); add(new AjaxButton(button, form){ onSubmit(AjaxRequestTarget target, Form form){ Panel panel2 = new RandomPanel(panel2); } }; ---End java Psuedo-Code--- ---Psuedo-HTML--- ... span wicket:id=panel1span wicket:id=panel2/span/span ... ---End Psuedo-HTML--- When I try it now I get an error saying panel2 is in my markup but not added to the page. Any help is greatly appreciated. Thanks! mail2web.com – Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Best, James. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: creating item after form is submitted via ajax
this should help http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/ the trick is to add the markup that the component is anchored to using javascript. -igor On Wed, Dec 30, 2009 at 9:13 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Is there a way to create an item only after a form has been submitted? For example, how can I do the following: ---Java Psuedo-Code--- Panel panel1 = new RandomPanel(panel1); add(panel1); add(new AjaxButton(button, form){ onSubmit(AjaxRequestTarget target, Form form){ Panel panel2 = new RandomPanel(panel2); } }; ---End java Psuedo-Code--- ---Psuedo-HTML--- ... span wicket:id=panel1span wicket:id=panel2/span/span ... ---End Psuedo-HTML--- When I try it now I get an error saying panel2 is in my markup but not added to the page. Any help is greatly appreciated. Thanks! mail2web.com – Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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: Too Many Open Files Wicket 1.4.1
Just took a quick look and it seems that our problem should still be solved. As a recap - were running into a problem with the URLConnection.getLastModfiedTime(), which under the hood opens a connection to a jar file using the JARURLConnection whose close() method is hidden. Combine this with the fact that in the URLResourceStream constructor the getLastModifiedTime() method was being called and you ended up with a lot of open FileURLConnections that couldn't be closed. The remedy still appears to be present in org.apache.wicket.util.io.Connections.getLastModified(URL url). As long as that method is called instead of directly calling getLastModifiedTime() on a URLConnection there should be no leak. I will run some more tests and if I find a problem I'll just open an issue. The original issue is well documented http://www.mail-archive.com/wicket-u...@lists.sourceforge.net/msg20951.html here Adam igor.vaynberg wrote: we had to revert a part of that patch in 1.4.5 to fix a resource streaming problem. please check with that. -igor On Wed, Dec 30, 2009 at 8:02 AM, adamatmagpie a...@magpieti.com wrote: I was able to track down the source of our problem and I did create a https://issues.apache.org/jira/browse/WICKET-2534 JIRA issue which was patched in Wicket 1.4.4. It boiled down to a resource leak in the URLResourceStream which is used by wicket to get access to the lastModifiedTime of jar files it is monitoring. The JIRA issue has some more detail, but I have tested the fix in 1.4.4 and it cleared up our issue straight away. Adam Ilja Pavkovic-3 wrote: https://issues.apache.org/jira/browse/WICKET-2534 Am Mittwoch, 30. Dezember 2009 04:29:00 schrieb Doug Leeper: Was a JIRA ticket ever created for this? I couldn't find any thing related to it. Is any one else seeing this issue? I just ran across it in our dev env after redeploying my web app. Not sure if this wicket, jdk, or weblogic. Weblogic 10 JRockit (BEA JRockit(R) (build R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-ia32, compiled mode)) Linux Wicket 1.4.4 -- binaere bauten gmbh · tempelhofer ufer 1a · 10961 berlin +49 · 171 · 9342 465 Handelsregister: HRB 115854 - Amtsgericht Charlottenburg Geschäftsführer: Dipl.-Inform. Ilja Pavkovic, Dipl.-Inform. Jost Becker - 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://old.nabble.com/Too-Many-Files-Wicket-1.4.1-tp25983047p26968948.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 -- View this message in context: http://old.nabble.com/Too-Many-Files-Wicket-1.4.1-tp25983047p26970086.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: creating item after form is submitted via ajax
Alternately, you can put an EmptyPanel in as a placeholder until you have Panel2. ---Java Psuedo-Code--- Panel panel1 = new RandomPanel(panel1); panel1.add(new EmptyPanel(panel2)); add(panel1); add(new AjaxButton(button, form){ onSubmit(AjaxRequestTarget target, Form form){ Panel panel2 = new RandomPanel(panel2); panel1.replace(panel2); } }; Scott On Wed, Dec 30, 2009 at 9:17 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: this should help http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/ the trick is to add the markup that the component is anchored to using javascript. -igor On Wed, Dec 30, 2009 at 9:13 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Is there a way to create an item only after a form has been submitted? For example, how can I do the following: ---Java Psuedo-Code--- Panel panel1 = new RandomPanel(panel1); add(panel1); add(new AjaxButton(button, form){ onSubmit(AjaxRequestTarget target, Form form){ Panel panel2 = new RandomPanel(panel2); } }; ---End java Psuedo-Code--- ---Psuedo-HTML--- ... span wicket:id=panel1span wicket:id=panel2/span/span ... ---End Psuedo-HTML--- When I try it now I get an error saying panel2 is in my markup but not added to the page. Any help is greatly appreciated. Thanks! mail2web.com – Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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
How to partially update a popuppage from another page with ajax?
Hi, in my app I have a page A and page B which is opened as a Popup. I know how to update the whole page B from page A. I know how to partially update page B from within page B (for example with an AjaxLink). But is it possible to partially update page B from page A? It would be perfect to have an AjaxLink in page A and with the AjaxRequestTarget (ART) I get there I could update page B. I tried that but it seems that the ART is bound to the window it came from, which seems logical. Is there a way to transfer the ART from the page A window to the page B window ? Thanks, Richard
Re: SOLVED: Is AnnotApplicationContextMock() broken in Wicket 1.4.5? @l
It doesnt work in all cases. You therefore need to set the wicket application before running the code below. /Murat 2009/12/28 Alec Swan alecs...@gmail.com: The problem was that the test case was creating AnnotApplicationContextMock before creating the WebApplication itself. The following code worked for me: MyApplication webApp = new MyApplication() { �...@override public void init() { addComponentInstantiationListener(new SpringComponentInjector(this, new AnnotApplicationContextMock(), false)); } }; Alec On Mon, Dec 28, 2009 at 11:01 AM, Alec Swan alecs...@gmail.com wrote: I just upgraded from Wicket 1.4.2 to Wicket 1.4.5 and started receiving the following exceptions from my Unit test. Is this a known issue or do I need to change my test? Thanks. org.apache.wicket.WicketRuntimeException: *There is no application attached to current thread main* at org.apache.wicket.Application.get(Application.java:179) at org.apache.wicket.injection.web.InjectorHolder.setInjector(InjectorHolder.java:88) at org.apache.wicket.spring.injection.annot.test.AnnotApplicationContextMock.init(AnnotApplicationContextMock.java:61) at com.galecsy.lrm.wicket.referral.ReferralFormTest.beforeTest(ReferralFormTest.java:43) at org.springframework.test.context.junit4.SpringMethodRoadie.runBefores(SpringMethodRoadie.java:273) at org.springframework.test.context.junit4.SpringMethodRoadie$RunBeforesThenTestThenAfters.run(SpringMethodRoadie.java:332) at org.springframework.test.context.junit4.SpringMethodRoadie.runWithRepetitions(SpringMethodRoadie.java:217) at org.springframework.test.context.junit4.SpringMethodRoadie.runTest(SpringMethodRoadie.java:197) at org.springframework.test.context.junit4.SpringMethodRoadie.run(SpringMethodRoadie.java:143) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:160) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:97) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: creating item after form is submitted via ajax
I'm trying this but the panel isn't being displayed. Should I also see the contents of the panel displayed in the ajax-response tags on the wicket ajax debug window? As of right now, all I see in the tags is the javascript to add the markup. Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Wed, 30 Dec 2009 09:17:53 -0800 To: users@wicket.apache.org Subject: Re: creating item after form is submitted via ajax this should help http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-ite ms-via-ajax/ the trick is to add the markup that the component is anchored to using javascript. -igor On Wed, Dec 30, 2009 at 9:13 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Is there a way to create an item only after a form has been submitted? For example, how can I do the following: ---Java Psuedo-Code--- Panel panel1 = new RandomPanel(panel1); add(panel1); add(new AjaxButton(button, form){ onSubmit(AjaxRequestTarget target, Form form){ Panel panel2 = new RandomPanel(panel2); } }; ---End java Psuedo-Code--- ---Psuedo-HTML--- ... span wicket:id=panel1span wicket:id=panel2/span/span ... ---End Psuedo-HTML--- When I try it now I get an error saying panel2 is in my markup but not added to the page. Any help is greatly appreciated. Thanks! mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: creating item after form is submitted via ajax
target.add(panelFoo) -- Jeremy Thomerson http://www.wickettraining.com On Wed, Dec 30, 2009 at 12:57 PM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: I'm trying this but the panel isn't being displayed. Should I also see the contents of the panel displayed in the ajax-response tags on the wicket ajax debug window? As of right now, all I see in the tags is the javascript to add the markup. Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Wed, 30 Dec 2009 09:17:53 -0800 To: users@wicket.apache.org Subject: Re: creating item after form is submitted via ajax this should help http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-ite ms-via-ajax/http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-ite%0Ams-via-ajax/ the trick is to add the markup that the component is anchored to using javascript. -igor On Wed, Dec 30, 2009 at 9:13 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Is there a way to create an item only after a form has been submitted? For example, how can I do the following: ---Java Psuedo-Code--- Panel panel1 = new RandomPanel(panel1); add(panel1); add(new AjaxButton(button, form){ onSubmit(AjaxRequestTarget target, Form form){ Panel panel2 = new RandomPanel(panel2); } }; ---End java Psuedo-Code--- ---Psuedo-HTML--- ... span wicket:id=panel1span wicket:id=panel2/span/span ... ---End Psuedo-HTML--- When I try it now I get an error saying panel2 is in my markup but not added to the page. Any help is greatly appreciated. Thanks! mail2web.com – Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web.com – Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: creating item after form is submitted via ajax
AjaxRequestTarget doesn't have an add method. Original Message: - From: Jeremy Thomerson jer...@wickettraining.com Date: Wed, 30 Dec 2009 13:28:26 -0600 To: users@wicket.apache.org, wic...@geofflancaster.com Subject: Re: creating item after form is submitted via ajax target.add(panelFoo) -- Jeremy Thomerson http://www.wickettraining.com On Wed, Dec 30, 2009 at 12:57 PM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: I'm trying this but the panel isn't being displayed. Should I also see the contents of the panel displayed in the ajax-response tags on the wicket ajax debug window? As of right now, all I see in the tags is the javascript to add the markup. Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Wed, 30 Dec 2009 09:17:53 -0800 To: users@wicket.apache.org Subject: Re: creating item after form is submitted via ajax this should help http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-ite ms-via-ajax/http://wicketinaction.com/2008/10/repainting-only-newly-created -repeater-ite%0Ams-via-ajax/ the trick is to add the markup that the component is anchored to using javascript. -igor On Wed, Dec 30, 2009 at 9:13 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Is there a way to create an item only after a form has been submitted? For example, how can I do the following: ---Java Psuedo-Code--- Panel panel1 = new RandomPanel(panel1); add(panel1); add(new AjaxButton(button, form){ onSubmit(AjaxRequestTarget target, Form form){ Panel panel2 = new RandomPanel(panel2); } }; ---End java Psuedo-Code--- ---Psuedo-HTML--- ... span wicket:id=panel1span wicket:id=panel2/span/span ... ---End Psuedo-HTML--- When I try it now I get an error saying panel2 is in my markup but not added to the page. Any help is greatly appreciated. Thanks! mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org mail2web - Check your email from the web at http://link.mail2web.com/mail2web - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: creating item after form is submitted via ajax
addComponent - sorry - the point is, you need to add that panel to the ajax response so that it's actually repainted. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Dec 30, 2009 at 1:46 PM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: AjaxRequestTarget doesn't have an add method. Original Message: - From: Jeremy Thomerson jer...@wickettraining.com Date: Wed, 30 Dec 2009 13:28:26 -0600 To: users@wicket.apache.org, wic...@geofflancaster.com Subject: Re: creating item after form is submitted via ajax target.add(panelFoo) -- Jeremy Thomerson http://www.wickettraining.com On Wed, Dec 30, 2009 at 12:57 PM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: I'm trying this but the panel isn't being displayed. Should I also see the contents of the panel displayed in the ajax-response tags on the wicket ajax debug window? As of right now, all I see in the tags is the javascript to add the markup. Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Wed, 30 Dec 2009 09:17:53 -0800 To: users@wicket.apache.org Subject: Re: creating item after form is submitted via ajax this should help http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-ite ms-via-ajax/ http://wicketinaction.com/2008/10/repainting-only-newly-created -repeater-ite%0Ams-via-ajax/http://wicketinaction.com/2008/10/repainting-only-newly-created%0A-repeater-ite%0Ams-via-ajax/ the trick is to add the markup that the component is anchored to using javascript. -igor On Wed, Dec 30, 2009 at 9:13 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Is there a way to create an item only after a form has been submitted? For example, how can I do the following: ---Java Psuedo-Code--- Panel panel1 = new RandomPanel(panel1); add(panel1); add(new AjaxButton(button, form){ onSubmit(AjaxRequestTarget target, Form form){ Panel panel2 = new RandomPanel(panel2); } }; ---End java Psuedo-Code--- ---Psuedo-HTML--- ... span wicket:id=panel1span wicket:id=panel2/span/span ... ---End Psuedo-HTML--- When I try it now I get an error saying panel2 is in my markup but not added to the page. Any help is greatly appreciated. Thanks! mail2web.com – Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web.com – Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org mail2web - Check your email from the web at http://link.mail2web.com/mail2web - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: creating item after form is submitted via ajax
I'm doing that. I'm doing what the link referenced earlier in this thread said to do. Original Message: - From: Jeremy Thomerson jer...@wickettraining.com Date: Wed, 30 Dec 2009 13:50:35 -0600 To: users@wicket.apache.org, wic...@geofflancaster.com Subject: Re: creating item after form is submitted via ajax addComponent - sorry - the point is, you need to add that panel to the ajax response so that it's actually repainted. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Dec 30, 2009 at 1:46 PM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: AjaxRequestTarget doesn't have an add method. Original Message: - From: Jeremy Thomerson jer...@wickettraining.com Date: Wed, 30 Dec 2009 13:28:26 -0600 To: users@wicket.apache.org, wic...@geofflancaster.com Subject: Re: creating item after form is submitted via ajax target.add(panelFoo) -- Jeremy Thomerson http://www.wickettraining.com On Wed, Dec 30, 2009 at 12:57 PM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: I'm trying this but the panel isn't being displayed. Should I also see the contents of the panel displayed in the ajax-response tags on the wicket ajax debug window? As of right now, all I see in the tags is the javascript to add the markup. Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Wed, 30 Dec 2009 09:17:53 -0800 To: users@wicket.apache.org Subject: Re: creating item after form is submitted via ajax this should help http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-ite ms-via-ajax/ http://wicketinaction.com/2008/10/repainting-only-newly-created -repeater-ite%0Ams-via-ajax/http://wicketinaction.com/2008/10/repainting-on ly-newly-created%0A-repeater-ite%0Ams-via-ajax/ the trick is to add the markup that the component is anchored to using javascript. -igor On Wed, Dec 30, 2009 at 9:13 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: Is there a way to create an item only after a form has been submitted? For example, how can I do the following: ---Java Psuedo-Code--- Panel panel1 = new RandomPanel(panel1); add(panel1); add(new AjaxButton(button, form){ onSubmit(AjaxRequestTarget target, Form form){ Panel panel2 = new RandomPanel(panel2); } }; ---End java Psuedo-Code--- ---Psuedo-HTML--- ... span wicket:id=panel1span wicket:id=panel2/span/span ... ---End Psuedo-HTML--- When I try it now I get an error saying panel2 is in my markup but not added to the page. Any help is greatly appreciated. Thanks! mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - 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 mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org mail2web - Check your email from the web at http://link.mail2web.com/mail2web - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org myhosting.com - Premium Microsoft® Windows® and Linux web and application hosting - http://link.myhosting.com/myhosting - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: error page
what is the difference between @Override public IApplicationSettings getApplicationSettings() { IApplicationSettings settings= super.getApplicationSettings(); settings.setInternalErrorPage(internalErrorPage) return settings; } settings.setInternalErrorPage(internalErrorPage) and reqauestcycle.onruntimeexception(exception e) { return new myerrorpage(e); } when is InternalErrorPageused and when is myerrorpage used ? and also we have IExceptionSettings , when is this used ? igor.vaynberg wrote: reqauestcycle.onruntimeexception(exception e) { return new myerrorpage(e); } -igor On Wed, Dec 30, 2009 at 7:22 AM, tubin gen fachh...@gmail.com wrote: We created our custom error page so any time error happens wicket redirects to this error page , I want also want to display the exception stack trace in this page , please tell me how to do this ? - 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://old.nabble.com/error-page-tp26968559p26972096.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: RequiredTextFieldInteger
you have to tell wicket that it should convert the string into an integer by either calling settype(integer.class) on the textfield or using the constructor that takes the class type arg -igor On Wed, Dec 30, 2009 at 12:52 PM, Josh Glassman josh...@gmail.com wrote: Hi all, I am having a problem with Ajax updates from a RequiredTextFieldInteger. I get a ClassCastException when the model object is updated, because the convertedInput value is a String. I am using a custom model, and I suspect I am missing something here because it works if a PropertyModel is used. Unfortunately that is not sufficient for my needs. I have attached a quickstart which replicates the problem using a custom model around the Calendar class. If anyone has an idea of what I need to do, please let me know. Thanks in advance, Josh - 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: RequiredTextFieldInteger
alternatively you can let your testmodel implement IObjectClassAwareModel and return the type of object that the model contains so that wicket can do the conversion automatically. this is why you dont need to do this explicitly when using propertymodels directly. -igor On Wed, Dec 30, 2009 at 1:01 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: you have to tell wicket that it should convert the string into an integer by either calling settype(integer.class) on the textfield or using the constructor that takes the class type arg -igor On Wed, Dec 30, 2009 at 12:52 PM, Josh Glassman josh...@gmail.com wrote: Hi all, I am having a problem with Ajax updates from a RequiredTextFieldInteger. I get a ClassCastException when the model object is updated, because the convertedInput value is a String. I am using a custom model, and I suspect I am missing something here because it works if a PropertyModel is used. Unfortunately that is not sufficient for my needs. I have attached a quickstart which replicates the problem using a custom model around the Calendar class. If anyone has an idea of what I need to do, please let me know. Thanks in advance, Josh - 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: RequiredTextFieldInteger
Thanks Igor! On Wed, Dec 30, 2009 at 4:02 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: alternatively you can let your testmodel implement IObjectClassAwareModel and return the type of object that the model contains so that wicket can do the conversion automatically. this is why you dont need to do this explicitly when using propertymodels directly. -igor On Wed, Dec 30, 2009 at 1:01 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: you have to tell wicket that it should convert the string into an integer by either calling settype(integer.class) on the textfield or using the constructor that takes the class type arg -igor On Wed, Dec 30, 2009 at 12:52 PM, Josh Glassman josh...@gmail.com wrote: Hi all, I am having a problem with Ajax updates from a RequiredTextFieldInteger. I get a ClassCastException when the model object is updated, because the convertedInput value is a String. I am using a custom model, and I suspect I am missing something here because it works if a PropertyModel is used. Unfortunately that is not sufficient for my needs. I have attached a quickstart which replicates the problem using a custom model around the Calendar class. If anyone has an idea of what I need to do, please let me know. Thanks in advance, Josh - 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
selected value in a form that is in a modal dialog
*I am trying to capture the selected value in a form that is in a modal dialog. I want to capture this value and update an input text field in the host page after the dialog is closed. Has anyone done this? Any example code* -- Roger Ball Creoss Web UI Development - SBIR 1745 Shea Center Dr., Suite 400 Highlands Ranch, CO 80129 720.344.4910 main 720.344.4804 fax 720.938.8591 mobile
[announce] Wicket Stuff Core - JavaEE Inject
Hi all, I am proud to announce the semi-new JavaEE Inject project in Wicket Stuff Core, which was formerly known as wicket-contrib-javaee. The goal of the project: Make the @EJB, @Resource and @PersistenceUnit annotations available for Wicket users, to make the development more easier. This means, that when your components are instantiating, the annotated fields will be injected properly, so you can use them for whatever you want. The project itself didn't changed much, some javac warnings has been solved, but it has now a newer Example application too, which will demonstrate for you the usage of the annotation based injecting. The example is based on maven, so this would be also a good example on how to use enterprise applications with wicket and maven. So now, if you think, that this stuff is cool and want to use it, you only have to do the followings: - Add Wicket Stuff Repository to your maven repository list (if you've not already done so): repository idwicket-stuff/id layoutdefault/layout urlhttp://wicketstuff.org/maven/repository/url /repository - Add the JavaEE Inject dependency to your web module: dependency groupIdorg.wicketstuff/groupId artifactIdjavaee-inject/artifactId version1.4-SNAPSHOT/version /dependency - Follow the Wiki instructions at http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-javaee or try out for yourself the example application. - Profit Project Future: In the future, I would like to create a more up-to-date documentation for the project, better JavaDoc, and solve the JIRA issues too, and of course follow the modifications of the Wicket framework, so the project could work with the newest version always. Best Regards, Peter Major - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
question about swarm
I hope this is the right list for wasp/swarm. How do i manage permissions for an anonymous subclass? I have a page called ItemPage. I can view ItemPage, but if I try to redirect to an anonymous subclass of ItemPage, i get an access denied error. this works: setResponsePage(new CreateItemPage(getPage())); but this doesnt: setResponsePage(new CreateItemPage(getPage()) { @Override protected void onSuccess(final Serializable index) { setResponsePage(new ViewItemPage(getBackPage(), index)); } }); hive file: permission ${ComponentPermission} ${pages}.CreateItemPage, inherit, render; permission ${ComponentPermission} ${pages}.CreateItemPage, enable; - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
wicketstuff portlets - where did it go?
Hi all, The link from this page: http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-portlets references this spot in SVN: http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-13/wicket-portlets which doesn't exist. Anyone know where it went or have a copy of it? It's not here: http://wicketstuff.org/maven/repository/ thanks, Steve smime.p7s Description: S/MIME cryptographic signature
Re: wicketstuff portlets - where did it go?
Ah looks like I may have found it: http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/attic/wicket-portlets/ On 31/12/2009, at 5:18 PM, Steve Swinsburg wrote: Hi all, The link from this page: http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-portlets references this spot in SVN: http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-13/wicket-portlets which doesn't exist. Anyone know where it went or have a copy of it? It's not here: http://wicketstuff.org/maven/repository/ thanks, Steve smime.p7s Description: S/MIME cryptographic signature