Re: Email template with css

2014-05-16 Thread Sandor Feher
Ok, thnx! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Email-template-with-css-tp4665788p4665793.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Extending Border

2014-05-16 Thread Nick Pratt
Ive got a class 'A' that extends Border, with the following markup: wicket:border div h1span wicket:id=header/spanspan class=closeaX/a/span/h1 wicket:body/wicket:body /div /wicket:border This all works fine. Can I extend class A? If so what should the markup of class B look like (i.e. how do

Page rendering from quartz job

2014-05-16 Thread Sandor Feher
Hi, I fired up some quartz jobs for sending notification emails at given time. The job controller class is launched from my Application wget it get initialized. Almost everything works except of rendering mail's html body. I would like to do it with wicket's pagerenderer but it throws the

Wicket 7 M1 different behaviour on button

2014-05-16 Thread Peter Henderson
Hi Wicket users. It looks like Wicket 7 treats all button without a type attribute as submit buttons (6.15 does not) Would it be possible revert this? or at least add a warning log message when button is missing the attribute? I think the code should control if the button submits the form.

Re: DiskDataStore errors in production

2014-05-16 Thread Guillaume Smet
On Wed, May 14, 2014 at 9:59 PM, eaglei22 jchojnack...@gmail.com wrote: What can be causing these errors? is this more of a Tomcat thing or Wicket? Hard to guess. Get the pid of your Tomcat process and use lsof -p pid. You'll see which files are opened by your Tomcat. HTH -- Guillaume

problem with resource lookup for css files

2014-05-16 Thread Patrick Davids
Hi all, I have problems with resource look up for styles css... and I dont know, what I am doing wrong. Can someone have a look, please... myPackage. BasePage.java BasePage.html myCss.css myCss.blue.css myCss.orange.css As far as I know, the resource

Include Files form Filesystem

2014-05-16 Thread Mikulicic, Vladimir
Hello, im using Wicket 6.15 Does someone know how to include a static HTML file from the filesystem in my Wicket-App. I have a folder on my machine like /local/wtr/ with two files header.html and footer.html in it. The files are not in the docroot of my server, but somewhere in the

Re: Wicket AJAX Google Chrome: Strange DOMException in Wicket.Ajax.Request.doGet

2014-05-16 Thread Tobias Gierke
Hi, Considering the mess with the Apache foundation's mailserver outage, I'm not sure my message got through ... anyway , I found out what was causing me trouble: Seems like Chrome's handling of synchronous AJAX requests is broken, switching to asynchronous mode fixed it. Cheers, Tobias

Re: Question / Best Practise / (List)Model vs. (List)DataProvider

2014-05-16 Thread Paul Bors
Models: http://wicket.apache.org/guide/guide/modelsforms.html Data Providers (ie: Repeaters): http://wicket.apache.org/guide/guide/repeaters.html Long story short, a repeater's DataProvider gives you a single items model. A model who wraps a collection, gives you a collection of items for a

Re: DiskDataStore errors in production

2014-05-16 Thread Andrea Del Bene
Hi, which version of Wicket are you using? Hi, my application in production often gets this error: May 14 09:12:27 ERROR DiskDataStore-/opt/ssa/tomcat/apache-tomcat-7.0.29/work/Catalina/localhost/SSA/wicket.ssa-webapp-filestore/4729/2939/909EAC3343856968BA7B1864B71CEA85/data (Too many open

Re: Behavior rendering

2014-05-16 Thread Sven Meier
Hi, read IAjaxRegionMarkupIdProvider's javadoc. Regards Sven On 05/09/2014 08:34 PM, Nick Pratt wrote: I have a Behavior attached to a WebMarkupContainer with a bind() method as follows: @Override public void bind( Component component ) { this.boundComponent = component;

Change name of session cookie

2014-05-16 Thread Tom Götz
Hi, might be slightly offtopic, but: does someone know how to change to name of the session cookie from „JSESSIONID“ to something else (in Tomcat 7.0.42 and Jetty 6.1.26)?. Background: we have a Wicket app that runs inside an iFrame of another Wicket app, so we have two cookies named

Re: # in URL

2014-05-16 Thread Maxim Solodovnik
It is definitely not, We are using https://github.com/wicketstuff/core/wiki/UrlFragment to work with URL hashes On Tue, May 13, 2014 at 4:22 PM, Sven Meier s...@meiers.net wrote: Hi, AFAIK everything after the hashbang is not sent to the server:

Re: problem with AbstractEntityModel from Igor Vaynberg

2014-05-16 Thread Piratenvisier
If I include the folowing lines : if(NachweiseForm.this.getModelObject().getKunde()!=null) { Kunde kunde = kundeManager.get(NachweiseForm.this.getModelObject().getKunde().getId()); NachweiseForm.this.getModelObject().setKunde(kunde);

Re: DiskDataStore errors in production

2014-05-16 Thread Richard W. Adams
Hard to know without seeing code, but the message seems to indicate app is failing to close files after it's finished with them. In other words, an operating system problem, rather than Tomcat or Wicket. From: eaglei22 jchojnack...@gmail.com To: users@wicket.apache.org Date:

Re: Lots of Images slowing rendering in DataView?

2014-05-16 Thread Sven Meier
Have you tried using CSS to style your images instead? Perhaps this will help the browser to speed up rendering. Sven On 05/07/2014 04:05 PM, ashindler wrote: Hi, I have a page with a fairly large DataView table ~2000 rows of information. In each row I have 5 small icons (images) - a total

Re: Change name of session cookie

2014-05-16 Thread Don Ferguson
In Jetty 7.3.0, I do this by: a) Deploying using a context xml file (in the jetty/contexts directory) b) Supplying an overrideDescriptor c) In the override descriptor, specifying: context-param param-nameorg.eclipse.jetty.servlet.SessionCookie/param-name param-valueXSESSIONID/param-value

Lots of Images slowing rendering in DataView?

2014-05-16 Thread ashindler
Hi, I have a page with a fairly large DataView table ~2000 rows of information. In each row I have 5 small icons (images) - a total of around 92kb each row. The icons are also links. There is some significant delay in rendering the page and I believe it must be to do with the icons. If the

Re: Change name of session cookie

2014-05-16 Thread Tom Götz
Ah, wrong. It seems that there’s only one cookie. But both apps seem to have the same session id (running in the same container) … -Tom On 16.05.2014, at 15:13, Tom Götz t...@decoded.de wrote: Hi, might be slightly offtopic, but: does someone know how to change to name of the session

Re: problem with resource lookup for css files

2014-05-16 Thread Sven Meier
Try with myCss_blue.css Regards Sven On 05/16/2014 03:51 PM, Patrick Davids wrote: Hi all, I have problems with resource look up for styles css... and I dont know, what I am doing wrong. Can someone have a look, please... myPackage. BasePage.java BasePage.html

Re: Question / Best Practise / (List)Model vs. (List)DataProvider

2014-05-16 Thread Sven Meier
IDataProvider is all about efficiency, it provides efficient access to a subset of the data. Perhaps we can make it even more efficient with the recent proposal on the @dev list. Regards Sven On 05/08/2014 01:37 PM, Patrick Davids wrote: Hi all, what I often think about, and I cannot

Re: Wicket rest and retrofit rest client

2014-05-16 Thread Sven Meier
Hi, Retrofit callbacks are invoked asynchronously. Once #success() is called, the Wicket response is probably written already. You can't/shouldn't do anything related to Wicket in a non-request thread. Regards Sven On 05/07/2014 07:49 PM, Noven wrote: Hi all, I am experimenting with

Re: Wicket 7 M1 different behaviour on button

2014-05-16 Thread Sven Meier
Hi Peter, in Wicket 7.x the default event handling is no longer prevented by default. Thus the browser submits the form (submit is the default type) *after* the Ajax request has been processed. I agree that AjaxLink should not submit in any case: We might decide to alter the tag to always

Question / Best Practise / (List)Model vs. (List)DataProvider

2014-05-16 Thread Patrick Davids
Hi all, what I often think about, and I cannot really say is; when to use Model or DataProvider as data providing object for components they repeat some thing? Javadoc says, DataProvider are (good) for DataViews. Hmm... ok, and they allow easer iterating (first index, count). I also can

RE: Ajax timer not counting when tab doesn't have focus?

2014-05-16 Thread Bruce Lombardi
Thanks Ernesto that would be great! -Original Message- From: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Sent: Friday, May 16, 2014 2:42 PM To: users@wicket.apache.org Subject: Re: Ajax timer not counting when tab doesn't have focus? Bruce. Let me see if I can find some time

Request.getClientUrl() usage when using reverse proxy

2014-05-16 Thread Rakesh A
Hi, I've little trouble finding the correct method to use, to get the host name when using reverse proxy. I tried to use org.apache.wicket.request.Request.getClientUrl(), but when I use Url#getHost() on the return value, I get the actual host name instead of the proxy url. Is there any other

Re: DiskDataStore errors in production

2014-05-16 Thread Paul Bors
Or simply know that Wicket has a page data store which can't update on your disk due to your file system permissions hence: java.io.FileNotFoundException: /opt/ssa/tomcat/apache-tomcat-7.0.29/work/Catalina/localhost/SSA/wicket.ssa-webapp-filestore/3943/9005/A851AC58C741B566C0E40BE1791649E1/data

RE: Ajax timer not counting when tab doesn't have focus?

2014-05-16 Thread Bruce Lombardi
First, thank you for your continuing interest. This is the best support group experience I've ever had. I hope the message come in the right sequence. Lke Ernesto and other A saw the sequencing problem cause by the apache server problem. I ran the test that Martin suggestion with

Re: Wicket atmosphere

2014-05-16 Thread Emond Papegaaij
I replied to your mail already, but it seems my message was lost in the mail outage. Atmosphere and the JS are upgraded on the wicket-6.x and master branches. I've also fixed the filter. https://issues.apache.org/jira/browse/WICKET-5589 Best regards, Emond On Monday 05 May 2014 14:08:20

Re: AjaxTabbedPanel and validation for all tabs

2014-05-16 Thread Paul Bors
My recommendation would be to use bean validation and Ajax to update the UI. On Tuesday, May 6, 2014, mscoon msc...@gmail.com wrote: Hi all, I have a complex form for editing existing objects. I am planning to use AjaxTabbedPanel with adapted ajax links for the tabs to submit the current

Re: Delete version number in url

2014-05-16 Thread Pierre Goupil
Thanks. I figured it out. On Fri, May 16, 2014 at 3:08 PM, Prag pragprog...@gmail.com wrote: @Maxim, your solution works fine, thanks! @Pierre The link does work, but you have to remove the (NoVersionMapper class) suffix:

Re: problem with message order delivered to wicket users list

2014-05-16 Thread Bruce Lombardi
Yes, I have been seeing the same thing. I also saw a reply that didn't include someone else's previous response. Bruce Sent from my iPad On May 14, 2014, at 12:21 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, I the last couple of days I have been experiencing problems

Re: Delete version number in url

2014-05-16 Thread Prag
@Maxim, your solution works fine, thanks! @Pierre The link does work, but you have to remove the (NoVersionMapper class) suffix: https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java See also here:

Re: Ajax timer not counting when tab doesn't have focus?

2014-05-16 Thread Ernesto Reinaldo Barreiro
Bruce. Let me see if I can find some time during weekend to play a bit with the links your provided and come up with a more robust solution. On Fri, May 16, 2014 at 3:57 PM, Bruce Lombardi brlom...@gmail.com wrote: First, thank you for your continuing interest. This is the best support

Re: Include Files form Filesystem

2014-05-16 Thread Paul Bors
Wicket is just Java, so you can also have your Base class be the page template and have other pages extend it ;) On Sunday, May 11, 2014, Martin Grigorov mgrigo...@apache.org wrote: Hi, See http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ Create a custom ResourceReference and

Please help explain the script below, what's the 'className';'unloadConfirmation','mask' stand for? Is there relative docs could be refered to?

2014-05-16 Thread 003210
Hi, Please help explain the script below, what's the 'className';'unloadConfirmation','mask' stand for? Is there relative docs could be refered to? 'var element=document.getElementById('container'); var settings = new Object(); settings.minWidth=200; settings.minHeight=200;