[Wicket-user] ListMultipleChoice and AJAX problem

2006-03-02 Thread Jerry Smith
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

[Wicket-user] Are the lists working?

2006-03-02 Thread Jerry Smith
Are the lists working?

[Wicket-user] ListMultipleChoice and AJAX Wicket-beta1

2006-03-09 Thread Jerry Smith
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

RE: [Wicket-user] ListMultipleChoice and AJAX Wicket-beta1

2006-03-09 Thread Jerry Smith
-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

RE: [Wicket-user] ListMultipleChoice and AJAX Wicket-beta1

2006-03-09 Thread Jerry Smith
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. 

[Wicket-user] Change or bug from 1.1 to 1.2

2006-03-09 Thread Jerry Smith
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

[Wicket-user] IllegalStateException in WebSession.valueUnbound 1.2beta1 on Tomcat 5.5.15

2006-03-13 Thread Jerry Smith
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

[Wicket-user] 1.2 beta3 AjaxPagingNavigator odd behavior?

2006-04-05 Thread Jerry Smith
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) {

RE: [Wicket-user] 1.2 beta3 AjaxPagingNavigator odd behavior?

2006-04-05 Thread Jerry Smith
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++) {  

RE: [Wicket-user] Ajax in IE gets slower and slower

2006-04-07 Thread Jerry Smith
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

[Wicket-user] IMG reload via AJAX

2006-04-07 Thread Jerry Smith
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

RE: [Wicket-user] IMG reload via AJAX

2006-04-07 Thread Jerry Smith
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 -

[Wicket-user] Using Link on an internal anchor

2006-05-10 Thread Jerry Smith
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

[Wicket-user] Border and markup inheritance problem

2006-05-17 Thread Jerry Smith
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]

[Wicket-user] Border and markup inheritance problem

2006-05-19 Thread Jerry Smith
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

RE: [Wicket-user] Border and markup inheritance problem

2006-05-19 Thread Jerry Smith
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

Re: [Wicket-user] Wicket 2.0

2006-06-12 Thread Jerry Smith
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

[Wicket-user] LoadableDetachableModel question

2006-07-07 Thread Jerry Smith
Using a typical situation like:   IModel myListModel = new LoadableDetachableModel() {   protected Object load() {     Object result = null;     try {    result = someServiceOrDao.findSomeListOfObjects();     } catch(Throwable t) {     ???     }     return  result; } };

Re: [Wicket-user] LoadableDetachableModel question

2006-07-07 Thread Jerry Smith
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

Re: [Wicket-user] LoadableDetachableModel question

2006-07-07 Thread Jerry Smith
;, 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

[Wicket-user] Reusable component with CSS and images

2006-08-30 Thread Jerry Smith
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

Re: [Wicket-user] Reusable component with CSS and images

2006-08-30 Thread Jerry Smith
] 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

Re: [Wicket-user] Reusable component with CSS and images

2006-08-30 Thread Jerry Smith
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

Re: [Wicket-user] HeaderContributor on page works for one request only? (1.2.2)

2006-08-31 Thread Jerry Smith
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

[Wicket-user] Form.updateFormComponentModels() doesn't seem to be working

2006-09-07 Thread Jerry Smith
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