Re: ModalWindow does not close cleanly

2011-12-19 Thread Igor Vaynberg
() ... On Mon, Dec 19, 2011 at 11:46 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: WindowClosedBehavior does not have render()...? -igor On Mon, Dec 19, 2011 at 11:40 AM, Nelson Segura nsegu...@gmail.com wrote: I found that if you have a modal window, and then you close it, it is not possible

Re: Regarding Stack Overflow exception

2011-12-16 Thread Igor Vaynberg
pretty sure this was a bug in wicket's serialization checker that was fixed in later versions. so either upgrade or turn off the serialization checker. -igor On Fri, Dec 16, 2011 at 3:35 AM, smsmaddy smsd...@gmail.com wrote: Please find the stack trace as shown below: 2011-12-16 16:44:42,308

Re: Forcing a No Selection Option in Drop Down Choice

2011-12-15 Thread Igor Vaynberg
setNullValid(true) -igor On Thu, Dec 15, 2011 at 7:42 AM, Richard W. Adams rwada...@up.com wrote: Is there a way to make DropDownChoice  offer no selection as the first option, even if the input model matches one of the selections? Perhaps a property to set, or method to override? Can't find

Re: Experimental work on ResourceReference management

2011-12-14 Thread Igor Vaynberg
sweet, dont forget to attach your patch to the jira issue when you are done... -igor On Wed, Dec 14, 2011 at 6:47 AM, Emond Papegaaij emond.papega...@topicus.nl wrote: Hi all, I've finished most of the work on the branch, including some of the suggestions that were made in this thread.

Re: A lesson learned about wicket

2011-12-14 Thread Igor Vaynberg
a simpler approach: https://www.42lines.net/2011/12/01/simplifying-non-trivial-user-workflows-with-conversations/ -igor On Wed, Dec 14, 2011 at 12:12 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! Today I have learned about a huge misconception I have had about wicket 1.4.

Re: Visiting children and adding updatingBehavior

2011-12-14 Thread Igor Vaynberg
where are you calling that code from? -igor On Wed, Dec 14, 2011 at 3:34 AM, Daniele Dellafiore ilde...@gmail.com wrote: Hi. I'm using this code http://pastebin.com/xezKCjPS to add a specific behavior to all the FormComponent that are contained in the WebMarkupContainer container. It

Re: pageMap locking issue

2011-12-14 Thread Igor Vaynberg
this has been discussed many times on the list, search the archives... -igor On Wed, Dec 14, 2011 at 9:20 AM, Karen Schaper karen.scha...@gmail.com wrote: Hi, A user was testing a web application. Apparently they clicked on a link that opened a report and quickly clicked the link again.

Re: component path question

2011-12-12 Thread Igor Vaynberg
repeater children generate numeric ids, so somPanel.listView.0.label should work -igor On Mon, Dec 12, 2011 at 2:56 PM, infiniter infini...@gmail.com wrote: What type of path expression can be used to get a component which is inside a repeater? So is there an expression like

Re: Grid Layout Question

2011-12-11 Thread Igor Vaynberg
gridview kind of gives it to you... populateitem(item i) { int x=i.getindex(); int y=i.findparent(item.class).getindex(); -igor On Thu, Dec 8, 2011 at 3:28 PM, Corbin, James jcor...@iqnavigator.com wrote: I have a grid layout where I have the need to ask for the content at a particular grid

Re: Qeustions about SortedSet and ListMultipleChoice (with and without Metagen)

2011-12-10 Thread Igor Vaynberg
quickstart attached to a jira ticket will help -igor On Fri, Dec 9, 2011 at 12:15 PM, Jablow, Eric R eric.jab...@mantech.com wrote: In my project, for business reasons, we have classes with SortedSet members. The classes and their elements are all Serializable.  I'm having trouble working

Re: Wicket ajax page versioning

2011-12-07 Thread Igor Vaynberg
no. we do not keep versions for ajax requests. we will, when the back button is supported. -igor On Wed, Dec 7, 2011 at 4:31 AM, Nazaret Kazarian nazaret.kazar...@gmail.com wrote: Hi, I would like to ask whether wicket keeps version of pages when changes are made with ajax requests. If it

Re: State of org.apache.wicket.MarkupContainer.ComponentSourceEntry

2011-12-05 Thread Igor Vaynberg
lets remove them for now. -igor On Mon, Dec 5, 2011 at 12:21 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Today I noticed some dead code: org.apache.wicket.MarkupContainer.ComponentSourceEntry and its related org.apache.wicket.IComponentSource. These are not used at the moment and

Re: Using Property Resolver

2011-12-05 Thread Igor Vaynberg
as long as you are in a wicket thread you should be, see how the property model does it. -igor On Mon, Dec 5, 2011 at 10:05 AM, anantasthana anant.a...@gmail.com wrote: I want to be able to do some thing similar to what a property model does in the sense that we give the property model an

Re: best way to accommodate dynamic properties

2011-12-05 Thread Igor Vaynberg
class myimage extends image { oncomponenttag(tag) { Integer width=getImageWidth(); Integer height=getImageHeight(); if (width!=null) tag.put(width, width); if (height!=null) tag.put(height, height); }} -igor On Mon, Dec 5, 2011 at 10:20 AM, John Toncart

Re: urlFor()

2011-12-05 Thread Igor Vaynberg
urlfor(new ResourceReferenceRequestHandler(ref)) -igor On Mon, Dec 5, 2011 at 10:26 AM, John Toncart john.tonc...@gmail.com wrote: PackageResourceReference resourceImg = new PackageResourceReference(name + .jpg); String urlString = RequestCycle.get().urlFor(imageResource).toString(); gives

Re: urlFor()

2011-12-05 Thread Igor Vaynberg
actually, request handler has: public final CharSequence urlFor(ResourceReference reference, PageParameters params) -igor On Mon, Dec 5, 2011 at 10:29 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: urlfor(new ResourceReferenceRequestHandler(ref)) -igor On Mon, Dec 5, 2011 at 10:26 AM

Re: Event or Notice when a ListView's Model changes

2011-12-04 Thread Igor Vaynberg
the label that outputs the status can keep its last status, and in onbeforerender can check if the new status coming from the model is different then the old. if it is, it can fire the event. -igor On Sun, Dec 4, 2011 at 12:59 PM, hfriederichs h.friederi...@ohra.nl wrote: But the List isn't

Re: Internationalization on panels

2011-12-04 Thread Igor Vaynberg
class mymodel extends abstractreadonlymodelstring { string getobject() { if (show) return getstring(show.components) else return getstring(hide.components);}} -igor On Sun, Dec 4, 2011 at 2:09 PM, cosmindumy cosmind...@yahoo.com wrote: Thanks. I red the tutorial and now is more clear.

Re: Experimental work on ResourceReference management

2011-12-03 Thread Igor Vaynberg
looks really good. here are some notes: * MinifiedDetecting*-MinifiedAware* * MinifiedDetecting*#getName() needs to have a code comment saying that the code inside has to be threadsafe so when people tweak it they are aware of it * can the MinifiedDetecting* be made into a wrapper instead of

Re: Wicket 1.5 LocaleFirstMapper and CustomHomeMapper bug when using BookmarkablePageLink

2011-12-03 Thread Igor Vaynberg
fixed, thanks. On Sat, Dec 3, 2011 at 5:03 PM, Dan dan.traczyn...@gmail.com wrote: LocaleFirstMapper structures my site to place the language code in the URL path (e.g., example.com/en/path-to-page). The LocaleFirstMapper and CustomHomeMapper classes work perfectly, but I noticed that the

Re: new blog on leveraging cdi conversations to simplify wicket code

2011-12-01 Thread Igor Vaynberg
here is a follow up demonstrating a more complex example: https://www.42lines.net/2011/12/01/simplifying-non-trivial-user-workflows-with-conversations/ -igor On Tue, Nov 29, 2011 at 9:24 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: just wrote a new blog on how to use cdi conversations

Re: new blog on leveraging cdi conversations to simplify wicket code

2011-12-01 Thread Igor Vaynberg
here is a follow up demonstrating a more complex example: https://www.42lines.net/2011/12/01/simplifying-non-trivial-user-workflows-with-conversations/ -igor On Tue, Nov 29, 2011 at 9:24 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: just wrote a new blog on how to use cdi conversations

Re: new blog on leveraging cdi conversations to simplify wicket code

2011-12-01 Thread Igor Vaynberg
yours. Sebastian Op 1-12-2011 17:25, schreef Igor Vaynberg: here is a follow up demonstrating a more complex example: https://www.42lines.net/2011/12/01/simplifying-non-trivial-user-workflows-with-conversations/ -igor On Tue, Nov 29, 2011 at 9:24 AM, Igor Vaynbergigor.vaynb...@gmail.com

Re: Backslash-Escaping of single quotes in URLs?

2011-12-01 Thread Igor Vaynberg
this was done in r1150391 by martin for http://wicket.apache.org/2011/08/23/cve-2011-2712.html -igor On Thu, Dec 1, 2011 at 8:45 AM, Gereon Steffens gereon.steff...@finanzen100.de wrote: Hi, I've noticed a change in Wicket 1.4.19 regarding URL parameter encoding. If a parameter value

Re: Backslash-Escaping of single quotes in URLs?

2011-12-01 Thread Igor Vaynberg
the application with the URL encoded version. On Thu, Dec 1, 2011 at 6:05 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: this was done in r1150391 by martin for http://wicket.apache.org/2011/08/23/cve-2011-2712.html -igor On Thu, Dec 1, 2011 at 8:45 AM, Gereon Steffens gereon.steff...@finanzen100.de

Re: Backslash-Escaping of single quotes in URLs?

2011-12-01 Thread Igor Vaynberg
Gereon, can you take a look... -igor On Thu, Dec 1, 2011 at 9:58 AM, Martin Grigorov mgrigo...@apache.org wrote: dig the demo application and try maybe I didn't test it properly... On Thu, Dec 1, 2011 at 6:55 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: the question is, should we

Re: IFormSubmitListener gets invoked on regular Submit button. Is it AJAX?

2011-12-01 Thread Igor Vaynberg
any time you submit a form -igor On Thu, Dec 1, 2011 at 1:07 PM, eugenebalt eugeneb...@yahoo.com wrote: Essentially, under what circumstances does the IFormSubmitListener gets invoked? -- View this message in context:

Re: IFormSubmitListener gets invoked on regular Submit button. Is it AJAX?

2011-12-01 Thread Igor Vaynberg
if you use a regular button, then correct on both accounts. -igor On Thu, Dec 1, 2011 at 1:39 PM, eugenebalt eugeneb...@yahoo.com wrote: so it has nothing to do with Ajax, and there's no JavaScript behind it? -- View this message in context:

Re: Data in Input Fields Resetting/Clearing on Update

2011-12-01 Thread Igor Vaynberg
you can either (a) use AjaxFormSubmittingBehavior and the entire right side containing the refreshing view or you can (b) use the AjaxFormComponentUpdatingBehavior and only repaint individual components inside the refreshing view if you use (a) you have to set a correct IItemReuseStrategy on the

[jira] [Commented] (WICKET-4273) Rendering of resources in the header with dependency resolving and support for bundles

2011-11-30 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13160161#comment-13160161 ] Igor Vaynberg commented on WICKET-4273: --- this needs to be brought up on the mailing

[jira] [Commented] (WICKET-4273) Rendering of resources in the header with dependency resolving and support for bundles

2011-11-30 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13160293#comment-13160293 ] Igor Vaynberg commented on WICKET-4273: --- now that there is some actual code

[jira] [Commented] (WICKET-4270) Mounted ResourceReference getResource() method being called for requests that do not match the mounted name

2011-11-30 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13160393#comment-13160393 ] Igor Vaynberg commented on WICKET-4270: --- i think we should be ok comparing just

[jira] [Resolved] (WICKET-3956) (Indexed|MixedParam)HybridUrlCodingStrategy ignore interface parameter

2011-11-29 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-3956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-3956. --- Resolution: Won't Fix Assignee: Igor Vaynberg i concur with Martin. 1.4.x

[jira] [Commented] (WICKET-3956) (Indexed|MixedParam)HybridUrlCodingStrategy ignore interface parameter

2011-11-29 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-3956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13159681#comment-13159681 ] Igor Vaynberg commented on WICKET-3956: --- by clean i mean: you dont have to patch

new blog on leveraging cdi conversations to simplify wicket code

2011-11-29 Thread Igor Vaynberg
just wrote a new blog on how to use cdi conversations to make wicket code simpler... https://www.42lines.net/2011/11/29/leveraging-conversations/ feedback welcome -igor - To unsubscribe, e-mail:

Re: Link Visited Color Doesn't Change, any ideas?

2011-11-29 Thread Igor Vaynberg
BookmarkablePageLinks always generates a stateless url, thats kind of the point... -igor On Tue, Nov 29, 2011 at 3:59 PM, Zilvinas Vilutis cika...@gmail.com wrote: afaik BookmarkablePageLinks generate stateless URLs for stateless pages only, otherwise they act as regular links. Please correct

[jira] [Resolved] (WICKET-1175) IDataProvider-Overflow with size()

2011-11-28 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-1175. --- Resolution: Fixed IDataProvider-Overflow with size

[jira] [Created] (WICKET-4269) Component#continueToOriginalDestination() should not return a value

2011-11-28 Thread Igor Vaynberg (Created) (JIRA)
: Improvement Reporter: Igor Vaynberg Assignee: Igor Vaynberg Priority: Trivial -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure

[jira] [Updated] (WICKET-4269) Component#continueToOriginalDestination() should not return a value

2011-11-28 Thread Igor Vaynberg (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg updated WICKET-4269: -- Description: since the method throws a runtimeexception on successful redirect

[jira] [Updated] (WICKET-4269) Component#continueToOriginalDestination() should not return a value

2011-11-28 Thread Igor Vaynberg (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg updated WICKET-4269: -- Description: since the method throws a runtimeexception on successful redirect

[jira] [Resolved] (WICKET-4269) Component#continueToOriginalDestination() should not return a value

2011-11-28 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4269. --- Resolution: Fixed Fix Version/s: 6.0.0 Component#continueToOriginalDestination

[jira] [Commented] (WICKET-4260) UrlRenderer renders invalid relative URLs if first segment contains colon

2011-11-28 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13158805#comment-13158805 ] Igor Vaynberg commented on WICKET-4260: --- be careful to make sure that it doesnt

[jira] [Commented] (WICKET-4260) UrlRenderer renders invalid relative URLs if first segment contains colon

2011-11-28 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13159015#comment-13159015 ] Igor Vaynberg commented on WICKET-4260: --- yes, shouldve been /bar/baz

Re: Wicket error we are seeing, timeout issues?

2011-11-28 Thread Igor Vaynberg
On Mon, Nov 28, 2011 at 6:45 AM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: I had one question about an issue we are having with our wicket applications and was wondering if anyone else has seen something similar with other wicket apps. -- 1. Here is the

Re: Handling ReplaceHandlerException on continueToOriginalDestination in wicket 1.5

2011-11-28 Thread Igor Vaynberg
https://issues.apache.org/jira/browse/WICKET-4269 -igor On Mon, Nov 28, 2011 at 6:47 AM, peakmop peak...@yahoo.com wrote: Tor Iver is correct, in 1.4.x the call to continueToOriginalDestination didn't throw an exception but rather a boolean result. While in 1.5.x it still returns a boolean

[jira] [Issue Comment Edited] (WICKET-4091) Automate output of markup ids

2011-11-27 Thread Igor Vaynberg (Issue Comment Edited) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13157932#comment-13157932 ] Igor Vaynberg edited comment on WICKET-4091 at 11/27/11 4:54 PM

[jira] [Commented] (WICKET-4091) Automate output of markup ids

2011-11-27 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13157932#comment-13157932 ] Igor Vaynberg commented on WICKET-4091: --- imho this is going to be too error prone

Re: Where to best configure user timezone?

2011-11-27 Thread Igor Vaynberg
session.login should be good... -igor On Sun, Nov 27, 2011 at 2:07 PM, Tauren Mills tau...@groovee.com wrote: Where is the recommended place to configure the timezone for a user? My user object has a timezone setting that the user can control (Member.timezone). The following code seems to

Re: How to test just a panel using apache wicket?

2011-11-26 Thread Igor Vaynberg
tester.startpanel(panel)? -igor On Sat, Nov 26, 2011 at 3:57 PM, kamiseq kami...@gmail.com wrote: the javadoc of ITesterPanelSource says Depreced since no longer needed in 1.5.3 can you give examples? pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com

[jira] [Resolved] (WICKET-4232) Imroper handling of empty ajax response with empty CDATA text node.

2011-11-24 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4232. --- Resolution: Incomplete closing until more information can be provided

Re: wicket-cdi NotSerializableException for injected SLSB proxy

2011-11-24 Thread Igor Vaynberg
, at 17:24, Igor Vaynberg wrote: looks like a weld/glassfish bug, especially since other kinds of proxies (even for application-scoped objects) are serializable. -igor On Wed, Nov 16, 2011 at 12:52 AM, Phill ph...@leadseeker.co.uk wrote: I'm using the wicket-cdi module (https://github.com

Re: wicket-cdi NotSerializableException for injected SLSB proxy

2011-11-24 Thread Igor Vaynberg
there are no serialization issues, suggesting that in this case the proxy for the SLSB is serializable. -Phill On 16/nov/2011, at 17:24, Igor Vaynberg wrote: looks like a weld/glassfish bug, especially since other kinds of proxies (even for application-scoped objects) are serializable

[jira] [Commented] (WICKET-3367) Rewrite all JavaScript inline event handlers to be proper attached event handlers

2011-11-23 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155959#comment-13155959 ] Igor Vaynberg commented on WICKET-3367: --- looks good. a couple of comments

[jira] [Resolved] (WICKET-4222) CryptoMapper - Error decoding text, exception thrown for links in markup

2011-11-23 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4222. --- Resolution: Fixed Fix Version/s: 6.0.0 1.5.4 Assignee

[jira] [Resolved] (WICKET-4246) WicketTester.assertFeedback(java.lang.String path, java.lang.String[] messages) should not require feedback messages to be in the specified order.

2011-11-23 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4246. --- Resolution: Fixed Fix Version/s: 6.0.0 1.5.4 Assignee

[jira] [Assigned] (WICKET-4251) Multipart Form and AjaxSubmitLink will result in invalid redirect after user session expires

2011-11-23 Thread Igor Vaynberg (Assigned) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg reassigned WICKET-4251: - Assignee: Martin Grigorov Multipart Form and AjaxSubmitLink will result in invalid

Re: Wicket 6 development

2011-11-23 Thread Igor Vaynberg
you can start by providing patches in our jira and by helping people on this list. -igor On Wed, Nov 23, 2011 at 9:06 AM, anantasthana anant.a...@gmail.com wrote: I would love to be a part of this (more people to design code etc) and provide any help i potentially can and learn as much as i

Re: Possible security problem with isRenderAllowed(), beforeRender(), determineVisibility() and component hierarchy.

2011-11-23 Thread Igor Vaynberg
backported.. -igor On Wed, Nov 23, 2011 at 1:40 AM, Carl-Eric Menzel cmen...@wicketbuch.de wrote: On Tue, 22 Nov 2011 22:39:17 -0800 Igor Vaynberg igor.vaynb...@gmail.com wrote: fixed in WICKET-4256 Awesome! Is this a possible candidate to be fixed in the last 1.4 release too? Thanks

Re: There are problems with object wicket:id=report width=350 height=100/

2011-11-23 Thread Igor Vaynberg
you are using incompatible versions of wicket.contrib.jasper and wicket itself, make sure they are both either 1.4.x or 1.5.x -igor On Wed, Nov 23, 2011 at 4:16 AM, andreyich andrey...@mail.ru wrote: If somebody could help me!? It is about showing jasper report in some page! I have a simple

Re: How to avoid Page refresh after closing modal window

2011-11-23 Thread Igor Vaynberg
can you debug and see where the second request for a page refresh is coming from? because there should not be one if you cant debug it create a quickstart and attach it to jira.. -igor On Wed, Nov 23, 2011 at 6:14 AM, vaghelapradeep vaghelaprad...@gmail.com wrote: Hello, In my

Re: Fireing jQuery script after closing modal Window but in certain situations

2011-11-23 Thread Igor Vaynberg
your html and java got stripped.. -igor On Wed, Nov 23, 2011 at 5:08 AM, jasp kamilszoka...@gmail.com wrote: Hello there, I have some serious problem with modal window and it's simply driving me crazy :) Lets start from the beginning. I have a page with a button. After clicking it user

Re: Handling ReplaceHandlerException on continueToOriginalDestination in wicket 1.5

2011-11-23 Thread Igor Vaynberg
dont really understand what you mean... continueToOriginalDestination() does alway sthrow the replacehandler exception. this is how that method works... why is it a problem/why are you trying to deal with the new handler? -igor On Wed, Nov 23, 2011 at 2:57 PM, peakmop peak...@yahoo.com wrote:

[jira] [Commented] (WICKET-4162) Add new StringResourceLoader to allow Wicket extensions to provide localization resource bundles

2011-11-22 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155655#comment-13155655 ] Igor Vaynberg commented on WICKET-4162: --- i think this is an ok compromise

[jira] [Issue Comment Edited] (WICKET-4162) Add new StringResourceLoader to allow Wicket extensions to provide localization resource bundles

2011-11-22 Thread Igor Vaynberg (Issue Comment Edited) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155655#comment-13155655 ] Igor Vaynberg edited comment on WICKET-4162 at 11/23/11 3:12 AM

[jira] [Created] (WICKET-4256) onBeforeRender() is called on components that are not allowed to render

2011-11-22 Thread Igor Vaynberg (Created) (JIRA)
Type: Bug Reporter: Igor Vaynberg Assignee: Igor Vaynberg pasted from the list: Hi, I ran into an odd problem this week. A model fed to a ListView was calling service methods the current user wasn't allowed to use, and I was wondering how that could happen. A panel far

[jira] [Updated] (WICKET-4256) onBeforeRender() is called on components that are not allowed to render

2011-11-22 Thread Igor Vaynberg (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg updated WICKET-4256: -- Affects Version/s: 1.5.3 Fix Version/s: 6.0.0 1.5.4

[jira] [Resolved] (WICKET-4255) bug in org.apache.wicket.validation.validator.UrlValidator

2011-11-22 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4255. --- Resolution: Fixed Fix Version/s: 6.0.0 1.5.4 Assignee

[jira] [Resolved] (WICKET-4256) onBeforeRender() is called on components that are not allowed to render

2011-11-22 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4256. --- Resolution: Fixed onBeforeRender() is called on components that are not allowed

[jira] [Updated] (WICKET-4232) Imroper handling of empty ajax response with empty CDATA text node.

2011-11-22 Thread Igor Vaynberg (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg updated WICKET-4232: -- Priority: Minor (was: Major) Assignee: Igor Vaynberg how is the empty response generated

[jira] [Resolved] (WICKET-4241) Modal Window respond 404 with Internet Explorer.

2011-11-22 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-4241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-4241. --- Resolution: Fixed Fix Version/s: 6.0.0 1.5.4 Assignee

Re: DiskPageStore issue

2011-11-22 Thread Igor Vaynberg
search this list for that error message, this has been answered lots of times already. -igor On Tue, Nov 22, 2011 at 12:10 PM, sreekar sreekar_vang...@mahindrasatyam.com wrote: Hello, We've build a web app using wicket 1.4.12, and the app is working fine in PROD as of now. But in few cases

Re: Possible security problem with isRenderAllowed(), beforeRender(), determineVisibility() and component hierarchy.

2011-11-22 Thread Igor Vaynberg
fixed in WICKET-4256 -igor On Mon, Nov 21, 2011 at 10:36 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: Jira this up so we don't lose it... -igor On Nov 20, 2011 5:48 AM, Carl-Eric Menzel carl-e...@duesenklipper.de wrote: Hi, I ran into an odd problem this week. A model fed

Re: ValidationForm.addPropertyValidators sometimes looks for child properties in parent's model

2011-11-22 Thread Igor Vaynberg
its very hard to figure out problems like this without having running code. you can either create a quickstart with a failing testcase, or even better make a pull request on github that will add the failing testcase directly into the codebase. thanks, -igor On Mon, Nov 21, 2011 at 12:34 PM,

Re: unable to open modal window

2011-11-22 Thread Igor Vaynberg
you have an error in some javascript you included... -igor On Tue, Nov 22, 2011 at 4:15 AM, sri357 s.srilat...@gmail.com wrote: When i click on a link ,it should open a modal window according to the code, but delegate cals are made and no modal window is getting opened. Following error is

Re: How to test just a panel using apache wicket?

2011-11-22 Thread Igor Vaynberg
create a simple page that acts as a wrapper for the panel (as an inner class of the test perhaps) and use that to test -igor On Tue, Nov 22, 2011 at 4:11 PM, sudeivas sureshkumar@gmail.com wrote: Additional Information: Using Apache-Wicket - 1.5.3 -- View this message in context:

Re: How to test just a panel using apache wicket?

2011-11-22 Thread Igor Vaynberg
open a jira and attach the testcase.. -igor On Tue, Nov 22, 2011 at 4:40 PM, sudeivas sureshkumar@gmail.com wrote: I did try something like this, public class DoublePanelTest {    private WicketTester tester;    private class TestPage extends WebPage {        private static final long

[jira] [Commented] (WICKET-3367) Rewrite all JavaScript inline event handlers to be proper attached event handlers

2011-11-21 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13154288#comment-13154288 ] Igor Vaynberg commented on WICKET-3367: --- yeah, missed that it was only doing

blog: integrating jpa/hibernate into wicket and cdi

2011-11-21 Thread Igor Vaynberg
just wrote a new blog entry on how to integrate jpa with cdi and wicket https://www.42lines.net/2011/11/21/adding-jpahibernate-into-the-cdi-and-wicket-mix/ -igor - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: unit testing continueToOriginalDestination

2011-11-21 Thread Igor Vaynberg
create a special test page that throws a RestartResponseAtInterceptPageException with the page you want to test. -igor On Sun, Nov 20, 2011 at 6:29 AM, kamiseq kami...@gmail.com wrote: hej, Im a bit stuck, I tried to search something but all resources points to older version and it seems that

Re: URLs with page id and Component.isVersioned

2011-11-21 Thread Igor Vaynberg
make your page stateless and it will not have the page id in the url. -igor On Sun, Nov 20, 2011 at 2:27 PM, hok ivanvasi...@gmail.com wrote: Hello, this issue has been discussed previously (http://apache-wicket.1842946.n4.nabble.com/Stateful-pages-without-page-Id-in-the-url-td3816663.html).

Re: unit testing continueToOriginalDestination

2011-11-21 Thread Igor Vaynberg
We can build it in...open a jira and attach a patch :) -igor On Nov 21, 2011 10:51 AM, kamiseq kami...@gmail.com wrote: it sounds like a plan ;] I thought it will be something in wicket tester, thanks for a hint anyway ;] pozdrawiam Paweł Kamiński kami...@gmail.com

Re: LoadableDetachableModel getObject not final

2011-11-21 Thread Igor Vaynberg
think? 2011/11/18 Igor Vaynberg igor.vaynb...@gmail.com getObject() is what defines the contract of load(). if we make it overridable the user can then break the load() function - for example by not calling it from the override. why would you want to override getobject()? -igor

Re: Can't Reset Form After DropDownChoice OnChange Handled

2011-11-21 Thread Igor Vaynberg
there be? I looked at Wicket in Action, but it doesn't seem to address this issue. RAM /abr./: Rarely Adequate Memory. From: Igor Vaynberg igor.vaynb...@gmail.com To: users@wicket.apache.org Date: 11/17/2011 03:42 PM Subject:Re: Can't Reset Form After DropDownChoice OnChange

Re: wicket url encoding: ClassCastException using SunJceCrypt

2011-11-21 Thread Igor Vaynberg
jsessionid is managed by the servlet container. we cant encrypt it because its not part of the page path or query string, its in its own weird ;jsessionid thing that containers mangle in there. maybe your container has an option to encrypt it, or maybe you can write a plugin for it that encrypts

[jira] [Resolved] (WICKET-3718) Introduce select-all components for all types of checkbox

2011-11-20 Thread Igor Vaynberg (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-3718. --- Resolution: Fixed Fix Version/s: 1.5.0 Assignee: Martin Grigorov

Re: Apache Wicket is a Flawed Framework

2011-11-20 Thread Igor Vaynberg
On Sun, Nov 20, 2011 at 6:40 PM, jlazeraski supreme_java_gur...@yahoo.com wrote: Hi Igor, You have valid points. I've not built a Wicket app yet to compare, so I can't honestly say. My intuition knowing about how session replication occurs to provide at least fault tolerance does however make

Re: How to build a hudson/jenkins like live log viewer?

2011-11-20 Thread Igor Vaynberg
a much simplified version: div wicket:id=logDatalog contents/div div wicket:id=nextLognext log call/div no panel needed. add self-updating behavior to next log call and in the callback also add target.appendjavascript( $('#logdata).append($('#nextlog).content()); $('#nextlog').remove();

Re: Adding Wicket components inside editable labels @L

2011-11-19 Thread Igor Vaynberg
this is going to be tricky because the markup entered into the label is not parsed by wicket so resolvers wont be called on it. i wonder if you can override label's getmarkup() and return the markup parsed from user's input...give that a go and then use the resolvers to find the components. -igor

Re: Apache Wicket is a Flawed Framework

2011-11-19 Thread Igor Vaynberg
On Sat, Nov 19, 2011 at 9:20 PM, jlazeraski supreme_java_gur...@yahoo.com wrote: Hey Jeremy, thanks for the info. I am having a hard time seeing how Wicket uses less memory if for each user/page it keeps a DOM tree of objects in memory + any model data for that page.. where at least in my

Re: Apache Wicket is a Flawed Framework

2011-11-19 Thread Igor Vaynberg
On Sat, Nov 19, 2011 at 4:52 PM, jlazeraski supreme_java_gur...@yahoo.com wrote: The big one for me is the server side statefulness. Maybe I misunderstood this, but I am really worried about the ability for Wicket to scale given that it keeps per user object trees in memory for the page the

Re: Apache Wicket is a Flawed Framework

2011-11-19 Thread Igor Vaynberg
On Sat, Nov 19, 2011 at 4:52 PM, jlazeraski supreme_java_gur...@yahoo.com wrote: Another area I am not keen with at all with wicket which is mentioned is having to build the object tree code the same way the html page is. With element Ids, I am a little confused as to why we cant simply insert

Re: Apache Wicket is a Flawed Framework

2011-11-19 Thread Igor Vaynberg
On Sat, Nov 19, 2011 at 9:31 PM, sthomps stho...@gmail.com wrote: Again address the content and not the speaker.  I prompted him to post this to get some good feedback on why Wicket is a better alternative than the UI frameworks than we have come across. * the email was written as a

[jira] [Commented] (WICKET-3367) Rewrite all JavaScript inline event handlers to be proper attached event handlers

2011-11-18 Thread Igor Vaynberg (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/WICKET-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13152942#comment-13152942 ] Igor Vaynberg commented on WICKET-3367: --- doing it this way wont solve the problem

Re: AjaxLazyLoadPanel question

2011-11-18 Thread Igor Vaynberg
the AjaxRequestTarget in the getLazyLoadComponent() method. Thanks in advance for any hints, Philip 2011/11/18 heapifyman heapify...@gmail.com Great, it's working. Thanks for the quick response, Philip 2011/11/17 Igor Vaynberg igor.vaynb...@gmail.com you can replace the lazy load panel

Re: Button with 3 images and issues

2011-11-18 Thread Igor Vaynberg
your html got eaten... -igor On Fri, Nov 18, 2011 at 2:52 AM, D0m3 florian.bern...@orange.com wrote: Hello everybody, I am starting a wicket project for the first time, and I created a button made of 3 images with html css. Here is my html : I want this button to be disableable. In Java, I

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Igor Vaynberg
i will address some points that i dont think have been addressed yet... On Thu, Nov 17, 2011 at 7:44 AM, Eric Kizaki erickiz...@gmail.com wrote: Violates Dry:  You must repeat the component hierarchy of your widgets that are in HTML in Java Code for no good reason.  If you move your widget

Re: ValidationForm.addPropertyValidators sometimes looks for child properties in parent's model

2011-11-18 Thread Igor Vaynberg
On Fri, Nov 18, 2011 at 9:32 AM, Jablow, Eric R eric.jab...@mantech.com wrote: Dear Igor, (me) I get a call with expression being child, and target being the local test object.  Were expression parent.child, this would succeed, as it would call getParent().getChild(). However, I'm not sure

Re: Metagen configuration issue

2011-11-18 Thread Igor Vaynberg
try removing the configuration block of the maven-processor-plugin and change the source location of the helper plugin to generated-sources/annotations -igor On Fri, Nov 18, 2011 at 10:57 AM, Jablow, Eric R eric.jab...@mantech.com wrote: I've cut and pasted the Metagen configuration listed in

Re: LoadableDetachableModel getObject not final

2011-11-18 Thread Igor Vaynberg
getObject() is what defines the contract of load(). if we make it overridable the user can then break the load() function - for example by not calling it from the override. why would you want to override getobject()? -igor On Fri, Nov 18, 2011 at 10:39 AM, Tito njyt...@gmail.com wrote: Hi,

Re: Metagen configuration issue

2011-11-18 Thread Igor Vaynberg
idsonatype-repo/id urlhttps://oss.sonatype.org/content/repositories/releases/url /pluginRepository -igor On Fri, Nov 18, 2011 at 11:38 AM, Jablow, Eric R eric.jab...@mantech.com wrote: From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Friday, November 18, 2011 2:21

<    2   3   4   5   6   7   8   9   10   11   >