Re: [Wicket-user] window name is not taken fromPopopSetting's pagemap

2006-11-13 Thread Eelco Hillenius
I the current version of Wicket the target is set on bookmarkable links when you explicitly set the target on the link itself. You don't need this for popups though, as this is the window name you're passing in. window.open(getReportUrl(), 'myReport' --- If you look at the url:

Re: [Wicket-user] Too many open files

2006-11-13 Thread Johan Compagner
I see you use tomcat so what you could try is antiResourceLocking and antiJarLocking of a tomcat context:http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Standard%20Implementation johanOn 11/13/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi all,When running our Wicket based web application

Re: [Wicket-user] window name is not taken fromPopopSetting's pagemap

2006-11-13 Thread Erik van Oosten
Hi Neli, Eelco, You need to set the target attribute when you need to support a non-JavaScript browser. Otherwise, the target attribute won't explain the problem Neli is having unless a weird browser is used. I was just surprised the target attribute was not set automatically as I thought

Re: [Wicket-user] window name is not taken fromPopopSetting'spagemap

2006-11-13 Thread Nili Adoram
Sorry, this was my mistake. I rewrote the URL inside the javascript function getReportUrl() and omitted the page map from URL. Thanks. Eelco Hillenius wrote: I the current version of Wicket the target is set on bookmarkable links when you explicitly set the target on the link itself. You

Re: [Wicket-user] same sign-in, multiple Applications?

2006-11-13 Thread Johan Compagner
you could maybe use the metadata of session to store it in a 'standard' wicket sessionjohanOn 11/13/06, Nick Johnson [EMAIL PROTECTED] wrote:I want to be able to have a nice, clean implementation of one authorization strategy for all of my applications such that once I'vesigned in for one

Re: [Wicket-user] same sign-in, multiple Applications?

2006-11-13 Thread Eelco Hillenius
My rough plan was to create a concrete class implementing IAuthorizationStrategy, a SignIn.java and corresponding SignIn.html. Then in any application that needed authorization, I'd call setAuthorizationStrategy and pass in an instance of my SignInAuthorizationStrategy. The problem is that

Re: [Wicket-user] window name is not taken fromPopopSetting's pagemap

2006-11-13 Thread Eelco Hillenius
You need to set the target attribute when you need to support a non-JavaScript browser. Otherwise, the target attribute won't explain the problem Neli is having unless a weird browser is used. I was just surprised the target attribute was not set automatically as I thought Wicket's

Re: [Wicket-user] Too many open files

2006-11-13 Thread Eelco Hillenius
This would make a fine entry for a FAQ (which we don't have yet?) on the WIKI. Any volunteers? Eelco On 11/13/06, Johan Compagner [EMAIL PROTECTED] wrote: I see you use tomcat so what you could try is antiResourceLocking and antiJarLocking of a tomcat context:

Re: [Wicket-user] window name is not taken fromPopopSetting's pagemap

2006-11-13 Thread Erik van Oosten
Ok. http://issues.apache.org/jira/browse/WICKET-58 Erik. Eelco Hillenius wrote: You need to set the target attribute when you need to support a non-JavaScript browser. Otherwise, the target attribute won't explain the problem Neli is having unless a weird browser is used. I was just

Re: [Wicket-user] window name is not taken fromPopopSetting's pagemap

2006-11-13 Thread Eelco Hillenius
Thanks. Eelco On 11/13/06, Erik van Oosten [EMAIL PROTECTED] wrote: Ok. http://issues.apache.org/jira/browse/WICKET-58 Erik. Eelco Hillenius wrote: You need to set the target attribute when you need to support a non-JavaScript browser. Otherwise, the target attribute won't

[Wicket-user] Multi-valued class attribute in onComponentTag()/wicket 1.2.2

2006-11-13 Thread Erik Brakkee
Hi, I want to add an additional class value to the class attritbute of a tag in onComponentTag(): aTag.getAttributes().add(class, newvalue); Looking at the javadocs, this seems to be supported. Nevertheless, while rendering only the first value is rendered (see

Re: [Wicket-user] Multi-valued class attribute in onComponentTag()/wicket 1.2.2

2006-11-13 Thread Erik van Oosten
Hi Erik, You should look at aTag.getAttributes as if it is a Map. If you do an 'add' you replace the existing value. You can either do a get first and add your value, or use the behavior wicket.AttributeModifier. Regards, Erik. Erik Brakkee schreef: Hi, I want to add an additional

Re: [Wicket-user] Validation without form submit...

2006-11-13 Thread Erik Brakkee
If I understand correctly, this explains the problem but does not solve it. Anyway, I have a simple workaround to display the message as a Label or some other component, overriding getModel() to return the appropriate information. That way I am certain that I am seeing the correct results. All it

Re: [Wicket-user] Multi-valued class attribute in onComponentTag()/wicket 1.2.2

2006-11-13 Thread Martijn Dashorst
Or use the AttributeAppender Martijn On 11/13/06, Erik van Oosten [EMAIL PROTECTED] wrote: Hi Erik, You should look at aTag.getAttributes as if it is a Map. If you do an 'add' you replace the existing value. You can either do a get first and add your value, or use the behavior

Re: [Wicket-user] edit xhtml Wicket files in Eclipse?

2006-11-13 Thread Charlie Dobbie
You don't say what HTML editor you're using. If you're using the Amateras editor, you just need to disable validation: - Right-click your project, select Properties - Browse to the Amateras tab - Uncheck XML Validation and Code Completion using DTD/XML schema and HTML Validation --Charlie On

Re: [Wicket-user] edit xhtml Wicket files in Eclipse?

2006-11-13 Thread Eelco Hillenius
Also notice this https://amateraside.dev.java.net/issues/show_bug.cgi?id=54 Haven't tried it, but it should be more flexible now. Eelco On 11/13/06, Charlie Dobbie [EMAIL PROTECTED] wrote: You don't say what HTML editor you're using. If you're using the Amateras editor, you just need to

[Wicket-user] AjaxSubmitButton and Umlauts with ISO-8859-1 (Wicket 2)

2006-11-13 Thread Stefan Lindner
Title: AjaxSubmitButton and Umlauts with ISO-8859-1 (Wicket 2) I have a form with tow submit buttons (just for testing). A "normal" submit button and an AjaxSubmitButton. If I submit the form's fields with the "normal" button, umlauts are submitted corretly. If I submit the form's fields with

Re: [Wicket-user] Too many open files

2006-11-13 Thread Johan Compagner
And i don't think we know it directly where the jars come fromis ofcourseAnd i don't think we know it directly where the resources come from (jars or dirs or zips, inside a war..) On 11/13/06, Johan Compagner [EMAIL PROTECTED] wrote: drop in a new jar when using it with for example OSGI.And i

Re: [Wicket-user] Wicket-user Digest, Vol 6, Issue 101

2006-11-13 Thread ketan gote
hellofriendswe are looking for some kind of charts , in our project , in wicketwating for replyRegardsKetan D.Gote - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with

Re: [Wicket-user] Too many open files

2006-11-13 Thread Johan Compagner
drop in a new jar when using it with for example OSGI.And i don't think we know it directly where the jars come fromWe just get an URL from the app server. In that url you can have a jarurlconnection yesBut that is completely depended on the implementation of the app server. On 11/13/06, Nili

Re: [Wicket-user] Wicket-user Digest, Vol 6, Issue 101

2006-11-13 Thread Erik van Oosten
Wicket has no such thing by default. However, I can recommend JFreechart for creating charts. You can serve JFreeChart images from a custom Wicket resource. Erik. ketan gote schreef: hello friends we are looking for some kind of charts , in our project , in wicket wating for reply

Re: [Wicket-user] Too many open files

2006-11-13 Thread Nili Adoram
This solves the problem of course. However, why does the ModificationWatcher look for modified resources within wicket jars? If component A extends component B, the MarkupCache should indeed verify watch B as well unless it is a wicket component. Why would anyone replace markup inside a wicket

Re: [Wicket-user] Header contribution not always rendered

2006-11-13 Thread Maurice Marrink
I am using wicket:1.3-incubating-20061113.111007-1 and also have this problem with javascript not being rendered the second time. I render a new page and all is rendered fine. i click on a link to open a new page. there i click on a link that brings me back to the previous page instance. The

Re: [Wicket-user] Header contribution not always rendered

2006-11-13 Thread Erik van Oosten
My current workaround is to include the reference in the markup with wicket:head tags around it. I am sorry I did not yet have the time to create a quickstart/unit test with the problem. Erik. Maurice Marrink schreef: I am using wicket:1.3-incubating-20061113.111007-1 and also have

Re: [Wicket-user] Header contribution not always rendered

2006-11-13 Thread Maurice Marrink
Unfortunately this is not an option for me as the javascript is generated dynamically by the java code. Maurice On 11/13/06, Erik van Oosten [EMAIL PROTECTED] wrote: My current workaround is to include the reference in the markup with wicket:head tags around it. I am sorry I did not yet have

Re: [Wicket-user] Validation without form submit...

2006-11-13 Thread Igor Vaynberg
why dont you create a quickstart so one of the devs can walk the code and see what is going on-igorOn 11/13/06, Erik Brakkee [EMAIL PROTECTED] wrote:If I understand correctly, this explains the problem but does not solve it. Anyway, I have a simple workaround to display the message asa Label or

Re: [Wicket-user] Bug in Wicketbench?

2006-11-13 Thread Joni Freeman
On Sun, 2006-11-12 at 20:13 +0100, Rik van der Kleij wrote: Hi Joni, Do you have any idea why I'm getting the following error while opening a wicketpage: Can't preview file. Check your wicket:preview path. I have also wicket projects in Eclipse that do not have this error but I can't

Re: [Wicket-user] CheckBox and GridView

2006-11-13 Thread Igor Vaynberg
the rowitems do not matter, they hold no state. it is the cell items (individual squares in the grid) whose component hierarchy must be preserved, and it looks to me like it is because those are managed by the dataview. are you sure you overrode equals and hashcode on the IModel not on the model

[Wicket-user] Wicket and Tiles/Includes

2006-11-13 Thread Jeff Saremi
How does wicket solve the problem of layouts, tiles, includes which were resolved in the JSP realm? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated

Re: [Wicket-user] Wicket and Tiles/Includes

2006-11-13 Thread Igor Vaynberg
via markup inheritance, panels, and borders.-igorOn 11/13/06, Jeff Saremi [EMAIL PROTECTED] wrote:How does wicket solve the problem of layouts, tiles, includes which were resolved in the JSP realm? -Using Tomcat but need to

Re: [Wicket-user] Wrap a component through a visitor?

2006-11-13 Thread Jonathan Sharp
If I have markup as such: div wicket:id=myParent input type=submit wicket:id=myButton/ /div My goal is to have output as such: div wicket:id=myParent div class=foo input type=submit wicket:id=myButton/ /div /div I'm basically trying to wrap the button component with

Re: [Wicket-user] Header contribution not always rendered

2006-11-13 Thread Jonathan Sharp
I'm also experiencing this. I believe it only occurs for a Page object. All of my components that add css don't pose this problem at all. Here is the constructor of my page class: public UserProfilePage() { add(HeaderContributor.forCss(UserProfilePanel.class,

Re: [Wicket-user] Wrap a component through a visitor?

2006-11-13 Thread Igor Vaynberg
the problem with doing this through components is that your markup hierarchy will be out of sync with your java one.what you can try is making myParent a AbstractOutputTransformerContainer and then doing string manip in the transform() method by wrapping the output. its not purty, but it will

Re: [Wicket-user] Wrap a component through a visitor?

2006-11-13 Thread Johan Compagner
if you just want div around the button MyButtonyou can use a border i guess (i don't like the current borders to much i would like to make them like swing borders)butButton myButton = new Button(myButton) { protected void onRender(MarkupStream stream) { getResponse().write(div class=foo);

Re: [Wicket-user] Header contribution not always rendered

2006-11-13 Thread Matej Knopp
I've tested this with current 1.3 and couldn't reproduce this. Can you please provide a quick-start project? I'd be more than happy to look into it. -Matej Maurice Marrink wrote: I am using wicket:1.3-incubating-20061113.111007-1 and also have this problem with javascript not being rendered

Re: [Wicket-user] Wrap a component through a visitor?

2006-11-13 Thread Igor Vaynberg
i like how borders work. borders can contain multiple components, with your way it can only contain one. so maybe you introduce a ComponentBorder or some such-igorOn 11/13/06, Johan Compagner [EMAIL PROTECTED] wrote: if you just want div around the button MyButtonyou can use a border i guess (i

Re: [Wicket-user] Wrap a component through a visitor?

2006-11-13 Thread Johan Compagner
thats is exactly how swing worksI have always find the wicket borders counter intuitive . (border contains/has components instead of a component has a border)But i don't say lets replace the current border thing. But maybe add IComponentBorder to wicket 2.0And yes if you then want to wrap multiply

[Wicket-user] Multi-portlet app?

2006-11-13 Thread Gustavo Hexsel
Hi folks, I was taking a look at Wicket's support for Portlets, and after a bit of a struggle (mostly caused by Liferay, Ubuntu, MySQL and Tomcat), I got the examples working. Then I got curious and tried to set the app to have 2 portlets that communicate, but I'm a little lost. Is it

[Wicket-user] wicket , with charts

2006-11-13 Thread ketan gote
hellofriends we want to implementing charts in wicket, and i have no idea of it? pls any one give some kind of clue. so that i can proceed wating for replyregard'sketan d.gote - Using Tomcat but need to do more?

[Wicket-user] Tree node clicked to change another panel problem

2006-11-13 Thread yaojb
Id used Tree component(id=tree) as navigation layout, I want to change another panel component(id=main) of the same layout when one tree node clicked, But nothing change occur. When I use the link component to change the same panel component(id=main) followed the nested demo of

Re: [Wicket-user] wicket , with charts

2006-11-13 Thread Igor Vaynberg
search the list for jfreechart-igorOn 11/13/06, ketan gote [EMAIL PROTECTED] wrote: hellofriends we want to implementing charts in wicket, and i have no idea of it? pls any one give some kind of clue. so that i can proceed wating for replyregard'sketan d.gote

Re: [Wicket-user] CheckBox and GridView

2006-11-13 Thread Ingram Chen
I try to write a model which equals if beckendObject equals: private final class BackendEqualsThenModelEqualsModel extends Model { private BackendEqualsThenModelEqualsModel(Serializable object) { super(object); } @Override public boolean equals(Object obj) { return

Re: [Wicket-user] CheckBox and GridView

2006-11-13 Thread Igor Vaynberg
why are you overriding newItem ? the idataprovider implementation must return the correct model in its model(Object) method-igorOn 11/13/06, Ingram Chen [EMAIL PROTECTED] wrote:I try to write a model which equals if beckendObject equals: private final class BackendEqualsThenModelEqualsModel

Re: [Wicket-user] CheckBox and GridView

2006-11-13 Thread Ingram Chen
ok, I change to: ListDataProvider listDataProvider = new ListDataProvider(dataList) { @Override public IModel model(Object object) {return new BackendEqualsThenModelEqualsModel( (Serializable) object); } }; checkGroup.add(new GridView(checks, listDataProvider) { @Override

[Wicket-user] Question about DataTable

2006-11-13 Thread Carfield Yim
Look like it is more easier to show a sortable and pagable table than using DataView. However if I need to show more than property from an object. Like a BookmarkablePageLink , How should I do? Look like I need to extended a custom AbstractColumn. Where can I find samples of doing that?

Re: [Wicket-user] Question about DataTable

2006-11-13 Thread Igor Vaynberg
there is an example in wicket-phonebook which lives in wicket-stuff svn.basically you extend the abstractcolumn and add a panel or a fragment. its pretty easy. look at the example - mainly in listcontactspage/actioncolumn i believe -igorOn 11/13/06, Carfield Yim [EMAIL PROTECTED] wrote: Look like

Re: [Wicket-user] wicket 1.2.1 and ModalDialog problem

2006-11-13 Thread Nili Adoram
In version 1.2.2 is it still cumbersome to extend PopupSettings. all fields are private (windowName, top, left etc.) with no getters, as well as flagToString(). -- Nili Eelco Hillenius wrote: I'm having trouble with porting this code into wicket. For the first time when one clicks the ...

Re: [Wicket-user] Tree node clicked to change another panel problem

2006-11-13 Thread Sridhar.N
Hello, I am also working on the same senario,but i not able to reconstruct the tree with the child nodes given a parent node on click of a particular node.I have overriden the onNodeClickedEvent() of the AbstractTree but the tree in the webpage does',t show the child nodes on refresh. Plz Help .