Re: Making entire row editable in a DataTable

2008-05-06 Thread Jonathan Locke
don't know the answer, but just thought you should know about this FYI: http://inmethod.com/ Sathish Gopal wrote: Hi all, I've built a DataTable(AjaxFallbackDataTable) to display list of values. My requirement is that by clicking (Link) one of the coloumns in any given row should make

Re: Comet and Wicket

2008-05-06 Thread Johan Compagner
They are busy making it a standaard in the next servlet spec On 5/6/08, Eelco Hillenius [EMAIL PROTECTED] wrote: Hello, I deploy the wicket-push example on tomcat latest version and it worked...and also i will test in JBoss 4.2.x...hoping to work as well bcoz JBoss use tomcat

Re: Confirmation box with ok and cancel buttons in IFrame...

2008-05-06 Thread Cristi Manole
check out this example and modify it as it suits your needs. http://www.dooriented.com/blog/2008/04/23/wicket-ajax-like-file-upload-on-a-modal-window/ implement the iframe so that it contains the panels you need. the confirmation box can be a modal window (check out the modal window in wicket)

Re: Comet and Wicket

2008-05-06 Thread Eelco Hillenius
On Mon, May 5, 2008 at 11:47 PM, Johan Compagner [EMAIL PROTECTED] wrote: They are busy making it a standaard in the next servlet spec Let's hope they can agree on how to do that. Eelco - To unsubscribe, e-mail: [EMAIL

Re: Comet and Wicket

2008-05-06 Thread freak182
Hello eelco, Anyway JBoss default servlet container is tomcat, but they are replacing it with their own container which is jboss-web i dont know if they already did...anyway, im experementing on wicket-push bcoz the cleint wants some sort of messaging on their app..(actually our web-app is

Re: Markup with unknown name for TextField

2008-05-06 Thread Maurice Marrink
Not sure what you mean, you could improve nesting your models but it might get a bit tricky. you could overwrite newModel (or something like that) of your listviews to return a compoundpropertymodel that way you can skip all the propertymodels in the textfields. also you can then skip passing the

Re: Wicket Portlets in Liferay 5

2008-05-06 Thread Bobby Quninne
You have a rough guess estimate as to a wicket release that will address JSR-268 compliance? Many thanks Thijs wrote: Hi, Currently without building wicket against Liferay (using com.liferay.portlet.renderresponseimpl, instead of javax.portlet.renderresponse) it is not possible to

Re: Wicket Portlets in Liferay 5

2008-05-06 Thread Thijs
No, as described it depends on several factors 1. my/other people's time to commit to this 2. official release of the portlet 2 specifications Thijs Bobby Quninne schreef: You have a rough guess estimate as to a wicket release that will address JSR-268 compliance? Many thanks Thijs wrote:

AjaxEditableChoiceLabel woes

2008-05-06 Thread Alexander Landsnes Keül
I may very well be daft, but it seems that the AjaxEditableChoiceLabel doesn't take the ChoiceRenderer into account when creating the label version of itself. There's no override, so in my case the toString() of most Enum's have to be the database value which means my labels are F instead of

Add list item values

2008-05-06 Thread tsuresh
Hello all I need to sum the values of the tabular data in listview. I tried like this but it doesnot work. How should i do it. I need to get the totalCredit added from the list but its always = 0 , where am i wrong, please help private int totalCredit = 0; public

Re: Comet and Wicket

2008-05-06 Thread C. Bergström
Johan Compagner wrote: They are busy making it a standaard in the next servlet spec Jetty 7 will use servlet spec 3.0 (which is still in draft) Anyone feeling daring can test it. http://docs.codehaus.org/display/JETTY/Downloading+Jetty ./C

Re: TestingAuthenticationToken and AbstractAuthenticationToken

2008-05-06 Thread Maurice Marrink
Could it be you have a classpath problem, as the above should work. the examples use acegi 1.0.5 and spring 2.0 Maurice On Mon, May 5, 2008 at 5:49 PM, David Nedrow [EMAIL PROTECTED] wrote: Using bits of the examples provided in wicket-security, I have the following method define in

Re: Wicket Portlets in Liferay 5

2008-05-06 Thread Bobby Quninne
Are JSR-168 portlets also affected by this? If so, is there a version of wicket and liferay that are compatible? Many thanks Thijs :-) Thijs wrote: No, as described it depends on several factors 1. my/other people's time to commit to this 2. official release of the portlet 2

Re: Add list item values

2008-05-06 Thread Maurice Marrink
It is always 0 because onpopulate is not called until render time, where the value of the label is set to a fixed string in your model. the solution is to wrap totalCredit in a model. also make sure to reset it 0 again in the onpopulate if the item index =0 or the value will continue to increase

Re: Gzipping of pages (HTML output, not only resources)

2008-05-06 Thread Johan Compagner
i looked at it and yes we need to change a bit of code/api for this to work out. The problem is that we sometimes have a byte[] that we send to the output through an outputstream and sometimes we do it through the writer. All depends on the redirect strategy johan On Mon, May 5, 2008 at 8:21

Re: Gzipping of pages (HTML output, not only resources)

2008-05-06 Thread Johan Compagner
can you make a jira issue? On Tue, May 6, 2008 at 10:37 AM, Johan Compagner [EMAIL PROTECTED] wrote: i looked at it and yes we need to change a bit of code/api for this to work out. The problem is that we sometimes have a byte[] that we send to the output through an outputstream and

Re: Making entire row editable in a DataTable

2008-05-06 Thread Sathish Gopal
If i need to adopt to this API, then i need to rewrite the entire Page class. Is there any other solution. How do i get hold of the rowModel(org.apache.wicket.markup.repeater.Item) in the DataView when one of the columns is selected. There must be way to get the rowModel for some event trigger

Re: Wicket Portlets in Liferay 5

2008-05-06 Thread Thijs
Bobby Quninne schreef: Are JSR-168 portlets also affected by this? Not sure what you are asking. The current JSR-168 implementation in wicket is pretty much final, and for wicket 1.3.x will probably not change. However newer versions of wicket probably will not be backwards compatible,

Re: Gzipping of pages (HTML output, not only resources)

2008-05-06 Thread Stefan Simik
Sure, here it is :) https://issues.apache.org/jira/browse/WICKET-1589 It will be great, if wicket can gzip html output from its pages. It could be one of the wicket settings, where it could turned on/off from. thx, Stefan SImik Johan Compagner wrote: can you make a jira issue? --

Re: Regarding Print page function?

2008-05-06 Thread Martin Makundi
Hi... have you validated your page using a HTML validator? ** Martin 2008/5/6 Edi [EMAIL PROTECTED]: hello to all, please give me your suggestion regarding this issue. thanking you regards, edi Edi wrote: my html code is aa href= onclick=javascript:window.print();

Re: Wicket Portlets in Liferay 5

2008-05-06 Thread Bobby Quinne
Thank you very much for the prompt responses Thijs. Will have to consider another framework for portlet development, at least until wicket-crew wrap up integration. Keep up the brilliant work! Thijs wrote: Bobby Quninne schreef: Are JSR-168 portlets also affected by this? Not sure

Re: Regarding Print page function?

2008-05-06 Thread Edi
hello to all, please give me your suggestion regarding this issue. thanking you regards, edi Edi wrote: my html code is aa href= onclick=javascript:window.print(); return false; PRINT img/print.gif /aa i did not use any wicket

Private Homepage Redirection

2008-05-06 Thread TH Lim
Hi, I have setup a private homepage in org.apache.wicket.WebApplication. My intention is to redirect the user, if he not logged in, to an external site. Once he has successfully logon using the external site, he will be redirected back to the private homepage. I use setRequestTarget(new

Re: Private Homepage Redirection

2008-05-06 Thread Maurice Marrink
No, The homepage class will be (at least partially) constructed. Because it is the Component constructor that triggers the call to the listeners. Maurice On Tue, May 6, 2008 at 11:37 AM, TH Lim [EMAIL PROTECTED] wrote: Hi, I have setup a private homepage in

Open new window or tab with setResponsePage

2008-05-06 Thread AlexTM
Is it possilble to use setResponsePage to redirect to a new window or tab in the browser? Regards Alex -- View this message in context: http://www.nabble.com/Open-new-window-or-tab-with-setResponsePage-tp17079750p17079750.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Private Homepage Redirection

2008-05-06 Thread Johan Compagner
But if the right abort/restart exception is thrown then it should work without a complete page being created. johan On Tue, May 6, 2008 at 12:05 PM, Maurice Marrink [EMAIL PROTECTED] wrote: No, The homepage class will be (at least partially) constructed. Because it is the Component

Re: Private Homepage Redirection

2008-05-06 Thread TH Lim
I tried both AbortException and RestartResponseException. They didn't work. AbortException basically causes Wicket to show a blank page instead of redirecting to the external site while RestartResponseException caused stack overflow error. The exceptions were thrown in

Re: way to traverse / get all form validators

2008-05-06 Thread michalb_cz
Sure I can - it's reported as http://issues.apache.org/jira/browse/WICKET-1592 WICKET-1592 Michal Eelco Hillenius wrote: Good point. Looks to me like it is something we overlooked. We should probably add a method to get the form validators of a form. Could you open an RFE for that

RE: AutoComplete functionality for Wicket 1.4-m1 in IE

2008-05-06 Thread Hoover, William
I think he is referring to http://issues.apache.org/jira/browse/WICKET-1504 -Original Message- From: Johan Compagner [mailto:[EMAIL PROTECTED] Sent: Monday, May 05, 2008 6:52 PM To: users@wicket.apache.org Subject: Re: AutoComplete functionality for Wicket 1.4-m1 in IE Which jira issue

RE: AutoComplete functionality for Wicket 1.4-m1 in IE

2008-05-06 Thread Hoover, William
I tested this fix and it seems to be fixed. Ricky, make sure that you cleared your browser cache and try again. -Original Message- From: Hoover, William [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 06, 2008 8:33 AM To: users@wicket.apache.org Subject: RE: AutoComplete functionality for

RE: AutoComplete functionality for Wicket 1.4-m1 in IE

2008-05-06 Thread Hoover, William
I did notice another issue that seems to be prevalent in IE and Firefox. Sometimes when the selection is made using the mouse and new AjaxFormComponentUpdatingBehavior(onchange) { protected void onUpdate(final AjaxRequestTarget target) { ... } }, will not always be fired. I have yet to pinpoint a

Re: AjaxLazyLoadPanel question

2008-05-06 Thread taygolf
no one? taygolf wrote: Hey guys, I have a question about the lazyloadpanel. I have a modal window. in that modal window I have a form with a ListChoice and an ajaxbutton. What I want to do is have the entire modal window or the entire form lazyload. the ListChoice can be very large

Re: JS/CSS references different in Jetty versus Tomcat

2008-05-06 Thread Scott Sauyet
Scott Sauyet wrote: Jeremy Levy wrote: It sounds like this: https://issues.apache.org/jira/browse/WICKET-1205 That was exactly it. Thank you. Unfortunately, this issue has not been resolved as of Wicket 1.3.3. There was a bizarre note at the end of that issue from Al Maw that it had

Re: Wicket Stuff devs - teamcity is open for registration

2008-05-06 Thread Rüdiger Schulz
Hello, I registered at teamcity with username mindhaq. I'm maintaining the wicketstuf-picnik project. greetings, Rüdiger Am Montag, den 05.05.2008, 10:40 +0200 schrieb Martijn Dashorst: We have moved our build server to run on teamcity. Our previous software was not up to par. I have

Re: AjaxLazyLoadPanel question

2008-05-06 Thread taygolf
ok I have this working with IndicatingAjaxFallbackLink for my link instead of a normal AjaxFallbackLink but I would still rather have the lazyloadingpanel. Everytime I try to wrap my form in a div for the allp I get an error saying that I do not have a closing tag for my div but I do. Any help

Re: Wicket Stuff devs - teamcity is open for registration

2008-05-06 Thread Maurice Marrink
So when are you going to fix that build failure ;) Maurice On Tue, May 6, 2008 at 3:50 PM, Rüdiger Schulz [EMAIL PROTECTED] wrote: Hello, I registered at teamcity with username mindhaq. I'm maintaining the wicketstuf-picnik project. greetings, Rüdiger Am Montag, den 05.05.2008,

Why is it illegal to update hierarchy in onAfterRender?

2008-05-06 Thread Erik van Oosten
Hi, When I try to change the component hierarchy in onAfterRender I get an exception with the text can not change hierarchy *during* render phase. Why is this? Isn't the render phase finished in on*After*Render? Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/

RE: forcing cookies to expire

2008-05-06 Thread Andrew Broderick
Hi, clearCookie() is called in the constructor of a page called SignOut. The entire constructor is: public SignOut() { clearCookie(Register.REMEMBER_ME_COOKIE); getSession().invalidate(); } As I mentioned the cookie is never cleared. Is

Re: Why is it illegal to update hierarchy in onAfterRender?

2008-05-06 Thread Johan Compagner
Why do you want to do that? The problem is if you affect the page then the page version is affected. So all what is rendered now isnt really the state wat the page has. Thats why you get that exception when rendering has started. On 5/6/08, Erik van Oosten [EMAIL PROTECTED] wrote: Hi, When I

Re: TestingAuthenticationToken and AbstractAuthenticationToken

2008-05-06 Thread Maurice Marrink
SwarmPolicyFileHiveFactory is new in 1.3.1 due to a separation of dependencies. It is equivalent to the old PolicyFileHiveFactory and should be used instead if you are using 1.3.1 code. Maurice On Tue, May 6, 2008 at 5:43 PM, David Nedrow [EMAIL PROTECTED] wrote: Olger, On May 6, 2008, at

IDataProvider and grouping

2008-05-06 Thread Scott Swank
Has anyone implemented grouping of items, i.e. sort/group items by location and thereby add a location-level grouping. I'm considering implementing this as a Border around groups of items. Basically any lessons learned would be more than welcome. If I get anything particularly reusable I'll

Re: Private Homepage Redirection

2008-05-06 Thread Eelco Hillenius
I tried both AbortException and RestartResponseException. They didn't work. AbortException basically causes Wicket to show a blank page instead of redirecting to the external site while RestartResponseException caused stack overflow error. The exceptions were thrown in

Re: Comet and Wicket

2008-05-06 Thread Eelco Hillenius
Hello eelco, Anyway JBoss default servlet container is tomcat, but they are replacing it with their own container which is jboss-web i dont know if they already did... Ah, I didn't know that. anyway, im experementing on wicket-push bcoz the cleint wants some sort of messaging on their

RequestUtils.toAbsolutePath()'s bug ?

2008-05-06 Thread smallufo
Environment : Wicket 1.3.3 Suppose the following code in a bookmarkable page , say FirstPage : When user pushes an AJAX button , the page builds a bookmarkable link : MapString , Object parameterMap = new HashMapString , Object(); parameterMap.put(index , myObj.getIndex()); PageParameters pps =

Re: Why is it illegal to update hierarchy in onAfterRender?

2008-05-06 Thread Erik van Oosten
Hello Johan et all, Ok, I see the problem. But let me then propose a change to the exception text. Something like can not change hierarchy after render phase has started. I'll create a Jira issue if you like. But why? Well, its one of the things I tried in a long list of attempts to do

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread Luca Marrocco
2008/5/6 Doug Donohoe [EMAIL PROTECTED]: I am pleased to announce the 1.0 release of wicketstuff-annotation. [cut] http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-annotation cool :D Luca - To unsubscribe,

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread Ryan Sonnek
nice work! i really like how you don't have to touch the web application class every time add a new page! On Tue, May 6, 2008 at 2:42 PM, Luca Marrocco [EMAIL PROTECTED] wrote: 2008/5/6 Doug Donohoe [EMAIL PROTECTED]: I am pleased to announce the 1.0 release of wicketstuff-annotation.

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread Matthijs Wensveen
Doug Donohoe wrote: I am pleased to announce the 1.0 release of wicketstuff-annotation. Nice. But the name 'wicketstuff-annotation' does not say anything about what it does, just 'something with annotations'. IMO 'wicketstuff-mount-annotations' or somesuch would be better. Just my 2c.

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread James Carman
wicketstuff-automount? On Tue, May 6, 2008 at 3:51 PM, Matthijs Wensveen [EMAIL PROTECTED] wrote: Doug Donohoe wrote: I am pleased to announce the 1.0 release of wicketstuff-annotation. Nice. But the name 'wicketstuff-annotation' does not say anything about what it does, just

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread Doug Donohoe
Matthijs, That is a good point and I did consider that, but I thought if anyone else wants to do things with annotations and wicket in the future, this would be a perfect place to put that code (especially given the underlying scanning support). Thus, I was being optimistic about the future.

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread James Carman
Yes, but should we globalize the annotations namespace to mean that anyone who wants to do anything with annotations should put it inside this project? Perhaps keeping things smaller is a better idea. That way, if I want to use automount, but I don't want all of the other annotation-based

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread Ryan Sonnek
the only reason to break annotations out into separate distributions is if new dependencies are introduced with a subset of annotations. if a new annotation comes along that requires hibernate jars to be on the classpath, that definitely should be it's own project. otherwise, it makes sense to

Re: TestingAuthenticationToken and AbstractAuthenticationToken

2008-05-06 Thread David Nedrow
On May 6, 2008, at 1:17 PM, Maurice Marrink wrote: SwarmPolicyFileHiveFactory is new in 1.3.1 due to a separation of dependencies. It is equivalent to the old PolicyFileHiveFactory and should be used instead if you are using 1.3.1 code. Odd. I'm using 1.3.1-SNAPSHOT that I grabbed today

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread James Carman
The name wicket-annotations doesn't really tell you anything about what features it provides (as was pointed out earlier). If I were a person wanting to find an easier way to mount pages, it wouldn't necessarily be obvious to check wicket-annotations. However, it would be more obvious if I saw

form fields become page parameters

2008-05-06 Thread Joel Halbert
Hi All, I've noticed something odd when using stateless forms (on a stateless pages, although this fact is likely incidental to the problem). The problem is as follows: When the form is submitted for the first time the form fields are made available (by wicket) as page parameters (as well as

RE: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread Hoover, William
Would it be better if there were a core wicket-annotation project that provides the basics (such as the scanner) and another project called wicket-automount (with wicket-annotation dependency)? That way other future projects can utilize the core capabilities without reinventing the wheel. This

RE: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread Doug Donohoe
That's not a bad idea. I'll put it on my TODO list. I may wait and see what other annotation specific needs arise before acting. -Doug Hoover, William wrote: Would it be better if there were a core wicket-annotation project that provides the basics (such as the scanner) and another

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread Eelco Hillenius
On Tue, May 6, 2008 at 2:24 PM, Hoover, William [EMAIL PROTECTED] wrote: Would it be better if there were a core wicket-annotation project that provides the basics (such as the scanner) and another project called wicket-automount (with wicket-annotation dependency)? That way other future

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread James Carman
On Tue, May 6, 2008 at 5:42 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: On Tue, May 6, 2008 at 2:24 PM, Hoover, William [EMAIL PROTECTED] wrote: Would it be better if there were a core wicket-annotation project that provides the basics (such as the scanner) and another project called

TinyMCE Behavior rather than TinyMCE Panel

2008-05-06 Thread Ayodeji Aladejebi
Hi, I sometimes saw a TinyMCE code that uses AbstractBehavior to integrate TinyMCE rather than TinyMCEPanel from the one available in wicket stuffs. Please does anyone know where I can find this build thanks

RE: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread Hoover, William
Yes, that is what I ment. I should have said wicketstuff-annotation and wicketstuff-automount. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Carman Sent: Tuesday, May 06, 2008 5:45 PM To: users@wicket.apache.org Subject: Re: [announce]

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread Jonathan Locke
neato. but don't you think MountBookmarkablePageRequestTarget could be just MountBookmarkable? Doug Donohoe wrote: I am pleased to announce the 1.0 release of wicketstuff-annotation. Full documentation and explanation (e.g., what, why, how) is at the wicket-stuff wiki:

Stateless link usage

2008-05-06 Thread Ritz123
Hi, I have a page containing bunch of products and addToCart link next to each product. On clicking the add to cart link, would like to add product to cart. I had Link and onClick() to do this - but recently encountered page expired message which is expected since the page becomes stateful due

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread Ned Collyer
Had a look at the wiki. Well done, well thought out, simple to implement. And a sensible license :) -- View this message in context: http://www.nabble.com/-announce--wicketstuff-annotation-1.0-released-tp17090601p17093692.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: getParameters problem

2008-05-06 Thread James Carman
Have you tried using the other constructor for RestartResponsAtInterceptPageException (the one that takes a page instance)? On Tue, May 6, 2008 at 8:44 PM, Fernando Wermus [EMAIL PROTECTED] wrote: Hi, I've used the authentication and authorization examples and I need to add some easy

Re: Comet and Wicket

2008-05-06 Thread freak182
Hello eelco, Anyway JBoss default servlet container is tomcat, but they are replacing it with their own container which is jboss-web i dont know if they already did... Ah, I didn't know that. anyway, im experementing on wicket-push bcoz the cleint wants some sort of messaging on

Re: getParameters problem

2008-05-06 Thread Fernando Wermus
That' nice! I havent' realized it. But How can I take the parameters? The IAuthorizationStrategy is given me just the class component. public boolean isInstantiationAuthorized(Class componentClass) On Tue, May 6, 2008 at 10:13 PM, James Carman [EMAIL PROTECTED] wrote: Have you tried using the

Re: AjaxEditableChoiceLabel woes

2008-05-06 Thread Igor Vaynberg
add a jira issue. -igor On Tue, May 6, 2008 at 12:59 AM, Alexander Landsnes Keül [EMAIL PROTECTED] wrote: I may very well be daft, but it seems that the AjaxEditableChoiceLabel doesn't take the ChoiceRenderer into account when creating the label version of itself. There's no override, so

Re: Private Homepage Redirection

2008-05-06 Thread TH Lim
RestartResponseException worked but it doesn't accept external URL. As a result, I have to put the redirection in the dummy Page's HTML header. Someone in the forum mentioned using WebApplication.getHomePage() to get around but that too requires you to put up a dummy Page to redirect to the

Re: Facebook Wicket Integration

2008-05-06 Thread caoanhkiet
Hi, I have been following http://cwiki.apache.org/WICKET/facebook-integration.html and version tomcat 5.5.25. and ran NullPointerException. TH Lim wrote: Hi, I have been following the tip in the Wiki, http://cwiki.apache.org/WICKET/facebook-integration.html and ran into

Re: Private Homepage Redirection

2008-05-06 Thread Martijn Dashorst
Perhaps this one helps? public class RedirectToExternalException extends AbstractRestartResponseException { private static final long serialVersionUID = 1L; public RedirectToExternalException(String url) { RequestCycle rc = RequestCycle.get();