Re: Deploiment problem of wicket application with Jboss 5.1

2011-06-16 Thread Avraham Rosenzweig
ext.initEntries(ZipEntryContext.java:562)
>>>at
>>> org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:619)
>>>... 17 more
>>>
>>> My environnement is:
>>> JBoss 5.1
>>> Wicket 1.5-RC4.2
>>> Jdk 1.6
>>> I am still in development mode.
>>> When I am working with the war with Jetty, I have no problem.
>>>
>>> Is somebody can explain me what happen and give me any clue to go
>>> forward.
>>>
>>> Thanks
>>>
>>> Thomas
>>>
>>>
>>> -
>>> 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
>
>


-- 
[]'s
Avraham Rosenzweig
avrah...@gmail.com


Re: Deploiment problem of wicket application with Jboss 5.1

2011-06-15 Thread Avraham Rosenzweig
It's a known JBoss issue with a workaround:
http://community.jboss.org/message/8053

On Wed, Jun 15, 2011 at 4:32 PM, Thomas Franconville <
tfranconvi...@tetraedge.com> wrote:

> Hi all,
>
> I am deploying my wicket application as an EAR with maven using JMX
> deploiment of JBoss.
> When I use the web application, the directory
> [Jboss_home]/default/tmp/vfs-nested.tmp is growing until saturated the
> hardrive (several gigabytes !), duplicating all the jar and war in the ear.
> When the disk is saturated, I have this stack
>
> 2011-06-15 11:06:41,220 INFO  [STDOUT] (ModificationWatcher Task) ERROR -
> Task   - Unhandled exception thrown by user code in task
> ModificationWatcher
> java.lang.RuntimeException: Failed to read zip file:
> org.jboss.virtual.plugins.context.zip.ZipFileWrapper@1d295de -
> D:\Workspaces\UbiAnt\HemisEAR\target\Hemis.ear
>at
> org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:628)
>at
> org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified(ZipEntryContext.java:773)
>at
> org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChild(ZipEntryContext.java:817)
>at
> org.jboss.virtual.plugins.context.zip.ZipEntryHandler.createChildHandler(ZipEntryHandler.java:191)
>at
> org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:684)
>at
> org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(ZipEntryHandler.java:165)
>at
> org.jboss.virtual.plugins.context.DelegatingHandler.getChild(DelegatingHandler.java:107)
>at org.jboss.virtual.VirtualFile.findChild(VirtualFile.java:457)
>at
> org.jboss.virtual.plugins.vfs.VirtualFileURLConnection.resolveVirtualFile(VirtualFileURLConnection.java:106)
>at
> org.jboss.virtual.plugins.vfs.VirtualFileURLConnection.getVirtualFile(VirtualFileURLConnection.java:118)
>at
> org.jboss.virtual.plugins.vfs.VirtualFileURLConnection.getInputStream(VirtualFileURLConnection.java:93)
>at org.apache.wicket.util.io.Connections.close(Connections.java:127)
>at
> org.apache.wicket.util.io.Connections.getLastModified(Connections.java:87)
>at
> org.apache.wicket.util.resource.UrlResourceStream.lastModifiedTime(UrlResourceStream.java:233)
>at
> org.apache.wicket.markup.MarkupResourceStream.lastModifiedTime(MarkupResourceStream.java:149)
>at
> org.apache.wicket.util.watch.ModificationWatcher$1.run(ModificationWatcher.java:153)
>at org.apache.wicket.util.thread.Task$1.run(Task.java:115)
>at java.lang.Thread.run(Thread.java:662)
> Caused by: java.io.IOException: Espace insuffisant sur le disque
>at java.io.FileOutputStream.writeBytes(Native Method)
>at java.io.FileOutputStream.write(FileOutputStream.java:260)
>at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
>at org.jboss.virtual.VFSUtils.copyStream(VFSUtils.java:941)
>at org.jboss.virtual.VFSUtils.copyStreamAndClose(VFSUtils.java:901)
>at
> org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries(ZipEntryContext.java:562)
>at
> org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:619)
>... 17 more
>
> My environnement is:
> JBoss 5.1
> Wicket 1.5-RC4.2
> Jdk 1.6
> I am still in development mode.
> When I am working with the war with Jetty, I have no problem.
>
> Is somebody can explain me what happen and give me any clue to go forward.
>
> Thanks
>
> Thomas
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
[]'s
Avraham Rosenzweig
avrah...@gmail.com


Re: AjaxLazyLoadPanel, nothing else works until it finishes loading

2010-11-25 Thread Avraham Rosenzweig
That helps a lot. Thanks.

On Wed, Nov 24, 2010 at 11:47 PM, jwray  wrote:

>
>
> The page will block until the panel is loaded. There are a number of
> threads
> discussing this.
>
> Here are a couple of gists that allow panel content to be loaded in an
> asynchronous manner in another thread, thus making the UI appear
> non-blocking.
>
> https://gist.github.com/594468
> https://gist.github.com/636875
>
> hope you find them useful.
> Jonny
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/AjaxLazyLoadPanel-nothing-else-works-until-it-finishes-loading-tp2322202p3058132.html
> Sent from the Users forum 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
>
>


-- 
[]'s
Avraham Rosenzweig
avrah...@gmail.com


Re: Putting HTML files in src/main/webapp

2010-10-06 Thread Avraham Rosenzweig
Try this:
http://www.mkyong.com/wicket/how-do-change-the-html-file-location-wicket/

On Tue, Sep 28, 2010 at 12:45 PM, elesi  wrote:

>
> Could i change html resource folder, even if my project don't have a maven
> folder structure?
> I mean no resources folder, etc.?
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Wicket-Offline-Applications-tp1883788p2716953.html
> Sent from the Users forum 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
>
>


-- 
[]'s
Avraham Rosenzweig
avrah...@gmail.com


Re: Within the wicket lifecyle, what is the best place to add a call on the page request

2010-09-02 Thread Avraham Rosenzweig
Or you can override onBeforeRender as we used to do before 1.4.10 :-)
Just don't forget to call super.onBeforeRender().

On Fri, Sep 3, 2010 at 12:10 AM, Ben Tilford [via Apache Wicket] <
ml-node+2524782-1377046621-117...@n4.nabble.com
> wrote:

> If your using wicket 1.4.10 you may want to look at the new onConfigure
> method that was added.
>
> On Thu, Sep 2, 2010 at 3:38 PM, Brown, Berlin [GCG-PFS] <
> [hidden email] <http://user/SendEmail.jtp?type=node&node=2524782&i=0>>
> wrote:
>
> > Where is the best place to add logic to get invoked always when the page
> > is requested?
> >
> > The logic may or may not be tied to the model.
> >
> >
> >
> > Berlin Brown
> >
>
>
> --
>  View message @
> http://apache-wicket.1842946.n4.nabble.com/Within-the-wicket-lifecyle-what-is-the-best-place-to-add-a-call-on-the-page-request-tp2524669p2524782.html
> To start a new topic under Wicket - User, email
> ml-node+1842947-58522394-117...@n4.nabble.com
> To unsubscribe from Wicket - User, click 
> here<http://apache-wicket.1842946.n4.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_code&node=1842947&code=YXZyYWhhbXJAZ21haWwuY29tfDE4NDI5NDd8LTEwMTIyNDQ2OTU=>.
>
>
>


-- 
[]'s
Avraham Rosenzweig
avrah...@gmail.com


Re: Works in Development Mode but not in Production Mode

2010-07-24 Thread Avraham Rosenzweig
We had a similar problem with some heavy javascript for resizing things on
the screen.
Since then in on our application init we call:
getMarkupSettings().setStripWicketTags(true);

So on both Development and Deployment mode we have a similar HTML output and
we don't risk trying Ajax refresh on a wicket:container

On Fri, Jul 23, 2010 at 6:30 PM, Adam Bender [via Apache Wicket] <
ml-node+2300335-1309396158-293...@n4.nabble.com
> wrote:

> Greetings,
>
> I recently ran into an issue involving the swapping of fragments on an ajax
>
> event. The scenario looks roughly like this:
>
> 1) User comes to page with a form on it
> 2) User fills in form and clicks submit
> 3) Form is validated and accepted and a confirmation message is shown
>
> In this case the form and the confirmation message are both fragments and
> in
> order to achieve the visual effect desired the confirmation is swapped with
>
> the form during the execution of the onSubmit event handler for an
> AjaxButton. The effective wicket looks like this:
>
> 
>
> 
> ... relevant html to display form...
> 
>
> http://apache-wicket.1842946.n4.nabble.com/Works-in-Development-Mode-but-not-in-Production-Mode-tp2300335p2300335.html
> To start a new topic under Wicket - User, email
> ml-node+1842947-1647783149-293...@n4.nabble.com
> To unsubscribe from Wicket - User, click 
> here<http://apache-wicket.1842946.n4.nabble.com/subscriptions/Unsubscribe.jtp?code=YXZyYWhhbXJAZ21haWwuY29tfDE4NDI5NDd8LTEwNzY0NzQ1ODc=>.
>
>
>


-- 
[]'s
Avraham Rosenzweig
avrah...@gmail.com


InMethod Grid

2010-06-20 Thread Avraham Rosenzweig
Hello All,

   I've been looking at the InMethod Grid (from wicketstuff) for use in one
of my projects, but I can't find out under what license it is distributed.
   Does someone know something about it? A URL for the license info/text
would be nice.

   And if we are already talking about it, I would be happy if anyone have a
suggestion about a Wicket Library that provides a Data Table with support
for column resizing, sort, pagination, and scrolling inside the table like
InMethod We are open for suggestions, either open source or commercial.

Thanks,
Avraham


-- 
[]'s
Avraham Rosenzweig
avrah...@gmail.com