Re: could IAjaxCallDecorator implement IHeaderContributor

2010-09-20 Thread Michal Kurtak
https://issues.apache.org/jira/browse/WICKET-3059 2010/9/17 Igor Vaynberg igor.vaynb...@gmail.com: add an rfe to jira. -igor On Fri, Sep 17, 2010 at 7:43 AM, Michal Kurtak michal.kur...@gmail.com wrote: Thanks for your quick reply. Thats the way i do it right now. But the problem is

mouse over table cells and dialog popup with ajaxlinks

2010-09-20 Thread Jason Novotny
Hi, I have a fairly complex use-case scenario: I want a dialog to popup when a hover event occurs within a table cell. The dialog will provide a couple of links (ideally AjaxLink) that should trigger a wicket ajax event. I can imagine maybe creating the dialogs all on the client so

Re: ERROR (Session.java:1406) - Exception when detaching/serializing page

2010-09-20 Thread Martijn Dashorst
You can try to increase the stack size. See http://www.caucho.com/resin-3.0/performance/jvm-tuning.xtp#stack-size Martijn On Thu, Sep 16, 2010 at 5:01 PM, nmetzger nmetz...@odu.edu wrote: Hi all, this is rather urgent. The following error is flooding my application. Below is just the

Re: mouse over table cells and dialog popup with ajaxlinks

2010-09-20 Thread Ernesto Reinaldo Barreiro
Sorry I misunderstood you. You could: 1-use some abstract AJAX behavior and attach to your table. 2-you use this behavior to construct an URL (with urlFor(beahvior)) and pass it to the client side. 3-on client side you use previous URL to construct your panel and links and use wiketAjaxGet()

Replacing content in head

2010-09-20 Thread Martin Makundi
Hi! I am making a page that can be opened into office and equivalents. This seems to require all HTML and CSS is contained within a single file. I have a head section in my WebPage and I would like to parametrize some css values on the fly. However, the following does not seem to work: html

Re: Wicket 1.5 SerializableChecker/guice

2010-09-20 Thread nino martinez wael
Hmmm, I've tried to reproduce the error but have been unable so far.. I'll get back on this one if I get it again.. regards Nino 2010/9/17 nino martinez wael nino.martinez.w...@gmail.com: ok. They come next week.. regards Nino 2010/9/17 Martin Grigorov mgrigo...@apache.org: Show us some

Re: Replacing content in head

2010-09-20 Thread Bas Gooren
Martin, Wicket tags need to be part of a valid (x)html tree. So what you want can be achieved by giving the style tag a wicket:id and generating the CSS including the .container { ... } code. Sebastian - Original Message - From: Martin Makundi martin.maku...@koodaripalvelut.com

Re: Replacing content in head

2010-09-20 Thread Martin Grigorov
XmlPullParser has some performance optimizations when dealing with style and script. Check them too. On Mon, Sep 20, 2010 at 11:21 AM, Bas Gooren b...@iswd.nl wrote: Martin, Wicket tags need to be part of a valid (x)html tree. So what you want can be achieved by giving the style tag a

Re: Wicket 1.5 SerializableChecker/guice

2010-09-20 Thread nino martinez wael
Heh.. Of course 2 sec's later I got it. Heres the error, but I don't get why the guice integration dosen't pickup that it's IOC handled?: 11:18:34.070 [14916...@qtp-11596093-1 - /wicket/page?34-2.IFormSubmitListener-providerSetup] ERROR o.a.wicket.util.lang.WicketObjects - Error serializing

Wicket 1.5 Markup Cache?

2010-09-20 Thread nino martinez wael
Hi Just saw this in my log: 12:36:09.823 [ModificationWatcher Task] DEBUG org.apache.wicket.markup.MarkupCache - Remove from cache: cacheKey=com.netdesign.wallboard.DesignerPagedanull_nullhtml And was wondering why theres the null_null in the cache key, I think it has something to do with

Re: Wicket 1.5 Markup Cache?

2010-09-20 Thread Martin Grigorov
Create a ticket please. On Mon, Sep 20, 2010 at 12:46 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hi Just saw this in my log: 12:36:09.823 [ModificationWatcher Task] DEBUG org.apache.wicket.markup.MarkupCache - Remove from cache:

Re: Replacing content in head

2010-09-20 Thread Martin Makundi
Hi! Sorry, it does not help. I added wicket:id tag: style type=text/css wicket:id=style-container .date_style { wicket:container wicket:id=date_style/ } /style But I get exception: WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in

Re: Is there an ajax WizardButton to use in a wizard inside a ModalWindow?

2010-09-20 Thread fstof
drf wrote: in which class are call calling setOutputMarkupId(true) on the wizard ? Since we are calling target.addComponent(wizard); setOUtputMarkupId should be seton the wizard itself, since that is the component we want to re-render. -- View this message in context:

Re: Replacing content in head

2010-09-20 Thread Martin Grigorov
I would use PackageTextTemplate for the content of style, then use a Label or a custom WebComponent for style and override its onComponenttagBody() and use the interpolated value of PackageTextTemplate as body. On Mon, Sep 20, 2010 at 1:14 PM, Martin Makundi martin.maku...@koodaripalvelut.com

Re: Is there an ajax WizardButton to use in a wizard inside a ModalWindow?

2010-09-20 Thread fstof
Sean Brookes wrote: Thank you for posting your code on this. It is exactly the same issue I am working on. A problem I am experiencing is with adding the wizard to the target in the addOrReplace method of AjaxWizardButtonBar: target.addComponent(wizard);

Re: Replacing content in head

2010-09-20 Thread Bas Gooren
Martin, I meant that you need to do the following: HTML: style wicket:id=style-container/style Java: IModelString styleModel = new AbstractReadOnlyModelString() { @Override public String getObject() { return .date_style {\n + _get_css_string_here + \n}; }; }; Label label = new

Re: Replacing content in head

2010-09-20 Thread Martin Makundi
Nah.. I don't want to pull all content from wicket. Overriding componentTag works nicely. ** Martin 2010/9/20 Bas Gooren b...@iswd.nl: Martin, I meant that you need to do the following: HTML: style wicket:id=style-container/style Java: IModelString styleModel = new

Re: Url parameters: removed onClick + wrong url encoding

2010-09-20 Thread Peter Karich
Martin, thanks for the support in the tickets btw :-) two minor migration questions (when using 1.5-M2.1) 1. When I mount my homepage via: getRootRequestMapperAsCompound().add(new MountedMapper(twittersearch, HomePage.class)); and I am querying webapp/?test I got a directory listing - is this

Re: Url parameters: removed onClick + wrong url encoding

2010-09-20 Thread Martin Grigorov
On Mon, Sep 20, 2010 at 3:12 PM, Peter Karich peat...@yahoo.de wrote: Martin, thanks for the support in the tickets btw :-) We thank you for testing the framework and blogging about it! ;-) two minor migration questions (when using 1.5-M2.1) 1. When I mount my homepage via:

Re: Wicket-auth annotations to hide a link problem

2010-09-20 Thread Mike Dee
I think I've resolved this. Hopefully, someone else will find this useful. After going through the wicket source code, it appears the proper way to do this is like this: public class HomePage extends WebPage { public HomePage() { add( new ExampleLink(

Re: Wicket 1.5 Markup Cache?

2010-09-20 Thread nino martinez wael
https://issues.apache.org/jira/browse/WICKET-3062 attached proposed fix.. 2010/9/20 Martin Grigorov mgrigo...@apache.org: Create a ticket please. On Mon, Sep 20, 2010 at 12:46 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hi Just saw this in my log: 12:36:09.823

Re: [RELEASE] WASP/SWARM/Wicket security 1.4.1 released, roadmap for future direction

2010-09-20 Thread nino martinez wael
For the names, I'd probably go for Wicket Keeper or playaround with services like this: http://acronymcreator.net A few samples from first shot of framework formerly know as wicket security : FRESh: Framework foRmerly wickEt Security FEISty: Framework formErly wIcket Security FLAWlEsS:

Re: Url parameters: removed onClick + wrong url encoding

2010-09-20 Thread Peter Karich
Hi Martin! Martin, thanks for the support in the tickets btw :-) We thank you for testing the framework and blogging about it! ;-) ;-) Interesting. How exactly looks the URL for such request? E.g. try it with the quickstart at: https://issues.apache.org/jira/browse/WICKET-3053

Using WicketTester to verify table content refreshed by AJAX event

2010-09-20 Thread Alec Swan
Hello, I have a page which contains a DropDownChoice menu and a table. The menu has AjaxFormComponentUpdatingBehavior which causes the table to refresh. The page is actually working correctly, but I am having problems with a test. The test does the following: 1. Renders the page 2. Verifies that