Re: [Wicket-user] Wicket and embeddable Ajax components

2007-04-20 Thread Igor Vaynberg
afaict there is no servlet. what he does is have a bookmarkable page which he mounts. all this page does is read some parameter off url and based on that parameter add the right panel to itself. it then renders this panel, and wraps the output in document.write() call. well this is almost

Re: [Wicket-user] Wicket and embeddable Ajax components

2007-04-20 Thread Igor Vaynberg
just to add an important point is this is completely transparent to the widget panel. it is just a panel. it doesnt know it is being inlined via javascript into another page - this is the job of ComponentAsWidgetContainerPage one thing to consider is that you would need to rewrite urls so they

Re: [Wicket-user] Wicket and embeddable Ajax components

2007-04-20 Thread David Leangen
Ok, that's interesting. So, you guys are suggesting that a reasonable approach to the problem would be to find a lib that I like (such as scriptaculous), set them up on a widget server, then access them either as standalone javascript widgets or in wicket via ComponentAsWidgetContainer? The

Re: [Wicket-user] Wicket and embeddable Ajax components

2007-04-20 Thread David Leangen
Ok, thanks for all this! I'm new to Ajax, so I'll have to play around with this so I can better appreciate the solution proposed below. Cheers, Dave On Fri, 2007-04-20 at 00:26 -0700, Igor Vaynberg wrote: i dont really get what scriptaculous, etc has to do with it. and i dont get why you

[Wicket-user] AjaxLink, mass delete and javascript confirmation

2007-04-20 Thread Decebal Suiu
I have a UsersPanel that contains a UsersTablePanel and a delete link (Ajax). UsersTablePanel contains a DataTable (Ajax) with the first column only for selection (checkboxes), and a method getSelectedIds():ListLong. The user flow is very simple: check (select) some rows from table and click on

Re: [Wicket-user] AjaxLink, mass delete and javascript confirmation

2007-04-20 Thread Igor Vaynberg
the easiest way is to keep the count using javascript and popup the box using alert -igor On 4/20/07, Decebal Suiu [EMAIL PROTECTED] wrote: I have a UsersPanel that contains a UsersTablePanel and a delete link (Ajax). UsersTablePanel contains a DataTable (Ajax) with the first column only for

Re: [Wicket-user] JIRA issue? Buggy behaviour in PageMap.access(IPageMapEntry, int). Wicket1.2.4

2007-04-20 Thread Kadir Sener GUMUS
ok Eelco, i will.. i just wanted to learn your opinions and to be sure if it is worth to open an Issue. thanks,regards Kadir Sener GÜMÜS On 4/20/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Could you please open up a JIRA issue for this so that it doesn't get lost in the mail threads? Eelco

Re: [Wicket-user] AjaxLink, mass delete and javascript confirmation

2007-04-20 Thread Decebal Suiu
Thanks Igor. I'm not a javascript developer and I come from swing. It is nice to have in wicket some methods that encapsulates javascript basic functions (alert, confirm, ...). In my case, in onClick method I have the selected rows number and I wish to call a confirm method (something like

[Wicket-user] Tree Node's Refresh Issue

2007-04-20 Thread Sridhar.N
Hi, I have a user interface which is having 2 frames. In the left frame I have the dynamic tree which is populated dynamically from database on click of a node. I have links on the nodes which refreshes the right frame with appropriate pages.My problem is, when ever a new item is added to the DB

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-04-20 Thread ZedroS Schwart
Hi I finally found how to solve this issue : the wicket jar from http://wicketstuff.org/maven/repository/org/apache/wicket/ seems to be broken. Indeed, when I download the source jar, unzip it and add it to my project (with a few extra jar and minus the wicket one, as well as a source path) it

Re: [Wicket-user] What is Component Versioning (isVersioned())

2007-04-20 Thread Erik van Oosten
Put in the wiki as a subpage of http://cwiki.apache.org/WICKET/component.html. Can someone update the static pages again? The new page does not show up yet. Regards, Erik. Eelco Hillenius wrote: Basically, it says whether a component supports back button or not when component

Re: [Wicket-user] Tree Node's Refresh Issue

2007-04-20 Thread Jean-Baptiste Quenot
* Sridhar.N: I have a user interface which is having 2 frames. Frames are not really Web 2.0, I would use a SplitPane: http://www.demay-fr.net:8080/WCD13/app/?wicket:bookmarkablePage=%3Awicket.contrib.dojo.examples.SplitContainerSample -- Jean-Baptiste Quenot aka John Banana Qwerty

Re: [Wicket-user] What is Component Versioning (isVersioned())

2007-04-20 Thread Martijn Dashorst
That happens automatically (every 2 hours or so). Martijn On 4/20/07, Erik van Oosten [EMAIL PROTECTED] wrote: Put in the wiki as a subpage of http://cwiki.apache.org/WICKET/component.html. Can someone update the static pages again? The new page does not show up yet. Regards, Erik.

Re: [Wicket-user] JIRA issue? Buggy behaviour in PageMap.access(IPageMapEntry, int). Wicket1.2.4

2007-04-20 Thread Jean-Baptiste Quenot
* Kadir Sener GUMUS: ok Eelco, i will.. i just wanted to learn your opinions and to be sure if it is worth to open an Issue. You just files a new issue: WICKET-487 However the issue would gain more attention if you could provide a patch as an attachment. Use diff -u or svn diff to create

Re: [Wicket-user] How to get desired DataTable layout

2007-04-20 Thread Lec
I didn't repaint it. It's just the WebMarkupContainer component that I missed putting in my Panel that caused the whole odd behaviour displaying problemAnyway it's now working for me after putting the WebMarkupContainer in the Panel. Thanks :) What Im confused about is, I don't understand why

Re: [Wicket-user] NTLM Authentication

2007-04-20 Thread Zenrique Steckelberg
Ok, found out that this problem actually relates to Internet Explorer... one more grief to my MS black list of sorrows! ;) Fixed it by using JCIFS library, which implements a servlet filter in the same way mine was doing, with just a little difference: their works! (Got to remember to never

[Wicket-user] stateless and/ or bookmarkable pages in Wicket 1.3

2007-04-20 Thread ZedroS Schwart
Hi all I would like to fork the discussion Issue with redirection to intro page after logout to discuss stateless and/ or bookmarkable pages in Wicket 1.3. Indeed, Eelco said : Off topic, I think it's good practice to make your login page a stateless page (using a stateless form), so that users

[Wicket-user] getting object from model using propertyExpression

2007-04-20 Thread Jan Kriesten
hi, is there a way to use property expressions to get an object from a complex model? my problem is, that i'm building the form dynamically based on a structure _and_ the model - the model contains the relevant data, the structure defines the form elements. so, building the form depends

Re: [Wicket-user] How to get desired DataTable layout

2007-04-20 Thread Igor Vaynberg
On 4/20/07, Lec [EMAIL PROTECTED] wrote: I didn't repaint it. It's just the WebMarkupContainer component that I missed putting in my Panel that caused the whole odd behaviour displaying problemAnyway it's now working for me after putting the WebMarkupContainer in the Panel. Thanks :) What

Re: [Wicket-user] stateless and/ or bookmarkable pages in Wicket 1.3

2007-04-20 Thread Igor Vaynberg
the shorter version is: all bookmarkable pages start out stateless. when you add a non Stateless* component to them, it makes them stateful. -igor On 4/20/07, Johan Compagner [EMAIL PROTECTED] wrote: if you want stateless page then all the components on that page must be stateless So if you

Re: [Wicket-user] How to get desired DataTable layout

2007-04-20 Thread Lec
Thanks for the answer. Hmmm but my last question wasn't clearly quite answered :) Actually I was asking for a sample code of AjaxPagingNavigationLink/ AjaxPagingNavigationIncrementLink with AjaxPagingNavigationBehaviour as I had a difficult time in finding and understanding the correlations

Re: [Wicket-user] Issue with redirection to intro page after logout

2007-04-20 Thread Eelco Hillenius
but then eelco takes me seriously! oh the horror! I'm a very serious guy, about to inflict some serious damage to your ball. Eelco - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version

Re: [Wicket-user] Issue with redirection to intro page after logout

2007-04-20 Thread Igor Vaynberg
but then eelco takes me seriously! oh the horror! -igor On 4/20/07, Johan Compagner [EMAIL PROTECTED] wrote: no thats not needed On 4/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: gah! i have to start wrapping my emais in sarcasm /sarcasm -igor On 4/19/07, Eelco Hillenius

Re: [Wicket-user] How to get desired DataTable layout

2007-04-20 Thread Peter Thomas
Hi, I tried to create a tabular listing with pagination completely from scratch using only ListView-s and you can look at the code here: http://fisheye3.cenqua.com/browse/j-trac/trunk/jtrac/src/main/java/info/jtrac/wicket/ItemListPanel.java?r=946 It's not Ajax, but may help as a reference.

Re: [Wicket-user] getting object from model using propertyExpression

2007-04-20 Thread Eelco Hillenius
Not sure whether I understand your question. But right after you added your component, you can use getModelObject on it to get the value. Also, keep in mind that CompoundPropertyModel is for convenience, but you can e.g. use PropertyModel directly for more control. In that case, you can get the

Re: [Wicket-user] Can templates have an extension other than .html?

2007-04-20 Thread Ludovic Orban
In the same subject, is there a reason why wicket.markup.html.WebPage.getMarkupType() isn't final but wicket.markup.html.WebMarkupContainer.getMarkupType() is ? I want my templates to have the .xml extension but that is only possible for pages and not panels because of that method being marked

Re: [Wicket-user] getting object from model using propertyExpression

2007-04-20 Thread Jan Kriesten
hi eelco, no, you misunderstood me - i need to access the model /before/ my components are created (cause the number of components to be created depends on the model). i found the helper class myself: Object property = PropertyResolver.getValue( binding, model.getObject() ); but thanks for

[Wicket-user] html lang=en -- change lang?

2007-04-20 Thread Jan Kriesten
hi, is it possible to change the attributes of the html-tag, too? best regards, --- jan. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your

[Wicket-user] Strange Popup Behavior After Logout/Session.invalidate()

2007-04-20 Thread fattymelt
So... someone comes to my app and logs in. The get a page which includes a popup link to AppPage. The link is constructed like so In StartPage.java: PopupSettings popupSettings = new PopupSettings(PageMap.forName(popuppagemap)); add(new BookmarkablePageLink(app-page,

Re: [Wicket-user] Strange Popup Behavior After Logout/Session.invalidate()

2007-04-20 Thread fattymelt
This doesn't really help me, but it might help someone to help me When I logout in the parent window, and end up on the login screen, the URL I am at ends with /app?wicket:bookmarkablePage=:com.it.ediscovery.client.authentication.AdminSignInPage while the URL I end up with in the pop-up once