I’m using snapshot 20060227-0200 a ListMultipleChoice
with AjaxFormComponentUpdatingBehavior. The ListMultipleChoice’s model is
getting set to only the first selected item in the list during the AJAX update. I’m
guessing the problem might be in wicket-ajax.js:
function wicketGetValue(c
Are the lists working?
I have a ListMultipleChoice with an AJAX onchange handler attached to it
in a form. When I first bring up the form, the behavior works fine. I
submit the form, which comes back to the same page. Now when I select
something in the ListMultipleChoice it's throwing:
Caused by: java.lang.ClassCastE
-Igor
On 3/9/06, Igor
Vaynberg <
[EMAIL PROTECTED]> wrote:
thats weird, why is an ajax request causing a redirect? are you setting
the redirect manually somewhere? what render strategy do you use?
-Igor
On 3/9/06, Jerry
Smith <[EMAIL PROTECTED]>
wrot
look at it?
-Igor
On 3/9/06, Jerry
Smith <[EMAIL PROTECTED]>
wrote:
The section that gets updated when the ListMultipleChoice
onchange happens is wrapped in a WebMarkupContainer. Before the form is
submitted it works great. It starts acting weird after the form is
submitted.
I had a page in 1.1 along the lines of
.add(new Label("label", "some text"));
In the html I had
.
.
.
.
In 1.2 it breaks with:
wicket.markup.MarkupException: The component [Component id = label, page
= test.HomePage, path = 0:label.Label, isVisible = true, isVersioned =
true] has the same w
Undeploying and redeploying my webapp I'm getting:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAcc
Here's my test Page:
public class HomePage extends WebPage {
public HomePage() {
List list = new ArrayList();
for(int i = 0; i < 40; i++) {
list.add(Integer.toString(i));
}
PageableListView lv = new PageableListView("items", (List)list,
5) {
le, or the TBODY part.
Martijn
On 4/5/06, Jerry
Smith <
[EMAIL PROTECTED]> wrote:
Here's my test Page:
public class HomePage extends WebPage {
public HomePage() {
List list = new
ArrayList();
for(int i = 0; i < 40; i++) {
This is happening with AjaxPagingNavigator
as well. The memory usage of both IE and firefox jump pretty high on each
refresh.
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Knight
Sent: Friday, April 07, 2006 10:58
AM
To: wicket-user@lists.sourceforge.ne
Hi all, I’m trying to get an Image to reload via AJAX. Basically I’ve
got some thumbnails when the user clicks on them I want to display the full
version. The model is changing, but the screen isn’t refreshing quite
right. The AJAX
response comes back but the graphic doesn’t update unles
ilto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg
Sent: Friday, April 07, 2006 3:29
PM
To:
wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] IMG
reload via AJAX
there are a couple of
ways:
one) add anti caching headers to your resource
two) append a random number to the resource url
-
Hi all! How would I go about making a Link that in addition
goes to whatever page, but then scrolls to some named anchor? It looks like
for some other situations overriding onComponentTag() seems to be the answer,
however in Link that method is final. Thanks for any input!
-Jerry
I'm get a "WicketMessage: Unable to find component with id 'message'"
error. Maybe this can't be done or I'm doing it wrong using 1.2rc4, but
what I'm working with is a MyBorder component, a BasePage, and
ExtendPage. Here's the distilled code bits:
MyBorder.html:
[header]
Sorry to send this again, I
know you’re all very busy trying to get the 1.2 release together, but I
didn’t want this to fall through the cracks if it is a bug.
I'm get a
"WicketMessage: Unable to find component with id 'message'"
error. Maybe this can't be
done or I'm doing it wrong us
it in the border's parent
or use markup inheritance which is a much much better fit for this usecase
-Igor
On 5/19/06, Jerry
Smith <
[EMAIL PROTECTED]> wrote:
Sorry to send this again, I know you're all very busy trying to
get the 1.2 release together, but I didn
Looks like there are some very nice changes coming to Wicket in 2.0! Is
there a timeline on when there might be binary drops to play with and a
possible target release date?
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:wicket-user-
> [EMAIL PROTECTED] On Behalf Of Eelco Hilleniu
Using a typical situation
like:
IModel myListModel = new
LoadableDetachableModel() {
protected Object load() {
Object result = null;
try {
result = someServiceOrDao.findSomeListOfObjects();
} catch(Throwable t) {
???
}
return result;
}
};
t; Personally, I wouldn't catch exceptions in my models though. If a
> service fails and it is not designed to fail quietly, I would rather
> display some error page. But that's up to you of course :)
>
> Eelco
>
>
>
> On 7/7/06, Jerry Smith <[EMAIL PROTECTE
;, m));
}
}
}
TestPage.html
Some selection:
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:wicket-user-
> [EMAIL PROTECTED] On Behalf Of Jerry Smith
> Sent: Friday, July 07, 2006 2:06 PM
> To: wicket
I’m working on making a reusable component that is
styled with a CSS file that references some images. I’ve been
looking for a solution to this, and I think it’s just that I’m
having a disconnect in dealing with Resources. Here’s a simple
version of what I’m trying to do:
Component.ja
] https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1532568&group_id=119783
-Igor
On 8/30/06, Jerry Smith
<[EMAIL PROTECTED]> wrote:
I'm
working on making a reusable component that is styled with a CSS file that
references some images. I've be
Ok, now I'm really confused, it's working. I just took out the
getApplication().getSharedResources().putClassAlias(getClass(),
"mycomponent");
line and it's working with the CSS url's like url(MyImage1.jpg)
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:wicket-user-
> [EMAIL
HeaderContributor.forCss(Class c, String path) is NOT working for me in
1.2.2 after the first request to a page.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:wicket-user-
> [EMAIL PROTECTED] On Behalf Of landtuna
> Sent: Tuesday, August 29, 2006 4:14 PM
> To: wicket-user@lists.so
I’ve got a simple Form with TextField(“tf”,
new PropertyModel(myObj, “text”).setRequired(true). I have
one non-Wicket submit button, and a wicket Button, with setDefaultFormProcessing
set to false. In the onSubmit() of the Wicket button I call updateFormComponentModels().
If I put text i
25 matches
Mail list logo