Re: Google Maps and AJAX

2007-10-09 Thread Nino Saturnino Martinez Vazquez Wael
You are using header contributor right? Ballist1c wrote: Okay. this is a follow up from my initial google maps query.. i just figured out the problem ... what I am attempting to do is load googles external javascript on AJAX page loads, and google does not like it. I get this

Re: AutoCompleteTextfield - how to populate two input fields

2007-10-09 Thread Oliver Lieven
Hi Nino, thanks for your fast reply. Yes, a shared PropertyModel would help to keep both fields synchronized. I still can't see how this could help me to determine the value selected by the user. The AutoComplete works like 1. getChoices() is called to populate the autocomplete list with my

Re: AutoCompleteTextfield - how to populate two input fields

2007-10-09 Thread Nino Saturnino Martinez Vazquez Wael
No what I meant was that when a user selects something in one of your auto complete fields they'll automatickly select something in both, might have been a little scares on information: IModel commonModel=new Model(); AbstractModel() Text=new AbstractModel(){ getObject{ return

Re: logout

2007-10-09 Thread Nino Saturnino Martinez Vazquez Wael
session.invalidate() and use setResponsePage to navigate to where you want when pressing back button (Thinking its not the browser button?) -Nino tbt wrote: Hi I'm a newbie to wicket and i'm currently using a Session to log users into my application. When the users click a logout button a

Re: Custom URL strategy

2007-10-09 Thread Matej Knopp
IIRC WebRequestCodingStrategy is used for non-mounted pages only and it delegates the encoding/decoding for mounted pages to IRequestTargetUrlCodingStrategy. -Matej On 10/9/07, John Patterson [EMAIL PROTECTED] wrote: Hi, I want to build a custom url encoder fro bookmarkable pages and have

Re: Google Maps and AJAX

2007-10-09 Thread martinf
Hi, how shure are you that its google not responding, have you been debugging in into the http calls? http://tamperdata.mozdev.org/ or http://livehttpheaders.mozdev.org/ might be usefull for that. Loading googles javascript is a twostep process first is the call to

Re: Graceful handling of ajax after session expiration

2007-10-09 Thread Andrew Klochkov
Shouldn't we create a JIRA issue for that? leok wrote: I looked into this a bit more, and it looks like WebRequestCycleProcessor.resolve(RequestCycle, RequestParameters) always checks to see if an Ajax request is being made before a Page gets to be instantiated and stored in the session. If the

Re: AutoCompleteTextfield - how to populate two input fields

2007-10-09 Thread Oliver Lieven
Thanks allot for your efforts and detailed answer! Sounds good, I'll give it a try. Nino.Martinez wrote: No what I meant was that when a user selects something in one of your auto complete fields they'll automatickly select something in both, might have been a little scares on

Re: Decouple parts of a form

2007-10-09 Thread martinf
Michael Sparer wrote: I know from the wicket 1.3 API that forms can be nested and I also know that each form has to be submitted separately. My problem therefore is that the captcha-form's onSubmit button doesn't get called if someone submits the outside form (= the form the component

Re: out of memory - wicket 1.2.6

2007-10-09 Thread Dipu Seminlal
we restart every time we redeploy. Dipu On 10/8/07, Jeremy Levy [EMAIL PROTECTED] wrote: Are you redeploying often with out restarting? Jeremy On 10/8/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: At my former job, we had a memory leak not in our own application

Re: logout

2007-10-09 Thread tbt
well it is the browser button that i'm concerned about :) I want it to be something like a mail account where once you logout you can't use the back button in the browser to navigate inside the application(eg: yahoo mail). Nino.Martinez wrote: session.invalidate() and use setResponsePage to

Re: Portlet howto

2007-10-09 Thread Patrick Gill
Hi Ate and Charly, I'm working on the same thing. I'm currently using Liferay's implementation for ServletContextProvider (com.liferay.util.bridges.struts.LiferayServletContextProviderWrapper) . Ate Douma wrote: - in the LiferayToPortalBridgePortletResourceURLFactory you seem to simply

[RFE] Nested wicket:enclosure

2007-10-09 Thread Alex Objelean
Currently, wicket does not support nested wicket:enclosure tags. It would be very useful. What do you think? Thank you! Alex. -- View this message in context: http://www.nabble.com/-RFE--Nested-wicket%3Aenclosure-tf4593044.html#a13112204 Sent from the Wicket - User mailing list archive at

Re: Portlet howto

2007-10-09 Thread Patrick Gill
Ate Douma wrote: That was my initial attempt at it. For Jetspeed, I have much improved/simplyfied this after I added ResourceURL handling natively to the portal (internally), and I only need to set a predefined flag/parameter to tell it to use it (instead of creating a plain RenderURL

Question about rendering of the ModalWindow content

2007-10-09 Thread Alex Objelean
I've noticed that the content of the ModalWindow is being rendered even when the ModalWindow itself is not shown. I wonder if it is correct behavior. Any thoughts? Alex. -- View this message in context:

Re: Decouple parts of a form

2007-10-09 Thread Michael Sparer
Thanks a lot for your input guys, it really helped me a lot. I chose to use Kent's approach using a Validator that - by the way - could not be a static class as I had to access member variables outside the Validator. Thanks again and have a nice day Michael Kent Tong wrote: Gerolf Seitz

how to forward request to an external URL

2007-10-09 Thread Nili Adoram
Hi all, Suppose I want to forward the HTTP request to some external url (NOT a wicket page, e.g. a JSP page). I want to end the request cycle at this point ( not include this URL inside my page). How can I simulate request.getRequestDispatcher(url).forward() within a wicket page? Thanks Nili

Re: Example source code?

2007-10-09 Thread Martijn Dashorst
It is in the distribution. Read the readme that is contained inside, and look in the src sub dir. Martijn On 10/9/07, Neil B. Cohen [EMAIL PROTECTED] wrote: Is there a link where I can download sample wicket source code? Like for the Wicket Phone book example? I don't use svn - are there

RE: Example source code?

2007-10-09 Thread Clay Lehman
SVN is super easy to use -- 1) Download TortoiseSVN (http://tortoisesvn.net/downloads) 2) make a folder (mine is wicket-svn) 3) right click in the folder and go to SVN Checkout... 4) then put in the path to SVN and you will have all the code It's probably quicker and easier than any HTTP

AutoCompleteTextField for problem

2007-10-09 Thread lizz
I would like an auto complete text field for a class that implements Information interface Address{ getCountry(); ... } I have a class Person that contains an address instance variable and getter and setter for that variable. (getAddress). I have some addresses and want to changes the persons

popup window using wicket

2007-10-09 Thread boyinamadhavi
Hi, please help me i have one popup window. That popup window contains one text field. how to get value from popup window to main window using apache wicket. thanks in advance madhavi -- View this message in context: http://www.nabble.com/popup-window-using-wicket-tf4594547.html#a13116633 Sent

Re: Problem with form default button in IE

2007-10-09 Thread Christian Alejandro Marquez Grabia
After working some time on this, I got to fix the problem. Thanks anyway =), Christian On 10/8/07, Christian Alejandro Marquez Grabia [EMAIL PROTECTED] wrote: Hi all, and thanks in advanced for your attention. I'm having some problems with the default button in a form that is not working in

Re: ModalWindow serialization problem

2007-10-09 Thread Benjamin Ernst
Sorry, I am quite busy right now. But I will find some time in the next days and than provide a quickstart. In the mean time we fixed the problem by saving the needed Objects in the Session-MetaData. And that seems to work. Thanks for your help! -Benjamin 2007/10/9, Matej Knopp [EMAIL

new class reloading solution JavaRebel

2007-10-09 Thread Eelco Hillenius
Hi people, I haven't tried it myself yet, but Jevgeni Kabanov (from Aranea framework[1]) just released 'JavaRebel' which is a transparent class loading solution. It should work well with Wicket, since Wicket is a pure Java framework. Jevgeni is interested in user experiences and he'd like to

Re: AjaxFormChoiceComponentUpdatingBehavior doesn´t get event

2007-10-09 Thread Swaroop Belur
Try putting it on the radios instead of radio group . -swaroop On 10/9/07, SantiagoA [EMAIL PROTECTED] wrote: I added an AjaxFormChoiceComponentUpdatingBehavior to my radioGroup. I thought it would handle the event, when a RadioButton is clicked. But when i click on a RadioButton the

Re: AjaxFormChoiceComponentUpdatingBehavior doesn´t get event

2007-10-09 Thread Michael Laccetti
I suspect you need to do AjaxFormChoiceComponentUpdatingBehavior(onchange) { ... } or something similar. Mike SantiagoA wrote: I added an AjaxFormChoiceComponentUpdatingBehavior to my radioGroup. I thought it would handle the event, when a RadioButton is clicked. But when i click on a

Re: Wicket Example

2007-10-09 Thread anita nichols
Thanks On 10/8/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: instead of doing that, i'd suggest that you call the archetype correctly with the right parameters then you should not need to change anything afterwards : mvn *archetype*:create

Re: popup window using wicket

2007-10-09 Thread Swaroop Belur
Normally In wicket , the data that gets shown in ui components gets pulled from the models of the components. One way of doing ur reqt: After submitting the form containing the textfield ,just get its model value and use that value as a page parameter for example to render the base page again.

Wicket Stuff

2007-10-09 Thread anita nichols
I tried to create Sortable list using Wicket Stuff, but the SortableListView give me an error. What do I do wrong here, below is the code: import wicket.contrib.scriptaculous.*; add(new SortableListView(item, items) { protected void populateItem(ListItem item)

Wicket extension 1.3

2007-10-09 Thread anita nichols
Where can I get the Wicket 1.3 extension for my quickstart Where can I put those extension? Can I put it under Referenced Libraries? Thank you, Anita

Re: 'tab' and 'enter' keyboard events.

2007-10-09 Thread Gerolf Seitz
do something like: input onkeypress=processEnterKey();return false; ../ don't know if you have to use onkeypress, onkeydown, onkeyup, but you get the idea. gerolf On 10/9/07, lizz [EMAIL PROTECTED] wrote: I have a panel with some text fields and two buttons (button A and B) I would like the

Re: Wicket extension 1.3

2007-10-09 Thread Vit Rozkovec
Hi, the best way is to set up Maven and let it download all the required references. With maven, you can create quickstart project then and in its pom.xml add a dependency dependency groupIdorg.apache.wicket/groupId artifactIdwicket-extensions/artifactId

Wicket extension

2007-10-09 Thread anita nichols
I got the wicket extension. Please disregard my question regarding the wicket extension anita

Re: Custom URL strategy

2007-10-09 Thread John Patterson
Thanks Matej, I went ahead and built a IRequestCodingStrategy that delegates the standard WebRequestCodingStrategy because I want my strategy to be used for every Bookmarkable page and not just ones that I mount. In fact my strategy needs to decide which Page is to be used _without_ using

Re: Custom URL strategy

2007-10-09 Thread John Patterson
Hi, As I am figuring out how to create my own IRequestCodingStrategy I have come across a few things which seem be suspicious IMHO. I could be wrong with all of them but I thought I should bring them up... These are all in WebRequestCodingStrategy This code... public final

Re: Custom URL strategy

2007-10-09 Thread Matej Knopp
Hi, see the response below On 10/9/07, John Patterson [EMAIL PROTECTED] wrote: Hi, As I am figuring out how to create my own IRequestCodingStrategy I have come across a few things which seem be suspicious IMHO. I could be wrong with all of them but I thought I should bring them up...

Re: Custom URL strategy

2007-10-09 Thread John Patterson
Nice one. Cheers for your explanations. I am getting there slowly. On 9 Oct 2007, at 14:25, Matej Knopp wrote: Hi, see the response below On 10/9/07, John Patterson [EMAIL PROTECTED] wrote: Hi, As I am figuring out how to create my own IRequestCodingStrategy I have come across a few

Re: Wicket Stuff

2007-10-09 Thread Ryan Sonnek
let's start with what error are you getting? On 10/9/07, anita nichols [EMAIL PROTECTED] wrote: I tried to create Sortable list using Wicket Stuff, but the SortableListView give me an error. What do I do wrong here, below is the code: import wicket.contrib.scriptaculous.*; add(new

Subclassing WebRequestCodingStrategy

2007-10-09 Thread John Patterson
Hi, I seem to be making progress with my custom URL scheme but have hit a small wall. I have subclassed WebRequestCodingStrategy because I want to keep the mountable page behaviour but just enhance it to return my own target if no mounts are found and default processing does not apply.

Re: Subclassing WebRequestCodingStrategy

2007-10-09 Thread John Patterson
Just a bit more info on the problem... encoding allows me to override the equivalent method: rg.apache.wicket.IRequestTarget) */ public final CharSequence pathForTarget(IRequestTarget requestTarget) { // first check whether the target was mounted

Re: Dynamic Entity Classes

2007-10-09 Thread Igor Vaynberg
with Salve you can do it like this: UserBalance User.getBalance() { return accountingService.getBalance (user); } because your User domain object would have access to accountingService. see http://salve.googlecode.com -igor On 10/9/07, Joe Toth [EMAIL PROTECTED] wrote: This is a Hibernate

Re: Example source code?

2007-10-09 Thread Igor Vaynberg
my suggestion is to learn how to use svn :) -igor On 10/9/07, Neil B. Cohen [EMAIL PROTECTED] wrote: Is there a link where I can download sample wicket source code? Like for the Wicket Phone book example? I don't use svn - are there instructions somewhere that can tell me how to download the

Re: Subclassing WebRequestCodingStrategy

2007-10-09 Thread John Patterson
That is a huge class with lots of internal knowledge! It would be a nightmare to maintain and keep up to date with internal Wicket changes. All for one final keyword. The class seems to have been built with subclassing in mind but just this single final clause stops me being able to

Re: Dynamic Entity Classes

2007-10-09 Thread Joe Toth
Salve is interesting... One problem, user-module does not know about accounting-module. On Wed, 2007-10-10 at 00:30 +0200, Gerolf Seitz wrote: heh, i knew this would come up ;) On 10/10/07, Igor Vaynberg [EMAIL PROTECTED] wrote: with Salve you can do it like this: UserBalance

Re: Subclassing WebRequestCodingStrategy

2007-10-09 Thread John Patterson
Also, there is special case code in WebRequestCodingStrategy for a mount with a null path. This looks like a default mount and is what I want to use. But there is no way to add a mount with a null path as it is checked for. This class is so close to being extendable but not quite there.

Re: Subclassing WebRequestCodingStrategy

2007-10-09 Thread Matej Knopp
Well, as kind of our policy we make a lot of things final. But we do remove the final if someone has a good reason for it. :) Could you please create a jira issue with the finals you need to have removed? Thanks. -Matej On 10/10/07, John Patterson [EMAIL PROTECTED] wrote: Also, there is

Re: Subclassing WebRequestCodingStrategy

2007-10-09 Thread John Patterson
OK thanks, I have created https://issues.apache.org/jira/browse/ WICKET-1057 I think final is a great tool and if someone can point out a better way for me to do this please do. Cheers, John On 9 Oct 2007, at 17:19, Matej Knopp wrote: Well, as kind of our policy we make a lot of things

Re: new class reloading solution JavaRebel

2007-10-09 Thread Matthijs Wensveen
Looks promising. A lot of people here complain about having to restart jetty or tomcat every time they modify their classes. Too bad it's commercial :( Eelco Hillenius wrote: Hi people, I haven't tried it myself yet, but Jevgeni Kabanov (from Aranea framework[1]) just released 'JavaRebel'

Re: how to forward request to an external URL

2007-10-09 Thread Matthijs Wensveen
For completeness sake: http://cwiki.apache.org/WICKET/how-to-redirect-to-an-external-non-wicket-page.html Igor Vaynberg wrote: requestcycle.setrequesttarget(new redirectrequesttarget(url)); -igor On 10/9/07, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, Suppose I want to forward the