Re: [Wicket-user] Problem loading dynamic image using ajax

2007-05-27 Thread Michael K
Is that what causing the dynamic image to be expired? - Original Message From: Kent Tong [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Saturday, May 26, 2007 10:49:53 PM Subject: Re: [Wicket-user] Problem loading dynamic image using ajax Michael K m_lestat at yahoo.com

Re: [Wicket-user] Problem loading dynamic image using ajax

2007-05-26 Thread Michael K
ajax Michael K m_lestat at yahoo.com writes: Hi,I have problem displaying dynamic image using ajax. The problem is that the image url became expired after the page has rendered. The page was loaded fine it didn't triggered page expired. I think there is something wrong with your code: How can

[Wicket-user] Problem loading dynamic image using ajax

2007-05-23 Thread Michael K
Hi, I have problem displaying dynamic image using ajax. The problem is that the image url became expired after the page has rendered. The page was loaded fine it didn't triggered page expired. Please check out my sample code below: public class AjaxPage extends WebPage { public

Re: [Wicket-user] Questions about non-wicket ajax call to wicket component

2007-03-06 Thread Michael K
-igor On 3/5/07, Michael K [EMAIL PROTECTED] wrote: Hi, I got a problem when i tried to use yui-ext updateManager script to load wicket component via XHR. Here is what I 've done so far: I created a js script that contain a Yui-ext's Dialog panel and embedded into the header page. Next, I

[Wicket-user] Questions about non-wicket ajax call to wicket component

2007-03-05 Thread Michael K
Hi, I got a problem when i tried to use yui-ext updateManager script to load wicket component via XHR. Here is what I 've done so far: I created a js script that contain a Yui-ext's Dialog panel and embedded into the header page. Next, I override Wicket.link's getOnClickScript(url) so that

Re: [Wicket-user] Custom web form in Wicket

2007-01-17 Thread Michael K
Hi Paolo, Thanks for your suggestion. I 'm about to download the package but I 'm not sure which package the beanpanel is belong to. Cause, I saw a list of categorized packages such as contrib-data, contrib-dojo etc in the download page. Thanks, Michael - Original Message From:

[Wicket-user] Custom web form in Wicket

2007-01-11 Thread Michael K
Hi, I 'm planning to include a feature in my web application that enables a customer to build a webform on the fly. The customer can determine which type of form component (i.e. textfield, list, options etc.) needs to be included. The web application displays the custom form and process the

Re: [Wicket-user] Custom web form in Wicket

2007-01-11 Thread Michael K
AM Subject: Re: [Wicket-user] Custom web form in Wicket not only is it feasible, it is easy :) -igor On 1/11/07, Michael K [EMAIL PROTECTED] wrote: Hi, I 'm planning to include a feature in my web application that enables a customer to build a webform on the fly. The customer can determine

Re: [Wicket-user] Custom web form in Wicket

2007-01-11 Thread Michael K
) of component in a panel, then add them to repeatingview or another repeater to build the form -igor On 1/11/07, Michael K [EMAIL PROTECTED] wrote: hmm certainly my next question is: what are the tricks? :) AFAIK, Wicket demands the form component to be mapped out during development time

[Wicket-user] Custom session expiry page

2006-08-18 Thread Michael K
Hi,How do I embed a custom session expiry page into wicket application?Thanks,Michael- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make

[Wicket-user] Cached list object?

2006-07-07 Thread Michael K
Hi,I'm not sure if this problem I'm dealing with have something to do with Wicket or Cayenne.A bit of a background, I'm using Wicket and Cayenne ORM to build a simple CRUD application.I want to be able to select and delete a record from the list (using ListView component) and then redirect back to

[Wicket-user] Wizard's Confirmation Page

2006-05-16 Thread Michael K
Hi,I 've been playing with the latest Wizard example this morning as well as wicket-extensions-1.2-rc4, I come across couple of questions:1. How can I 'manipulate' model's value before being rendered within confirmation page? For example I want to set Firstname to 'Not available' whenever the

[Wicket-user] Resize static image

2006-03-25 Thread Michael K
Hi,I am writing a code that enable resizing images on the fly. The images are located under Web-app/resources/images/username/filename.gif I try to use BufferedDynamicImageResource but I don't know how to bind image resource to the default resource location or perhaps I can directly read the image

[Wicket-user] Newbie question: applying dynamic form component with ListView

2006-03-15 Thread Michael K
Hi,Which type should I define in POJO Model to hold the value of the array of TextField/DropDownChoice when populated by ListView? Should I define it as String[] or ArrayList or something else? I have attached the following example to explain my situation: public class DetailForm extends Form {

Re: [Wicket-user] Newbie question: applying dynamic form component with ListView

2006-03-15 Thread Michael K
rridepublic String toString() {return name + ", " + age + "(" + code + ")";}} } Good luck, I hope this helps you understand. Just remember th at it really is as easy as it should be, which (sadly) takes some getting used to if you've used other frameworks.---

[Wicket-user] Re: ListMultipleChoice unable to reference all selected items

2006-03-14 Thread Michael K
Hi,I 'm wondering if the problem posted by Jonathan Cone (below) had been solved. I also come across with similar problem where ListMultipleChoice is unable to reference to all selected item, instead it is only refering to the last selected item.I 'm currently using wicket 1.1.1.Thanks very

[Wicket-user] Re: ListMultipleChoice unable to reference all selected items

2006-03-14 Thread Michael K
Referring to my earlier post, I just realise that the problem occurs when I have form.setMultiPart set to true. Also, I tested ListMultipleChoicePage (taken from Wicket-example), same thing happened. Is there any workaround?Cheers,MichaelMichael K [EMAIL PROTECTED] wrote: Hi,I 'm wondering if the

Re: [Wicket-user] ListView: Rendering table row id attribute

2006-03-13 Thread Michael K
protected void populateItem(final ListItem listItem) { add(new Label("name","Scooby").new AttributeModifier("id", .., new Model("row" + listItem.getIndex())); } Dirk 2006/3/13, Michael K [EMAIL PROTECTED]: Hi, I want to be able to render id="row