Create permanent sessions (or the like)

2008-09-23 Thread Edgar Merino
Hello, I've got a Panel that contains some AjaxLinks, when clicked they should refresh the data in a DataView, but if the Session expires, I get a PageExpired exception, is there any way to avoid this without adding a TimerBehavior to poll the server every N minutes? (an example of this can

Re: Create permanent sessions (or the like)

2008-09-23 Thread Piller Sébastien
How about increasing the session's timeout? Set it to 10 hours, then nobody will get a PageExpired in a normal use Edgar Merino a écrit : Hello, I've got a Panel that contains some AjaxLinks, when clicked they should refresh the data in a DataView, but if the Session expires, I get a

Re: Create permanent sessions (or the like)

2008-09-23 Thread Edgar Merino
Would do, I think there are not many security implications in doing this, am I correct? Thank you, Edgar Merino Piller Sébastien escribió: How about increasing the session's timeout? Set it to 10 hours, then nobody will get a PageExpired in a normal use Edgar Merino a écrit : Hello, I've

Re: Create permanent sessions (or the like)

2008-09-23 Thread Piller Sébastien
afaik, there isn't much... if your manage normal data, no problem. But with financial, banking, etc. when you have to manage cash, or sensible data, I'd discourage you to do so... if a user forget to logout or to close his browser and go out, then anybody can continue his session. There is

Re: Create permanent sessions (or the like)

2008-09-23 Thread Edgar Merino
Thank you again, no sensitive information is to be used. Edgar Merino Piller Sébastien escribió: afaik, there isn't much... if your manage normal data, no problem. But with financial, banking, etc. when you have to manage cash, or sensible data, I'd discourage you to do so... if a user

Re: Forwarding to a servlet

2008-09-23 Thread Nino Saturnino Martinez Vazquez Wael
No problem.. Happy to help. David Leangen wrote: Hi David Hi Nino! [Oops. Didn't see your message until now...] I think you could just use response.sendRedirect() and request.forward() , rest of the code should still be processed. Ok, good to know. But are you

Re: Dynamic PageExpiredPage

2008-09-23 Thread Markus Haspl
On Mon, Sep 22, 2008 at 6:04 PM, Justin Morgan - Logic Sector [EMAIL PROTECTED] wrote: Create a custom Wicket session subclass that holds your portal: public class MySession extends WebSession { private Portal _portal; public MySession(Request request) { super(request);

Re: Dynamic PageExpiredPage

2008-09-23 Thread Nino Saturnino Martinez Vazquez Wael
That should work very well, as you can pass all sort of data into the constructor.. This is also the aproach i've used if we should to a little more than display a static error page. Michael Sparer wrote: we handle it like that: [in your application-class] @Override protected

Re: Dynamic PageExpiredPage

2008-09-23 Thread Martijn Dashorst
In your case I would set a client side cookie that stores the portal id. This way you can identify which portal the user was visiting and make your PageExpiredPage customized. Martijn On Tue, Sep 23, 2008 at 10:00 AM, Markus Haspl [EMAIL PROTECTED] wrote: On Mon, Sep 22, 2008 at 6:04 PM, Justin

Wicket critique

2008-09-23 Thread Yiannis Mavroukakis
http://stackoverflow.com/questions/116978/can-anyone-recommend-a-simple-java-web-app-framework Anyone interested in replying to this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Wicket critique

2008-09-23 Thread Matej Knopp
I don't think it really is Wicket critique. It's more critique of Maven. -Matej On Tue, Sep 23, 2008 at 10:44 AM, Yiannis Mavroukakis [EMAIL PROTECTED] wrote: http://stackoverflow.com/questions/116978/can-anyone-recommend-a-simple-java-web-app-framework Anyone interested in replying to this?

Re: MultiFileUploadField on a ModalWindow close issue

2008-09-23 Thread Matej Knopp
Hi, perhaps the easiest way to accomplish would be to add AjaxTimerBehavior to page in modal window on submit. The bavior could have time set for 1 second and close the modal window from within the ajax request it invokes. -Matej On Tue, Sep 23, 2008 at 7:06 AM, Flavius [EMAIL PROTECTED] wrote:

Re: Wicket critique

2008-09-23 Thread Uwe Schäfer
Yiannis Mavroukakis schrieb: http://stackoverflow.com/questions/116978/can-anyone-recommend-a-simple-java-web-app-framework complicated dir structure? countless xml files? come on... - To unsubscribe, e-mail: [EMAIL

Re: Wicket Markup parse doesn't handle Conditional Comments

2008-09-23 Thread Wayne Pope
Its definitely not working for me. I've used a header contributor for know, but its not ideal. Should I report this as a bug? On Mon, Sep 22, 2008 at 6:57 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote: We are using conditional comments in our base page without any issues. Dunno if that page

Re: AjaxRequestTarget is null in Internet Explorer 6

2008-09-23 Thread mahone9
Oh my goodness, I missed to add the instantiation of the AjaxFallbackLink to my example. The error still exists. I post you the right code-snipet. Sorry for the inconvience ... public class MenuePanel extends Panel { private ListView menueListView = null; public

Re: Wicket critique

2008-09-23 Thread Yiannis Mavroukakis
I disagree but even if that where the case, it's still comes across as a minus on the framework.. Matej Knopp wrote: I don't think it really is Wicket critique. It's more critique of Maven. -Matej On Tue, Sep 23, 2008 at 10:44 AM, Yiannis Mavroukakis [EMAIL PROTECTED] wrote:

Re: Wicket Markup parse doesn't handle Conditional Comments

2008-09-23 Thread Matej Knopp
Sure. Please do. But if possible attach a simple quick start project so that we can reproduce the problem. -Matej On Tue, Sep 23, 2008 at 11:09 AM, Wayne Pope [EMAIL PROTECTED] wrote: Its definitely not working for me. I've used a header contributor for know, but its not ideal. Should I

Re: AjaxRequestTarget is null in Internet Explorer 6

2008-09-23 Thread Matej Knopp
What happens if you change AjaxFallbackLink to simple AjaxLink? That would mean problems with xmlhttprequest in IE6. There are some users complaining with cetain IE6 revisions, but so far I have been unable to reproduce this problem. And unless I reproduce it there really is no way for me to fix

Re: Wicket critique

2008-09-23 Thread Eelco Hillenius
The author of the question actually did a project in Wicket (thoof), so he must be for even more improvements :-) Eelco On Tue, Sep 23, 2008 at 1:44 AM, Yiannis Mavroukakis [EMAIL PROTECTED] wrote: http://stackoverflow.com/questions/116978/can-anyone-recommend-a-simple-java-web-app-framework

How to customize error message in SignInPanel

2008-09-23 Thread wiki
Does any one knows how to customize error message login failed to our own message using SignInPanel. In my project I am using acegi so I want two different messages 1 for user whose account is locked 2 for user whose account is active but password or email entered wrong Thanks -- View this

Re: Wicket critique

2008-09-23 Thread Chris Stein
I tried many different frameworks in the past and Wicket was probably one of the easiest to set up and integrate into Eclipse. I have to admit that the learning curve is quite steep here. It helped me being familiar with Eclipse and the Tomcat integration to get things going quickly. Besides: I

Re: Wicket critique

2008-09-23 Thread Yiannis Mavroukakis
Likewise, I think that secretly I'm a bit of a Maven refusenik :-P Chris Stein wrote: I tried many different frameworks in the past and Wicket was probably one of the easiest to set up and integrate into Eclipse. I have to admit that the learning curve is quite steep here. It helped me being

Re: Wicket critique

2008-09-23 Thread Martijn Dashorst
http://herebebeasties.com/static/Wicket-QuickStart.avi shows that setting up maven, wicket and eclipse is really easy (provided you are not limited by a proxy) Martijn On Tue, Sep 23, 2008 at 11:41 AM, Chris Stein [EMAIL PROTECTED] wrote: I tried many different frameworks in the past and

Adding HTML class=invalid after validating with IndicatingAjaxButton

2008-09-23 Thread cstein1206
I basically want to achieve this: http://www.jroller.com/karthikg/entry/wicket_and_ajax but handle the validation only after the form has been submitted with an AjaxIndicatingButton instead of with the onblur as in the example. I think I tried too many things over the last couple of days and got

Best to strategy to have a Wicket page returns a binary content by default

2008-09-23 Thread Paolo Di Tommaso
Guys, I'm using Wicket to create pdf content using Apache FOP. The idea is to have a FopPage that extends the root wicket Page component and declares fo as marketType. The FopPage parses FOP markup instead HTML markup. I'm able to manage the fop to pdf binary conversion using a custom

Re: refresh page with detachable model - not working

2008-09-23 Thread lienok
Well, I found my problem. of course the model was changed but it did not have a chance to show, because I didn't call the method setVisibility() where changes are visible. so I add to every click . lnkSendToAuth = new Link(sendToAuth) { public void onClick() { /**

Re: AjaxRequestTarget is null in Internet Explorer 6

2008-09-23 Thread mahone9
Hello Matej I´m using wicket version 1.3.4. Internet Explorer: Version: 6.0.2900.2180.xpsp_sp2_rtm.040803-2158 My AjaxRequestTarget is still null even if I use AjaxLink instead of AjaxFallbackLink. Matej Knopp-2 wrote: What happens if you change AjaxFallbackLink to simple AjaxLink?

Re: WicketRuntimeException when using wicket-auth-roles in a frameset

2008-09-23 Thread shetc
Ok, some I'm a JIRA newbie, what can I say :blush: Please see https://issues.apache.org/jira/browse/WICKET-1845 WICKET-1845 . -- View this message in context: http://www.nabble.com/WicketRuntimeException-when-using-wicket-auth-roles-in-a-frameset-tp19613863p19626703.html Sent from the Wicket

Re: AjaxRequestTarget is null in Internet Explorer 6

2008-09-23 Thread Matej Knopp
That is really weird, because with ajaxlink the onclick handler shouldn't have been invoked at all. -Matej Sent from my iPhone On Sep 23, 2008, at 14:23, mahone9 [EMAIL PROTECTED] wrote: Hello Matej I´m using wicket version 1.3.4. Internet Explorer: Version:

Re: Best to strategy to have a Wicket page returns a binary content by default

2008-09-23 Thread Matej Knopp
You don't have to do this from the pages. You can create your own simple IRequestTargetUrlCodingStrategy that resolves to your request target and mount the strategy. -Matej On Tue, Sep 23, 2008 at 12:45 PM, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Guys, I'm using Wicket to create pdf content

Updating model for DropDownChoice

2008-09-23 Thread nanotech
Hi, I have a search form which contains multiple search fields(as TextFields) and also there is dropdown from which user can select the search criteria. The search results are displayed in the same page at bottom. I want to clear the search Form with help of Reset button in the form. Question :

Re: Wicket critique

2008-09-23 Thread superoverdrive
The only thing that is missing in this video is a hibernate integration...to read/save data to a database. Original-Nachricht Datum: Tue, 23 Sep 2008 11:50:20 +0200 Von: Martijn Dashorst [EMAIL PROTECTED] An: users@wicket.apache.org Betreff: Re: Wicket critique

Re: Wicket critique

2008-09-23 Thread James Carman
Not everyone uses hibernate. On Tue, Sep 23, 2008 at 10:14 AM, [EMAIL PROTECTED] wrote: The only thing that is missing in this video is a hibernate integration...to read/save data to a database. Original-Nachricht Datum: Tue, 23 Sep 2008 11:50:20 +0200 Von: Martijn

Re: Dynamic PageExpiredPage

2008-09-23 Thread Markus Haspl
hi martijn, your tipp with the cookie works! thank you! markus On Tue, Sep 23, 2008 at 10:19 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: In your case I would set a client side cookie that stores the portal id. This way you can identify which portal the user was visiting and make your

Re: Wicket critique

2008-09-23 Thread Yiannis Mavroukakis
Iolite is your friend :-) [EMAIL PROTECTED] wrote: The only thing that is missing in this video is a hibernate integration...to read/save data to a database. Original-Nachricht Datum: Tue, 23 Sep 2008 11:50:20 +0200 Von: Martijn Dashorst [EMAIL PROTECTED] An:

Re: Wicket critique

2008-09-23 Thread James Carman
And, hopefully wicketopia in the near future. It's still under development (by both me and Nino) On Tue, Sep 23, 2008 at 10:26 AM, Yiannis Mavroukakis [EMAIL PROTECTED] wrote: Iolite is your friend :-) [EMAIL PROTECTED] wrote: The only thing that is missing in this video is a hibernate

Re: Best to strategy to have a Wicket page returns a binary content by default

2008-09-23 Thread Paolo Di Tommaso
Interesting .. so I could extend QueryStringUrlCodingStrategy overriding the decode() method to return my PdfRequestTarget. Cool! Thank you, -- Paolo On Tue, Sep 23, 2008 at 3:04 PM, Matej Knopp [EMAIL PROTECTED] wrote: You don't have to do this from the pages. You can create your own simple

Refreshing a Panel on Form onSubmit()

2008-09-23 Thread zaheers
I have a Panel that has the search criteria as well as the search results. The results are to be refreshed every time user clicks on the search button. I am doing this by storing a List as an instance variable and passing the list to the PageableListView. But I see that the panel is not

Re: Wicket critique

2008-09-23 Thread James Carman
Help is definitely welcome! On Tue, Sep 23, 2008 at 11:30 AM, Yiannis Mavroukakis [EMAIL PROTECTED] wrote: Cool, need any spare hands/brains? James Carman wrote: And, hopefully wicketopia in the near future. It's still under development (by both me and Nino) On Tue, Sep 23, 2008 at 10:26

Re: Wicket critique

2008-09-23 Thread superoverdrive
That's the problem - the more options there are, the more flexible it is, but the more freedom you have. The more freedom you have, the more different Wicket projects are structures and the less re-usable the code of various programmers comes. Maybe Wicket should define one type of database

Re: Wicket critique

2008-09-23 Thread Yiannis Mavroukakis
Cool, need any spare hands/brains? James Carman wrote: And, hopefully wicketopia in the near future. It's still under development (by both me and Nino) On Tue, Sep 23, 2008 at 10:26 AM, Yiannis Mavroukakis [EMAIL PROTECTED] wrote: Iolite is your friend :-) [EMAIL PROTECTED] wrote:

Re: Wicket critique

2008-09-23 Thread superoverdrive
This one: http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Iolite ? Original-Nachricht Datum: Tue, 23 Sep 2008 15:26:44 +0100 Von: Yiannis Mavroukakis [EMAIL PROTECTED] An: users@wicket.apache.org Betreff: Re: Wicket critique Iolite is your friend :-)

Problem with sitemesh decorator in wicket iframe

2008-09-23 Thread itayh
Dear All, I am using sitemesh decoration framework in my wicket application. Everything work perfectly until I tried to create iframes. I am using InlineFrame class for creating the iframes. Java Code: InlineFrame myFrame = new InlineFrame(MyFrame, new MyFrame(this)); Where MyFrame is simple

Re: Adding HTML class=invalid after validating with IndicatingAjaxButton

2008-09-23 Thread Igor Vaynberg
public class invalidindicator extends abstractbehavior { protected void oncomponenttag(component c, tag t) { boolean valid=((formcomponent)c).isvalid(); if (!valid) { tag.put(class,invalid); } } } formcomponent.add(new invalidindicator()); -igor On Tue, Sep 23,

Re: Wicket critique

2008-09-23 Thread Yiannis Mavroukakis
Yep. [EMAIL PROTECTED] wrote: This one: http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Iolite ? Original-Nachricht Datum: Tue, 23 Sep 2008 15:26:44 +0100 Von: Yiannis Mavroukakis [EMAIL PROTECTED] An: users@wicket.apache.org Betreff: Re: Wicket critique

Re: Wicket critique

2008-09-23 Thread James Carman
Right now, we don't have a task list set up. We should probably do that if there are going to be multiple cooks in the kitchen. :) What I'd like to figure out is how the form/autogenerated editor panel stuff works together. On Tue, Sep 23, 2008 at 11:56 AM, Yiannis Mavroukakis [EMAIL PROTECTED]

Wizard in Modalwindow getting alert message upon using the Wizard buttons

2008-09-23 Thread Kuga
Hi, I was browsing through the wicket forums, for one of the problems I am having using Wicket wizard in ModalWindow. I am iusing Wicket 1.3.4 Wondering if anyone could help me with any possible solutions. Greatly appreciate you time and response. I have changed the WizardButtons to use Ajax

Re: Wizard in Modalwindow getting alert message upon using the Wizard buttons

2008-09-23 Thread Kuga
Upon further analysis, I was having the panel as the ModalWindow.setContent(WizardPanel) and doesn’t seem to work in terms of multiple button clicks ie., Next/Previous. Good news is that I tried to replace the panel with the Page using ModelWindow.createPage(), and the wizard seems to be

Re: Re: Best to strategy to have a Wicket page returns a binary content by default

2008-09-23 Thread bruno . borges
Why don't you use the DownloadLink component? Just create a file in the java.tmp.dir and setDeleteAfterDownload (true); http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/markup/html/link/DownloadLink.html Regards, Bruno On Sep 23, 2008 11:30am, Paolo Di Tommaso

Re: Re: Best to strategy to have a Wicket page returns a binary content by default

2008-09-23 Thread Paolo Di Tommaso
Because, I want to use Wicket to render PDF content in a trasparent way - just extending a base page - as normally it is done for a WebPage. -- Paolo On Tue, Sep 23, 2008 at 6:08 PM, [EMAIL PROTECTED] wrote: Why don't you use the DownloadLink component? Just create a file in the java.tmp.dir

Wicket Wizard window question!

2008-09-23 Thread Kugaprakash Visagamani
Hi, I was browsing through the wicket forums, for one of the problems I am having using Wicket wizard in ModalWindow. Wondering if anyone could help me with any possible solutions. Greatly appreciate you time and response. I have changed the WizardButtons to use Ajax buttons. The

Hiding Wicket ID

2008-09-23 Thread walnutmon
Is it possible to hide wicket:id tags? Doing so in order to hide that you are using wicket as a server side technology. -- View this message in context: http://www.nabble.com/Hiding-Wicket-ID-tp19632955p19632955.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Hiding Wicket ID

2008-09-23 Thread Igor Vaynberg
in deployment mode those tags are stripped -igor On Tue, Sep 23, 2008 at 10:35 AM, walnutmon [EMAIL PROTECTED] wrote: Is it possible to hide wicket:id tags? Doing so in order to hide that you are using wicket as a server side technology. -- View this message in context:

Re: Hiding Wicket ID

2008-09-23 Thread James Carman
The wicket:id won't who up during deployment mode. On Tue, Sep 23, 2008 at 1:35 PM, walnutmon [EMAIL PROTECTED] wrote: Is it possible to hide wicket:id tags? Doing so in order to hide that you are using wicket as a server side technology. -- View this message in context:

Re: Hiding Wicket ID

2008-09-23 Thread James Carman
I think I meant to say show up rather than who up! :) Sorry. On Tue, Sep 23, 2008 at 1:37 PM, James Carman [EMAIL PROTECTED] wrote: The wicket:id won't who up during deployment mode. On Tue, Sep 23, 2008 at 1:35 PM, walnutmon [EMAIL PROTECTED] wrote: Is it possible to hide wicket:id tags?

Re: Wicket critique

2008-09-23 Thread Nino Saturnino Martinez Vazquez Wael
Check this out jpa/hibernate integration is what iolite are about currently: http://ninomartinez.wordpress.com/2008/09/04/screencast-introducing-wicketstuff-iolite/ [EMAIL PROTECTED] wrote: The only thing that is missing in this video is a hibernate integration...to read/save data to a

Re: Hiding Wicket ID

2008-09-23 Thread walnutmon
How do I deploy in deployment mode? jwcarman wrote: The wicket:id won't who up during deployment mode. On Tue, Sep 23, 2008 at 1:35 PM, walnutmon [EMAIL PROTECTED] wrote: Is it possible to hide wicket:id tags? Doing so in order to hide that you are using wicket as a server side

Re: Hiding Wicket ID

2008-09-23 Thread James Carman
http://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment On Tue, Sep 23, 2008 at 2:23 PM, walnutmon [EMAIL PROTECTED] wrote: How do I deploy in deployment mode? jwcarman wrote: The wicket:id won't who up during deployment mode. On Tue, Sep 23, 2008 at 1:35 PM, walnutmon [EMAIL PROTECTED]

Re: Hiding Wicket ID

2008-09-23 Thread Nino Saturnino Martinez Vazquez Wael
wiki is your friend : http://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment walnutmon wrote: How do I deploy in deployment mode? jwcarman wrote: The wicket:id won't who up during deployment mode. On Tue, Sep 23, 2008 at 1:35 PM, walnutmon [EMAIL PROTECTED] wrote: Is it possible

Relaxation Project?

2008-09-23 Thread Nino Saturnino Martinez Vazquez Wael
Hi As a guy whom earlier enjoyed playing computer games, wicket has grown on me. But what if the two could be combined? Would anyone be up todo a integration with this : http://jurpe.sourceforge.net/ or similar for fun ? Or maybe we could start out by doing a tetris thing or something? --

Re: Hiding Wicket ID

2008-09-23 Thread walnutmon
Sorry, I'll refrain from asking readily available questions... I found it too :/ However, when I build in deployment, the javascript is covered in wicket references. jwcarman wrote: http://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment On Tue, Sep 23, 2008 at 2:23 PM, walnutmon [EMAIL

RE: ListView and Serialization

2008-09-23 Thread Alexander Anguiano
Fyi: If figured it out, if anyone is interested. By the way, I worked on this for quite a while and only decided to post when I was getting no where. I thought I could use the models somehow, I couldn't figure out how to use them here and I don't think it is possible. What I did is I created

Re: Hiding Wicket ID

2008-09-23 Thread francisco treacy
you can hide text in urls by encrypting them, check out CryptedUrlWebRequestCodingStrategy. this may help reduce wicket occurrences in your source code. francisco On Tue, Sep 23, 2008 at 4:04 PM, walnutmon [EMAIL PROTECTED] wrote: The wicket:id tags are stripped, but the javascript has many

Re: onmouseover image

2008-09-23 Thread Al Maw
Have a look at AjaxEventBehavior. You can either combine this with an Image component or add an AttributeModifier and manually tweak the img's src attribute. Alastair 2008/9/19 Tim Squires [EMAIL PROTECTED] Hi All, Before I go and write my own component to change the src of an img

Re: Refreshing a Panel on Form onSubmit()

2008-09-23 Thread jchappelle
Instead of passing a list of items into your PageableListView, pass in a LoadableDetachable model. Inside of the onLoad method put the same code that is in your Form onSubmit. Your Form onSubmit will be empty and it will effectively only reload the page when the form gets submitted. When that

Re: Wicket sample application

2008-09-23 Thread jchappelle
I think it is important to understand that Hibernate and Wicket are two completely different frameworks that are built to solve different problems. Hibernate operates at the data access layer and wicket at the gui layer(mostly). You don't need hibernate to get your data to wicket. I don't know

ListView removeLink double-click problem

2008-09-23 Thread Janne Kario
Hi. I have a pretty standard ListView with some remove links created with the ListView.removeLink. How am I supposed to handle the double-click problem which arises when the user double clicks the last remove link of the list view? The first request correctly removes the last item from the list

Re: Adding HTML class=invalid after validating with IndicatingAjaxButton

2008-09-23 Thread Chris Stein
Thanks, Igor. However, I tried it and it never showed up in the browser. Even more so, when I set a breakpoint to the onComponentTag-method, it never gets called. Is that correct? I only get this behavior when I am using the IndicatingAjaxButton--everything works fine with the regular buttons.

Re: Adding HTML class=invalid after validating with IndicatingAjaxButton

2008-09-23 Thread Chris Stein
Thanks, Igor. However, I tried it and it never showed up in the browser. Even more so, when I set a breakpoint to the onComponentTag-method, it never gets called. Is that correct? I only get this behavior when I am using the IndicatingAjaxButton--everything works fine with the regular buttons.

Re: Adding HTML class=invalid after validating with IndicatingAjaxButton

2008-09-23 Thread Igor Vaynberg
target.addComponent(feedback); target.addComponent(form); // you might have to add some div that is around the form, not sure if browsers support replacing form tag well -igor On Tue, Sep 23, 2008 at 1:39 PM, Chris Stein [EMAIL PROTECTED] wrote: Thanks, Igor. However, I tried it and it never

Re: Wicket sample application

2008-09-23 Thread James Carman
Josh, I agree with you about the need to try to understand Wicket a bit first before diving into ORM-izing (I coined it first; I call dibs) your application. However, for those who want to start with a hibernate-based or jpa-based application, it's nice to have a good starting point (like a

Re: Hiding Wicket ID

2008-09-23 Thread James Carman
Not only will it reduce the wicketness of your URLs, it might hide some of your other implementation details (such as package names?) On Tue, Sep 23, 2008 at 3:14 PM, francisco treacy [EMAIL PROTECTED] wrote: you can hide text in urls by encrypting them, check out

Re: update dropdown with ajax

2008-09-23 Thread 张伟
Try ModalWindow instead of popup page. On Mon, Sep 22, 2008 at 3:06 PM, tbt [EMAIL PROTECTED] wrote: Hi I have a problem regarding how to update a dropdown with ajax when an option is added through a popup window. For example Page A has a dropdown and a link. When the link is

Re: AjaxRequestTarget is null in Internet Explorer 6

2008-09-23 Thread Timo Rantalaiho
On Sun, 21 Sep 2008, Agent Mahone wrote: I??m struggeling with the AjaxFallbackLink the target object is null, if it runs to the onClick() method. In Firefox and Opera it works fine!!! It sounds like the Ajax Javascript would not run in your IE but it would be a normal request. Have you

Re: Forwarding to a servlet

2008-09-23 Thread David Leangen
I think you could just use response.sendRedirect() and request.forward() , rest of the code should still be processed. This seemed to work just fine: RequestCycle.get().setRequestTarget( redirectTarget ); However, I'm running into a problem... not sure if it's related or not, so I'll

Re: Associating a request to a Session

2008-09-23 Thread Igor Vaynberg
wicket session is not persisted in httpsession until you hit a stateful page. to manually persist the wicket session call .bind() on it. -igor On Tue, Sep 23, 2008 at 8:08 PM, David Leangen [EMAIL PROTECTED] wrote: I save a value to my session using a MetaKey. However, when I try to later

Re: Associating a request to a Session

2008-09-23 Thread David Leangen
wicket session is not persisted in httpsession until you hit a stateful page. to manually persist the wicket session call .bind() on it. Hmmm... Although that is very useful information to know, that did not work. :-( So, let me ask this another way... How does Wicket associate a given

Need help fixing bug #1816

2008-09-23 Thread cowwoc
Hi, I spent a few hours tracking down the cause of https://issues.apache.org/jira/browse/WICKET-1816 but now I need someone from the Wicket team to help me fix it. Can someone please fix the lines of code I mention in the report and then send me back a patched version for testing? To be clear:

Re: Wizard in Modalwindow getting alert message upon using the Wizard buttons

2008-09-23 Thread Kuga
Can anyone please help me with any possible solution or hints? Greatly appreciate your comments, help. Thanks kuga Kuga wrote: Hi, I was browsing through the wicket forums, for one of the problems I am having using Wicket wizard in ModalWindow. I am iusing Wicket 1.3.4 Wondering if