Re: Login page hangs after custom page-expired error page

2011-08-28 Thread Scott Reed
8/2011 11:17 AM, Martin Grigorov wrote: Again the page flow is not very clear, but I'll try. On Sun, Aug 28, 2011 at 5:55 PM, Scott Reed wrote: My apologies. I am reposting this without the distracting formatting. I created my own PageExpiredErrorPage with a button that says "Return to h

Re: Login page hangs after custom page-expired error page

2011-08-28 Thread Scott Reed
ething On Fri, Aug 26, 2011 at 6:54 PM, Igor Vaynberg wrote: can we remove it then? -igor On Fri, Aug 26, 2011 at 8:19 AM, Martin Grigorov wrote: actually #isErrorPage() is not used in current 1.5, so WIA is correct On Fri, Aug 26, 2011 at 6:15 PM, Scott Reed wrote: Thanks, Bruno. I added is

Possible fix for linking to home page from page-expired page?

2011-08-26 Thread Scott Reed
I found that replacing add(linkHomePage( "homeLink" )) with my code below works. Can anyone explain? Thanks, Scorr void addHomeBtn( String id, MarkupContainer parent, final WebPage page ) { final AbstractDefaultAjaxBehavior homeBehavior = new AbstractDefaultAjaxBehavior() {

Re: Login page hangs after custom page-expired error page

2011-08-26 Thread Scott Reed
8/26/2011 9:15 AM, Bruno Borges wrote: I think you must set your page as error page. Make that change and try again. *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Fri, Aug 26, 2011 at 1:27 AM, Scott Reed wrote: A created my own PageExpiredErrorPage. There is a button that is sup

Cannot go to homepage from custom page expired error page

2011-08-26 Thread Scott Reed
My apologies. I am reposting this without the distracting pseudo-formatting. I created my own PageExpiredErrorPage. There is a button that is supposed to take the user to the login page so they can log in (just like the button on the default page-expired error page). / / When the user first op

Login page hangs after custom page-expired error page

2011-08-25 Thread Scott Reed
A created my own PageExpiredErrorPage. There is a button that is supposed to take the user to the login page so they can log in (similar to the button on the default page-expired error page). / / When the user first opens the web site, they see a log in page with URL /http://mydomain.com/rems/wi

Re: Controlling head element order with renderHead(IHeaderResponse)

2011-07-18 Thread Scott Reed
le/com.mni.SignInPage?0"; /*]]>*/ I'd rather have Sign In be the first thing after followed by the "lines I'm adding with decorator". On 7/18/2011 2:10 PM, Martin Grigorov wrote: What exactly is hardcoded ? I'm not aware of such documentation but it sounds

Re: Controlling head element order with renderHead(IHeaderResponse)

2011-07-18 Thread Scott Reed
its specializations. On Fri, Jul 15, 2011 at 10:25 PM, Scott Reed wrote: Looking at that code some more I realize I have no idea what it's doing and I'm finding the javadocs and comments pretty opaque. Is there anything you can refer me to that will give me the background to understand th

Re: Controlling head element order with renderHead(IHeaderResponse)

2011-07-15 Thread Scott Reed
11 2:07 PM, Martin Grigorov wrote: You'll need to setup custom response decorator. See http://www.wicket-library.com/wicket-examples/resourceaggregation On Fri, Jul 15, 2011 at 9:01 PM, Scott Reed wrote: I am adding script and css references on the fly using renderHead(IHeaderResponse). Howeve

Re: Controlling head element order with renderHead(IHeaderResponse)

2011-07-15 Thread Scott Reed
aggregation On Fri, Jul 15, 2011 at 9:01 PM, Scott Reed wrote: I am adding script and css references on the fly using renderHead(IHeaderResponse). However this adds the head elements after the Wicket scripts and that interferes with how my scripts and css work. When I hardcode my elements be

Controlling head element order with renderHead(IHeaderResponse)

2011-07-15 Thread Scott Reed
I am adding script and css references on the fly using renderHead(IHeaderResponse). However this adds the head elements after the Wicket scripts and that interferes with how my scripts and css work. When I hardcode my elements before the Wicket elements everything works as we need. How can I ad

Re: Unwanted authentication persistence

2011-06-30 Thread Scott Reed
I figured out that the sign-in panel was storing the authentication data in a cookie from when we had first tried it before we turned off the remember-me option and now it's getting it back from there even though we have turned off that option. Was a simple tweak to fix it. On 6/28/2011 3:15 P

Re: Dynamic AJAX text in WebMarkupContainer

2011-06-11 Thread Scott Reed
Thank you, BenoƮt. I am not familiar enough with the inner workings of Wicket to know how to rewrite the tag changes. I looked at the source code and can see that it's not that simple. Can you (or anyone else here) point me to some examples or explanatory documentation that might help me. I'

Dynamic AJAX text in WebMarkupContainer

2011-06-10 Thread Scott Reed
I am using Wicket with jQuery Mobile. I cannot use Wicket Label because it interferes with (eliminates) the jQM styling. I am using WebMarkupContainer for most components but I need to have dynamic AJAX text and would appreciate help on how to do it with WebMarkupContainer or any other ideas o

Re: Original page cloned after popup dialog closes

2011-05-28 Thread Scott Reed
Yes. I pass the original page and the model is accessed by a getter. When the modal window closes and the onClose() callback is called, the page and the model have been replaced by clones. On 5/28/2011 2:03 PM, andrea del bene wrote: Store data and sharing them across pages/components should be

Re: Original page cloned after popup dialog closes

2011-05-28 Thread Scott Reed
Wicket creates a new version of the page after a popup Modal Window closes. This means any changes made to the original page from the popup are lost once the popup is closed. I suppose I could store the data for the change in the session and change the new page version after the popup closes bu

Re: Original page cloned after popup dialog closes

2011-05-28 Thread Scott Reed
Hi, Let's work with the example I sent you last night since it's complete and there's nothing to explain. Thanks, Scott On 5/28/2011 3:49 AM, andrea del bene wrote: Hi, sorry but I don't understand where is the model you are trying to modify. Are you sharing a model instance between

Re: Original page cloned after popup dialog closes

2011-05-27 Thread Scott Reed
Andre, Line 41 opens the dialog. The object ID of the page is the same there, on line 6 where the dialog is constructed as well as in the dialog once it opens. When the dialog closes and we get to line 11, the ID has changed and the component model does not have the changes that were made in

Original page cloned after popup dialog closes

2011-05-26 Thread Scott Reed
Out app has a WebPage that opens a ModalWindow dialog passing in the page. The dialog allows the user to modify the model of one of the page's components. When the dialog closes and the onClose() callback in the page is called, the object ID of the page has changed and the component model does

Re: Custom event: fire and handle

2011-05-06 Thread Scott Reed
Thanks! See https://issues.apache.org/jira/browse/WICKET-3677 On 5/6/2011 1:13 PM, Igor Vaynberg wrote: attach it to a jira ticket. -igor On Fri, May 6, 2011 at 10:02 AM, Scott Reed wrote: I attached a quickstart here but I'm not sure attachments work on this list. Let me know how to

Re: Custom event: fire and handle

2011-05-06 Thread Scott Reed
I attached a quickstart here but I'm not sure attachments work on this list. Let me know how to send the file if that fails. Scott On 5/6/2011 12:17 PM, Igor Vaynberg wrote: having a working quickstart project would help. -igor On Fri, May 6, 2011 at 9:13 AM, Scott Reed wrote: I wa

Re: Custom event: fire and handle

2011-05-06 Thread Scott Reed
ragment which will invoke the server-side callback. you can now write that out into the head yourself using IHeaderContributor and wire it into jquery's callback. -igor On Wed, May 4, 2011 at 3:56 PM, Scott Reed wrote: I tried doing this using the onclick event of the list item but there

Re: Custom event: fire and handle

2011-05-04 Thread Scott Reed
n directly to window, and repaint the content div inside the behavior's handler. -igor On Wed, May 4, 2011 at 3:27 PM, Scott Reed wrote: I want to update the models for the component's children and refresh it. This app has a list on the "home page". Selecting one of the list

Re: Custom event: fire and handle

2011-05-04 Thread Scott Reed
what you want to happen when this javascript event is fired? -igor On Wed, May 4, 2011 at 3:05 PM, Scott Reed wrote: Certain jQuery Mobile components can trigger a custom javascript event, "pagebeforeshow", which I want to handle on the server. I am new to this list and to Wicket and h

Custom event: fire and handle

2011-05-04 Thread Scott Reed
Certain jQuery Mobile components can trigger a custom javascript event, "pagebeforeshow", which I want to handle on the server. I am new to this list and to Wicket and have not been able to find any documentation or examples that show how this could be done.|I would appreciate any help in figur