Re: SSL

2008-03-11 Thread Tormod Øverlier
Do you have any idea as to why I'm always redirected to the start page when I try to enter a SSL-enabled page, even though I'm following the description for SSL on the Wicket Wiki? Johan Compagner wrote: > > wicket doesn't redirect to a full url > wicket only uses relative onces so if you type

Re: OpenId with Wicket

2008-03-11 Thread Igor Vaynberg
mount a bookmarkable page. get a url for it via urlfor(mypage.class) use requestutils to translate the url into an absolute one. give that to openid provider. make sure you have a constructor in that page that takes PageParameters, use them to pull out posted values. -igor On Tue, Mar 11, 2008 a

Re: Simple question about alert string

2008-03-11 Thread tsuresh
tsuresh wrote: > > Hello, I have a list of users, When I click on the userlink I need to > display the name of user clicked (For example: If Bob,Hari and David are > lists, If I click on Bob the output in pop up should be User selected > :Bob. > > The problem I am having is, when I click on Bo

OpenId with Wicket

2008-03-11 Thread mpinner
Couple Questions: How do I setup a returnUrl to which an OpenId Provider would Post/Get? For those not familiar with OpenId, I'll try to explain. I need to redirect my user to their OpenId Provider, which will post back to me that they are who authenticated. When I send this redirect I need to

Re: Simple question about alert string

2008-03-11 Thread tsuresh
Hello, I have a list of users, When I click on the userlink I need to display the name of user clicked (For example: If Bob,Hari and David are lists, If I click on Bob the output in pop up should be User selected :Bob. The problem I am having is, when I click on Bob the out put is User selected:

Accordion(wicket-stuff) and a YU DatePicket together don't work.

2008-03-11 Thread Fernando Wermus
I have developed some pages using the Nino Saturnino's accordion which is in wicket-stuff. I got some erros in YU DatePicker when I added it to a Accordion. The error, a javascript error is the following, YAHOO.util.Event.purgeElement is not a function http:///resources/org.apache.wicket.exten

Re: Converting tag names in a Panel

2008-03-11 Thread Matt Jensen
Oops, looks like Wicket might not be the culprit... Matt Jensen wrote: Hopefully this is an easy one. Why does Wicket convert this: ...into this: ...and how do I make it stop doing that? The key part here is the conversion of "fb:tab-item" into "fb:tab_item". ---

Re: URL problem

2008-03-11 Thread Rick Shen
No one knows -- View this message in context: http://www.nabble.com/URL-problem-tp15975716p15996264.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Converting tag names in a Panel

2008-03-11 Thread Matt Jensen
Hopefully this is an easy one. Why does Wicket convert this: ...into this: ...and how do I make it stop doing that? The key part here is the conversion of "fb:tab-item" into "fb:tab_item". - To unsubscribe, e-mail: [EM

Re: styling thead in DataTable

2008-03-11 Thread Christian Alejandro Marquez Grabia
Martin, Yes...you would have to set a wicket:id for the thead to add attributes dynamically. This is easily done by setting markup to a subclass of datatable, and using the same structure used in the wicket-extensions jar. Cheers, Christian On 3/11/08, Eyal Golan <[EMAIL PROTECTED]> wrote: > > T

Improvements to Wicketstuff Suckerfish Dropdowns

2008-03-11 Thread JulianS
I have checked in the following minor improvements: - Changed references to Link to AbstractLink to make the implementation more general - Added a down or right arrow icon if there are children - Upgraded to Wicket 1.3.1 See https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wic

Re: wicket-datetime

2008-03-11 Thread Alex Jacoby
Odd... Just tested again and it's working now. Pretty sure I wasn't hallucinating before but if no one else notices the problem I'll chalk it up to gremlins in my computer. I was using Safari 3 on leopard, btw. Alex On Mar 11, 2008, at 4:00 PM, Nino Saturnino Martinez Vazquez Wael wrote: T

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Mathias P.W Nilsson
Thanks =) Works great! -- View this message in context: http://www.nabble.com/Disable-ajaxbutton-until-process-is-done-tp15976490p15993390.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe,

Improvements to Wicketstuff Suckerfish Dropdowns

2008-03-11 Thread JulianS
I have checked in the following minor improvements: - Changed references to Link to AbstractLink to make the implementation more general - Added a down or right arrow icon if there are children - Upgraded to Wicket 1.3.1 See https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wic

Re: Dynamic Forms

2008-03-11 Thread Gerolf Seitz
see Button#setDefaultFormProcessing(boolean), which skips the form processing. Gerolf On Tue, Mar 11, 2008 at 10:09 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote: > I found this: > http://cwiki.apache.org/WICKET/forms-with-dynamic-elements.html > > Problem with it, for me, is that it fails to menti

RE: Dynamic Forms

2008-03-11 Thread Dan Kaplan
I found this: http://cwiki.apache.org/WICKET/forms-with-dynamic-elements.html Problem with it, for me, is that it fails to mention adding new fields via javascript. As long as I add text fields in the same pattern as the list would add it, will it accept the input? I'm concerned that the add but

Re: Double submit problem

2008-03-11 Thread hillj2
This was pretty much the original solution I linked. The problem comes when you don't call setResponsePage() and go right back to the page (e.g. if some custom form validation fails). It can no longer be submitted, because the boolean is stuck in a true state. -- View this message in context:

Re: Double submit problem

2008-03-11 Thread hillj2
In my original message, I said I wanted to avoid a javascript solution. It doesn't lend itself to reuability, e.g. if I have multiple submit buttons or specialized submit buttons. A more cumbersome solution, in my opinion. rmattler wrote: > > You could do it with javascript. Disable the butt

Dynamic Forms

2008-03-11 Thread Dan Kaplan
I have a form with a text field on it. Somewhere on the form there is also a + symbol. When you click on it, a new text field appears. I know that this has been asked a bunch of times, but I can only find emails where people say, "This has been asked a bunch of times" when I search the mailing l

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Gerolf Seitz
instead of referencing the id 'create' hardcoded, rather use getMarkupId(). Gerolf On Tue, Mar 11, 2008 at 9:11 PM, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Thanks! I got it to work now. Is it really a good idé to access html like > this in javacode? > > @Override >

Re: link onClick add panel

2008-03-11 Thread taygolf
Thought I would post back my solution to this problem in case anyone else needed to do this one day. I found that I could use the wicket call urlFor to solve my problem. So I can get the url for the page I want to link to in javascript and then simply pass that url to the javascript and set it i

Re: Explanation of Wicket session management

2008-03-11 Thread Johan Compagner
Yes that is true, Session is lazy created in Session.get() so only after the first time that is called Session.exists() works. I guess Session.exists() doesnt really make much sense On Tue, Mar 11, 2008 at 8:29 PM, Rajiv Jivan <[EMAIL PROTECTED]> wrote: > I have updated the code based on Johan's

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Mathias P.W Nilsson
Thanks! I got it to work now. Is it really a good idé to access html like this in javacode? @Override protected IAjaxCallDecorator getAjaxCallDecorator() { return new IAjaxCallDecorator()

Re: wicket-datetime

2008-03-11 Thread Nino Saturnino Martinez Vazquez Wael
There was sometrouble with safari 2, but wicket got patched and that fixed it. Alex Jacoby wrote: Side note: the demo doesn't seem to be working in Safari (3.0.4). Clicking the calendar icon doesn't do anything. I don't see any JS errors in the console. Anyone else seen this? Alex On Mar

Re: Lazy load exception wicket and hibernate

2008-03-11 Thread James Carman
Show us some code, please. How are you setting things up? On 3/11/08, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Not exactly sure what you mean here since this is my first time trying wicket > and hibernate, spring. > > I have spring annoted daos that I use myDao().getList(); returns a

Re: Lazy load exception wicket and hibernate

2008-03-11 Thread Mathias P.W Nilsson
Not exactly sure what you mean here since this is my first time trying wicket and hibernate, spring. I have spring annoted daos that I use ex. myDao().getList(); returns a list that has lazy object references. When I try to evoke a method on the lazy object I get the exception. I have solved i ri

Re: Explanation of Wicket session management

2008-03-11 Thread Rajiv Jivan
I have updated the code based on Johan's suggestion. Still no luck. public Session newSession(Request request, Response response) { .. Session session = new Session(request); return session; } public RequestCycle newRequestCycle(Request request, Response response) { return new WebR

Re: Is there an ajax WizardButton to use in a wizard inside a ModalWindow?

2008-03-11 Thread AshleyAbraham
AshleyAbraham wrote: > > Hi everyone, > I am using a Wizard inside a ModalWindow and I am trying to close the > ModalWindow when the CancelButton or FinishButton is clicked. When one of > those button's are clicked nothing happens, and I've found out that I need > to use either AjaxButton

Re: wicket-datetime

2008-03-11 Thread Eelco Hillenius
On Tue, Mar 11, 2008 at 9:58 AM, Hoover, William <[EMAIL PROTECTED]> wrote: > It looks like the datetime component has major issues of its own that make it > virtually unusable (https://issues.apache.org/jira/browse/WICKET-1412). We've been using this component for quite a while (eating our own d

Re: Prevent Ajax from expiring

2008-03-11 Thread Igor Vaynberg
On Tue, Mar 11, 2008 at 11:49 AM, Cristi Manole <[EMAIL PROTECTED]> wrote: > it expired way earlier than that.. .that's why i figured it was something > inside wicket... > > any ideas? not without a reproduceable usecase -igor > > Cristi > > On Tue, Mar 11, 2008 at 8:39 PM, Igor Vaynberg <[E

Re: Prevent Ajax from expiring

2008-03-11 Thread Cristi Manole
it expired way earlier than that.. .that's why i figured it was something inside wicket... any ideas? Cristi On Tue, Mar 11, 2008 at 8:39 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > session time out is controlled in web.xml > > -igor > > > On Tue, Mar 11, 2008 at 11:21 AM, Cristi Manole <[EM

Re: Prevent Ajax from expiring

2008-03-11 Thread Igor Vaynberg
session time out is controlled in web.xml -igor On Tue, Mar 11, 2008 at 11:21 AM, Cristi Manole <[EMAIL PROTECTED]> wrote: > Hello, > > I'm experiencing a strange behavior from regular ajax components (those > included in wicket like, for example, the tree component) : on a page > containing

Prevent Ajax from expiring

2008-03-11 Thread Cristi Manole
Hello, I'm experiencing a strange behavior from regular ajax components (those included in wicket like, for example, the tree component) : on a page containing one (or more) such components and using it, after some time it will stop working, meaning it will not do anything (for example clicking on

Re: Palette labels

2008-03-11 Thread Juliano Gaio
Thank you Igor. - Original Message - From: "Igor Vaynberg" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 11, 2008 3:05 PM Subject: Re: Palette labels subclass it and provide a .properties file for the subclass -igor On Tue, Mar 11, 2008 at 10:59 AM, Juliano Gaio <[EMAIL PROTECTED]

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Mathias P.W Nilsson
OK! I'm a newbie so could please enhance this a little? -- View this message in context: http://www.nabble.com/Disable-ajaxbutton-until-process-is-done-tp15976490p15982628.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: Palette labels

2008-03-11 Thread Igor Vaynberg
subclass it and provide a .properties file for the subclass -igor On Tue, Mar 11, 2008 at 10:59 AM, Juliano Gaio <[EMAIL PROTECTED]> wrote: > Hi All, > > I would like to internationalize these palette labels ("Available" and > "Selected"), How can I do that? > > I'm using wicket version 1.2.

Re: Get libs without installing Maven?

2008-03-11 Thread Igor Vaynberg
indeed. and latest versions of maven have quiet a nice new toy C:\dev\src\wicket>mvn dependency:tree [INFO] [INFO] Building Wicket [INFO]task-segment: [dependency:tree] [INFO] -

Palette labels

2008-03-11 Thread Juliano Gaio
Hi All, I would like to internationalize these palette labels ("Available" and "Selected"), How can I do that? I'm using wicket version 1.2. Thank you. Juliano.

Re: Global Exception Handling...

2008-03-11 Thread James Carman
On 3/11/08, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > On Tue, Mar 11, 2008 at 3:51 AM, James Carman > <[EMAIL PROTECTED]> wrote: > > By the way, I can create a patch for this stuff if you like. I guess > > the decision needs to be made about where the "registry" > > (Map > IRequestCycleS

Re: Global Exception Handling...

2008-03-11 Thread Igor Vaynberg
On Tue, Mar 11, 2008 at 3:51 AM, James Carman <[EMAIL PROTECTED]> wrote: > By the way, I can create a patch for this stuff if you like. I guess > the decision needs to be made about where the "registry" > (Map IRequestCycleSettings or IExceptionSettings? i think you should hold off on the pat

Re: Global Exception Handling...

2008-03-11 Thread Igor Vaynberg
On Tue, Mar 11, 2008 at 3:30 AM, James Carman <[EMAIL PROTECTED]> wrote: > Okay, so it's common to do your own request cycle implementation. I > didn't realize that. In Tapestry, RequestCycle wasn't something you > monkeyed around with much. yep, its pretty common. > So, you're saying that

RE: wicket-datetime

2008-03-11 Thread Hoover, William
It looks like the datetime component has major issues of its own that make it virtually unusable (https://issues.apache.org/jira/browse/WICKET-1412). -Original Message- From: Eelco Hillenius [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 12:13 PM To: users@wicket.apache.org Subj

Is there an ajax WizardButton to use in a wizard inside a ModalWindow?

2008-03-11 Thread AshleyAbraham
Hi everyone, I am using a Wizard inside a ModalWindow and I am trying to close the ModalWindow when the CancelButton or FinishButton is clicked. When one of those button's are clicked nothing happens, and I've found out that I need to use either AjaxButton or AjaxLink to make it work. Is ther

Fallback support for ModalWindow

2008-03-11 Thread Kaspar Fischer
I am using http://www.wicket-library.com/wicket-examples/ajax/modal-window to show a modal dialog holding a component. -- First of all, thanks to the author of this extension! It's great, took me only 2 minutes to set it up! One question I have is whether it is possible to make ModalWindow fa

Re: Get libs without installing Maven?

2008-03-11 Thread Eelco Hillenius
> I am still curious though why required dependencies aren't included as part > of the project. See the 100,000 other threads about this question :-) Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: wicket-datetime

2008-03-11 Thread Eelco Hillenius
> I'd potentially like to use this component, but its putting a ridiculous > amount of markup into the script section in the head. Including a copy of > the license... Licenses are only included/ not filtered out when Wicket runs in development mode. > Also, if I add 2 date pickers it puts a

Re: Get libs without installing Maven?

2008-03-11 Thread bob2
I am now aware that I did make a mistake and that most of those jars were only required because I included all of the wicket--1.3.1.jar's in the lib folder. Removing all the ones that I was not using only required me to keep the slf4j jars and a log4j jar. I am still curious though why requi

Re: Explanation of Wicket session management

2008-03-11 Thread Johan Compagner
RequestCycle is first made and the the Session is being resolved. Because the session creation code needs the request cycle first. So thats why your code doesn't work that test that you want should be done in Requestcycle.onBeginRequest On Tue, Mar 11, 2008 at 4:47 PM, Rajiv Jivan <[EMAIL PROTECT

Re: Explanation of Wicket session management

2008-03-11 Thread Rajiv Jivan
Yes I did. I was assuming that once newSession is called, on subsequent calls, the session will be set on a thread local variable. If that is not the case, what would be the right way to check if a session has been created. On Tue, Mar 11, 2008 at 10:32 AM, Martijn Dashorst <[EMAIL PROTECTED]> wro

Re: Get libs without installing Maven?

2008-03-11 Thread Eelco Hillenius
On Tue, Mar 11, 2008 at 7:45 AM, bob2 <[EMAIL PROTECTED]> wrote: > > Another note: > > If I did what some posters suggested, such as remove > wicket-velocity-1.3.1.jar, I'd get errors on startup stating failure to > initialize velocity. How can you get velocity errors if you're not using veloc

Re: Get libs without installing Maven?

2008-03-11 Thread Eelco Hillenius
On Tue, Mar 11, 2008 at 7:41 AM, bob2 <[EMAIL PROTECTED]> wrote: > > After reading this and other similar posts I'm still confused about how to > determine what exactly I need. I am a new user and do not easily have > access to the internet. I do not have/use Maven. The jars listed below > c

Re: Double submit problem

2008-03-11 Thread rmattler
You could do it with javascript. Disable the button and change the button label. function saveForm(btn) { eForm = document.forms[0]; btn.disabled=true; btn.value='Please wait...'; eForm.submit(); return; } -- View this message i

Re: Lazy load exception wicket and hibernate

2008-03-11 Thread James Carman
On 3/11/08, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Hi! > > I'm using wicket with hibernate and spring. In my web.xml I have > OpenEntityManagerInViewFilter. But when trying to add a dataview to my > wicket page I get the org.hibernate.LazyInitializationException: could not > initia

Lazy load exception wicket and hibernate

2008-03-11 Thread Mathias P.W Nilsson
Hi! I'm using wicket with hibernate and spring. In my web.xml I have OpenEntityManagerInViewFilter. But when trying to add a dataview to my wicket page I get the org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed. Anyone? -- View this message in

Re: Default Focus Behavior?

2008-03-11 Thread Sebastiaan van Erk
Gerolf Seitz wrote: how about boolean WebPage#isAutoFocusEnabled and the possibility to provide several IFocusStrategy instances with different priority? this would allow to eg only set the focus on the first formcomponent of the first form if no other formcomponent has an error... I like somet

Re: DropDownChoice getting value into the model

2008-03-11 Thread rmattler
I don't have time to work on this right now, have real work to do. But I now believe I understand my problem. The Vendor bean needs to have the field 'state' be the class of State not String. Now I just need to figure out how to do that with Hibernate. I did buy your book. It is excellent eve

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > hmm the request cycle would be quite awful its not really there for that > kind of state > The problem is that the AjaxRequestTarget is in normal rendering something > like PageRequestTarget. > > The problem is you cant really through it

Re: Get libs without installing Maven?

2008-03-11 Thread bob2
Another note: If I did what some posters suggested, such as remove wicket-velocity-1.3.1.jar, I'd get errors on startup stating failure to initialize velocity. bob2 wrote: > > After reading this and other similar posts I'm still confused about how to > determine what exactly I need. I am a ne

Re: Default Focus Behavior?

2008-03-11 Thread Johan Compagner
hmm the request cycle would be quite awful its not really there for that kind of state The problem is that the AjaxRequestTarget is in normal rendering something like PageRequestTarget. The problem is you cant really through it on a Page because the page can maybe not be accessed (if you have a pa

Re: Default Focus Behavior?

2008-03-11 Thread Gerolf Seitz
how about boolean WebPage#isAutoFocusEnabled and the possibility to provide several IFocusStrategy instances with different priority? this would allow to eg only set the focus on the first formcomponent of the first form if no other formcomponent has an error... On Tue, Mar 11, 2008 at 3:36 PM, Ja

Re: Get libs without installing Maven?

2008-03-11 Thread bob2
After reading this and other similar posts I'm still confused about how to determine what exactly I need. I am a new user and do not easily have access to the internet. I do not have/use Maven. The jars listed below came with the wicket 1.3.1 download in the lib dir. I thought I'd be set from

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > yes so it is not the last one you ask to have focus on > Very confusing for an average user > > thats why there should be a single point just like > AjaxRequestTarget.focusComponent() works. Ok, you've sold me. So, is this something that

Re: Explanation of Wicket session management

2008-03-11 Thread Martijn Dashorst
Did you read the javadoc for Session#exists() ? http://wicket.sourceforge.net/apidocs/wicket/Session.html#exists() "Checks if the Session threadlocal is set in this thread" So not if the session was created or not. Martijn On 3/11/08, Rajiv Jivan <[EMAIL PROTECTED]> wrote: > I am having a tou

Re: Default Focus Behavior?

2008-03-11 Thread Johan Compagner
yes so it is not the last one you ask to have focus on Very confusing for an average user thats why there should be a single point just like AjaxRequestTarget.focusComponent() works. johan On Tue, Mar 11, 2008 at 3:24 PM, James Carman <[EMAIL PROTECTED]> wrote: > On 3/11/08, Johan Compagner <

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > that still wouldn't help adding 3 of them at once > Well, adding three of them like this would just be stupid. :) It wouldn't really break anything. The last one that gets rendered would probably get the focus, since it would be the last o

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > the behavior would have to be temporary. Yes, the behaviors stay with the component. I guess that would screw this up! :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: Default Focus Behavior?

2008-03-11 Thread Johan Compagner
that still wouldn't help adding 3 of them at once On Tue, Mar 11, 2008 at 3:17 PM, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > the behavior would have to be temporary. > > On Tue, Mar 11, 2008 at 3:14 PM, Johan Compagner <[EMAIL PROTECTED]> > wrote: > > > and a behavior is really the wrong thing

Re: Default Focus Behavior?

2008-03-11 Thread Gerolf Seitz
the behavior would have to be temporary. On Tue, Mar 11, 2008 at 3:14 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > and a behavior is really the wrong thing > Because who says if you render the page again that it has to again set the > focus on that one? > > MyPage() > { > textField1.add(new

Re: Default Focus Behavior?

2008-03-11 Thread Johan Compagner
and a behavior is really the wrong thing Because who says if you render the page again that it has to again set the focus on that one? MyPage() { textField1.add(new FocuOnLoadBehavior()); textField2.add(new FocuOnLoadBehavior()); textField3.add(new FocuOnLoadBehavior()); Form form = new Form(

Re: Default Focus Behavior?

2008-03-11 Thread Johan Compagner
MyPage() { textField1.add(new FocuOnLoadBehavior()); textField2.add(new FocuOnLoadBehavior()); textField3.add(new FocuOnLoadBehavior()); } which fields gets the focus? On Tue, Mar 11, 2008 at 2:49 PM, James Carman <[EMAIL PROTECTED]> wrote: > On 3/11/08, Johan Compagner <[EMAIL PROTECTED]> wro

Re: RequestUtils.toAbsolutePath() bug ?

2008-03-11 Thread smallufo
Thank you. I've create an issue WICKET-1413 https://issues.apache.org/jira/browse/WICKET-1413 在 2008/3/11,Martijn Dashorst <[EMAIL PROTECTED]> 撰寫: > > Add a jira issue please. > > Martijn > > > On 3/11/08, smallufo <[EMAIL PROTECTED]> wrote: > > It seems RequestUtils.toAbsolutePath() has a bug re

Explanation of Wicket session management

2008-03-11 Thread Rajiv Jivan
I am having a tough time understanding how sessions are created/managed specifically related to the calls public RequestCycle newRequestCycle(Request request, Response response) and public Session newSession(Request request, Response response) I am creating a new session by overriding the metho

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > you do > > WebPage.focusComponent(textField) I mean, in what class? Your page class? In a component class? I'm just trying to understand what the difference is between doing WebPage.focusComponent(textField) or textField.add(new FocuOnLo

Re: SSL

2008-03-11 Thread Johan Compagner
wicket doesn't redirect to a full url wicket only uses relative onces so if you type https://server/ then that first part https://server will not be changed by wicket On Tue, Mar 11, 2008 at 10:15 AM, Tormod Øverlier <[EMAIL PROTECTED]> wrote: > > I'm trying to use SSL on certain pages in

Re: Default Focus Behavior?

2008-03-11 Thread Johan Compagner
you do WebPage.focusComponent(textField) johan On Tue, Mar 11, 2008 at 2:30 PM, James Carman <[EMAIL PROTECTED]> wrote: > On 3/11/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > > i still think that behaviors to control focus is a bit wrong > > focus should have 1 entry point > > and i guess

Re: Double submit problem

2008-03-11 Thread richardwilko
Inside your onSubmit method do this if(!submitted) { //normal submit code submitted = true; } and have boolean submitted = false; in your class that way no matter how many times someone clicks submit the submit code should only run once Thats one way anyway hillj2 wrote: > > That would r

RE: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Alonso Sanchez, Daniel
Sorry again... just only one thing more (I promise this is the last). Taking your advice as starting point... is there any way to add the feedback message produced by the error to the image "alt" attribute? Thanks again for all your help. -Mensaje original- De: Alonso Sanchez, Daniel [mai

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > i still think that behaviors to control focus is a bit wrong > focus should have 1 entry point > and i guess that is WebPage.focusComponent() > or maybe Form (but you could have 2) > By the way we have focus support in ajax mode... see Aj

Re: IntelliJ WicketForge issue: NPE when trying to use "New Wicket Page" to create both Java and markup

2008-03-11 Thread Nick Heudecker
I'll dig into it today. Thanks for the report. On Tue, Mar 11, 2008 at 6:40 AM, Kevin Murphy <[EMAIL PROTECTED]> wrote: > This is not a high-priority issue, but it seems that it should be pretty > trivial for the maintainer to fix. > > What steps will reproduce the problem? > > 1. Add "New Wicke

Re: Double submit problem

2008-03-11 Thread hillj2
That would require me to either implement markup inheritance or to place the hidden field in the markup of all my extended forms, wouldn't it? I was hoping to make all my form instances as ignorant of the base class as possible, but I guess if I have to implement one of these solutions, it's bett

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Gerolf Seitz
override getAjaxCallDecorator (or something like this) and return a new IAjaxCallDecorator which appends javascript like "this.disabled=true" in decorateScript() and maybe activates the button with js returned in decorateSuccessScript() and/or decorateFailureScript. Gerolf On Tue, Mar 11, 2008

Re: AjaxFallbackDefaultDataTable and DropDownChoice

2008-03-11 Thread jnorris
Thanks Martijn! Adding the ddc to a panel worked. Jim Martijn Dashorst wrote: > > Instead of directly adding the DDC to the column, add a panel or > fragment containing the DDC. > > Martijn > > On 3/10/08, jnorris <[EMAIL PROTECTED]> wrote: >> >> Hi All, >> >> I have implemented an AjaxF

Disable ajaxbutton until process is done

2008-03-11 Thread Mathias P.W Nilsson
Hi! I have IndicatingAjaxButton that overloads the onSubmit. When user clicks everything works great but I need to disable the button immediately after the user has click the button so that it can't happen twice. I've tried with this.setEnabled(false); target.addComponent(this); in the onSubmit b

Re: RequestUtils.toAbsolutePath() bug ?

2008-03-11 Thread Martijn Dashorst
Add a jira issue please. Martijn On 3/11/08, smallufo <[EMAIL PROTECTED]> wrote: > It seems RequestUtils.toAbsolutePath() has a bug regarding to UTF-8 encoded > page parameter : > > I have a bookmarkable page , which takes a UTF-8 encoded parameter "place" > : > > private PageParameters pps;

Re: Default Focus Behavior?

2008-03-11 Thread Sebastiaan van Erk
Sebastiaan van Erk wrote: Johan Compagner wrote: i still think that behaviors to control focus is a bit wrong focus should have 1 entry point I agree. and i guess that is WebPage.focusComponent() I agree on that one too. or maybe Form (but you could have 2) Exactly, so not a good idea.

Re: Default Focus Behavior?

2008-03-11 Thread Sebastiaan van Erk
Johan Compagner wrote: i still think that behaviors to control focus is a bit wrong focus should have 1 entry point I agree. and i guess that is WebPage.focusComponent() I agree on that one too. or maybe Form (but you could have 2) Exactly, so not a good idea. The page should determine

Re: Default Focus Behavior?

2008-03-11 Thread Johan Compagner
i still think that behaviors to control focus is a bit wrong focus should have 1 entry point and i guess that is WebPage.focusComponent() or maybe Form (but you could have 2) By the way we have focus support in ajax mode... see AjaxRequestTarget johan On Tue, Mar 11, 2008 at 12:41 PM, James Car

Re: Strange thing in Application constructor

2008-03-11 Thread Johan Compagner
because maurice has a patch! On Tue, Mar 11, 2008 at 11:02 AM, Maurice Marrink <[EMAIL PROTECTED]> wrote: > > I've tried setting statelessHint to true in my login page's constructor > (and > > in the same constructor printing out the result of isStateless(), > seeing > > that it returns true),

Re: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Gerolf Seitz
you're welcome. Gerolf On Tue, Mar 11, 2008 at 12:44 PM, Alonso Sanchez, Daniel < [EMAIL PROTECTED]> wrote: > Fantastic! Sorry for disturbing :P Thanks again > > -Mensaje original- > De: Gerolf Seitz [mailto:[EMAIL PROTECTED] > Enviado el: martes, 11 de marzo de 2008 12:39 > Para: user

RE: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Alonso Sanchez, Daniel
Fantastic! Sorry for disturbing :P Thanks again -Mensaje original- De: Gerolf Seitz [mailto:[EMAIL PROTECTED] Enviado el: martes, 11 de marzo de 2008 12:39 Para: users@wicket.apache.org Asunto: Re: How can i Customize the style of Feedback Messages ? > The things is that if there is an

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Another option would be (if there is enough interest) to add it to > wicketstuff minis. > Yeah, I thought about that. And, I may try to put that in there. Perhaps there could be a few focus behaviors in there? Perhaps even a FocusBehavio

IntelliJ WicketForge issue: NPE when trying to use "New Wicket Page" to create both Java and markup

2008-03-11 Thread Kevin Murphy
This is not a high-priority issue, but it seems that it should be pretty trivial for the maintainer to fix. What steps will reproduce the problem? 1. Add "New Wicket Page" to Project View Popup Menu via Customizations 2. Right-click on a folder containing Wicket source files, and choose New/New

Re: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Gerolf Seitz
> The things is that if there is an error, a red "*" is showed, not the > image file I want... what things am I doing wrong? > subclass FormComponentFeedbackIndicator and provide your own markup: MyFCFI.java: class MyFCFI extends FormComponentFeedbackIndicator { ... } MyFcFI.html: Gerolf

RE: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Alonso Sanchez, Daniel
Thanks a lot Gerolf. Great suggestions. I have been looking some docs, and nabble forum... but (again) I've got a problem. Finally my webpage class looks like this (just the important part :D ): TextField sfid = new TextField("sfid"); sfid.setRequired(true);

Re: Default Focus Behavior?

2008-03-11 Thread Martijn Dashorst
Another option would be (if there is enough interest) to add it to wicketstuff minis. Martijn -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.1 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1 --

Re: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Gerolf Seitz
> > My goal is to show an image icon next to each erroneous input field :D > see FormComponentFeedbackBorder or FormComponentFeedbackIndicator Gerolf

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > I suggest wiki. > Done: http://cwiki.apache.org/confluence/display/WICKET/Request+Focus+on+a+Specific+Form+Component I'm happy now. My work (no matter how trivial) may help someone someday! :) I don't have time to do so now, but I might

RE: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Alonso Sanchez, Daniel
Hi again! Firstly, thanks a lot Vitek for your help. I have been testing a couple of things related with your response, and only the setEscapeModelStrings has solve a part of the solution. Through Google I have seen a solution for extend ComponentFeedbackPanel and write my own html code, but it d

Addin javascript directly inside the body tag

2008-03-11 Thread Filip Pas
Hi, I'm faced with the following problem. I have an base page in which I use to set the domain and to set the title information. I also use the modal window to display the pages in. Now the problem is that the title of the modalwindow doesn't correspond to the title of the page. In the modalwindow

Re: Global Exception Handling...

2008-03-11 Thread James Carman
On 3/11/08, James Carman <[EMAIL PROTECTED]> wrote: > The change I was suggesting wouldn't break any existing code (unless > someone implemented IRequestCycleSettings). The signature of > RequestCycle.onRuntimeException() wouldn't change: > > > public Page onRuntimeException( Page page, Runtime

  1   2   >