Re: Question about transient and serialization

2010-01-22 Thread mfs
Or if you navigate to yet another page and then click browser back Button and click the Ajax button that would give the testString "null"..right ? igor.vaynberg wrote: > > last accessed page instance is stored in http session and therefore in > memory without being serialized. if you ran this o

Re: Modal window and resource request target

2009-11-30 Thread mfs
rg/WICKET/ajax-update-and-file-download-in-one-blow.html > > <http://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html> > Best, > > Ernesto > > On Tue, Nov 17, 2009 at 6:51 AM, mfs wrote: > >> >> Am looking for something very simila

Re: Modal window and resource request target

2009-11-17 Thread mfs
ICKET/ajax-update-and-file-download-in-one-blow.html> > Best, > > Ernesto > > On Tue, Nov 17, 2009 at 6:51 AM, mfs wrote: > >> >> Am looking for something very similar. Matej can you elaborate on what >> you >> meant by getting the url of the reque

Re: Modal window and resource request target

2009-11-16 Thread mfs
Am looking for something very similar. Matej can you elaborate on what you meant by getting the url of the request listener ? Thanks in advance Farhan. jwray wrote: > > > Hi, > > thanks for the prompt reply. Can you give me some details about where to > get the URL or request listener from

Re: After 1 minute the Pagemap null is still locked

2009-10-02 Thread mfs
Hi Guys, We are facing a similar problem on an "Import Page" which at times does take more than a minute for large data-set, which breaks the import. I wonder if there is a way we can bypass OR avoid this exception so as to make the import finish properly. I understand one way can be to break the

Re: HybridUrlCodingStrategy and CryptedUrlWebRequestCodingStrategy

2009-09-14 Thread mfs
Hello Guys, Would appreciate some comments on my last post... Thanks in advance.. Farhan. mfs wrote: > > Yet another question on the usage CryptedUrlWebRequestCodingStrategy. So > lets say we have implemented the CryptedUrlWebRequestCodingStrategy, now > even in that case

Re: HybridUrlCodingStrategy and CryptedUrlWebRequestCodingStrategy

2009-09-14 Thread mfs
structor of the page. In other words all such actions (ideally) should be invoked via some events on the page itself. Thanks in advance, Farhan. igor.vaynberg wrote: > > the javadoc is out of date please open a jira issue to have the javadoc > updated. > > -igor >

Re: HybridUrlCodingStrategy and CryptedUrlWebRequestCodingStrategy

2009-09-14 Thread mfs
Thanks Igor. Also I opened the jira-issue https://issues.apache.org/jira/browse/WICKET-2466 as suggested. igor.vaynberg wrote: > > the javadoc is out of date please open a jira issue to have the javadoc > updated. > > -igor > > On Sat, Sep 12, 2009 at 2:50 PM, mfs

Re: HybridUrlCodingStrategy and CryptedUrlWebRequestCodingStrategy

2009-09-12 Thread mfs
Hi Guys, Sorry for not picking up the right thread for this question but I am not able to submit a post. Anyways.. My question is regarding the javadocs for CryptedUrlWebRequestCodingStrategy which in the end says "Because the algorithm is reversible, URLs which were bookmarkable before will rem

Re: Modal window position - always centred, even on long page

2009-09-01 Thread mfs
Igor, Thanks..what you suggested worked. I was making a mistake in adding the javascript, it wasnt getting included due to a missing wicket:link tag. Farhan mfs wrote: > > I believe what you are suggesting requires modifying the ModalWindow class > where the modal.js is added. A

Re: Modal window position - always centred, even on long page

2009-08-31 Thread mfs
t after the modal.js that overrides the method. > > -igor > > > On 8/31/09, mfs wrote: >> >> Hi Steve, >> >> I have come across a scenario where I need to provide custom >> implementation >> for the Wicket.Window.prototype.center method. The ques

Re: Modal window position - always centred, even on long page

2009-08-31 Thread mfs
Hi Steve, I have come across a scenario where I need to provide custom implementation for the Wicket.Window.prototype.center method. The question I had was, that is there anyway I can override this method without injecting the new modified modal.js (i.e. with the custom center() method impl) in t

Open popup window in an ajax-response

2009-03-13 Thread mfs
Hello Guys, I am looking for some suggestions on this one issue i am trying to resolve. I have an ajax enabled form which consists of an input field and a submit button. Basically the input needs to be validated against some validation-rules and if successful a popup window should be opened up,

Re: Embedding html from an external application

2009-01-26 Thread mfs
problem does > not go away), or getting rid of the JSPs altogether. > > Regards, > Erik. > > > mfs wrote: >> >> Eric, >> >> Thanks for the follow-up. >> >> Actually i just came across the >> http://wicket.sourceforge.net/apido

Re: Embedding html from an external application

2009-01-22 Thread mfs
ike a Label, it will replace the content of the HTML element it is attached to. Regards, Erik. mfs wrote: > I have had a look at the blog > http://herebebeasties.com/2007-03-01/jsp-and-wicket-sitting-in-a-tree/ > http://herebebeasties.com/2007-03-01/jsp-and-wicket-sitting-in-a-t

Embedding html from an external application

2009-01-21 Thread mfs
Hi Guys, I am currently investigating on the ways to integrate two UI, one written in wicket and the other in mod_plsql (where all the presentation logic is written in the form of stored-procedures and exposed through mod_plsql gateway). Currently most of the existing functionality is written in

Embedding html from an external application

2009-01-21 Thread mfs
Hi Guys, I am currently investigating on the ways to integrate two UI, one written in wicket and the other in mod_plsql (where all the presentation logic is written in the form of stored-procedures and exposed through mod_plsql gateway). Currently most of the existing functionality is written in

Embedding html from an external application

2009-01-21 Thread mfs
Hi Guys, I am currently investigating on the ways to integrate two UI, one written in wicket and the other in mod_plsql (where all the presentation logic is written in the form of stored-procedures and exposed through mod_plsql gateway). Currently most of the existing functionality is written in

Re: newbie: best practice for not rendering component?

2008-09-17 Thread mfs
case.. jwcarman wrote: > > How often does an exception happen? Exceptions are supposed to be > just that, exceptional. Is it really worth your time/effort to code > for something that's not going to happen that often? > > On Wed, Sep 17, 2008 at 8:16 PM, mfs <[EMAIL PROTE

Re: newbie: best practice for not rendering component?

2008-09-17 Thread mfs
d the feedback panel > to your ajax response and tell it to output its markup id :). > > On Wed, Sep 17, 2008 at 7:54 PM, mfs <[EMAIL PROTECTED]> wrote: >> >> Hello Guys, >> >> I am trying to do something similar where i have a DataView (contained in

Re: newbie: best practice for not rendering component?

2008-09-17 Thread mfs
Hello Guys, I am trying to do something similar where i have a DataView (contained in a webmarkupContainer) which shows the results of a search. The whole implementation is ajax-based. Attached to the DataView is an IDataprovider implementation which is responsible for fetching the data from the

Re: Inline-pdf generated on the fly using DynamicWebResource - Showing Custom FileName on "File -> Save As"

2008-08-22 Thread mfs
Hi Martin, Actually i had some questions/clarifications as i posted in my other post, and i.e. that i want to have a [custom-file-name].pdf declared based on the pdf being generated dynamically, so if i mount a page with a certain name (i am not sure but) i would have to use the same name as sp

Re: Mounting dynamic content

2008-08-22 Thread mfs
;/Filename.ext"? > > ** > Martin > > 2008/8/21 mfs <[EMAIL PROTECTED]>: >> >> Can you be elaborate more, a sample would be really helpful, just to let >> u >> know i am using a DynamicWebResource since i am generating the pdf on the >> fly.. &

Inline-pdf generated on the fly using DynamicWebResource - Showing Custom FileName on "File -> Save As"

2008-08-21 Thread mfs
Guys, I am struggling with an issue relating to PDF displayed inline on a browser window, hopefully someone can point me to the right direction.Below is the scenario I am generating a pdf on the fly using DynamicWebResource, and the pdf is shown inline in a new browser window on the click of

Re: Mounting dynamic content

2008-08-21 Thread mfs
ot;/MyPage.doc" or "/MyPage.pdf". > > ** > Martin > > > 2008/8/21 mfs <[EMAIL PROTECTED]>: >> >> Hi Martin did you come out with a solution for mounting a >> DynamicWebResource, >> actually my problem is slightly different where i am

Re: Mounting dynamic content

2008-08-21 Thread mfs
Hi Martin did you come out with a solution for mounting a DynamicWebResource, actually my problem is slightly different where i am showing my pdf inline in the browser. Now when the user clicks "Save AS" (either through Browser's File-> SaveAs or clicking on the save button on the pdf-toolbar") it

Re: Ajax postcall handler does not get called every time

2008-07-15 Thread mfs
I am facing a similar issue, where after refreshing a page section (i.e. DataView-Container containing AjaxLinks in each item) using ajax, the AjaxPostCallbackHandler (which is registered on the initial page-load) is not invoked anymore, which as Young mentioned is due to the fact that wicket-ajax

Re: pdf download - dynamically generated pdf

2008-07-10 Thread mfs
Looking for some suggestions... mfs wrote: > > Guys, > > I have use-case where a user can choose to preview a pdf, displayed inline > in the browser window (without being prompted for the save/open dialog). > The functionality is working all fine, its just that an > Ill

pdf download - dynamically generated pdf

2008-07-08 Thread mfs
Guys, I have a use-case where a user can choose to preview a pdf, displayed inline in the browser window (without being prompted for the save/open dialog). The functionality is working all fine, its just that an IllegalStateException is being generated ("Response has already been committed, be su

pdf download - dynamically generated pdf

2008-07-08 Thread mfs
Guys, I have use-case where a user can choose to preview a pdf, displayed inline in the browser window (without being prompted for the save/open dialog). The functionality is working all fine, its just that an IllegalStateException is being generated ("Response has already been committed, be sure

Re: Automatic redirection to Expiry Page once the session timeout is reached - Possible options

2008-07-08 Thread mfs
: > > On Mon, 07 Jul 2008, mfs wrote: >> The problem is that since my application pages has various >> ajax-components >> in it and not every request results in the whole page being rendered, i >> am >> not sure which component to attach this ajaxTimerBehavior with,

Re: Automatic redirection to Expiry Page once the session timeout is reached - Possible options

2008-07-07 Thread mfs
et on AjaxTimerBehavior component when the page was first rendered AND not based on the actual session-timeout period, which would have changed, had there been any ajax-based communication after the page was first rendered. Hope it make sense.. Thanks mfs wrote: > > Guys, > > I w

Automatic redirection to Expiry Page once the session timeout is reached - Possible options

2008-07-07 Thread mfs
Guys, I wanted to add this feature in my application, where once the session-timeout period is reached, the user is automatically redirected to the session-expiry page, like the way you might have seen in various banking sites. In order to achieve the above the first component which came to my m

Re: IE/Safari - AjaxLink raises exception on Session-Expiry

2008-07-02 Thread mfs
Thanks alot for the quick fix Matej. Verified it on 1.3 branch. Farhan. Matej Knopp-2 wrote: > > Committed fix to trunk and 1.3. > > -Matej > > On Wed, Jul 2, 2008 at 7:10 PM, mfs <[EMAIL PROTECTED]> wrote: >> >> Can someone take a look into

Re: IE/Safari - AjaxLink raises exception on Session-Expiry

2008-07-02 Thread mfs
Can someone take a look into thisits a blocking issue for me Thanks in advance mfs wrote: > > Guys, > > I am facing this issue (with Safari/IE) with the usage of AjaxLink when > used on a page mounted though any of the > BookmarkablePageRequestTargetUrlCodingStrategy

Re: IE/Safari - AjaxLink raises exception on Session-Expiry

2008-07-01 Thread mfs
Let me also add that 1 out of 5 times, it works fine as expected, i.e. the SessionExpiry page is shown. mfs wrote: > > Guys, > > I am facing this issue (with Safari/IE) with the usage of AjaxLink when > used on a page mounted though any of the > BookmarkablePageRequestTarge

IE/Safari - AjaxLink raises exception on Session-Expiry

2008-07-01 Thread mfs
Guys, I am facing this issue (with Safari/IE) with the usage of AjaxLink when used on a page mounted though any of the BookmarkablePageRequestTargetUrlCodingStrategy extensions To be precise i get a NullPointerException (in BookmarkableListenerInterfaceRequestTarget.processEvents) when clicking

IE/Safari - AjaxLink raises exception on Session-Expiry

2008-07-01 Thread mfs
Guys, I am facing this issue (with Safari/IE) with the usage of AjaxLink when used on a page mounted though any of the BookmarkablePageRequestTargetUrlCodingStrategy extensions To be precise i get a NullPointerException (in BookmarkableListenerInterfaceRequestTarget.processEvents) when clicking

Re: AjaxLink in a DataView causing issues when loading multiple instance of the page

2008-07-01 Thread mfs
light on this. > > Maurice > > On Wed, Jun 25, 2008 at 9:34 AM, mfs <[EMAIL PROTECTED]> wrote: >> >> To me the problem seems to be related to the hybridUrlCoding strategy >> (where >> the same page instance is reloaded when the user tries to open up a new

Re: self refreshing table with effects

2008-07-01 Thread mfs
remains... Would appreciate if someone could take a look... Thanks and Regards, Johan Compagner wrote: > > create a jira with a test case. > > On Mon, Jun 16, 2008 at 2:56 AM, mfs <[EMAIL PROTECTED]> wrote: > >> >> And surprisingly, this issue comes in

Re: AjaxLink in a DataView causing issues when loading multiple instance of the page

2008-06-25 Thread mfs
Found on Page" exception. Am looking for some feedback from the experts, i am in a bit of time crunch here, and have a release coming pretty soon.. Thanks in advance... mfs wrote: > > Let me add a couple of things here, > > 1) Page-Versioning has not been

Re: AjaxLink in a DataView causes WicketRuntimeException due to component tree getting of outofsync

2008-06-24 Thread mfs
Let me add a couple of things here, 1) Page-Versioning has not been turned off. 2) Using HybridURLCodingStrategy to render the page. Opinions please.. mfs wrote: > > Hi Guys, > > I am facing a problem with the usage of AjaxLink within a DataView. The > dataview is

AjaxLink in a DataView causes WicketRuntimeException due to component tree getting of outofsync

2008-06-24 Thread mfs
Hi Guys, I am facing a problem with the usage of AjaxLink within a DataView. The dataview is contained in a container since the DataView is updated on ajaxform.submit. The AjaxLink is on each Item of the DataView, which opens up a modal window (with a panel as the content) with further details o

Re: Modal Window question

2008-06-19 Thread mfs
h (ignore) {\n" > + " }\n" > + "}\n" > + "if (typeof(win) != \"undefined\" && typeof(win.current) > != \"undefined\") {\n" > + "window.parent.setTi

Re: Modal Window question

2008-06-19 Thread mfs
else.... mfs wrote: > > that i did try out and it does work, where i do a > ajaxRequestTarget.appendJavaScript(window.open("externalURL")), but the > part i dont like is in this scenario is that the popup blockers dive in, > since the window.open is not a result of a

Re: Modal Window question

2008-06-19 Thread mfs
Isn't there a way to call the appropriate javascript which does the modal-close.. mfs wrote: > > Guys, > > I am posting this question yet again, hoping to get some feedback... > > The problem is regarding modal windows, as to how close it, when a form > (within

Re: Modal Window question

2008-06-18 Thread mfs
gonna be that difficult.. Nino.Martinez wrote: > > Yes, that were what I was talking about. > > But why do you open a new browser window? > > mfs wrote: >> well i dont think that will work, the onSubmit is called on the new >> browser >> Window, now if i ma

Re: Modal Window question

2008-06-18 Thread mfs
nd when it is set calls > ModalWindow.this.close(target). Of course the ugliness lies in the > session state tweaking, so if there's a cleaner solution for that, that > would be preferable. > > Matthijs > > mfs wrote: >> No i mean a separate browser window, where i displa

Re: Modal Window question

2008-06-18 Thread mfs
iour >> to the modal window that checks for the session parameter in onTimer and >> when it is set calls ModalWindow.this.close(target). Of course the >> ugliness >> lies in the session state tweaking, so if there's a cleaner solution for >> that, that would be p

Re: Modal Window question

2008-06-18 Thread mfs
ternalPage )); modalWindow.close(arg)); } Nino.Martinez wrote: > > Just provide the modal window to the form and call modalwindow.close in > the form..? > > mfs wrote: >> Guys, >> >> I am posting this question yet again, hoping to get some feedback... >>

Re: Modal Window question

2008-06-18 Thread mfs
No i mean a separate browser window, where i display the results of the form-submission. Matthijs Wensveen-2 wrote: > > What do you mean by "submitted in a new window"? The modal window itself? > Matthijs > > mfs wrote: >> Guys, >> >> I am posting

Modal Window question

2008-06-18 Thread mfs
Guys, I am posting this question yet again, hoping to get some feedback... The problem is regarding modal windows, as to how close it, when a form (within it) is submitted in a new window. Any suggestions Thanks in advance -- View this message in context: http://www.nabble.com/Modal-Window-

Trying to close a modal when a form contained in the modal-panel in submitted

2008-06-17 Thread mfs
Hi Guys, I am trying to find a solution to a problem relating to modal windows, which apparently is a bit trickier than i thought it would be. So basically i have a modal window with a panel as the content, the panel itself contains a form. The form submission happen in a new window i.e. i have

Re: self refreshing table with effects

2008-06-15 Thread mfs
And surprisingly, this issue comes in IE and Safari but not in Mozilla.. mfs wrote: > > Any update on this issue, i am facing an issue somewhat related, where > clicking on an ajaxlink once the session expiry has reached, gives a > nullpointer

Re: self refreshing table with effects

2008-06-15 Thread mfs
Any update on this issue, i am facing an issue somewhat related, where clicking on an ajaxlink once the session expiry has reached, gives a nullpointer exception at BookmarkableListenerInterfaceRequestTarget.processEvents ...(Below is the exception stack-trace), btw i am using QueryStringUrlCoding

Re: Bookmarkable pages and wicket session life-cycle

2008-06-09 Thread mfs
That means the behavior which i have explained is a normal behavior ? , since in this the links are not resulting in any call backs.. Eelco Hillenius wrote: > >> I have got a question on bookmarkable page and if wicket session's >> life-cycle has any relation with it. >> >> Actually i have a cou

Bookmarkable pages and wicket session life-cycle

2008-06-08 Thread mfs
Guys, I have got a question on bookmarkable page and if wicket session's life-cycle has any relation with it. Actually i have a couple of bookmarkable pages in my application (mounted through queryurlcodingstrategy). For scenarios where the session-expiry has reached, invoking any action on any

Re: setPageExpiredErrorPage(PageExpired.class) -> Login page loaded instead of PageExpired page

2008-06-04 Thread mfs
ket-auth-roles.html which > has a slightly different focus then what you need :) > of course you could always check the examples. > > Maurice > > On Wed, Jun 4, 2008 at 1:50 AM, mfs <[EMAIL PROTECTED]> wrote: >> >> I am facing a similar issue, can someone direct m

wicket-auth-roles - Redirect to LoginPage instead of SessionExpiry Page

2008-06-03 Thread mfs
Guys, I am using wicket-auth-roles which so far is working greaet serving all my purposes. Though I am stuck in this scenario where when the session-expiry has reached, instead of being redirected to the SessionExpiryPage, i get redirected to the loginPage, now in one of the threads it was comme

Re: setPageExpiredErrorPage(PageExpired.class) -> Login page loaded instead of PageExpired page

2008-06-03 Thread mfs
I am facing a similar issue, can someone direct me to right documentation, as to how to redirect to sessionExpiredPage instead of login page if session has expired.. jd17 wrote: > > Hi Maurice, > thanks for your quick response. I have tested quite a bit this morning and > in most cases, the Pa

Search Use-Case - Retaining the model against the text field

2008-05-28 Thread mfs
Guys, Need some suggested here.. I have a search-page which has an Ajaxform with a "search-criteria" TextField, the same search-page has a DataView implementation (alongwith DataProvider) of the searchresults... So basically i do an ajax submit of the search criteria and repaint just the datavi

Re: Checking for file

2008-05-27 Thread mfs
Did u use the same solution ? or found a better alternative ? Mathias P.W Nilsson wrote: > > Yes, I tried a normal thread but that of course didn't work > > final WebMarkupContainer container = new WebMarkupContainer( "container" > ); > > container.add( new AjaxSel

Re: Checking for file

2008-05-27 Thread mfs
Did u use the same approach or found a better alternative ? Mathias P.W Nilsson wrote: > > Yes, I tried a normal thread but that of course didn't work > > final WebMarkupContainer container = new WebMarkupContainer( "container" > ); > > container.add( new AjaxSelfU

Re: Load serialized (or in session) page/model on refresh..

2008-05-12 Thread mfs
So yeah the dataview the dataview does get the iterator on refresh every time Also as maurice mentioned in his latest reply, the dataview components does re-create and gets the model for its child component every time.. And thats why i am seeing this behavior.. mfs wrote: > > sur

Re: Load serialized (or in session) page/model on refresh..

2008-05-12 Thread mfs
rtificateSearchCriteriaName,m_certificateSearchCriteriaValue, > Integer.valueOf(first), Integer.valueOf(count)); > > i assume the data view has to get the iterator each time to repopulate the > list (since it's refreshing). > > > mfs wrote: >> >> >>

Re: Load serialized (or in session) page/model on refresh..

2008-05-11 Thread mfs
optimize >> that. you should be using detachable models and an OTS db cache. >> >> what i don't understand is why you want to do this. if the user hits >> refresh in their browser they are hoping to see updated data. why do you >> want to turn that into a no-op?

Re: Load serialized (or in session) page/model on refresh..

2008-05-11 Thread mfs
using detachable models and an OTS db cache. > > what i don't understand is why you want to do this. if the user hits > refresh in their browser they are hoping to see updated data. why do you > want to turn that into a no-op? > > > mfs wrote: >> >> I

Re: Load serialized (or in session) page/model on refresh..

2008-05-11 Thread mfs
mple of your problem and post it at some link where we can > see exactly what you're doing? > > > mfs wrote: >> >> Well actually before posting this up, i did try this i.e. mounted the >> page using hybridurlcodingstrategy (with the assumption that since the >

Re: Load serialized (or in session) page/model on refresh..

2008-05-11 Thread mfs
we might opt for this eventually, but trying to utilize/serve-the-purpose for now with what wicket offers... Jonathan Locke wrote: > > > normally you don't hit the db on refresh. you hit a fast local db cache. > > > mfs wrote: >> >> Guys, >>

Re: Load serialized (or in session) page/model on refresh..

2008-05-11 Thread mfs
Mr Mean wrote: > > On Sun, May 11, 2008 at 9:04 AM, mfs <[EMAIL PROTECTED]> wrote: >> >> Guys, >> >> Firstly, Is that a right understanding that doing a browser-refresh of >> the >> page would result in a new instance of the page being cr

Re: Load serialized (or in session) page/model on refresh..

2008-05-11 Thread mfs
is a IDataProvider and am using non-detachable models. Thanks for the follow up.. Johan Compagner wrote: > > HybridUrlEnoding > > On Sun, May 11, 2008 at 9:04 AM, mfs <[EMAIL PROTECTED]> wrote: > >> >> Guys, >> >> Firstly, Is that a right understanding th

Load serialized (or in session) page/model on refresh..

2008-05-11 Thread mfs
Guys, Firstly, Is that a right understanding that doing a browser-refresh of the page would result in a new instance of the page being created everytime and similarly a new model instance would be binded to the page. Is there a way one can use the same version of the page/model (which wicket kep

Re: LogoutPage - Responsible for invalidation and redirection to non-wicket page

2008-05-05 Thread mfs
Thanks for the followup Eelcobut whats with the behavior i am seeing, i.e. using ExternalLink to link to LogoutPage (mounted as /logout) versus Link.onClick{setResponsePage(new LoginPage()}, where the externallink works fine and the LogoutPage does invalidation and redirection (to external log

Re: LogoutPage - Responsible for invalidation and redirection to non-wicket page

2008-05-04 Thread mfs
// abort any further response processing > rc.setRequestTarget(new RedirectRequestTarget(url)); > } > } > } > > > Martijn > > On 5/4/08, mfs <[EMAIL PROTECTED]> wrote: >> >> Also my major problem is th

Re: LogoutPage - Responsible for invalidation and redirection to non-wicket page

2008-05-04 Thread mfs
e, but use an > RestartXxxException. Else you have 2 things that wants to be the > response, the redirect and the page you are in. > > On 5/4/08, mfs <[EMAIL PROTECTED]> wrote: >> >> Looking for some follow up on this.. >> >> 1) Just wondering as

Re: LogoutPage - Responsible for invalidation and redirection to non-wicket page

2008-05-04 Thread mfs
the redirect and the page you are in. > > On 5/4/08, mfs <[EMAIL PROTECTED]> wrote: >> >> Looking for some follow up on this.. >> >> 1) Just wondering as to why isnt a constructor a good place to do the >> redirection to an external url , ? >>

Re: LogoutPage - Responsible for invalidation and redirection to non-wicket page

2008-05-04 Thread mfs
though my case is a bit different, but just tried out what u are doing and i dont get any exception, whether i do invalidate or invalidateNow().. not sure why u are getting it and how to avoid the same.. Eyal Golan wrote: > > Another question (mfs, if you don't mind). > I did

Re: LogoutPage - Responsible for invalidation and redirection to non-wicket page

2008-05-04 Thread mfs
wrote: > > I think this usecase should be supported but isnt the best way, you > should throw an AbortException when you want to redirect in the > constructor. Dont know from top of my head if we have one just for an > url but that is easily made > > On 4/30/08, mfs <

Link to a filter using external link

2008-05-03 Thread mfs
Guys, Am trying to create a link to a non-wicket filter in a wicket page, using ExternalLink as follows but it doesn't work. Here is what i have tried out.. new ExternalLink("linkName","/myfilter") // this would create link as "[host-name]/myfilter" without the context root... new ExternalLink

Re: LogoutPage - Responsible for invalidation and redirection to non-wicket page

2008-05-03 Thread mfs
ported but isnt the best way, you > should throw an AbortException when you want to redirect in the > constructor. Dont know from top of my head if we have one just for an > url but that is easily made > > On 4/30/08, mfs <[EMAIL PROTECTED]> wrote: >> >> Guys, &

Re: LogoutPage - Responsible for invalidation and redirection to non-wicket page

2008-04-29 Thread mfs
For now, doing an HttpServletResponse.sendRedirect works, but it just logs this error.. ERROR - WebResponse- Unable to redirect to: ?wicket:interface=:1, HTTP Response has already been committed. There has to be a better alternative.. mfs wrote: > > So you are say

Re: About Wicket Session life-cycle

2008-04-29 Thread mfs
, since there isnt any else happening in my code except for redirection... Would that be a right assumption ? Johan Compagner wrote: > > are you sure that you custom web session isnt calling dirty()? > > On Tue, Apr 29, 2008 at 9:48 AM, mfs <[EMAIL PROTECTED]> wrote: > &

Re: LogoutPage - Responsible for invalidation and redirection to non-wicket page

2008-04-29 Thread mfs
Exception when you want to redirect in the > constructor. Dont know from top of my head if we have one just for an > url but that is easily made > > On 4/30/08, mfs <[EMAIL PROTECTED]> wrote: >> >> Guys, >> >> I have a LogoutPage whic

LogoutPage - Responsible for invalidation and redirection to non-wicket page

2008-04-29 Thread mfs
Guys, I have a LogoutPage which does the following in its constructor LogoutPage() { getSession().invalidate(); // redirecting to the external app logout page RequestCycle.get().setRequestTarget( new RedirectRequestTarget(Host.getHttpsUrl() + xyz.getLogoutURL())

Re: Session.isNew - Check if a (permanent) session was created in the given request

2008-04-29 Thread mfs
se headers available onEndRequest(), i am not sure what the reason could be, may be oc4j hasn't set them till the control doesnt leave onEndRequest OR may be it does it right before the data is flushed, dont know...just guessing So anyways now i have to look for an alternative approach..

Re: Session.isNew - Check if a (permanent) session was created in the given request

2008-04-29 Thread mfs
time the cookie is set so nothing > happens.. > > On 4/29/08, mfs <[EMAIL PROTECTED]> wrote: >> >> It wouldnt be there,remember i want to set the cookie in the same >> response >> as >> the JSESSIONID cookie.. >> >> >> >> Johan Com

Re: Session.isNew - Check if a (permanent) session was created in the given request

2008-04-29 Thread mfs
It wouldnt be there,remember i want to set the cookie in the same response as the JSESSIONID cookie.. Johan Compagner wrote: > > Get the cookie from the request??? > > On 4/29/08, mfs <[EMAIL PROTECTED]> wrote: >> >> and how i would check if the cookie

Re: Session.isNew - Check if a (permanent) session was created in the given request

2008-04-29 Thread mfs
and how i would check if the cookie is not set ? Johan Compagner wrote: > > If(!session.isTemp() && cookieNotSet) setCookie() > > On 4/29/08, mfs <[EMAIL PROTECTED]> wrote: >> >> Doesnt really give what i need (looking at the src), i want to know if a

Re: About Wicket Session life-cycle

2008-04-29 Thread mfs
Not at all.. Johan Compagner wrote: > > are you sure that you custom web session isnt calling dirty()? > > On Tue, Apr 29, 2008 at 9:48 AM, mfs <[EMAIL PROTECTED]> wrote: > >> >> Thanks igor, the reason i asked so was because i am seeing this wierd >> b

Re: Session.isNew - Check if a (permanent) session was created in the given request

2008-04-29 Thread mfs
: > > Session.isTemporary(); > > Maurice > > On Tue, Apr 29, 2008 at 6:14 AM, mfs <[EMAIL PROTECTED]> wrote: >> >> Hello Everyone, >> >> Is there a way to check if a (permanent) session was created in the >> given >> request, in other

Re: About Wicket Session life-cycle

2008-04-29 Thread mfs
.. igor.vaynberg wrote: > > correct > > you can also bind the session manually by calling bind() > > -igor > > > On Mon, Apr 28, 2008 at 10:46 PM, mfs <[EMAIL PROTECTED]> wrote: >> >> Correct me if i am wrong.. >> >> - Wicket creates a p

About Wicket Session life-cycle

2008-04-28 Thread mfs
Correct me if i am wrong.. - Wicket creates a permanent session only when a stateful page is rendered. And it is at this time when the wicket session is bind with the http-session, and hence a jsessionID is generated by the servlet container and set as a cookie in the response. - On the contrary

Session.isNew - Check if a (permanent) session was created in the given request

2008-04-28 Thread mfs
Hello Everyone, Is there a way to check if a (permanent) session was created in the given request, in other words want to know if a JSESSIONID cookie is being set in the resulting response. I need to set another cookie alongside JSESSION id in the same request. Any pointers..? -- View this mess

Re: Change image source on every ajax request

2008-04-27 Thread mfs
got it to work using wicket.ajax postCallHandlers... mfs wrote: > > Guys, > > I have got a keep-alive.gif[?random=timestamp] in my LayoutPage (which > every page extends from). > > I need a way to change the source of this keep-alive image (so as to > update the ti

Change image source on every ajax request

2008-04-27 Thread mfs
Guys, I have got a keep-alive.gif[?random=timestamp] in my LayoutPage (which every page extends from). I need a way to change the source of this keep-alive image (so as to update the time stamp post-fixed with, so that the browser doesnt fetch it from the cache).and make it a default behavio

Re: RedirectPage - gets stuck in an endless loop

2008-04-27 Thread mfs
at should be going to the other application are being > handled by wicket?) > > > mfs wrote: >> >> Eventually its throws StackOverFlow exception... >> >> Jonathan Locke wrote: >>> >>> >>> some kind of exception being thrown ma

Re: RedirectPage - gets stuck in an endless loop

2008-04-26 Thread mfs
nd you think it's not your problem, boil it > down to a quickstart example and attach the example to a JIRA bug and > someone will take a look at it. > > jon > > > mfs wrote: >> >> Guys, >> >> I am using RedirectPage class to redirect to an

Re: RedirectPage - gets stuck in an endless loop

2008-04-26 Thread mfs
seException instead of redirecting. will save you a round > trip. > >jon > > > mfs wrote: >> >> Guys, >> >> I am using RedirectPage class to redirect to an external url, and >> strangely it just gets stuck in an endless loop..any idea

Ajax Components - render an http resource on ajax-component rendering

2008-04-26 Thread mfs
Guys, I am working on a wicket app which needs to provide inter-operability/single-sign-on support with an external mod_plsql based app. Among one of the tasks is to synchronize the session-timeouts between these two application. For now we have decided on a temporary solution (somewhat a hack),

Re: RedirectPage - gets stuck in an endless loop

2008-04-26 Thread mfs
RequestCycle.get().setRequestTarget(new RedirectRequestTarget(Host.getHttpsUrl() + "/login")) works fine.. Johan Compagner wrote: > > and what does /login do? > > > On Sat, Apr 26, 2008 at 4:51 AM, mfs <[EMAIL PROTECTED]> wrote: > >> >> Guys, &

  1   2   3   >