Re: Wicket 6.0.0-beta1: RangeValidator Issue (NPE)

2012-05-10 Thread Thomas Götz
I can confirm this, see this quickstart: http://decoded.de/wicket-quickstart.zip The NPE only occurs if there is a FeedbackPanel on the page. If you take it out - no exception. Besides, there is no WARN log if you are missing a FeedbackPanel and there are messages to be rendered, bug or

Re: Force child component enabled

2012-05-10 Thread Jürgen Lind
Since no further replies to this issue came up, the question remains whether this is works as design or a bug. Should I file an issue on this? And could maybe one of the developers explain why the Component#isEnabledInhierarchy is final? After reading some core code, I would guess that maybe

Re: SwingTree to WicketTree + Drag Drop + Different Objects

2012-05-10 Thread ttboy_01
Hi Sven, I already have seen the examples of wicket tree but I don't know how to solve the problem with the different classes / types within the tree. Could you give me a hint for this problem? The structure is simple: // these are my roots class X { private SetY y; } // these are my nodes

How to remove submit button in org.apache.wicket.datetime.markup.html.form.DateTextField

2012-05-10 Thread nickey
Hi, I am using DateTextField and DatePicker in my application, but I need to remove submit button from DateTextField as its redundant, any ides? Regards, Nikola. -- View this message in context:

Re: Wicket 6.0.0-beta1: RangeValidator Issue (NPE)

2012-05-10 Thread Martin Grigorov
Guys, Please use Jira for bug reports. On Thu, May 10, 2012 at 9:28 AM, Thomas Götz t...@decoded.de wrote: I can confirm this, see this quickstart: http://decoded.de/wicket-quickstart.zip The NPE only occurs if there is a FeedbackPanel on the page. If you take it out - no exception.

Re: Wicket 6.0.0-beta1: RangeValidator Issue (NPE)

2012-05-10 Thread Sebastien
Hi Martin, Here we are: https://issues.apache.org/jira/browse/WICKET-4549 Sebastien. On Thu, May 10, 2012 at 9:38 AM, Martin Grigorov mgrigo...@apache.orgwrote: Guys, Please use Jira for bug reports. On Thu, May 10, 2012 at 9:28 AM, Thomas Götz t...@decoded.de wrote: I can confirm this,

Re: Wicket 6.0.0-beta1: RangeValidator Issue (NPE)

2012-05-10 Thread Thomas Götz
My bad: https://issues.apache.org/jira/browse/WICKET-4548 -Tom On 10.05.2012 at 09:38 Martin Grigorov wrote: Guys, Please use Jira for bug reports. On Thu, May 10, 2012 at 9:28 AM, Thomas Götz t...@decoded.de wrote: I can confirm this, see this quickstart:

Re: Wicket 6.0.0-beta1: RangeValidator Issue (NPE)

2012-05-10 Thread Thomas Götz
Lol, first! Mine has WICKET-4548 ;) -Tom On 10.05.2012 at 09:50 Sebastien wrote: Hi Martin, Here we are: https://issues.apache.org/jira/browse/WICKET-4549 Sebastien. - To unsubscribe, e-mail:

Re: Loadable-detachable model for ListView

2012-05-10 Thread heapifyman
The examples page does not seem to be working: HTTP Status 500 - -- *type* Exception report *message*** *description* *The server encountered an internal error () that prevented it from fulfilling this request.* *exception* javax.servlet.ServletException: Filter

Re: Loadable-detachable model for ListView

2012-05-10 Thread heapifyman
by examples page I meant: http://www.wicket-library.com/wicket-examples/repeater/ 2012/5/10 heapifyman heapify...@gmail.com The examples page does not seem to be working: HTTP Status 500 - -- *type* Exception report *message*** *description* *The server

Re: SwingTree to WicketTree + Drag Drop + Different Objects

2012-05-10 Thread Sven Meier
You just implement ITreeProviderObject, the tree implementation doesn't care about the generics parameter. You'll have do an instanceof check in some places though. Regards Sven ttboy_01 bense...@googlemail.com schrieb: Hi Sven, I already have seen the examples of wicket tree but I don't

Re: Force child component enabled

2012-05-10 Thread Martin Grigorov
Hi, I'd say that it is by design. Component#canCallListenerInterface(Method) has been added recently because a user wanted its image to be shown in a disabled panel. File a ticket with a quickstart with the code from your earlier mail and I'll try to find what is the problem. On Thu, May 10,

Re: TableComponentAsXlsHandler Problem

2012-05-10 Thread khanshan
So Mr Grigorev, Byte array causes problem? is there an alternative way to respond workbook ? of converting it to file, or sth else? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TableComponentAsXlsHandler-Problem-tp4616754p4622835.html Sent from the Users forum

Re: How to remove submit button in org.apache.wicket.datetime.markup.html.form.DateTextField

2012-05-10 Thread Martin Grigorov
Hi, What submit button do you mean ? DateTextField is a simple input, DatePicker is a Behavior ... On Thu, May 10, 2012 at 10:37 AM, nickey olahnik...@gmail.com wrote: Hi, I am using DateTextField and DatePicker in my application, but I need to remove submit button from DateTextField as its

Re: TableComponentAsXlsHandler Problem

2012-05-10 Thread Martin Grigorov
On Thu, May 10, 2012 at 11:19 AM, khanshan hakansende...@yahoo.com wrote: So Mr Grigorev, Byte array causes problem? What kind of problem ? Please be more specific. The example at

wiquery, wicket 1.5.6 and wicket authroles

2012-05-10 Thread Stefan Moises
Hi there, I have integrated WiQuery 1.5.5 in Wicket 1.5.6 and I am using Wicket Authroles for a login functionality (combined with Apache Shiro) for more complex rights/rules. Everything works fine, but when I try to logout using my Signout page, I get an infinite redirect loop in the browser

Re: wiquery, wicket 1.5.6 and wicket authroles

2012-05-10 Thread Martin Grigorov
Hi, On Thu, May 10, 2012 at 11:31 AM, Stefan Moises moi...@shoptimax.de wrote: Hi there, I have integrated WiQuery 1.5.5 in Wicket 1.5.6 and I am using Wicket Authroles for a login functionality (combined with Apache Shiro) for more complex rights/rules. Everything works fine, but when I

Re: Wicket Examples

2012-05-10 Thread Martin Grigorov
I've undeployed wicket-examples-1.3.x, brix-demo, wicket-contrib-examples (1.2.x). Let's see whether it will behave better now. On Tue, May 8, 2012 at 3:18 PM, Korbinian Bachl - privat korbinian.ba...@whiskyworld.de wrote: Hi, some hints: Make sure the jvm the server is running in is started

Re: wiquery, wicket 1.5.6 and wicket authroles

2012-05-10 Thread Stefan Moises
Hi, hm, that's weird... if I set the response page I get redirected to the home page, but I am NOT logged out... even if ...logout() and ...invalidate() seem to get called... ? No error, no exception, no nothing... Any ideas? Thanks, Stefan Am 10.05.2012 10:34, schrieb Martin Grigorov:

Re: wiquery, wicket 1.5.6 and wicket authroles

2012-05-10 Thread Martin Grigorov
On Thu, May 10, 2012 at 11:48 AM, Stefan Moises moi...@shoptimax.de wrote: Hi, hm, that's weird... if I set the response page I get redirected to the home page, but I am NOT logged out... even if ...logout() and ...invalidate() seem to get called... ? No error, no exception, no nothing...

Two YUI DatePickers - use first date as basis for second date

2012-05-10 Thread Vishal Popat
Hi, I have two YUI DatePickers where the date selected from the first DatePicker is the starting date (+1) for the second DatePicker. I would ideally like to disable the dates prior to the first date as well. The scenario is like checkin and checkout dates for hotels. I cannot work out how to

Re: wiquery, wicket 1.5.6 and wicket authroles

2012-05-10 Thread Stefan Moises
Hi, yes, invalidateNow() gets called and it seems to go into all the session cleanup/remove stuff that comes after that... but somehow, I get to the homepage in the end and I'm still (again?) logged in :O But only if WiQuery is involved... although I didn't see any WiQuery related call while

Re: Single sign on (SSO) for two WicketApplication

2012-05-10 Thread jensiator
What about if I say that its only wicket applications? Can we narrow it down even more then? In both apps have a link to each other so the end user can toggle between them. If these link's are external links. How could you send/share the username password between den in a secure way? Https of

Re: Two YUI DatePickers - use first date as basis for second date

2012-05-10 Thread Martin Grigorov
Hi, You can update the second DatePicker with Ajax or just clientside after the user makes a selection on the first. Check YUI docs to see what exactly you need to do. On Thu, May 10, 2012 at 12:43 PM, Vishal Popat vishal.po...@cipriati.co.uk wrote: Hi, I have two YUI DatePickers where the

Re: refresh page from an AjaxLink or OnChangeAjaxBehavior

2012-05-10 Thread jensiator
Do you really need to call this? setResponse(currentPage.getClass(), currentPage.getPageParameters()); If its just some components on the same page that will be affected by the dropdown change, the above solution feels unnecessary. If you use ajax or javascript the page don't need to be updated

Re: Field with OnChangeAjaxBehavior Not updating.

2012-05-10 Thread jensiator
In the AjaxLink you change the model and I think your model becomes out of sync with the formcomponent. I think the formcomponent don't know which value it should use. The one the end user typed or the model that has changed. Sometimes it helps to think about when you want the model to be update.

Re: TableComponentAsXlsHandler Problem

2012-05-10 Thread khanshan
MArtin, Let me summarize problem, I want to post an excel file which is populated dynamiclally from database after on click of a link. I dont want to use TableComponentAsXlsHandler coz I dont want to load all data to a Listarraycomponent, coz I have to export huge number of rows such as 100.000

running visural wicket with wicket 1.5

2012-05-10 Thread Paul Szulc
Ok, for some of you very simple question but even with this https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+1.5#MigrationtoWicket1.5-HeaderContribution I can not get Visural Wicket running on Wicket 1.5.6 For Wicket 1.4 I was doing something like this public class

Re: running visural wicket with wicket 1.5

2012-05-10 Thread Martin Grigorov
app.getHeaderContributorListenerCollection().add(new IHeaderContributor() { @Override public void renderHead(IHeaderResponse response) { response.renderJavaScriptReference(new JQueryResourceReference()); } }) On Thu, May 10, 2012 at 4:37 PM, Paul Szulc paul.sz...@gmail.com wrote: Ok, for

Re: running visural wicket with wicket 1.5

2012-05-10 Thread Paul Szulc
thank you!!! no I feel kinda dumb... On Thu, May 10, 2012 at 3:51 PM, Martin Grigorov mgrigo...@apache.orgwrote: app.getHeaderContributorListenerCollection().add(new IHeaderContributor() { @Override public void renderHead(IHeaderResponse response) { response.renderJavaScriptReference(new

Web app slow after migrating from WebSphere 6.1 to Tomcat 7

2012-05-10 Thread shetc
Hi All, Not sure that this is really a Wicket question but I am having trouble finding answers elsewhere. I have a production Wicket-based app that runs just fine in WebSphere 6.1. I am trying to move this app to Tomcat 7. Performance testing has revealed significantly (and unacceptable) slower

Re: Web app slow after migrating from WebSphere 6.1 to Tomcat 7

2012-05-10 Thread James Carman
Have you tried fronting Tomcat with Apache? On Thu, May 10, 2012 at 10:30 AM, shetc sh...@bellsouth.net wrote: Hi All, Not sure that this is really a Wicket question but I am having trouble finding answers elsewhere. I have a production Wicket-based app that runs just fine in WebSphere 6.1.

Add components dynamically to a list view

2012-05-10 Thread cristic83
Hi guys, I have the following scenario to implement and I couldn't devise my own solution or find anywhere on the internet something that could help me, so I thought to give it a try on this mailing list. So here it goes the issue that I have: I want to add to a list view different components

Re: Web app slow after migrating from WebSphere 6.1 to Tomcat 7

2012-05-10 Thread shetc
Hi James -- Apache was originally part of the test setup but the results were so bad that we decided to remove it in order to eliminate it as a factor. BTW, I forgot to mention we are using Tomcat 7, JRE 6, Rehat Linux -- View this message in context:

Re: Add components dynamically to a list view

2012-05-10 Thread James Carman
Are you looking to auto-generate some kind of editor? If so, you should check out Wicketopia. That's what it does! If it doesn't work exactly for your needs, perhaps you can borrow from it or just shoot an email to the mailing list and we'll (or I'll) take a look. On Thu, May 10, 2012 at 10:37

Re: Force child component enabled

2012-05-10 Thread Jürgen Lind
Hi Martin, I have created a quickstart and filed an issue (WICKET-4551). Thank you for your help. J. On 10.05.2012 10:17, Martin Grigorov wrote: Hi, I'd say that it is by design. Component#canCallListenerInterface(Method) has been added recently because a user wanted its image to be shown

Re: Single sign on (SSO) for two WicketApplication

2012-05-10 Thread Igor Vaynberg
look at sso solutions such as CAS[1]. see how they work, and either use it directly, or implement your own variant if that suits you better. [1] http://www.jasig.org/cas -igor On Thu, May 10, 2012 at 4:02 AM, jensiator jens.alen...@gmail.com wrote: What about if I say that its only wicket

Re: Single sign on (SSO) for two WicketApplication

2012-05-10 Thread Dan Retzlaff
Jens, I describe some details of our homegrown application handoff solution here: http://mail-archives.apache.org/mod_mbox/wicket-users/201202.mbox/%3ccac-l2fym4txq7733aeuvfdnustlte_nbsix2zojvytqkoga...@mail.gmail.com%3E On Thu, May 10, 2012 at 4:02 AM, jensiator jens.alen...@gmail.com wrote:

Invalid URL generated when jsessionid is present

2012-05-10 Thread Guillaume Smet
Hi, Under certain circumstances when we navigate on our Wicket site, Wicket generates the following URL for a bookmarkable page link: /mount/point/.;jsessionid=C94BC23C58FD2972B34E5DE145C076BB The dot before the ;jsessionid= makes the mount point not recognized by Wicket. The problem is when I

Re: Single sign on (SSO) for two WicketApplication

2012-05-10 Thread Arjun Dhar
Sir, I rant philosophy let me stop you @ How could you send/share the username password between den in a secure way ! .. Let me Fast Forward you thought what you will face on your own implementation: ...so heres the deal. Sharing passwords will not achieve anything. Because the idea of SSO is to

Re: Loadable-detachable model for ListView

2012-05-10 Thread sudeivas
Hello Igor Dan, Can you please answer the question regarding storing objects in Session for DataView? Why does it store objects in Session since we are using LDM? -Suresh -- View this message in context:

Re: Loadable-detachable model for ListView

2012-05-10 Thread Igor Vaynberg
which objects get stored in session? -igor On Thu, May 10, 2012 at 11:30 AM, sudeivas sureshkumar@gmail.com wrote: Hello Igor Dan,          Can you please answer the question regarding storing objects in Session for DataView? Why does it store objects in Session since we are using LDM?

Re: Single sign on (SSO) for two WicketApplication

2012-05-10 Thread Dan Alvizu
I'm not sure if it fits your use-case, but my company offers single sign on as a service: https://www.pingone.com/ -Dan On Thu, May 10, 2012 at 11:52 AM, Arjun Dhar dhar...@yahoo.com wrote: Sir, I rant philosophy let me stop you @ How could you send/share the username password between den in

Re: Loadable-detachable model for ListView

2012-05-10 Thread sudeivas
Dan has mentioned I think ListView is better than DataView because it naturally discards its contents after the request where data view saves models, keeping your session size the same. So if my list has 1000 entries, will the session store all these values if I use DataView/IDataProvider and

Re: Loadable-detachable model for ListView

2012-05-10 Thread Dan Retzlaff
I may have been wrong about that... I can't setup a test app right now, but I think the default configuration of DataView also discards models on detach. Sorry for the confusion. On Thu, May 10, 2012 at 12:06 PM, sudeivas sureshkumar@gmail.comwrote: Dan has mentioned I think ListView is

Re: Loadable-detachable model for ListView

2012-05-10 Thread sudeivas
Thanks Dan. Final question to you guys, Option 1: DataViewSerializableWorkflowInstancePartial dataview = new DataViewSerializableWorkflowInstancePartial(problems, new UsersProvider()) { private static final long serialVersionUID = 1L; @Override

Customize PagingNavigator

2012-05-10 Thread sudeivas
Hello, Currently I am using PaginNavigator along with DataView. dataview.setItemsPerPage(10); container.add(dataview); //webmarkup container container.add(new PagingNavigator(navigator, dataview)); For now, there are around 1000 entries in the list. So

Re: Customize PagingNavigator

2012-05-10 Thread vineet semwal
navigator.getPagingNavigation().setViewSize(size); On Fri, May 11, 2012 at 1:03 AM, sudeivas sureshkumar@gmail.com wrote: Hello,      Currently I am using PaginNavigator along with DataView.        dataview.setItemsPerPage(10);        container.add(dataview); //webmarkup container      

Re: Loadable-detachable model for ListView

2012-05-10 Thread vineet semwal
same same On Fri, May 11, 2012 at 12:58 AM, sudeivas sureshkumar@gmail.com wrote: Thanks Dan. Final question to you guys, Option 1:       DataViewSerializableWorkflowInstancePartial dataview =            new DataViewSerializableWorkflowInstancePartial(problems, new UsersProvider()) {  

Re: Customize PagingNavigator

2012-05-10 Thread sudeivas
navigator.getPagingNavigation() returns null. Am I missing something? -Suresh -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Customize-PagingNavigator-tp4624405p4624504.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Customize PagingNavigator

2012-05-10 Thread vineet semwal
sorry :) override newnavigation in pagingnavigator like below , protected PagingNavigation newNavigation(String id, IPageable pageable, IPagingLabelProvider labelProvider) { PagingNavigation nv= super.newNavigation(id, pageable, labelProvider);

Re: Customize PagingNavigator

2012-05-10 Thread sudeivas
Works now. Thanks -Suresh -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Customize-PagingNavigator-tp4624405p4624655.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: Setting a button press on hitting the enter key from the keyboard

2012-05-10 Thread srinivas59924
addItemTextBoxField.add(new AbstractBehavior(){ private static final long serialVersionUID = 1L; @Override public void onComponentTag(org.apache.wicket.Component

Re: Single sign on (SSO) for two WicketApplication

2012-05-10 Thread jensiator
Thanks you everyone. A thank you Arjun for you detailed thoughts. I will see what CAS can do together with our restservices. The wicket applications is two 'clients' that talks with the same server through rest. -- View this message in context: