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
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:
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
:
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
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
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
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:
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
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.
) 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
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
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
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
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?
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
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
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]
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
:
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
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
)));
}
};
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
= (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
, 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
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
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
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
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;
}
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
. 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
Can a class extending a panel contain a panel?
Thanks,
Ryan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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.
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
32 matches
Mail list logo