RE: modal window question - opening a modal window on page load

2008-01-29 Thread kenixwong
Hi, i had change the idea to do it ...my page will be left menu bar (few report links) and content page. Once click on the report link, it will load the report and Pop up a modal window at the same time. The modal window has some message and a cancel button. What i want is the report is

Re: [discuss] Mailing list usage...

2008-01-29 Thread Martijn Dashorst
On 1/29/08, Martijn Dashorst [EMAIL PROTECTED] wrote: I think a community@ list is preferable for ongoing community issues. But this will not eliminate the (need for) use of user@ for user group efforts, as the new community list will not be as populated as the user@ list. I've proposed this

is it possible to have concurrent page?

2008-01-29 Thread cemeterygate
(first, sorry for start a new thread. The original thread was mixed-up with different top discussion) that's right, i am screwed anyway if request takes too long, but from the browser user decides to give up current search by click the stop button and fire a new search. Since the pagemap is

Re: [discuss] Mailing list usage...

2008-01-29 Thread Curtis Cooley
Martijn Dashorst wrote: On 1/29/08, James Carman [EMAIL PROTECTED] wrote: Remember, these mailing lists are used by thousands of people all over the world and they're here for a specific reason, to learn about Wicket (or to help others). Remember that we are all humans, and

Re: [discuss] Mailing list usage...

2008-01-29 Thread Scott Swank
If the user groups are split onto a separate thread I would like to see meeting announcements cross-posted to this list so that it's as easy as possible for new users to find the meetings. - Scott - To unsubscribe, e-mail:

RE: Dynamic DataTable columns

2008-01-29 Thread UPBrandon
Well, it's not really a matter of hiding and showing table columns for convenience. It's really more a matter of having a selection panel that allows a user to select a business object (the panel puts it in a model) and and display panel that displays details for the selected business object.

Re: [discuss] Mailing list usage...

2008-01-29 Thread James Carman
On 1/29/08, Martijn Dashorst [EMAIL PROTECTED] wrote: On 1/29/08, James Carman [EMAIL PROTECTED] wrote: There has been some concern over the proper usage of the Wicket mailing lists. Not really, just you :-) I count as some! :-)

Re: Disable loading remote DTD

2008-01-29 Thread Boon Aik Chew
Thanks, but it turns out that I can disable it completely as well. http://www.theserverside.com/discussions/thread.tss?thread_id=46839 On Jan 29, 2008 9:18 PM, Martin Grigorov [EMAIL PROTECTED] wrote: Check http://java.sun.com/javase/6/docs/api/org/xml/sax/EntityResolver.html On Tue,

Re: [WicketStuff-Scriptaculous] DragNDrop problem in IE6/IE7.

2008-01-29 Thread Nino Saturnino Martinez Vazquez Wael
Lan Boon Ping wrote: Hi, I didn't have a change to debug it yet, because I don't have a dedicated PC with XP IE6 installed, we are setting up a new one now. I will take a deeper look at it soon. Thanks for the link. On Jan 29, 2008 3:33 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL

Disable loading remote DTD

2008-01-29 Thread Boon Aik Chew
Little bit off topic, how do I disable transformer from loading remote DTD to do validation? DOMSource domSource = new DOMSource(doc); StreamResult streamResult = new StreamResult(result); TransformerFactory transformerFactory = TransformerFactory.newInstance(); Transformer serializer =

Re: Copenhagen wicket user meeting: rescheduled

2008-01-29 Thread Nino Saturnino Martinez Vazquez Wael
Lets hear about if from others, I think we should start a new thread about this, will you initiate it? regards Nino James Carman wrote: what about using the announcements list? On 1/29/08, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Maybe the Wicket site could have a

Re: [discuss] Mailing list usage...

2008-01-29 Thread Martijn Dashorst
The way most (if not all) Wicket committers keep track of this list (and all other mailing lists for that matter) is to use gmail as their list reading platform. The threaded view of gmail is unsurpassed IMO. I have 0 unread Wicket messages on all lists I'm subscribed to: user, dev, commits,

Re: [discuss] Mailing list usage...

2008-01-29 Thread Nino Saturnino Martinez Vazquez Wael
you can also use thunderbird[1], it has a similar threaded view. [1]=http://www.mozilla-europe.org/da/products/thunderbird/ Martijn Dashorst wrote: The way most (if not all) Wicket committers keep track of this list (and all other mailing lists for that matter) is to use gmail as their list

[discuss] Mailing list usage...

2008-01-29 Thread James Carman
There has been some concern over the proper usage of the Wicket mailing lists. Here's what I propose: users - used for folks to ask/answer questions concerning the wicket framework announcements - used for announcing releases, upcoming user group meetings, etc. developers - used for the actual

RE: Dynamic DataTable columns

2008-01-29 Thread Clay Lehman
Can't you just create a new DataTable with the new list of columns in the ajax call when you want to add/remove a column, then repaint the container holding the Table? -Clay -Original Message- From: Timo Rantalaiho [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 10:26 PM To:

Re: [discuss] Mailing list usage...

2008-01-29 Thread Nino Saturnino Martinez Vazquez Wael
Yeah, I had a thought on that aswell... regards Nino Scott Swank wrote: If the user groups are split onto a separate thread I would like to see meeting announcements cross-posted to this list so that it's as easy as possible for new users to find the meetings. - Scott

Re: [discuss] Mailing list usage...

2008-01-29 Thread Erik van Oosten
Scott Swank wrote: If the user groups are split onto a separate thread I would like to see meeting announcements cross-posted to this list so that it's as easy as possible for new users to find the meetings. That kinds of defeats the purpose. So not splitting would be better IMHO.

Re: Copenhagen wicket user meeting: rescheduled

2008-01-29 Thread James Carman
what about using the announcements list? On 1/29/08, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Maybe the Wicket site could have a page on the Community section listing some of the user groups around the world with information about them (website, mailing lists, etc.).

Re: Disable loading remote DTD

2008-01-29 Thread Martin Grigorov
Check http://java.sun.com/javase/6/docs/api/org/xml/sax/EntityResolver.html On Tue, 2008-01-29 at 21:01 +0800, Boon Aik Chew wrote: Little bit off topic, how do I disable transformer from loading remote DTD to do validation? DOMSource domSource = new DOMSource(doc); StreamResult

Re: Article: Introducing Apache Wicket

2008-01-29 Thread jweekend
Karthik, Thanks for the kind words. Just to put the record straight, it was one of our new developers at jWeekend, Dmitry Kandalov, that came back with the most useful parts of the feedback we gave when we reviewed your article and it's always a pleasure for us to try to help with anything that

Re: [discuss] Mailing list usage...

2008-01-29 Thread Martijn Dashorst
On 1/29/08, James Carman [EMAIL PROTECTED] wrote: Any conversation that becomes personal in nature (well wishes for other people's loved ones for example) should be taken off-line, since it's just not relevant to the rest of us. I agree in partial with this sentiment, however... Remember,

Re: [discuss] Mailing list usage...

2008-01-29 Thread Martijn Dashorst
On 1/29/08, James Carman [EMAIL PROTECTED] wrote: There has been some concern over the proper usage of the Wicket mailing lists. Not really, just you :-) Here's what I propose: users - used for folks to ask/answer questions concerning the wicket framework announcements - used for

Re: Ajax Busy Indicator

2008-01-29 Thread Michael Sparer
Take a look at IndicatingAjaxButton in the extensions-project and adapt it for your form. If you don't mind taking the default indicator, you can use WicketAjaxIndicatorAppender just like in the mentioned class Martin Makundi wrote: Hi! Can anyone help? I am having difficulties showing

Re: Pagemap null is still locked by blah exception, help!! why does wicket have to lock the pagemap

2008-01-29 Thread cemeterygate
that's right, i am screwed anyway if request takes too long, but from the browser user decide to give up current search by click the stop button and fire a new search. Since the pagemap is still locked by previous request, the second request will have to wait. sounds like i will end up handle

Re: Dynamic DataTable columns

2008-01-29 Thread Igor Vaynberg
the only caveat is remembering to keep the current page...but that is trivial -igor On Jan 29, 2008 5:13 AM, Clay Lehman [EMAIL PROTECTED] wrote: Can't you just create a new DataTable with the new list of columns in the ajax call when you want to add/remove a column, then repaint the

Re: Dynamic DataTable columns

2008-01-29 Thread Igor Vaynberg
yes, and we have created something like this at my current work place. we have the notion of column sets, but we also have our own implementation of data table. perhaps some of this will be merged into 1.4 - but not in 1.3 becuase of api breaks. -igor On Jan 29, 2008 8:08 AM, UPBrandon [EMAIL

Re: [discuss] Mailing list usage...

2008-01-29 Thread Igor Vaynberg
a big +1 from me, dont know how i would deal with all this traffic without gmail... -igor On Jan 29, 2008 8:26 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: The way most (if not all) Wicket committers keep track of this list (and all other mailing lists for that matter) is to use gmail as

Re: is it possible to have concurrent page?

2008-01-29 Thread Igor Vaynberg
it might be possible, but unlikely in the 1.3 branch. it is an interesting idea however, mind adding it to the wishlist for 1.4 wiki page? the issues is not as simple as it first seems. there is serialization/versioning issues to consider, etc. -igor On Jan 29, 2008 8:26 AM, cemeterygate

Passing list of POJOs to AutoCompleteTextField?

2008-01-29 Thread Michael Mehrle
I have a working test page containing an AutoCompleteTextField. Thus far the data feeding it has been an Iterator of strings which is being passed to its overridden getChoices method. So far so good. What I need to do now is to pass in an Iterator of POJOs instead and have the

Re: Ajax Busy Indicator

2008-01-29 Thread Martin Makundi
Hi! I can get the default behaviour to work. However, I do not want the ajax indicator icon to be appended after the button. Instead, I want to simply mark it elsewhere in my html file to position it suitably. I have not found a way to separate the button from the icon in the markup. I am new to

Re: [discuss] Mailing list usage...

2008-01-29 Thread Nino Saturnino Martinez Vazquez Wael
Where do I sign up for wicketstuff-user and wicketstuff-dev? Is this mentioned on the wicketstuff wiki? -regards Nino Martijn Dashorst wrote: The way most (if not all) Wicket committers keep track of this list (and all other mailing lists for that matter) is to use gmail as their list reading

Re: [discuss] Mailing list usage...

2008-01-29 Thread Robby O'Connor
Strike that. Robby O'Connor wrote: Isn't it just a SF mailing list? I'd say via the sf project page? Nino Saturnino Martinez Vazquez Wael wrote: Where do I sign up for wicketstuff-user and wicketstuff-dev? Is this mentioned on the wicketstuff wiki? -regards Nino Martijn Dashorst wrote:

Re: [discuss] Mailing list usage...

2008-01-29 Thread Robby O'Connor
Isn't it just a SF mailing list? I'd say via the sf project page? Nino Saturnino Martinez Vazquez Wael wrote: Where do I sign up for wicketstuff-user and wicketstuff-dev? Is this mentioned on the wicketstuff wiki? -regards Nino Martijn Dashorst wrote: The way most (if not all) Wicket

Re: is it possible to have concurrent page?

2008-01-29 Thread cemeterygate
we posted at the same time, lol. Thanks, i am looking at it now. igor.vaynberg wrote: see AjaxSelfUpdatingTimerBehavior, it also has a stop() method... -igor On Jan 29, 2008 11:16 AM, cemeterygate [EMAIL PROTECTED] wrote: so it's not possible for 1.3 branch. That's fine. I am on

Re: is it possible to have concurrent page?

2008-01-29 Thread Igor Vaynberg
see AjaxSelfUpdatingTimerBehavior, it also has a stop() method... -igor On Jan 29, 2008 11:16 AM, cemeterygate [EMAIL PROTECTED] wrote: so it's not possible for 1.3 branch. That's fine. I am on java 1.4. I am using back-ported concurrent package to handle mutiple search request. Everything

Re: Ajax Busy Indicator

2008-01-29 Thread Igor Vaynberg
IAjaxIndicatorAware simply takes the html id of the element you want to show/hide; it can be placed anywhere in html... alternatively there are clientside javascript callbacks you can hook into to create gmail-like busy indicator, see wicket-ajax.js -igor On Jan 29, 2008 11:11 AM, Martin

Re: Passing list of POJOs to AutoCompleteTextField?

2008-01-29 Thread Igor Vaynberg
can you not create an iterator adapter that takes an iterator of pojos and translates the pojo to some string? -igor On Jan 29, 2008 11:14 AM, Michael Mehrle [EMAIL PROTECTED] wrote: I have a working test page containing an AutoCompleteTextField. Thus far the data feeding it has been an

Re: is it possible to have concurrent page?

2008-01-29 Thread cemeterygate
so it's not possible for 1.3 branch. That's fine. I am on java 1.4. I am using back-ported concurrent package to handle mutiple search request. Everything is going well and i can cancel the previous request if there is new search request. Now, I am trying to figure out how to fresh search panel

Testing ModalWindows with Selenium

2008-01-29 Thread Roberto Fasciolo
Hi all, I'm trying testing an application using modal windows with selenium but it seems I can't find a good way. Has someone ever done something like that? Basically, my problem is that I can access the ModalWindow using: selenium.selectWindow(modal-dialog-pagemap); but I can't verify if the

RE: Ajax Busy Indicator

2008-01-29 Thread Stefan Lindner
You can use CSS to control the positon of the busy indicating image. To place it right from the button use span.wicket-ajax-indicator img { margin:0; padding:0; padding-left: 2px; display: inline;

RE: Passing list of POJOs to AutoCompleteTextField?

2008-01-29 Thread Michael Mehrle
I could - if it was a simple matter of extracting the strings from the POJOs. Problem is that, once an option is selected, I need the underlying POJOs to become the model for the rest of the form. Yes, there's probably a way to hack this, but I would prefer to do this in a clean fashion. I

Re: is it possible to have concurrent page?

2008-01-29 Thread cemeterygate
here is what i have done so far. Page: Form ---Submit Button SearchResultPanel Default State: the page displays Form and SearchResultPanel which is blank by default. User clicks submit button(ajax): 1)the Form.onSubmit creates a future task, and submit to exector to perform

HybridURLCodingStrategies vs others

2008-01-29 Thread mfs
Guys, I believe its just the HybridURLCodingStrategy and its subclasses (IndexHUCS) which encodes the mount point, page parameters and page instance information into the URL whereas others strategies DO have the mount-point page-param in them (encoded in a different way) BUT the page-instance

Re: [discuss] Mailing list usage...

2008-01-29 Thread Nino Saturnino Martinez Vazquez Wael
ahh ok, I thought so.. but got in doubt.. Maurice Marrink wrote: wicket stuff does not have a separate mailinglist anymore, just use the wicket userlist Maurice On Jan 29, 2008 10:37 PM, Robby O'Connor [EMAIL PROTECTED] wrote: Strike that. Robby O'Connor wrote: Isn't it just a SF

Wicket 1.3: I would like to translate all resource bundles to Norwegian

2008-01-29 Thread Edvin Syse
Hi, Would it be OK for me to translate all the .properties-files in Wicket to Norwegian and have them included with the distribution? I think that would make a lot of Norwegian Wicket-users happy :) If OK, how do I submit the files to you guys? Sincerely, Edvin Syse

Re: Wicket 1.3: I would like to translate all resource bundles to Norwegian

2008-01-29 Thread Martijn Dashorst
~tell Edvin Syse about jiraWicketBot member:identifier:wicketbot:Edvin Syse member:dashorst, jira is http://issues.apache.org/jira/browse/WICKET And don't forget to tick the donate to ASF button. Martijn (who spends some time on ##wicket) On 1/30/08, Edvin Syse [EMAIL PROTECTED] wrote: Hi,

Re: Wicket 1.3: I would like to translate all resource bundles to Norwegian

2008-01-29 Thread Edvin Syse
~tell Edvin Syse about jiraWicketBot member:identifier:wicketbot:Edvin Syse member:dashorst, jira is http://issues.apache.org/jira/browse/WICKET And don't forget to tick the donate to ASF button. Done :) https://issues.apache.org/jira/browse/WICKET-1313 -- Edvin

AJAX: form components not being updated

2008-01-29 Thread Michael Mehrle
I've got something similar to this call: myAutoCompleteTextField.add(new AjaxFormSubmitBehavior(form, onchange) { protected void onSubmit(AjaxRequestTarget target) { String selection = myAutoCompleteTextField.getModelObjectAsString(); MyPOJO backingModel =

Re: HybridURLCodingStrategies vs others

2008-01-29 Thread Matej Knopp
Hi, the other strategies always create new page instance. The difference with hybridurlcodingstrategy is that it attempts to reuse existing page instance (when pageid in session matches the class specified by mount point). -Matej On Jan 29, 2008 11:36 PM, mfs [EMAIL PROTECTED] wrote: Guys,

Re: Article: Introducing Apache Wicket

2008-01-29 Thread Nick Heudecker
Thanks. On Jan 29, 2008 6:08 PM, Andy Czerwonka [EMAIL PROTECTED] wrote: Nick Heudecker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] It's finally up: http://www.theserverside.com/news/thread.tss?thread_id=48234 Thanks to the various reviewers that helped improve both the

Re: Embedding in Jetty without web.xml

2008-01-29 Thread Eelco Hillenius
Actually, WicketFilter does try to read web.xml. See WicketFilter#init. You could file a feature request to let the framework be more lenient so that it doesn't fail when web.xml is not available. We can at least think about that. To solve your problem now, I suggest you make a copy of

Embedding in Jetty without web.xml

2008-01-29 Thread Philip Healy
Hello, I am trying to set up a Wicket application to execute in an embedded Jetty instance. The Wicket application is not deployed as a webapp (so there so web.xml), as I am trying to avoid using unnecessary directory structure and config files). The Wicket application classes are available on

Re: HybridURLCodingStrategies vs others

2008-01-29 Thread Matej Knopp
On Jan 30, 2008 1:36 AM, mfs [EMAIL PROTECTED] wrote: When u say it attempts to reuse existing page instance (when pageid in session matches the class specified by mount point). - you mean the pageid in the URL (and not session) matches the class specified by the mount path ? No. The pageId

Re: HybridURLCodingStrategies vs others

2008-01-29 Thread mfs
When u say it attempts to reuse existing page instance (when pageid in session matches the class specified by mount point). - you mean the pageid in the URL (and not session) matches the class specified by the mount path ? - So other strategies are there to provide relatively clean-er url ?

RE: AJAX: form components not being updated

2008-01-29 Thread Michael Mehrle
Anyone? All I need to know is how to assign a generated model to my form components. The original (empty) one is a CompoundPropertyModel. Michael -Original Message- From: Michael Mehrle [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 29, 2008 3:58 PM To: users@wicket.apache.org

Mounting strategies for shared components bundled in a jar ?

2008-01-29 Thread mfs
Guys, How would i go about mounting the pages bundled in a jar that are being re-used by different web apps. I don't want to mount them in every web-application that uses them, rather would prefer keeping the mounting logic in the shared library itself.. Any ideas ? -- View this message in

Re: Mounting strategies for shared components bundled in a jar ?

2008-01-29 Thread Igor Vaynberg
see IInitializer and its javadoc, you can write one that mounts the pages and include in the jar that contains the pages. as long as that jar is on the classpath those pages will get mounted. -igor On Jan 29, 2008 5:29 PM, mfs [EMAIL PROTECTED] wrote: Guys, How would i go about mounting the

Re: AJAX: form components not being updated

2008-01-29 Thread Igor Vaynberg
getModel().setObject(foo); on the component that is housing the CompoundPropertyModel instance... -igor On Jan 29, 2008 5:01 PM, Michael Mehrle [EMAIL PROTECTED] wrote: Anyone? All I need to know is how to assign a generated model to my form components. The original (empty) one is a

Re: Testing ModalWindows with Selenium

2008-01-29 Thread Timo Rantalaiho
On Tue, 29 Jan 2008, Roberto Fasciolo wrote: Basically, my problem is that I can access the ModalWindow using: selenium.selectWindow(modal-dialog-pagemap); but I can't verify if the window has been fully loaded or not, I've tried with: selenium.waitForPopUp(modal-dialog-pagemap, 3);

Re: [WicketStuff-Scriptaculous] DragNDrop problem in IE6/IE7.

2008-01-29 Thread Lan Boon Ping
Say if you have trouble with it. I'll look into it then, two pair of eyes are better than one:) Hey thats what the mailing list are for:) I learn from this too:) Great! You are welcome! :) FYI, draggable.js seems not the one that cause the problem, because the DnD demo in scriptaculous[1]

can auto fire the ajaxLink onClick function without click on the link?

2008-01-29 Thread kenixwong
Hi i wish once the page is load, it will auto pop up the modal window. From the wicket example, the modal window will only display once the user click on the ajaxLink. So, is there any solution to auto fire the onClick function without click the ajax Link.? my page constructor involved the

Re: Ajax Busy Indicator

2008-01-29 Thread Martin Makundi
You can use CSS to control the positon of the busy indicating image. To place it right from the button use This seems like tweaking... IAjaxIndicatorAware simply takes the html id of the element you want to show/hide; it can be placed anywhere in html... This is more of what I am looking

Getting the exception while starting a application in tomcat

2008-01-29 Thread Gurvinder Pal Singh
Hi, i created an HelloWorld application in Wicket framwork as described in their web page, but i am getting following exceptions. Please somebody help me beacuse i am not getting a moveon from here on.. org.apache.wicket.WicketRuntimeException: Unable to create application of class

Re: can auto fire the ajaxLink onClick function without click on the link?

2008-01-29 Thread Matthijs Wensveen
kenixwong wrote: Hi i wish once the page is load, it will auto pop up the modal window. From the wicket example, the modal window will only display once the user click on the ajaxLink. So, is there any solution to auto fire the onClick function without click the ajax Link.? my page

Re: Ajax Busy Indicator

2008-01-29 Thread Timo Rantalaiho
On Wed, 30 Jan 2008, Martin Makundi wrote: public class Login extends WebPage { // ... default constructor contents: final Form loginForm = new Form(LOGIN_FORM, new Model()); final AjaxIndicatorContainer indicatorContainer = new AjaxIndicatorContainer();

Re: Getting the exception while starting a application in tomcat

2008-01-29 Thread Igor Vaynberg
if you want to create a hello world app quickly and properly then go here http://wicket.apache.org/quickstart.html and run the command given in the textarea. it looks like you are trying to startup the wicket-examples project and not the hello world you created... -igor On Jan 29, 2008 10:37

Re: Getting the exception while starting a application in tomcat

2008-01-29 Thread Martijn Dashorst
and you try to run the examples in java 4 instead of java 5 On 1/30/08, Igor Vaynberg [EMAIL PROTECTED] wrote: if you want to create a hello world app quickly and properly then go here http://wicket.apache.org/quickstart.html and run the command given in the textarea. it looks like you