PageExpiredException not being thrown

2010-01-07 Thread Ryan O'Hara
After letting a session expire on a Search page using QueryStringUrlCodingStrategy, hovering on a Link with an onmouseover AjaxEventBehavior event throws a PageExpiredException, as expected. However, after allowing the session to expire in the same circumstance, and then clicking another

Re: Restarting AjaxLazyLoadingPanel

2009-11-13 Thread Ryan O'Hara
Finally got this working by changing the following line of code: newPanel.setOutputMarkupId(true); to : newPanel.setOutputMarkupId(true).setOutputMarkupPlaceholderTag(true); Hopefully this helps someone. Ryan On Nov 12, 2009, at 2:57 PM, rjohara wrote:

Update parent component from child component

2009-09-17 Thread Ryan O'Hara
I'm trying to update a parent's, parent's, parent component using AJAX. I tried combing the archives and came up with some seemingly useful stuff (http://www.nabble.com/How-to-update-base-page-panel-from-child-page--td20998486.html#a21015568 ), although I'm still have trouble. Below is a

Re: Reloading HeadersToolbar

2009-01-21 Thread Ryan O'Hara
: toolbar.setRenderBodyOnly(true); Hence, the error message. Try seeing if you can add the entire table to the AJAX target (or any outer container of it) so that the entire thing is repainted. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Jan 20, 2009 at 4:27 PM, Ryan O'Hara oh

Reloading HeadersToolbar

2009-01-20 Thread Ryan O'Hara
I've created a customized CnvHeaderToolbar which like HeadersToolbar extends AbstractToolbar. In addition to the header title, I also have inserted a triangle image that helps to display sort order and sort order direction. The problem I am having is that I have been unable to figure out

PrototipBehaviour problems

2009-01-12 Thread Ryan O'Hara
I'm trying to use PrototipBehaviour. Below is my code: Link detailsLink = new Link(Sample, new Model(sample)); Label label = new Label(sampleid, sample); detailsLink.add(label); PrototipBehaviour pb = new PrototipBehaviour(hallelujah!!); label.add(pb); add(detailsLink); And below is the source

AJAX readyState property equivalent

2009-01-08 Thread Ryan O'Hara
I was just wondering if there is an equivalent to the AJAX xmlHttp.readyState. I'm interested in display a Loading... message to the user while waiting for the response. Thanks in advance. Ryan - To unsubscribe, e-mail:

Referencing Request in Spring bean definitions

2008-11-03 Thread Ryan O'Hara
Hello, Is there anyway to reference Wicket's request object in the Spring bean definitions XML? I'm trying to define a session bean, which has two parameters in the contructor - a SwarmWebApplication and a Request. Thanks in advance. bean id=myApplication

Re: AjaxSubmitlink vs AjaxButton

2008-08-12 Thread Ryan O'Hara
I think you'll need to call form.setDefaultButton(submitLink). Ryan On Aug 12, 2008, at 11:13 AM, Milan Křápek wrote: Hi In my web application I realized form submiting by AjaxButtons. This wokrs great. I love the possibility to refresh just part of my page after submiting the form.

Re: Easier way to accomplish setResponsePage(Class, PageParameters)

2008-08-12 Thread Ryan O'Hara
) in the page constructor then getPage().getParameters() should have the parameter map johan On Mon, Aug 11, 2008 at 5:51 PM, Ryan O'Hara [EMAIL PROTECTED] wrote: We are trying to figure out the best way to make our URLs portable. Currently, we mount a QueryStringUrlEncodingStrategy in our

Re: Easier way to accomplish setResponsePage(Class, PageParameters)

2008-08-12 Thread Ryan O'Hara
Hybridurlencoder to mound the page then you can do setPage() johan On Tue, Aug 12, 2008 at 6:31 PM, Ryan O'Hara [EMAIL PROTECTED] wrote: Thank for the response, Johan. I don't think this is what we're looking for, however. If the user changes a form parameter, it will not be reflected

Easier way to accomplish setResponsePage(Class, PageParameters)

2008-08-11 Thread Ryan O'Hara
We are trying to figure out the best way to make our URLs portable. Currently, we mount a QueryStringUrlEncodingStrategy in our application class. Then, in the beginning of the page's constructor, page parameters are mapped to instance variables. Then, when the form button is clicked, a

SecureMarkupContainer

2008-08-07 Thread Ryan O'Hara
I created a SecureMarkupContainer following Maurice's example (http:// www.nabble.com/Swarm%3A-Authorization--for-WebMarkupContainer- td17206272.html#a17219441), with the only difference being it's its own class (not subclass). For some reason, the component doesn't seem to be added to the

Mapping url params to instance variables

2008-07-30 Thread Ryan O'Hara
When using setResponsePage(SearchPage.class, PageParameters) in a page with a QueryStringUrlCodingStrategy, is there a way to automatically map parameters values from the url to the instance variables in the response page component?

How to update custom Panel via AJAX

2008-07-29 Thread Ryan O'Hara
I have a custon class extending Panel. The constructor accepts two parameters which are passed to another method that sets the content of the label. I have been able to get the initial loading of the custom Panel to work, but it doesn't seem to be updating via AJAX. Below is some of the

Re: How to update custom Panel via AJAX

2008-07-29 Thread Ryan O'Hara
Thank you, Marijn. I've actually looked over the model page a few times in the past. I guess I just don't have a full handle on models, in general. Using the LoadableDetachableModel did resolve my problem - thanks! Below are the working code snippets: public Gbrowse(String id, String

AJAX changes preserved in portable URL

2008-07-24 Thread Ryan O'Hara
Is it possible for AJAX changes to be preserved in a portable URL? Thanks, Ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AJAX changes preserved in portable URL

2008-07-24 Thread Ryan O'Hara
be very interested. Thanks in advance. Ryan On Jul 24, 2008, at 1:31 PM, Ryan O'Hara wrote: Is it possible for AJAX changes to be preserved in a portable URL? Thanks, Ryan - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Updating ListView via AJAX

2008-06-25 Thread Ryan O'Hara
: is it that the listview doesnt refresh or that your getGroupMemberships() returns stale data? why dont you set up a breakpoint and see what its doing -igor On Tue, Jun 24, 2008 at 1:08 PM, Ryan O'Hara [EMAIL PROTECTED] wrote: Thanks for the quick response, Igor. Unfortunately, the ListView

Updating ListView via AJAX

2008-06-24 Thread Ryan O'Hara
I'm trying to update a ListView via AJAX. I've looked over a bunch of examples in the archives, but I'm still having some trouble. I'm trying to wrap the ListView with a WebMarkupContainer and then update that WebMarkupContainer. I also created a GroupMembership object, which is passed

Re: Updating ListView via AJAX

2008-06-24 Thread Ryan O'Hara
))); } }; Still no luck. Ryan On Jun 24, 2008, at 1:21 PM, Ryan O'Hara wrote: I'm trying to update a ListView via AJAX. I've looked over a bunch of examples in the archives, but I'm still having some trouble. I'm trying to wrap the ListView with a WebMarkupContainer

Re: Updating ListView via AJAX

2008-06-24 Thread Ryan O'Hara
= (GroupMembership) item.getModelObject(); item.add(new Label(group, new PropertyModel(item.getmodel(), group)); item.add(new CheckBox(member, new PropertyModel(item.getmodel(), selected))); } -igor On Tue, Jun 24, 2008 at 10:28 AM, Ryan O'Hara [EMAIL PROTECTED] wrote: Also, tried using

Re: Testing components not added directly to page

2008-05-27 Thread Ryan O'Hara
, 2008, at 12:29 PM, Martijn Dashorst wrote: check the code for WicketTester, I thought the ID for the panel would be test, but could be panel or something else. Apparently my memory sucks Martijn On Tue, May 27, 2008 at 6:24 PM, Ryan O'Hara [EMAIL PROTECTED] wrote: Hey Martijn, I've tried

Testing components not added directly to page

2008-05-23 Thread Ryan O'Hara
Hello, I'm trying to test a component that is added to another component that is added to the page. For example, I'd like to test the FeedbackPanel below that is added to the Form which is added to the page. I'm unsure of how to do this. Any help would be appreciated. Thanks! Ryan

FeedbackPanel not displaying message

2008-05-01 Thread Ryan O'Hara
I'm having trouble getting messages to display in the FeedbackPanel. Also, any idea how to get the form to submit after the user presses enter/return in a textfield (when using AjaxSubmitLink)? Any ideas? Below is my code. //feedbackPanel FeedbackPanel feedbackPanel = new

Re: Using AJAX to change style of component

2008-04-28 Thread Ryan O'Hara
Cool, that worked. Thanks, Frank. Ryan On Apr 25, 2008, at 2:25 AM, Frank Bille wrote: You have to set outMarkupId when creating the component. It's too late to do it in the ajax callback. Frank On Thu, Apr 24, 2008 at 9:32 PM, Ryan O'Hara [EMAIL PROTECTED] wrote: I'm fairly new

Using AJAX to change style of component

2008-04-24 Thread Ryan O'Hara
I'm fairly new to Wicket and was wondering if there is a way to use AJAX to change the style of a WebMarkupContainer? Below is a snippet of my code: IModel sourceModel = new Model() { public Object getObject() { return sourceOptions; }

Tabs - hovering and clicking

2008-03-25 Thread Ryan O'Hara
Hey, I'm new to Wicket. I'm trying to create a tabbed header, which will load Tab classes when hovered. The tab classes are panels, as well. I tried making hoverMenu a panel, but I was getting some errors about it not finding markup. Any help would be greatly appreciated. Below is a

Re: Tabs - hovering and clicking

2008-03-25 Thread Ryan O'Hara
. This class extends Panel. If you need anything else, please let me know. Thanks again. Ryan On Mar 25, 2008, at 12:55 PM, Igor Vaynberg wrote: seeing the actual stacktrace would be more helpful... -igor On Tue, Mar 25, 2008 at 8:59 AM, Ryan O'Hara [EMAIL PROTECTED] wrote: Hey, I'm new

Panel Question

2008-03-25 Thread Ryan O'Hara
Can a class extending a panel contain a panel? Thanks, Ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Panel problem

2008-03-25 Thread Ryan O'Hara
Hello, I have a Login.html/Login.java which adds a TabbedHeader component (which extends Panel). When I try to add a panel component to TabbedHeader, I get the following exception: WicketMessage: Markup of type 'html' for component 'org.apache.wicket.markup.html.panel.Panel' not found.

Re: Panel problem

2008-03-25 Thread Ryan O'Hara
On Mar 25, 2008, at 5:33 PM, Timo Rantalaiho wrote: On Tue, 25 Mar 2008, Ryan O'Hara wrote: WicketMessage: Markup of type 'html' for component 'org.apache.wicket.markup.html.panel.Panel' not found. Enable debug messages for org.apache.wicket.util.resource to get a list of all filenames tried