Re: [Wicket-user] URL when navigating away from a bookmarkable URL

2007-02-26 Thread Johan Compagner
if you click on a statefull link and on the server you don't do a redirect the browser will show you that url Or you do again a redirect to a mount, or you use ajax for those statefull links. johan On 2/26/07, Peter Thomas [EMAIL PROTECTED] wrote: Johan - the bookmarkable link in this case

Re: [Wicket-user] wicket-contrib-tinymce release

2007-02-26 Thread Iulian Costan
not yet but i can release tinymce examples as well. i'll do it in next few days. /iulian On 2/25/07, Iman Rahmatizadeh [EMAIL PROTECTED] wrote: Thanks for the great work. Will the examples be released as well ? It was a little hard for me as a first timer with tinymce to find out how it

[Wicket-user] How about a PrinterLink in Wicket Links

2007-02-26 Thread Ayodeji Aladejebi
PrinterLink print = new PrinterLink(printoutlink, PageToPrint.class); any need for this - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your

[Wicket-user] Update component using ajax when no AjaxRequestTarget is available

2007-02-26 Thread Gohan
Hi, I'd like to update a label (though this could just as well be another component such as a FeedbackPanel) using ajax from a method that doesn't give me access to the AjaxRequestTarget that usually is the case with ajax components. Here is an example. DojoDropContainer hiredDropContainer =

Re: [Wicket-user] DojoDropContainer won't work with zero items or float: left;

2007-02-26 Thread Gohan
That actually works. The thing you have to think about is to set the height to about the same height as the image and it'll work great. The width can be set to 100%. I still need to know why the container parameter for method onDrop is always null when I drop an item to a DojoDropContainer. But

Re: [Wicket-user] temp / cache dirs won't remove?

2007-02-26 Thread Jean-Baptiste Quenot
* Eelco Hillenius: On 2/24/07, Johan Compagner [EMAIL PROTECTED] wrote: and that they are not removed is because i guess you don't terminate jetty correctly you just shoot it down when developing. So? That's what I've always did? And that's where the JDK shutdown

Re: [Wicket-user] Update component using ajax when no AjaxRequestTarget is available

2007-02-26 Thread Vincent Demay
Gohan a écrit : Hi, I'd like to update a label (though this could just as well be another component such as a FeedbackPanel) using ajax from a method that doesn't give me access to the AjaxRequestTarget that usually is the case with ajax components. Here is an example. DojoDropContainer

Re: [Wicket-user] DojoDropContainer won't work with zero items or float: left;

2007-02-26 Thread Vincent Demay
Gohan a écrit : That actually works. The thing you have to think about is to set the height to about the same height as the image and it'll work great. The width can be set to 100%. I still need to know why the container parameter for method onDrop is always null when I drop an item to a

Re: [Wicket-user] DojoDropContainer won't work with zero items or float: left;

2007-02-26 Thread Gohan
I'm using the latest wicket 2 snapshot. Mabey you can reply to this thread so I know when the bug is fixed? Thanks for all your help! Vincent Demay wrote: Gohan a écrit : That actually works. The thing you have to think about is to set the height to about the same height as the image and

Re: [Wicket-user] Maven repository for wicket-dojo and wicket-scriptaculous?

2007-02-26 Thread Jean-Baptiste Quenot
* Igor Vaynberg: if project/wicket-stuff maintainers add their projects to our bamboo instance the snapshots will be housed at wicketstuff.org/maven/repository Thanks Igor, nice idea. I just did it:

[Wicket-user] Notificaton when DOJO FXOnClickFader have completed

2007-02-26 Thread Gohan
I have another question regarding the wicket-contrib-dojo library. I wonder if it's possible to be notified when a FX component like FXOnClickFader or FXOnClickWiper has completed their work. E.g. if I have a FXOnClickFader like: new FXOnClickFader(1000, fadeButton, true) I would like to somehow

Re: [Wicket-user] relative urls?

2007-02-26 Thread ChuckDeal
Al Maw wrote: ChuckDeal wrote: Hopefully, I don't have some unique scenario. We are going to migrate our app over to the Wicket framework in pieces. To do so, app will technically be based on Wicket and we will make calls back to the legacy code (JSPs). Ah ha, thought so. I have

[Wicket-user] Frames and page expired problem (wicket 1.2.5)

2007-02-26 Thread Michel Wichers
Hi all, we are using wicket 1.2.5 and we have page expired problems in our application with 3 frames. In the main frame we are displaying some results in an AjaxFallbackDefaultDataTable. By using the paging mechanism and afterwards clicking on a link in the top frame the error occurs. Back

Re: [Wicket-user] Notificaton when DOJO FXOnClickFader have completed

2007-02-26 Thread Vincent Demay
Unfortunatly there isn't any event raised when an effect is finished. What is your use case? may be we can work around that? Gohan a écrit : I have another question regarding the wicket-contrib-dojo library. I wonder if it's possible to be notified when a FX component like FXOnClickFader or

Re: [Wicket-user] Frames and page expired problem (wicket 1.2.5)

2007-02-26 Thread Michel Wichers
Hello Johan, thanks for the reply. Changed my code to use of a PageMap in the index frame and now it works. Regards, Michel Johan Compagner schrieb: do you use a pagemap per frame? because if you use frames you should open a page in a pagemap johan On 2/26/07, *Michel Wichers* [EMAIL

Re: [Wicket-user] How about a PrinterLink in Wicket Links

2007-02-26 Thread Igor Vaynberg
huh? -igor On 2/26/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: PrinterLink print = new PrinterLink(printoutlink, PageToPrint.class); any need for this - Take Surveys. Earn Cash. Influence the Future of IT

Re: [Wicket-user] Maven repository for wicket-dojo and wicket-scriptaculous?

2007-02-26 Thread Igor Vaynberg
yes, you can create user groups and assign them to projects, etc. so far no one from wicket-stuff asked to be added. you are an admin in bamboo btw, so you can add them too. -igor On 2/26/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Igor Vaynberg: if project/wicket-stuff

Re: [Wicket-user] Maven repository for wicket-dojo and wicket-scriptaculous?

2007-02-26 Thread Jean-Baptiste Quenot
* Igor Vaynberg: yes, you can create user groups and assign them to projects, etc. so far no one from wicket-stuff asked to be added. you are an admin in bamboo btw, so you can add them too. Great! Just added Vincent Demay to be able to manually trigger the Dojo build. Thanks

Re: [Wicket-user] Maven repository for wicket-dojo and wicket-scriptaculous?

2007-02-26 Thread Ryan Sonnek
Igor, I'd love to get the wicket-scriptaculous project involved in this as well. what account information do you need to set this up? On 2/26/07, Igor Vaynberg [EMAIL PROTECTED] wrote: yes, you can create user groups and assign them to projects, etc. so far no one from wicket-stuff asked to

Re: [Wicket-user] Maven repository for wicket-dojo and wicket-scriptaculous?

2007-02-26 Thread Igor Vaynberg
give me the login name you want, and i will set you up an account -igor On 2/26/07, Ryan Sonnek [EMAIL PROTECTED] wrote: Igor, I'd love to get the wicket-scriptaculous project involved in this as well. what account information do you need to set this up? On 2/26/07, Igor Vaynberg [EMAIL

Re: [Wicket-user] How about a PrinterLink in Wicket Links

2007-02-26 Thread Eelco Hillenius
Do you have such a link, or are you looking for suggestions on how to create one? If the latter is the case, just render the page you want to print and have javascript: window.print() somewhere, e.g. as a header contribution. Eelco On 2/26/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:

[Wicket-user] Newbie : Null Pointer on Page

2007-02-26 Thread Stewr
I'm using Wicket 1.2.4 and working with a simple page to show a ListView. Here is the constructor for the page. public Results(List resultsList) { ListView procedures = new ListView(procedures, resultsList) { protected void populateItem(ListItem item) {

Re: [Wicket-user] Newbie : Null Pointer on Page

2007-02-26 Thread Igor Vaynberg
List procedure = (List) item.getModelObject(); item.add(new Label(equipment, (String) procedure.get(0))); can procedure be null? because thats what it looks like. -igor On 2/26/07, Stewr [EMAIL PROTECTED] wrote: I'm using Wicket 1.2.4 and working with a simple

Re: [Wicket-user] Newbie : Null Pointer on Page

2007-02-26 Thread Stewr
Thanks for the quick reply...procedure is not null at any point when this error is occurring. igor.vaynberg wrote: List procedure = (List) item.getModelObject(); item.add(new Label(equipment, (String) procedure.get(0))); can procedure be null? because

Re: [Wicket-user] Newbie : Null Pointer on Page

2007-02-26 Thread Igor Vaynberg
give us the full stacktrace please -igor On 2/26/07, Stewr [EMAIL PROTECTED] wrote: Thanks for the quick reply...procedure is not null at any point when this error is occurring. igor.vaynberg wrote: List procedure = (List) item.getModelObject();

Re: [Wicket-user] temp / cache dirs won't remove?

2007-02-26 Thread Eelco Hillenius
Ok. The shutdown hook is not invoked when you terminate the JettyLauncher using the red square Terminate button. Using this button is like doing kill -KILL, whereas using kill (default TERM signal) would invoke the shutdown hook correctly.

Re: [Wicket-user] Unknown Runtime Exception in Ajax?

2007-02-26 Thread dukejansen
Yes, I've tested some more and I only get this error in my Ajax debug window under IE. In Firefox, it correctly loads the modal window. However, in Firefox it fails a few steps later because it is unable to locate a form element by ID, when clearly the form element is coming back as part of the

Re: [Wicket-user] Unknown Runtime Exception in Ajax?

2007-02-26 Thread Igor Vaynberg
it should find the element once its been added to dom. perhaps you are calling the javascript that needs that id a tad too early? try target.appendjavascript instead of prepand -igor On 2/26/07, dukejansen [EMAIL PROTECTED] wrote: Yes, I've tested some more and I only get this error in my

Re: [Wicket-user] Notificaton when DOJO FXOnClickFader have completed

2007-02-26 Thread Gohan
Well suppose I want to make a component visible only when the fading component has faded out completely. Or perhaps I'd like to trigger a chain reaction of some sort. I think it would be nice to have hooks like this. Vincent Demay wrote: Unfortunatly there isn't any event raised when an

[Wicket-user] lastFocusId

2007-02-26 Thread ChuckDeal
Wicket 1.3 (revison 511857) (IE6) I remembered a thread on the Wicket-dev list that was talking about implementing a feature that would store the id of the last edited field so that AJAX could then set the foxus back to it when execution returned. As of this morning, it appears that this code

Re: [Wicket-user] Unknown Runtime Exception in Ajax?

2007-02-26 Thread dukejansen
yeah, i'm not really doing anything custom for calling javascript or anything. this is all just standard ModalWindow show/hide behavior, and button onclick events which launch new modal windows or update state of existing panels and repaint. i haven't written a single line of javascript or any

Re: [Wicket-user] Newbie : Null Pointer on Page

2007-02-26 Thread Stewr
Unfortunately I can't get the full stacktrace because the exception seems to be handled by the framework before it reaches my code. I can see the exception occur in the debugger, IntelliJ displays it, thens steps past it, but I can't catch it. igor.vaynberg wrote: give us the full

Re: [Wicket-user] Newbie : Null Pointer on Page

2007-02-26 Thread Igor Vaynberg
it should be output into the log, so must be in the intellij console? -igor On 2/26/07, Stewr [EMAIL PROTECTED] wrote: Unfortunately I can't get the full stacktrace because the exception seems to be handled by the framework before it reaches my code. I can see the exception occur in the

Re: [Wicket-user] lastFocusId

2007-02-26 Thread ChuckDeal
ChuckDeal wrote: INFO: Response parsed. Now invoking steps... INFO: Response processed successfully. INFO: Invoking post-call handler(s)... ERROR: Error while parsing response: 'lastFocusId' is undefined I did my best to trace the problem and it appears to be line 1366 or

[Wicket-user] error page recommendation

2007-02-26 Thread Xavier Hanin
Hi, Is there any recommended way to handle errors in wicket? Is it possible to use wicket to display an error page? - Xavier - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and

Re: [Wicket-user] Newbie : Null Pointer on Page

2007-02-26 Thread Stewr
For some reason the exception is not being output to the log or console. I have the log level in log4j setup as debug but nothing is recordedweird. I am trying to upload an image to nabble of the intellij debugger showing the error. This occurs as I step over the code ListView procedures

Re: [Wicket-user] error page recommendation

2007-02-26 Thread Marc-Andre Houle
getApplicationSettings ().setInternalErrorPage (InternalErrorPage.class); On 2/26/07, Xavier Hanin [EMAIL PROTECTED] wrote: Hi, Is there any recommended way to handle errors in wicket? Is it possible to use wicket to display an error page? - Xavier

Re: [Wicket-user] Uploading from an applet

2007-02-26 Thread MadDog
I have managed to get this to work, but I'm not sure if what I did is the best way to do it and/or if it's a safe and reliable way. In the HTML (UploadPanel.html), I have a form with an applet tag. Within UploadPanel.java I'm creating a WebMarkupContainer for the applet and using it to pass

Re: [Wicket-user] error page recommendation

2007-02-26 Thread Xavier Hanin
On 2/26/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: getApplicationSettings ().setInternalErrorPage (InternalErrorPage.class); Thx Xavier On 2/26/07, Xavier Hanin [EMAIL PROTECTED] wrote: Hi, Is there any recommended way to handle errors in wicket? Is it possible to use wicket to

Re: [Wicket-user] Unknown Runtime Exception in Ajax?

2007-02-26 Thread Ryan Holmes
At the risk of pointing out the obvious, 1) Make sure you're not including a component in your AjaxRequestTarget that might be invisible (i.e. not in the DOM) when the response is received. 2) Double check that any component added to your AjaxRequestTarget has a markup id. I'm just now

Re: [Wicket-user] Uploading from an applet

2007-02-26 Thread Igor Vaynberg
On 2/26/07, MadDog [EMAIL PROTECTED] wrote: My questions are: 1. Is this the safe and correct place to do this? If not, where/when should I be able to safely call this code? yes, this is the place 2. What is the purpose of onAttach()? to allow components to perform some

Re: [Wicket-user] lastFocusId

2007-02-26 Thread Johan Compagner
that that patch works for you is pretty strange. For example this error: ERROR: Error while parsing response: 'lastFocusId' is undefined that has to be because of: requestFocus: function() because that is called in the ajax post handlers. I updated the js file again can you test it

Re: [Wicket-user] Unknown Runtime Exception in Ajax?

2007-02-26 Thread Erik van Oosten
Lets add some more risk: Ryan Holmes wrote: 2) Double check that any component added to your AjaxRequestTarget has a markup id. You do this by calling setOutputMarkupId(true) on the component immediately after construction. Erik. -- Erik van Oosten

Re: [Wicket-user] lastFocusId

2007-02-26 Thread ChuckDeal
Johan Compagner wrote: For example this error: ERROR: Error while parsing response: 'lastFocusId' is undefined that has to be because of: requestFocus: function() because that is called in the ajax post handlers. Well, actually, that error happened BEFORE I updated to the newer

Re: [Wicket-user] lastFocusId

2007-02-26 Thread Johan Compagner
Well, actually, that error happened BEFORE I updated to the newer revision from source. It didn't happen after the update, instead I saw a message that said last focus id was not set yes that is the log message you should get thats fine. johan

Re: [Wicket-user] Newbie : Null Pointer on Page

2007-02-26 Thread Eelco Hillenius
Are you sure you don't miss anything on the classpath? And what server are you running it on? Eelco On 2/26/07, Stewr [EMAIL PROTECTED] wrote: For some reason the exception is not being output to the log or console. I have the log level in log4j setup as debug but nothing is

Re: [Wicket-user] Newbie : Null Pointer on Page

2007-02-26 Thread Stewr
I am running it on Tomcat 5.5 embedded in IntelliJ. I'm pretty certain that I have everything in the classpath. I have another test app same config pretty much and ListView is working fine. Eelco Hillenius wrote: Are you sure you don't miss anything on the classpath? And what server are

[Wicket-user] Ajax refresh of a RenderedDynamicImageRessource

2007-02-26 Thread Marc-Andre Houle
I have to display a custom build Image generated by another API. The way I hae thought of it right now is by extending RenderedDynamicImageResource. Here is the way I work with it : Create a panel containing an Image with the blank ressource. Then, clicking on a link, I refresh the panel, which

[Wicket-user] URL problem in phonebook app

2007-02-26 Thread John Patterson
Hi, I am trying to use the wicket filter in trunk but cannot get it to respond to a url to my home page. The same problem seems to happen with the phonebook app. When I run the phonebook app I enter http:// localhost:8080/phonebook which redirects to http://localhost:8080/ phonebook/app.

[Wicket-user] Bättre luft för bättre hälsa

2007-02-26 Thread ITWorks VårtVal
- This mail is in HTML. Some elements may be ommited in plain text. - Tel: +46 (0)8 625 46 40 ULTRA-TYST LUFTRENARE FÖR KONTOR OCH HEM Lider du av allergiska besvär på våren? Besväras du av illaluktande ämnen på din arbetsplats eller i hemmet? En luftrenare kan göra underverk på din hälsa! Vi

[Wicket-user] Up/down arrow images missing from 1.3 repeater examples at wicketstuff.org

2007-02-26 Thread Ryan Holmes
FYI, The repeater examples at http://wicketstuff.org/wicket13/ use the following styles for sortable column headers (from style.css): table.dataview tr th.wicket_orderDown { background-color: #87cbff; background-image: url(displaytag/img/arrow_down.png); } table.dataview tr

Re: [Wicket-user] Newbie : Null Pointer on Page

2007-02-26 Thread Eelco Hillenius
Wicket doesn't swallow exceptions to my best knowledge. It should really be logged somewhere. What about the model you are using, could that be the root somehow? If you can't figure it out, you could try to put it in a quickstart project and we could take a look. Eelco On 2/26/07, Stewr [EMAIL

[Wicket-user] Wicket classes shared by multiple mark ups

2007-02-26 Thread Chris Colman
I'm new to wicket. I'm just wondering if it's possible for multiple markups to share common wicket Java classes? My aim with this is to provide different appearances and layouts by having multiple sets of CSS and the markup but reusing the same Wicket classes that provide the content. Is this

Re: [Wicket-user] How about a PrinterLink in Wicket Links

2007-02-26 Thread Ayodeji Aladejebi
hehe..very trivial i dint know what i was thinking..anyway thanks On 2/26/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Do you have such a link, or are you looking for suggestions on how to create one? If the latter is the case, just render the page you want to print and have javascript:

Re: [Wicket-user] How about a PrinterLink in Wicket Links

2007-02-26 Thread Johannes Fahrenkrug
You might also want to take a look at the @media CSS directive. This enables you to give the page a different style depending on whether you want to display it on the screen or print it, ie: style @media print { #hidewhenprinted {display:none; height:0} } @media screen {