ATOM/RSS feeds in wicket

2009-12-03 Thread shiraz memon
Hi, I would like to use ATOM/RSS feed with the application developed on wicket, I wonder if wicket provides an integration/implementation of ATOM/RSS publishing protocol? Thanks Shiraz

Re: ATOM/RSS feeds in wicket

2009-12-03 Thread Gerolf Seitz
maybe [0] is of interest for you. [0] http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-rome On Thu, Dec 3, 2009 at 9:03 AM, shiraz memon wrote: > Hi, > > I would like to use ATOM/RSS feed with the application developed on wicket, > I wonder if wicket provides an integration/implem

Re: ATOM/RSS feeds in wicket

2009-12-03 Thread vineet semwal
take a look at rome On Thu, Dec 3, 2009 at 1:33 PM, shiraz memon wrote: > Hi, > > I would like to use ATOM/RSS feed with the application developed on wicket, > I wonder if wicket provides an integration/implementation of ATOM/RSS > publishing protocol? > > Thanks > Shiraz > -- regards, Vineet

Re: Has anybody seen this before?

2009-12-03 Thread Martin Makundi
I see this too very often on our production site.. again: when bots visit the page or people maybe mess with back buttons or have invalidated sessions. ** Martin 2009/12/3 Douglas Ferguson : >> [Ljava.lang.String; cannot be cast to java.lang.String >> >> java.lang.ClassCastException:[Ljava.lang.S

file descriptor leak

2009-12-03 Thread Pascal Grange
Hello, I observe file descriptor leaks when running my wicket application. By leak I mean that the java process tries to open more than 1024 file descriptors. When I lsof the process, here is what I see : lsof -p 24689 | wc -l -> 1095 lsof -p 24689 | grep wicket-1.3.4.jar | wc -l -> 522 lsof

close a ModalWindow when session expired

2009-12-03 Thread Bernard LUPIN
Hi, On my ModalWindow's close button, I only want to ... close the modal window. It seems that myWindow.close(target) calls some Ajax request, which is failing when session is expired. But if I click on the cross button in the upper right of the modal window, everything works well : the modal wi

Re: file descriptor leak

2009-12-03 Thread Johan Compagner
We try to do our best, but the problem is that this is a leak internal to java itself (classloader and urlconnection) http://tomcat.apache.org/tomcat-5.5-doc/config/context.html play with antiJarLocking and antiResouceLocking attributes. johan On Thu, Dec 3, 2009 at 09:41, Pascal Grange < pasc

Re: file descriptor leak

2009-12-03 Thread Maarten Bosteels
Have you seen this thread: http://www.mail-archive.com/users@wicket.apache.org/msg43879.html Maarten On Thu, Dec 3, 2009 at 9:46 AM, Johan Compagner wrote: > We try to do our best, but the problem is that this is a leak internal to > java itself (classloader and urlconnection) > > http://tomcat.

Re: making tinyMce TextArea readonly

2009-12-03 Thread Swanthe Lindgren
You have to download the source and repack it with new javascripts to make it work. http://old.nabble.com/making-tinymce-textarea-read-only-td23160313.html#a23170821 //Swanthe tubin gen wrote: I ma trying to make TextArea with TinyMce behaviour readonly , I added the following custom settings

Re: file descriptor leak

2009-12-03 Thread Witold Czaplewski
http://issues.apache.org/jira/browse/WICKET-2534 I think this will be fixed in 1.4.4 Witold Am Thu, 3 Dec 2009 10:56:38 +0100 schrieb Maarten Bosteels : > Have you seen this thread: > http://www.mail-archive.com/users@wicket.apache.org/msg43879.html > > Maarten > > On Thu, Dec 3, 2009 at 9:46

Re: AjaxFallbackLink does not work on Windows Mobile Internet Explorer

2009-12-03 Thread Leszek Gawron
Richard Wilkinson wrote: Actually I've just realiaed, you can't remove the behaviour with component instansiation because it hasn't been added yet. Look at ibeforeonbeforerenderlistener. Its called something like that, can't check at the moment. Thank you, you've been very helpful. This code di

Re: file descriptor leak

2009-12-03 Thread Johan Compagner
ahh i did knew that there was already code for that in place but thats only in the lastMofified() method... of that UrlResourceStream not in the constructor.. On Thu, Dec 3, 2009 at 10:56, Maarten Bosteels wrote: > Have you seen this thread: > http://www.mail-archive.com/users@wicket.apache.org/

Re: file descriptor leak

2009-12-03 Thread Ilja Pavkovic
Hi, I wonder if the complete lastModified evaluation in the constructor is necessary at all. The only place were lastModified is used is in the function lastModified() . This one *always* recalculates lastModified. And lastModified() calls urlConnection.getInputstream().close(); Best Regards

Re: file descriptor leak

2009-12-03 Thread Johan Compagner
its already fixed that way On Thu, Dec 3, 2009 at 12:15, Ilja Pavkovic wrote: > Hi, > > I wonder if the complete lastModified evaluation in the constructor is > necessary at all. The only place were lastModified is used is in the > function > lastModified() . This one *always* recalculates lastM

Re: Wicket 1.5 experiences

2009-12-03 Thread McIlwee, Craig
Sorry, meant JVM - virtual vs physical hardware has nothing to do with this. As for the load balancing, you don't need clustering for for a simple, non-redundant round robin balancing scheme. Set up your balancer to remember cookies so that users with active sessions are always pushed to the s

Re: Customized FeedbackPanel question

2009-12-03 Thread Leszek Gawron
Igor Vaynberg wrote: why dont you simply check in your filter if the reporter component is a descendant of the form and then ignore the message? I have the same problem. If you build a heavy componentized page with lots of panels your solution is hard to implement. Lets say there are on the

dynamically adding components to a ListView

2009-12-03 Thread zkn
Hi, I'm trying to dynamically add components to an existing ListView but I can't figure out how to do that. Here is my case: MyPanelContainer class with markup add panel and here is how I create the container in the constructor of my page ... MyPa

Re: Query related to displaying ListView items in a particular way

2009-12-03 Thread T Ames
Would gridview also handle a vertical column approach rather than horizontal? For example each model item would be a checkbox and description. I want two columns of this set on each physical row. Layed out like a dictionary or phonebook. The "x" below is a checkbox with a description next to it.

Re: Query related to displaying ListView items in a particular way

2009-12-03 Thread vineet semwal
afaik no On Thu, Dec 3, 2009 at 8:02 PM, T Ames wrote: > Would gridview also handle a vertical column approach rather than > horizontal? For example each model item would be a checkbox and > description. I want two columns of this set on each physical row. Layed > out > like a dictionary or ph

Re: Customized FeedbackPanel question

2009-12-03 Thread Igor Vaynberg
you are welcome to build whatever strategy you want. for example you can create two classes: local and global feedback panel, and in the global one when you filter a message you are visit all local panels and see if theyve accepted or would accept that message using their filter. -igor On Thu, D

Re: Has anybody seen this before?

2009-12-03 Thread Douglas Ferguson
Not intentionally, but users do the darndest things.. On Dec 3, 2009, at 12:22 AM, Igor Vaynberg wrote: > do you have two query string parameters with the same name? > > -igor > > On Wed, Dec 2, 2009 at 4:11 PM, Douglas Ferguson > wrote: >>> [Ljava.lang.String; cannot be cast to java.lang.String

Re: file descriptor leak

2009-12-03 Thread Pascal Grange
Maarten Bosteels a écrit : Have you seen this thread: http://www.mail-archive.com/users@wicket.apache.org/msg43879.html I had not seen this thread, thank you. It seems this issue will be fixed in wicket-1.4.4 (saw it in the thread). Do we have any idea of when 1.4.4 will be released ? M

Re: file descriptor leak

2009-12-03 Thread Pascal Grange
pascal1.gra...@orange-ftgroup.com a écrit : Maarten Bosteels a écrit : Have you seen this thread: http://www.mail-archive.com/users@wicket.apache.org/msg43879.html I had not seen this thread, thank you. It seems this issue will be fixed in wicket-1.4.4 (saw it in the thread). Do we have an

Apache License in the Prototype

2009-12-03 Thread Luther Baker
Not a huge thing but would it make sense to remove the ... entry from the wicket prototype? The Apache Software License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0.txt repo Luckily, I stumbled across this before committi

Re: Apache License in the Prototype

2009-12-03 Thread Igor Vaynberg
jira issue... -igor On Thu, Dec 3, 2009 at 10:07 AM, Luther Baker wrote: > Not a huge thing but would it make sense to remove the ... entry > from the wicket prototype? > >     >         >            The Apache Software License, Version 2.0 >            http://www.apache.org/licenses/LICENSE-2.

Re: Apache License in the Prototype

2009-12-03 Thread Martin Makundi
patch proposal ... 2009/12/3 Luther Baker : > Not a huge thing but would it make sense to remove the ... entry > from the wicket prototype? > >     >         >            The Apache Software License, Version 2.0 >            http://www.apache.org/licenses/LICENSE-2.0.txt >            repo >      

Ajax FileUpload in a ModalWindow

2009-12-03 Thread Doug Leeper
I see that FileUpload is available now via Ajax (https://issues.apache.org/jira/browse/WICKET-2420). However, is it possible to upload from a ModalWindow via Ajax? In my AjaxButton, my FileUpload object is not being set. I am also not seeing an IFrame in the Wicket Debug I have attached my c

Re: Ajax FileUpload in a ModalWindow

2009-12-03 Thread Doug Leeper
BTW...I am using wicket 1.4.1 Also, I have tried just adding the NewPhotoPanel to one of my pages...changed some of the Ajax methods but still submitted via Ajax. This still didn't work. Can someone verify that FileUpload works via Ajax with 1.4.1 (as the Jira issue indicates) or should I upgra

wicket enclosure not finding child!?

2009-12-03 Thread Douglas Ferguson
I just upgraded to 1.4.3 from 1.4.0 and now I'm getting this: org.apache.wicket.WicketRuntimeException:Could not find child with id: mediaOutlet.name in the wicket:enclosure org.apache.wicket.markup.html.internal.Enclosure.checkChildComponent(Enclosure.java:220) org.apac

Re: wicket enclosure not finding child!?

2009-12-03 Thread Igor Vaynberg
the colon character is a path separator, if it has worked previously it was only by mistake. you should not use ids that contain ":" -igor On Thu, Dec 3, 2009 at 1:40 PM, Douglas Ferguson wrote: > I just upgraded to 1.4.3 from 1.4.0 and now I'm getting this: > > org.apache.wicket.WicketRuntimeEx

Re: dynamically adding components to a ListView

2009-12-03 Thread zkn
found it. On 03.12.2009, at 16:19, zkn wrote: > Hi, > > I'm trying to dynamically add components to an existing ListView but I can't > figure out how to do that. Here is my case: > > MyPanelContainer class with markup > > > > > > add panel > > > and here

Re: wicket enclosure not finding child!?

2009-12-03 Thread Douglas Ferguson
I have no idea where that http: came from I pasted this: I do not have ":" and I'm still getting the error. I had to revert to 1.4.1 > > Media Outlet (): On Dec 3, 2009, at 3:43 PM, Igor Vaynberg wrote: > the colon character is a path separator, if it has w

Fwd: DELIVERY FAILURE: Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1]

2009-12-03 Thread zkn
I believe I should not receive emails like this, should I? Begin forwarded message: > From: postmas...@td.com > Date: 04 декември 2009 00:17:36 Гриинуич+0200 > To: z...@abv.bg > Subject: DELIVERY FAILURE: Invalid/unknown recipient [MAPI Reason Code: 1, > MAPI Diagnostic Code 1] > > Your message

Re: wicket enclosure not finding child!?

2009-12-03 Thread Igor Vaynberg
create a quickstart or a testcase and attach it to the jira issue -igor On Thu, Dec 3, 2009 at 2:18 PM, Douglas Ferguson wrote: > I have no idea where that http: came from I pasted this: > > I do not have ":" and I'm still getting the error. > I had to revert to 1.4.1 > >>               >>    

Re: Ajax FileUpload in a ModalWindow

2009-12-03 Thread Doug Leeper
Converted to 1.4.3 and the issue is still relevant I see there was another thread created with similar issues. (not sure why Nabble didn't report this in my previous search) http://old.nabble.com/FileUploadField-in-a-ModalWindow-%28wicket-1.4.3%29--to26577255.html -- View this message in contex

Re: wicket enclosure not finding child!?

2009-12-03 Thread Douglas Ferguson
Are there instructions for this? D/ On Dec 3, 2009, at 4:51 PM, Igor Vaynberg wrote: > create a quickstart or a testcase and attach it to the jira issue > > -igor > > On Thu, Dec 3, 2009 at 2:18 PM, Douglas Ferguson > wrote: >> I have no idea where that http: came from I pasted this: >> >> I

Re: wicket enclosure not finding child!?

2009-12-03 Thread Major Péter
Yes: http://www.jeremythomerson.com/blog/2008/11/wicket-quickstart-tutorial/ Peter 2009-12-04 00:13 keltezéssel, Douglas Ferguson írta: > Are there instructions for this? > > D/ > > On Dec 3, 2009, at 4:51 PM, Igor Vaynberg wrote: > >> create a quickstart or a testcase and attach it to the jir

Global FeedbackPanel and ComponentFeedbackPanel on the same Page ?

2009-12-03 Thread bht
Hi, It appears that Wicket already has everything I need: - A global FeedbackPanel for any messages not necessarily associated with components (a call error(...) displays the message on it) - An individual ComponentFeedbackPanel for messages belonging to and displayed in context of components.

Re: General questions regarding Wicket roadmap and plans

2009-12-03 Thread Ashley Aitken
On 02/12/2009, at 10:45 AM, Igor Vaynberg wrote: but as you will see, there is not much demand for precanned components out there, they are just too easy to roll yourself and there are a lot of open source ones that you can at least get ideas from for your specific requirements. But isn't tha

Re: General questions regarding Wicket roadmap and plans

2009-12-03 Thread Igor Vaynberg
the interesting bit is that people are saying that there are "not enough components" that wicket ships with, but no one is saying which componets exactly they are missing. -igor On Thu, Dec 3, 2009 at 7:41 PM, Ashley Aitken wrote: > > On 02/12/2009, at 10:45 AM, Igor Vaynberg wrote: > >> but as

Re: General questions regarding Wicket roadmap and plans

2009-12-03 Thread ljw1001
I agree that more components are needed and would add that a good calendar would be a great place to start. On Dec 3, 2009, at 11:16 PM, Igor Vaynberg wrote: the interesting bit is that people are saying that there are "not enough components" that wicket ships with, but no one is saying

Re: General questions regarding Wicket roadmap and plans

2009-12-03 Thread Igor Vaynberg
like this? https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/calendarviews-parent/ -igor On Thu, Dec 3, 2009 at 8:32 PM, ljw1001 wrote: > > I agree that more components are needed and would add that a good calendar > would be a great place to start. > > On Dec

Re: FileUploadField in a ModalWindow (wicket 1.4.3)?

2009-12-03 Thread Doug Leeper
I was also able to reproduce this issue. When I stepped through the code with NestedForm, the Form.handleMultiPart() never creates a MultipartWebRequest due to the original request is identified as an AjaxRequest (as seen by the following code snippet. protected boolean handleMultiPart(

Re: FileUploadField in a ModalWindow (wicket 1.4.3)?

2009-12-03 Thread Igor Vaynberg
please try with trunk and let us know -igor On Thu, Dec 3, 2009 at 8:50 PM, Doug Leeper wrote: > > I was also able to reproduce this issue. > > When I stepped through the code with NestedForm, the Form.handleMultiPart() > never creates a MultipartWebRequest due to the original request is >

Re: FileUploadField in a ModalWindow (wicket 1.4.3)?

2009-12-03 Thread Igor Vaynberg
the original issue: https://issues.apache.org/jira/browse/WICKET-2491 that fixed this i believe. -igor On Thu, Dec 3, 2009 at 9:24 PM, Igor Vaynberg wrote: > please try with trunk and let us know > > > -igor > > On Thu, Dec 3, 2009 at 8:50 PM, Doug Leeper wrote: >> >> I was also able to rep

Re: General questions regarding Wicket roadmap and plans

2009-12-03 Thread Lester Chua
I think it's kinda of chicken and egg issue wrt components. If newbies do not see components readily available, they will probably end up coding what they want themselves because: 1) it takes time to articulate properly their requirements 2) avoid facing potential embarrassment because the com

Question pertaining to manipulation of divs

2009-12-03 Thread Lester Chua
Hi, I have a component that is embedded as follows: Is there a way for me to manipulate the div containing some style? I tried creating a panel and using that as a parent but it feels very cumbersome and involves an additional html (wicket disallowed me to do an anonymous Panel with

Re: Question pertaining to manipulation of divs

2009-12-03 Thread Igor Vaynberg
that "something" is called a WebMarkupContainer -igor On Thu, Dec 3, 2009 at 9:43 PM, Lester Chua wrote: > Hi, > > I have a component that is embedded as follows: > > >   >   > > > Is there a way for me to manipulate the div containing some style? > I tried creating a panel and using that as

Re: Question pertaining to manipulation of divs

2009-12-03 Thread Lester Chua
Thanks! Love the quick replies. Igor Vaynberg wrote: that "something" is called a WebMarkupContainer -igor On Thu, Dec 3, 2009 at 9:43 PM, Lester Chua wrote: Hi, I have a component that is embedded as follows: Is there a way for me to manipulate the div containing some style? I

inmethod DataGrid and selectAllVisibleItems

2009-12-03 Thread Fernando Wermus
Hello all, I am using inmethod's DataGrid and when I use selectAllVisibleItems, it doesn't select all the items. How come? Thanks in advance. -- Fernando Wermus. www.linkedin.com/in/fernandowermus

Re: FileUploadField in a ModalWindow (wicket 1.4.3)?

2009-12-03 Thread Doug Leeper
Found the code where the iframe is being used (resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js) When looking at the generated html for the modal window in a nested form situation, it shows the submit button actually being submitted by wicketSubmitFormById(formId,...) The form

Re: Update ListView using ajax

2009-12-03 Thread Hui Chen
I met the same problem, how you adjust your markup? And I found that if the listView is a part of a table markup(as your code above) and when it's updated via Ajax by target.addComponent(container), the original container in the page can not be replaced , a same new one will show in the page.

Re: wicket enclosure not finding child!?

2009-12-03 Thread Girts Ziemelis
You might want to try first the development snapshot first. There is additional enclosure fix waiting for 1.4.4: https://issues.apache.org/jira/browse/WICKET-2519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel Do not know, if this will fix your problem, but might be worth a t

Resource Location

2009-12-03 Thread Lester Chua
Hi, I'm attempting to load a css resource. The example in the wicket reference was using: private static final CompressedResourceReference MYPAGE_CSS = new CompressedResourceReference(MyPage.class, "MyPage.css"); I understand that this is scoped to MyPage.class I used CompressedResourceRefere

Re: Resource Location

2009-12-03 Thread Marat Radchenko
2009/12/4 Lester Chua : > Hi, > > I'm attempting to load a css resource. > > The example in the wicket reference was using: > private static final CompressedResourceReference MYPAGE_CSS = new > CompressedResourceReference(MyPage.class, "MyPage.css"); > > I understand that this is scoped to MyPage.c

Re: FileUploadField in a ModalWindow (wicket 1.4.3)?

2009-12-03 Thread Igor Vaynberg
sounds like we may have to search up the component tree until we find a form... can you create a quickstart and attach it to the jira issue? -igor On Thu, Dec 3, 2009 at 10:43 PM, Doug Leeper wrote: > > Found the code where the iframe is being used > (resources/org.apache.wicket.ajax.WicketAjax

Re: Update ListView using ajax

2009-12-03 Thread freak182
same also for table. Hui Chen wrote: > > I met the same problem, how you adjust your markup? > > And I found that if the listView is a part of a table markup(as your code > above) and when it's updated via Ajax by target.addComponent(container), > the original container in the pa