RE: error - serialization

2011-07-04 Thread Miroslav F.
Driver is in classpath and is initialized. When I start tomcat, it works (load images from database) but when i redeploy or reload page (F5) it complains about java.sql.SQLException: No suitable driver found I have to restart tomcat and than it works again. -Original Message-

Re: resetting form components

2011-07-04 Thread ruchi
thanks it worked but how do i refresh the ManageAATemplatePanel now? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/resetting-form-components-tp3640382p3643093.html Sent from the Users forum mailing list archive at Nabble.com.

[OT] Configure wicket.configuration outside web.xml in Tomcat 6

2011-07-04 Thread Mike Mander
Hi, i'm trying to configure my wicket.configuration property without adding it to web.xml. I use tomcat 6. Adding wicket.configuration=deployment in CATALINA_HOME/conf/catalina.properties was not working. App starts in development mode (after tomcat restart / param not present in web.xml).

1.5 rc5.2 IVisitor on page?

2011-07-04 Thread nino martinez wael
Hi I've had an interesting experience, I have a visitor that searches for certain panels on a page. The page contains a few listviews and 2 forms as children these 2 contain the panels that the listviews also contain. In the onConfig of the webpage I call the visitor. So the strange thing is

Re: 1.5 rc5.2 IVisitor on page?

2011-07-04 Thread Andrea Del Bene
Hi nino, AbstractRepeater class (superclass of ListView) calls onPopulate during onBeforeRender, so as long as this event is not triggered listviews should be empty. changing it from onconfigure to onbeforerender does the trick.. Im not sure what the difference are though.. 2011/7/4 nino

Re: 1.5 rc5.2 IVisitor on page?

2011-07-04 Thread nino martinez wael
I sorta figured it had something todo with the fact that onbeforerender was called at a later time than onConfigure. Is there a good description of the timeline of these methods somewhere? 2011/7/4 Andrea Del Bene adelb...@ciseonweb.it: Hi nino, AbstractRepeater class (superclass of ListView)

Re: [OT] Configure wicket.configuration outside web.xml in Tomcat 6

2011-07-04 Thread Bas Gooren
Hi, As suggested on the mailing list once, what I've been using for a while now is having deployment in web.xml, and adding -Dwicket.configuration=development to my tomcat command line from Eclipse. This way you always package a production-ready jar/war/ear and can run in development mode

Re: [OT] Configure wicket.configuration outside web.xml in Tomcat 6

2011-07-04 Thread Mike Mander
Thanks Bas, you solved my problem. I don't use tomcat within eclipse. I use the standard jetty server with Start class. I wasn't clear at this point. But you brought me the light. I set deployment as configuration-param-value to my web.xml. And in Start class i set the system property

Customize AjaxEditableLabel

2011-07-04 Thread Peter Diefenthaeler
Hallo, is it possible to customize AjaxEditableLabel in a way that I can replace the TextEditField with a panel? I have to display a little Form with a text area component and some buttons. A modal window doesn't work for me because I want to show the panel exactly at the position of the label.

Re: Customize AjaxEditableLabel

2011-07-04 Thread Martin Grigorov
See org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel.newEditor(MarkupContainer, String, IModelT) Return FormComponentPanel. On Mon, Jul 4, 2011 at 1:30 PM, Peter Diefenthaeler pdief...@csc.com wrote: Hallo, is it possible to customize AjaxEditableLabel in a way that I can

Re: Customize AjaxEditableLabel

2011-07-04 Thread PDiefent
Thanks for your fast response. Is there a QuickStart available how to implement it? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Customize-AjaxEditableLabel-tp3643409p3643435.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Customize AjaxEditableLabel

2011-07-04 Thread Martin Grigorov
AjaxEditableLabel itself, I guess. See how it creates TextField. On Mon, Jul 4, 2011 at 1:49 PM, PDiefent pdief...@csc.com wrote: Thanks for your fast response. Is there a QuickStart available how to implement it? -- View this message in context:

Form Component models not updating .. why ?

2011-07-04 Thread armandoxxx
Hi guys need a little help with my form and form component models ... public class GroupFormT extends UserGroup extends FormT { private static final Logger LOG = LoggerFactory.getLogger(GroupForm.class); private static final long serialVersionUID =

Re: 1.5 rc5.2 IVisitor on page?

2011-07-04 Thread Andrea Del Bene
mmm...I didn't find any wiki about it. I sorta figured it had something todo with the fact that onbeforerender was called at a later time than onConfigure. Is there a good description of the timeline of these methods somewhere? 2011/7/4 Andrea Del Beneadelb...@ciseonweb.it: Hi nino,

Re: Form Component models not updating .. why ?

2011-07-04 Thread Pedro Santos
Hi Armando, form still shows values inside of text field because you code it to do that in the last line: public cleanUp(){ (...) this.updateFormComponentModels(); -- Form#updateFormComponentModels updates all form fields based on field sent in request, ignoring anything you set before. }

Re: Customize AjaxEditableLabel

2011-07-04 Thread PDiefent
I tried it like AjaxEditableLabel does itself, but now I get the default input field plus the new fields in the panel! How do I erase the default text field? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Customize-AjaxEditableLabel-tp3643409p3643712.html Sent from

Re: Form Component models not updating .. why ?

2011-07-04 Thread armandoxxx
Dude .. thank you .. I owe you shit loads of beer ;) hehe Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Form-Component-model-not-updating-why-tp3643631p3643760.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Customize AjaxEditableLabel

2011-07-04 Thread Martin Grigorov
Unless you call super.newEditor() in your implementation it should not know the TextField. Paste your code in some pastebin service (e.g. www.pastie.com) On Mon, Jul 4, 2011 at 4:10 PM, PDiefent pdief...@csc.com wrote: I tried it like AjaxEditableLabel does itself, but now I get the default

Re: WicketFilter.init() called twice with Glassfish

2011-07-04 Thread Bertrand Guay-Paquet
Thanks for sharing this information Attila! The folks at Glassfish suggested I use URIs as well. I created WICKET-3867 to change URLs to URIs. On 04/07/2011 1:48 AM, Attila Király wrote: Using java.net.URL in Set-s and Map-s is a no-no. Wicket should use java.net.URI instead. See [1] for an

to integrate wicket with hibernate using spring

2011-07-04 Thread hariharansrc
i want to integrate wicket with hibernate using spring what can i do to do that i know wicket and hibernate to some extent is it necessary to learn spring framework for integrating that i searched spring hibernate integration i found some materials then what wicket actually does int that regard

Re: to integrate wicket with hibernate using spring

2011-07-04 Thread Bruno Borges
Wicket is a presentation framework. Your task is to integrate Spring and Hibernate in the first place. Later, you can just use Hibernate objects returned by Spring methods into Wicket with classes of type IModel. Although I don't recommend that. IMO you should work with detatched objects, value

Re: to integrate wicket with hibernate using spring

2011-07-04 Thread Martin Grigorov
Here is a Maven command which will get you started: mvn archetype:generate -B -DarchetypeCatalog=http://legup.googlecode.com/svn/repo/archetype-catalog.xml -DarchetypeArtifactId=spring-jpa-archetype -DarchetypeGroupId=com.jweekend -DarchetypeVersion=0.8.4 -DgroupId=com.mycompany

Re: resetting form components

2011-07-04 Thread Andrea Del Bene
You should add form reference to Ajax target. target.addComponent(form) Remeber to call setOutputMarkupId on form instance. thanks it worked but how do i refresh the ManageAATemplatePanel now? -- View this message in context:

Re: to integrate wicket with hibernate using spring

2011-07-04 Thread James Carman
You may also want to check out wicketopia. http://wicketopia.sourceforge.net Sent from tablet device. Please excuse typos and brevity. On Jul 4, 2011 11:56 AM, Martin Grigorov mgrigo...@apache.org wrote: Here is a Maven command which will get you started: mvn archetype:generate -B

Wicket 1.5 shared image resource and modal windows.

2011-07-04 Thread Anders Smestad
Hi. I have a simple (test) page with an ajax link that displays a modal window when clicked. The modal window contains some text and an image-link. The image is added to a link as link.add(new Image(image, sharedResourceReference); When displaying the modal window, everything displays

Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-04 Thread Bruno Borges
I'm working on this right now and I found this problem: java.lang.IllegalStateException: the application key does not seem to be set properly or this method is called before WicketServlet is set, which leads to the wrong behavior at

Re: Wicket 1.5 shared image resource and modal windows.

2011-07-04 Thread Martin Grigorov
See how http://wicketstuff.org/wicket/images/ creates the images. If you can create a quickstart application that shows the problem then attach it to a ticket. On Mon, Jul 4, 2011 at 6:42 PM, Anders Smestad anders.smes...@gmail.com wrote: Hi. I have a simple (test) page with an ajax link that

Re: Wicket/Spring/Junit/Maven - Don't understand what's going on.

2011-07-04 Thread Niranjan Rao
Unfortunately, can not help you much here. I followed the exact steps in the tutorial and never got this error. Regards, - Niranjan On Mon, 2011-07-04 at 13:51 -0300, Bruno Borges wrote: I'm working on this right now and I found this problem: java.lang.IllegalStateException: the application

Re: error - serialization

2011-07-04 Thread Carl-Eric Menzel
Can you show some code? Carl-Eric On Mon, 4 Jul 2011 08:02:16 +0200 Miroslav F. mir...@seznam.cz wrote: Driver is in classpath and is initialized. When I start tomcat, it works (load images from database) but when i redeploy or reload page (F5) it complains about java.sql.SQLException: No

wicketstuff-push Documentation?

2011-07-04 Thread jbrookover
Hey all, Just explored the wicketstuff-push examples. Everything works great. The only problem is that I'm overwhelmed with the code. I'm new to pushing; I had no idea what Comet was before yesterday. I understand the fundamentals of AjaxTimerBehavior polling, but push-timer and push-core go

Re: Wicket and OSGi

2011-07-04 Thread pieber
Hey, Sorry that I jump in so late, but it needed some time to spread the news of this list if you're not a subscriber of the wicket user list :) I've taken up the development of pax-wicket which is a framework for the integration of wicket to the osgi platform. While pax-wicket provides various

Re: wicketstuff-push Documentation?

2011-07-04 Thread Martin Grigorov
https://github.com/wicketstuff/core/wiki/Push On Mon, Jul 4, 2011 at 8:48 PM, jbrookover jbrooko...@cast.org wrote: Hey all, Just explored the wicketstuff-push examples.  Everything works great. The only problem is that I'm overwhelmed with the code.  I'm new to pushing; I had no idea what

Re: Wicket and OSGi

2011-07-04 Thread Martin Grigorov
Andreas, Good work! Do you have any plans to upgrade PAX-Wicket to Wicket 1.5 ? I saw that you have custom Output|Input ObjectStream impls. In Wicket 1.5 IObjectStreamFactory class is gone, so you'll need to use the new ISerializer interface. For more info you can check

Re: Wicket 1.5 shared image resource and modal windows.

2011-07-04 Thread Anders Smestad
Done: https://issues.apache.org/jira/browse/WICKET-3869 A On Mon, Jul 4, 2011 at 7:46 PM, Martin Grigorov mgrigo...@apache.org wrote: See how http://wicketstuff.org/wicket/images/ creates the images. If you can create a quickstart application that shows the problem then attach it to a ticket.

Re: Wicket and OSGi

2011-07-04 Thread Harald Wellmann
Hi Andreas, thanks for providing the pointers and the brand new intro in the Pax Wicket wiki. This is now at least something to get started, and I'm beginning to see that there is some overlap with wicket-osgi or even the chance of wicket-osgi becoming obsolete in the near future as Pax

Re: wicketstuff-push Documentation?

2011-07-04 Thread Sebastian
Hi Jake, there is currently not any more documentation. When you use push as decribed in the WIKI (EventHandler+PushNode) then you will need an additional message dispatching service (which often is the case in enterprise environments). If you want to communicate within a wicket application

AjaxFormComponentUpdatingBehavior causes javascript error

2011-07-04 Thread armandoxxx
Hi guys got a little problem with AjaxFormComponentUpdatingBehavior. I put a form in a panel and add text area to it. this.messageForm = new FormT(messageForm, (IModelT)this.getDefaultModel()); this.messageForm.setOutputMarkupId(true); this.message = new

Re: AjaxFormComponentUpdatingBehavior causes javascript error

2011-07-04 Thread armandoxxx
got it ... was missing super.onComponentTag(theTag); in text area regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFormComponentUpdatingBehavior-causes-javascript-error-tp3644889p3644928.html Sent from the Users forum mailing list archive at

Re: Wicket and OSGi

2011-07-04 Thread Andreas Pieber
Hey Martin, On Mon, Jul 4, 2011 at 10:24 PM, Martin Grigorov mgrigo...@apache.org wrote: Good work! Thank you :) Do you have any plans to upgrade PAX-Wicket to Wicket 1.5 ? I saw that you have custom Output|Input ObjectStream impls. In Wicket 1.5 IObjectStreamFactory class is gone, so

Re: Wicket and OSGi

2011-07-04 Thread Andreas Pieber
Hey Harald, On Mon, Jul 4, 2011 at 10:47 PM, Harald Wellmann harald.wellm...@gmx.de wrote: thanks for providing the pointers and the brand new intro in the Pax Wicket wiki. I'm very sorry for the lack of documentation. But I planed to get it done, provide the documentation and do the project