RE: './' appended to the main page url

2008-03-25 Thread Hoover, William
https://issues.apache.org/jira/browse/WICKET-1449 -Original Message- From: Toto Laricot [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2008 3:29 AM To: users@wicket.apache.org Subject: './' appended to the main page url Hi all, Here is the situation I've been banging my head on all

Re: Problem with Hibernate and Caching..

2008-03-25 Thread Bert Radke
On Tue, Mar 25, 2008 at 1:41 PM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > Hmm, if you remove that you will get into trouble. At least I got, thats > why I put it in there in the first place.. > > Problem was when I had entites that were managed between pages.. Eg if > yo

Re: Shared resources with parameters?

2008-03-25 Thread Erik van Oosten
Hi Lars, They are not that static :) We import and export the images from a database we manage. By 'static' I meant that the images do not change over time, so I want fixed URLs for them. Sorry for the confusion. Regards, Erik. lars vonk wrote: > You could put Apache in front and let it s

Re: Unsure about setResponsePage behaviour

2008-03-25 Thread Eric Rotick
Great, that explains it very well. Thanks for your help. Eric. On Tue, Mar 25, 2008 at 12:55 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > no if you call on any component setResponsePage() > then that page is set as the response at the time of the call. > It is not internal state of that com

Re: Unsure about setResponsePage behaviour

2008-03-25 Thread Johan Compagner
no if you call on any component setResponsePage() then that page is set as the response at the time of the call. It is not internal state of that component that is then somehow picked up at some point A component/page doesn't have a "default" response page.. (the default response page is the p

Re: Unsure about setResponsePage behaviour

2008-03-25 Thread Eric Rotick
Thanks for the help, I'm getting there...slowly! Does this mean that I can't do something like new MyPage1( ).setResponsePage( new MyPage2( ) ); and then somewhere else new MyPage1( ).setResponsePage( new MyPage3( ) ); Instead I have to add a parameter to all pages that could have a variable r

Re: Problem with Hibernate and Caching..

2008-03-25 Thread Nino Saturnino Martinez Vazquez Wael
Hmm, if you remove that you will get into trouble. At least I got, thats why I put it in there in the first place.. Problem was when I had entites that were managed between pages.. Eg if you go to pageA and your pet Class loads here, then go to pageB which does some changes to pet and then sav

Re: Textarea autosize/auto resize height

2008-03-25 Thread Nino Saturnino Martinez Vazquez Wael
As I wrote: http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-stuff-contrib-input-events However this is probably more complex than what you need. But It will work, please ask if you have questions. regards Nino Martin Makundi wrote: I understood to do it myself, but what link can

Re: Nice absolute urls - is this possible?

2008-03-25 Thread Johan Compagner
it is relative to the current url in the browser On Tue, Mar 25, 2008 at 12:38 PM, Java Programmer <[EMAIL PROTECTED]> wrote: > On Thu, Mar 20, 2008 at 4:39 PM, Johan Compagner <[EMAIL PROTECTED]> > wrote: > > you are worried about what is in the source? > > so you dont really need it for someth

Re: Unsure about setResponsePage behaviour

2008-03-25 Thread Johan Compagner
We really should remove all the RequestCycle methods from components if i read these kind of mails form.setResponsePage() doesn't mean that in the onSubmit that page is set as a response! That is something you should do yourself yes in the onSubmit() you dont have to do then form. just se

Re: Unsure about setResponsePage behaviour

2008-03-25 Thread Eric Rotick
I have simplified the class and it behaves the same. public class SingleItemForm extends Panel { public SingleItemForm( String id, final boolean readonly, final ISingleDisplay display, final IModel model, final Page callingPage ) { super

Re: Problem with Hibernate and Caching..

2008-03-25 Thread Bert Radke
On Sun, Mar 23, 2008 at 9:20 PM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > > Could you show us some code, please? The crystal balls and > tea leaves charge extra for easter work :) > Thank you for your reply and sorry that i put to much stress on the crystal balls ;) As i was writing a lengt

Re: Textarea autosize/auto resize height

2008-03-25 Thread Martin Makundi
I understood to do it myself, but what link can you think of that has a good example dealing with "somewhat similar" js issue? Tnx. ** Martin 2008/3/25, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]>: > He means that you create a behavior yourself to integrate the desired > functionali

Re: Nice absolute urls - is this possible?

2008-03-25 Thread Java Programmer
On Thu, Mar 20, 2008 at 4:39 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > you are worried about what is in the source? > so you dont really need it for something else like in an email? > > but wicket generates for itself relative urls > if you need a full for yourself you can use RequestUtil

Re: Textarea autosize/auto resize height

2008-03-25 Thread Nino Saturnino Martinez Vazquez Wael
He means that you create a behavior yourself to integrate the desired functionality. Much like wicket-contrib-input-events etc... regards Nino Martin Makundi wrote: Do you have an example (e.g., link) of what kind of jsBehavior you mean? ** Martin 2008/3/25, James Carman <[EMAIL PROTECTED]>:

Re: Unsure about setResponsePage behaviour

2008-03-25 Thread Johan Compagner
do you have some sample code?? what do you mean with setResponsePage outside of an onSubmit or click? outside of what? when is it called? On Tue, Mar 25, 2008 at 12:22 PM, Eric Rotick <[EMAIL PROTECTED]> wrote: > I have a page with many buttons to do different things. I decided the best > strateg

Re: Shared resources with parameters?

2008-03-25 Thread Johan Compagner
or the app server which ever it is.. but where are the located? On Tue, Mar 25, 2008 at 11:19 AM, lars vonk <[EMAIL PROTECTED]> wrote: > You could put Apache in front and let it serve you static images? > > Lars > > On Tue, Mar 25, 2008 at 10:18 AM, Erik van Oosten <[EMAIL PROTECTED]> > wrote: >

Re: Textarea autosize/auto resize height

2008-03-25 Thread Martin Makundi
Do you have an example (e.g., link) of what kind of jsBehavior you mean? ** Martin 2008/3/25, James Carman <[EMAIL PROTECTED]>: > It looks like you've got what you need. Maybe this could be a > behavior that you add to the regular TextArea component? > > > > On Tue, Mar 25, 2008 at 6:36 AM, Ma

Unsure about setResponsePage behaviour

2008-03-25 Thread Eric Rotick
I have a page with many buttons to do different things. I decided the best strategy was to setup the default page via a call to setReponsePage at the start of the page and then overrride this in the onSubmit method for each button. This appears not to work. However, if I set a value of the default

Re: Textarea autosize/auto resize height

2008-03-25 Thread James Carman
It looks like you've got what you need. Maybe this could be a behavior that you add to the regular TextArea component? On Tue, Mar 25, 2008 at 6:36 AM, Martin Makundi <[EMAIL PROTECTED]> wrote: > Hi! > > Here is a javascript snipplet that can be used to automatically resize > a textarea's heig

Textarea autosize/auto resize height

2008-03-25 Thread Martin Makundi
Hi! Here is a javascript snipplet that can be used to automatically resize a textarea's height to fit the contents: http://codingforums.com/archive/index.php?t-92781.html Is there something similar in built-in into wicket? ** Martin --

Re: Shared resources with parameters?

2008-03-25 Thread lars vonk
You could put Apache in front and let it serve you static images? Lars On Tue, Mar 25, 2008 at 10:18 AM, Erik van Oosten <[EMAIL PROTECTED]> wrote: > Hi, > > I am looking for a way to serve many static images. It is important that > I do not have to separately register them (as with SharedResour

Shared resources with parameters?

2008-03-25 Thread Erik van Oosten
Hi, I am looking for a way to serve many static images. It is important that I do not have to separately register them (as with SharedResources, as I understood) as there about 20.000 to 50.000 of them, and the set changes continuously. The most obvious thing that comes to mind is a static resour

Re: Wicketstuff source pages - can we make them stateless?

2008-03-25 Thread Nino Saturnino Martinez Vazquez Wael
+1 great idea.. :) Matej Knopp wrote: Why can't we just put a 5 minute timer on each page which would casuse active sessions never expire? -Matej On Tue, Mar 18, 2008 at 8:52 AM, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote: Martijn Dashorst wrote: > Making the source code viewing pages

Bug in order of rendered links within ?

2008-03-25 Thread Justin Morgan - Logic Sector
I'm having an issue with links to CSS files in Wicket 1.3.1. The problem is the ordering of the links in the rendered HTML. The page inheritance hierarchy goes like this: AbstractMasterPage --> AbstractStaticTextPage --> StaticTextPage However, the list of links brought in via the section

Re: Re-render after AbstractRestartResponseException() not working in Ajax case

2008-03-25 Thread Johan Compagner
Attach all this to a jira, on the list it is getting lost On 3/25/08, Matthew Young <[EMAIL PROTECTED]> wrote: > I forgot to include the HomePage.html. Here is all the files of my small > test. Please check it out if possible. If you run it with JS off, all is > fine. With JS on, Ajax respon

'./' appended to the main page url

2008-03-25 Thread Toto Laricot
Hi all, Here is the situation I've been banging my head on all day: - my home page is not mounted - when a user logs in (from the home page), I redirect him/her to the same home page (with more options available). - because this page is not mounted, WebRequestCodingStrategy.encode append './' to

Re: StreamCorruptedException when using autocomplete

2008-03-25 Thread David Leangen
Looks like this is the possible cause: https://issues.apache.org/jira/browse/WICKET-1445 We're just checking up on that now. On Fri, 2008-03-21 at 14:55 +0900, David Leangen wrote: > > Already tried that. Same problem. :-( > > > > On Thu, 2008-03-20 at 22:53 -0700, Igor Vaynberg wrote:

<    1   2