What kind of link could I use?

2007-11-27 Thread yadubi
Hi, I have a following link which creates a pop-up window and shows the content of the referenced pdf in it (anchors removed): href=/generated/page_1.pdf target=_blankPage 1 However, I am unable to achieve the same result with Wicket. I use the following code: PopupSettings

Re: wicket success stories

2007-11-27 Thread Cristi Manole
Hello, the link you posted doesn't work for me... but we can't find the iWeb page you've requested. It's possible that: · The address was entered incorrectly. Check your spelling and try again. · The .Mac member of this name has either created a page and removed it

Re: Upgrading ResourceModel to 1.3.0-rc1

2007-11-27 Thread Martijn Dashorst
Why not use the ResourceModel that is available in Wicket 1.3? http://people.apache.org/~tobrien/wicket/apidocs/org/apache/wicket/model/ResourceModel.html Martijn On Nov 27, 2007 8:49 AM, mraible [EMAIL PROTECTED] wrote: I'm trying to upgrade an application from 1.2.6 to 1.3.0-rc1. I've

Custom implementation of TabbedPanel HTML

2007-11-27 Thread Alexander Landsnes Keül
Is there some way for me to control the HTML of the TabbedPanel implementation? I need to provide a tab panel with tables for our designers, however that's proven to be a mite hard to get done. A solution I can see is to rewrite the TabbedPanel class, but that's not something I'd prefere to

Re: Upgrading ResourceModel to 1.3.0-rc1

2007-11-27 Thread mraible
Thanks - this is what I ended up doing. When using 1.2.6, I was doing some weird logic to set the page title from child pages. http://tinyurl.com/3dvc37 With 1.3, I'm simply doing the following in my pages. I don't why I was setting titles in Java before. titlewicket:message

DateField renders twice in 1.3.0-rc1

2007-11-27 Thread mraible
For some reason, when using the new extensions.yui.calendar.DateField, I end up with two text fields on my page. I'm sure it's something I'm doing wrong, but I can't see the solution at 2 a.m. (and I haven't even been drinking!). ;-) Java: add(new DateField(birthday), new

Re: DateField renders twice in 1.3.0-rc1

2007-11-27 Thread mraible
Changing the HTML from: input type=text wicket:id=birthday class=text small size=11/ To: div wicket:id=birthday/ Solved my problem. Unfortunately, there doesn't seem to be a way (from markup) to add my class classes (text small) to the input field rendered by this component. Matt mraible

Re: problems adding nodes to a BaseTree

2007-11-27 Thread Thomas Krause
Hello again, I tried to create an as simple as possible example quick start (I hope this is what you meant). The original code already would have been too bloated: http://www2.informatik.hu-berlin.de/~krause/examples/BaseTreeProblemQuickstart.zip Hopefully somebody sees where my fault is

Re: DateField renders twice in 1.3.0-rc1

2007-11-27 Thread Gerolf Seitz
hi matt, DateField is derived from FormComponentPanel and thus the markup should look something like this: div wicket:id=dateField class=text small/div maybe we should check that the associated tag is not an input tag, as this is a rather common pitfall, or rename DateField to DateFieldPanel,

Re: howto JSON Wicket works?

2007-11-27 Thread Martijn Dashorst
Please look in the wicket examples to learn about Ajax forms in Wicket. You can also look at the example online: http://wicketstuff.org/wicket13/ajax/form.1 (sourcecode browser is in the top right corner) Martijn On Nov 27, 2007 8:39 AM, Pen [EMAIL PROTECTED] wrote: I am not really

Re: TabbedPanel + authorization strategy

2007-11-27 Thread Maurice Marrink
Not sure if it is of help to you, but Swarm has an example on how to do this: http://wicketstuff.org/wicketsecurity/tabs/ You probably want the hide tabs option. Source is available at https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-security-examples Maurice On Nov 27,

Re: How do others include their browser specific styles in Wicket?

2007-11-27 Thread Sjoerd Lohuis
Hi, We get the client info the same way, but how do you prevent having to manually do (for example): page.add(HeaderContributor.forCss(_css/style.css, screen)); if (clientProperties.isBrowserInternetExplorer()) {

Manually handle post data

2007-11-27 Thread Pills
Hello, I'm using an online payement system, and it sends me some data with the POST method (transaction completed or not, amount payed, currency, etc...). How can I retrieve this data with wicket? Thanks a lot ;) -- View this message in context:

Add GET parameter to ajax call

2007-11-27 Thread Michael Sparer
I was wondering if there is an easy way to add a GET parameter to an AjaxLink. Sothat I can get the parameter out of the request's parameter map. I know there's the possibility to make a javascript function that dispatches the call (and adds the parameters) on client side and an

Re: Manually handle post data

2007-11-27 Thread Michael Sparer
I you really wanna do this manually, this code might help you: Map map = ((WebRequestCycle)RequestCycle.get()).getRequest().getParameterMap(); regards Pills wrote: Hello, I'm using an online payement system, and it sends me some data with the POST method (transaction completed or not,

Re: problems adding nodes to a BaseTree

2007-11-27 Thread Matej Knopp
Hi, problem is that you rebuild the entire tree in onBeforeRender(). onBeforeRender is invoked on every render, even when you expand/collapse a node. So you collapse a node but right afterwards you rebuild the entire tree, that's why you don't see the node being collapsed. Try moving the

Re: Leaf menus stop responding after collapse and expand

2007-11-27 Thread Matej Knopp
It might be a bug, can you please make a quickstart that shows the behavior? Thanks. -Matej On Nov 14, 2007 12:31 AM, yadubi [EMAIL PROTECTED] wrote: I have an application which is modeled on ajax SimpleTreePage example. Navigation is handled by overriding the onNodeLinkClicked of the

Re: TabbedPanel + authorization strategy

2007-11-27 Thread Marieke Vandamme
That gave me some hints indeed. Thanks ! The authorization needs to be placed on the link (that is created when overriding the newlink method from TabbedPanel). Mr Mean wrote: Not sure if it is of help to you, but Swarm has an example on how to do this:

wicket:enclosure bug when parent is a non transperent border in current trunk version ?

2007-11-27 Thread Antoine Angénieux
Hi guys, I'm using the latest trunk version. I have a border (non transparent) in which portions of markup are made visible / invisible by the use of the wicket enclosure tag. Here is an example markup : !-- This is a non transparent border -- span wicket:id=actionsBorder wicket:enclosure

Floating Column

2007-11-27 Thread dariusz.holda
Hi, Is it possible in Wicket to do a floating column? I have a DataView that has so many columns that it expands over one screen. I would like to make one column to stay on the screen all the time even if a user scrolls horizontally to the other side of the DataView. Has anybody tried that? Any

Re: problems adding nodes to a BaseTree

2007-11-27 Thread Thomas Krause
Hello, thank you very much for that hint. Since I want to update the tree as often as possible at every user interaction and I don't want to add a call to updateNotes() at every possible link or button I will try detect wether the rendering was forced by an action on the tree or by something

Re: Populate form according to selected item in dropdownchoice

2007-11-27 Thread Dipu Seminlal
have a look at the attached files, thats based on your code snippet, you will get the idea. regards dipu On Nov 27, 2007 7:17 AM, tsuresh [EMAIL PROTECTED] wrote: Hi Dipu, Could you please tell me what to write in the method onSelecitionChanged(). It would be easier for me to understand if

Re: Display enum in a RadioChoice

2007-11-27 Thread Jonas
Hi, some constructors of RadioChoice take a org.apache.wicket.markup.html.form.IChoiceRenderer, which is used to render the choices. cheers, Jonas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: What kind of link could I use?

2007-11-27 Thread Clay Lehman
You probably want to check out DownloadLink http://people.apache.org/~tobrien/wicket/apidocs/org/apache/wicket/marku p/html/link/DownloadLink.html -Clay -Original Message- From: yadubi [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 27, 2007 3:14 AM To: users@wicket.apache.org

Re: Manually handle post data

2007-11-27 Thread Pills
Michael Sparer wrote: I you really wanna do this manually, this code might help you: Map map = ((WebRequestCycle)RequestCycle.get()).getRequest().getParameterMap(); regards For me it doesn't matter... This way is quite good, but if you've a better idea (the wicket way) I'll use it ;)

Re: Display enum in a RadioChoice

2007-11-27 Thread Gervais
a org.apache.wicket.markup.html.form.IChoiceRenderer, which is used to render the choices. cheers, Jonas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ NOD32 2688 (20071127

Re: Floating Column

2007-11-27 Thread Alex Objelean
It is up to you how to style the markup. A little of CSS can do all you need. Alex dariusz.holda wrote: Hi, Is it possible in Wicket to do a floating column? I have a DataView that has so many columns that it expands over one screen. I would like to make one column to stay on the

Re: Display enum in a RadioChoice

2007-11-27 Thread Gervais
] For additional commands, e-mail: [EMAIL PROTECTED] __ NOD32 2688 (20071127) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com

Re: testcase click button

2007-11-27 Thread Newgro
If youre using ajax call you should use tester.executeAjaxEvent(componentPath, event) Am i right here that it's not possible to click on a normal button? Cheers Per -- View this message in context: http://www.nabble.com/testcase-click-button-tf4682808.html#a13972252 Sent from the Wicket -

replacing component causes Expected close tag for xxx Exception

2007-11-27 Thread 非 谢
hi, In wicket1.3-rc1, When I try to replace a WebMarkupContainer that has nested components with another component in AjaxLink.onClick, wicket says Expected close tag for 'span wicket:id=container' Possible attempt to embed component(s) 'span wicket:id=nested-component' in the body of this

Re: Display enum in a RadioChoice

2007-11-27 Thread Jonas
Yes i've considered RadioGroup and Radio but my question was also for other components (in fact i need to set the class of option, and input tag and surrely many others) have a look at AttributeModifier and AttributeAppender.

Re: Display enum in a RadioChoice

2007-11-27 Thread Jonas
The 'br/' is the default suffix (see RadioChoice#setSuffix and RadioChoice#setPrefix). AFAIK there's no way to set a class attribute using RadioChoice. Have you considered using RadioGroup and Radio? They're much more flexible than RadioChoice. On Nov 27, 2007 2:56 PM, Gervais [EMAIL PROTECTED]

mounting large number of url

2007-11-27 Thread Daniele Dellafiore
Hi. In my app I would like to have a easy url for a user, say: http://myapp.com/username to make this, in wicket, I only know the mount url way. Anyone know about problems in adding a large number of url this way? Just in case, any alternatives? Thanks. -- Daniele Dellafiore

InlineFrame and Ajax Timer failing

2007-11-27 Thread Jeremy Levy
I've created a Ajax Timer similar to the one on the example page, it works well, and I use it several places on my site. However when it's added to the same page as a InlineFrame/Iframe the Ajax callback fails with the following error: *INFO: * *INFO: * Initiating Ajax GET request on

Amsterdam meetup: the agenda!

2007-11-27 Thread Arje Cahn
Hi all, I'm proud to present our heavily packed agenda for the Amsterdam Wicket Meetup this Friday! We're going sky-high with our little Wicket Meetup... 86 attendees already! If still haven't signed up, you're not too late! Rush yourself to http://cwiki.apache.org/WICKET/community-meetups.html

only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
We have a page that presents a report in which we can drill down into the data. When this happens, we setResponsePage() back to a new instance of the page with some different parameters and that all works dandy. But when we hit the back button, it seems the old version is gone. All the model

Re: InlineFrame and Ajax Timer failing

2007-11-27 Thread Jeremy Levy
I fixed it. I was creating the InlineFrame by passing in a Page to the constructor, I switched it to MyPage.class and it worked... Not quite sure why though.. j On Nov 27, 2007 10:29 AM, Jeremy Levy [EMAIL PROTECTED] wrote: I've created a Ajax Timer similar to the one on the example page, it

Re: Custom implementation of TabbedPanel HTML

2007-11-27 Thread Igor Vaynberg
subclass tabbedpanel and put that markup into the html file. just make sure all the components and nesting matches the orginal. -igor On Nov 27, 2007 12:43 AM, Alexander Landsnes Keül [EMAIL PROTECTED] wrote: Is there some way for me to control the HTML of the TabbedPanel implementation? I

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
No transient fields. Everything is serializable. We're storing the complete objects in the model for a number of reasons. When we come back to the page we have some object but the state is gone. I think it's because we're redirecting back to the same page class/type so the old one gets dumped.

Re: ListMultipleChoice to take choices model from parent

2007-11-27 Thread Igor Vaynberg
you can create your own subclass that does what you want...but thats about it short of writing your own component -igor On Nov 27, 2007 12:59 AM, Gabor Szokoli [EMAIL PROTECTED] wrote: Hi there, We sometimes need a component for editing sets of arbitrary strings. We currently use a

Re: DateField renders twice in 1.3.0-rc1

2007-11-27 Thread Igor Vaynberg
here is what this should be doing: a) it should check that it is attached to an input tag b) it should call setrenderbodyonly(true) on itself c) it should carry over any attributes from the panel tag to the inner input tag just my two cents all of these changes can be implemented now as well,

Re: problems adding nodes to a BaseTree

2007-11-27 Thread Matej Knopp
Hi, On Nov 27, 2007 12:42 PM, Thomas Krause [EMAIL PROTECTED] wrote: Hello, thank you very much for that hint. Since I want to update the tree as often as possible at every user interaction and I don't want to add a call to updateNotes() at every possible link or button I will try detect

Re: Floating Column

2007-11-27 Thread Matej Knopp
On Nov 27, 2007 3:23 PM, Alex Objelean [EMAIL PROTECTED] wrote: It is up to you how to style the markup. A little of CSS can do all you need. little CSS? for a floating column that says on screen while other scroll? Heh, I doubt it :) At least if you want to work it across different browsers.

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Johan Compagner
Yes in wicket 1.3 there is only 1 active page per pagemap But it shouldn't matter where the page comes from. If it is serialized from disk or serialized in the session somehow by the container, You still should be able to fully construct all your data again in the objects. So what is suddenly

Re: IDataProvider Best Practice for multiple POJOs

2007-11-27 Thread Martijn Dashorst
Hmm, not sure what you are getting at... The IDataProvider is just a class, so you can do anything inside. Possibly you should create a multi-pojo Model that you return for each element in the original list? Martijn On Nov 27, 2007 3:27 AM, pwillemann [EMAIL PROTECTED] wrote: All the

Re: ListMultipleChoice to take choices model from parent

2007-11-27 Thread Gabor Szokoli
On Nov 27, 2007 5:52 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: you can create your own subclass that does what you want...but thats about it short of writing your own component Thanks, just wanted to make sure I'm not overlooking some more straight-forward way of doing this. Gabor Szokoli

Re: Add GET parameter to ajax call

2007-11-27 Thread Igor Vaynberg
but you can still override getcallbackurl()...even if it is inside the fragment -igor On Nov 27, 2007 2:43 AM, Michael Sparer [EMAIL PROTECTED] wrote: I was wondering if there is an easy way to add a GET parameter to an AjaxLink. Sothat I can get the parameter out of the request's parameter

Re: wicket:enclosure bug when parent is a non transperent border in current trunk version ?

2007-11-27 Thread Igor Vaynberg
please add a jira ticket for this -igor On Nov 27, 2007 3:25 AM, Antoine Angénieux [EMAIL PROTECTED] wrote: Hi guys, I'm using the latest trunk version. I have a border (non transparent) in which portions of markup are made visible / invisible by the use of the wicket enclosure tag. Here

Re: Manually handle post data

2007-11-27 Thread Igor Vaynberg
point the sytem to a bookmarkable page that has the (PageParameters params) constructor mounted with querystring url coding strategy then the posted params are in your page parameters -igor On Nov 27, 2007 5:24 AM, Pills [EMAIL PROTECTED] wrote: Michael Sparer wrote: I you really wanna

Re: mounting large number of url

2007-11-27 Thread Igor Vaynberg
you wouldnt mount one per user, you would do it like this: mount(new indexedurlcodingstrategy(/user, userprofilepage.class)); class UserProfilePage extends WebPage { public UserProfilePage(PageParameters params) { String userid=params.get(0); } } then your urls are

Re: replacing component causes Expected close tag for xxx Exception

2007-11-27 Thread Igor Vaynberg
you cant replace something like: div wicket:id=containerdiv wicket:id=inner/div/div with a label, because then your markup is div wicket:id=labeldiv wicket:id=inner/div/div and labels do not support inner components makes sense? -igor On Nov 27, 2007 7:03 AM, 非 谢 [EMAIL PROTECTED] wrote:

How to avoid Expires: 1970 header with URIRequestTargetUrlCodingStrategy

2007-11-27 Thread Edvin Syse
In my WicketApplication class I have mounted a URL with the URIRequestTargetUrlCodingStrategy to serve files in my virtualhosted CMS-application written in Wicket 1.3. The problem with this is that it returns a header like this with the file it serves up: HTTP/1.1 200 OK Expires: Thu, 01

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
No, they're detached versions which are basically clones so there's no hibernate proxies involved. On Nov 27, 2007 12:42 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: these objects are not by chance hibernate objects? because if you serialize and then deserialize all the collections come back as

Re: wicket:enclosure bug when parent is a non transperent border in current trunk version ?

2007-11-27 Thread Antoine Angénieux
Hi Igor, Igor Vaynberg a écrit : please add a jira ticket for this Done ! https://issues.apache.org/jira/browse/WICKET-1188 Cheers, Antoine. -igor On Nov 27, 2007 3:25 AM, Antoine Angénieux [EMAIL PROTECTED] wrote: Hi guys, I'm using the latest trunk version. I have a border (non

Re: Issue with Internationalization of Non ascii characters

2007-11-27 Thread Suad AlShamsi
I faced the same problem with Arabic character. I used native2ascii.exe to encode the property files and I used encoding=utf-8 in my html pages and then it worked. Regards, Suad abaijal wrote: Hi All I am new to wicket framework and am trying to implement internationalization for Russian

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Igor Vaynberg
ok, so the model is there, but the object inside it suddenly is null? what kind of model is it? -igor On Nov 27, 2007 9:56 AM, Evan Chooly [EMAIL PROTECTED] wrote: No, they're detached versions which are basically clones so there's no hibernate proxies involved. On Nov 27, 2007 12:42 PM,

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
just something like: setModel(new CompoundPropertyModel(report)); On Nov 27, 2007 1:04 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: ok, so the model is there, but the object inside it suddenly is null? what kind of model is it? -igor On Nov 27, 2007 9:56 AM, Evan Chooly [EMAIL PROTECTED]

Re: Amsterdam meetup: the agenda!

2007-11-27 Thread Eelco Hillenius
Cool. Though where is Terracotta in there? Didn't they plan on participating as well? Eelco On Nov 27, 2007 7:59 AM, Arje Cahn [EMAIL PROTECTED] wrote: Hi all, I'm proud to present our heavily packed agenda for the Amsterdam Wicket Meetup this Friday! We're going sky-high with our little

Ajax AutoCompleteTextField with hidden id-field

2007-11-27 Thread ckuehne
Hi, I'd like my AutoCompleteTextField to behave as follows - I want the names of my list items displayed (item.name) - when I select one I want the item.name displayed in the AC-TextField So far, so good. But ... - internally I want the item.id put into the request in order to select the

Re: TabbedPanel + authorization strategy

2007-11-27 Thread Eelco Hillenius
On Nov 27, 2007 3:15 AM, Marieke Vandamme [EMAIL PROTECTED] wrote: That gave me some hints indeed. Thanks ! The authorization needs to be placed on the link (that is created when overriding the newlink method from TabbedPanel). Yeah, that makes sense :-) Eelco

Re: How do others include their browser specific styles in Wicket?

2007-11-27 Thread Eelco Hillenius
Hi, We get the client info the same way, but how do you prevent having to manually do (for example): page.add(HeaderContributor.forCss(_css/style.css, screen)); if (clientProperties.isBrowserInternetExplorer()) {

Re: Issue with Internationalization of Non ascii characters

2007-11-27 Thread Eelco Hillenius
I am new to wicket framework and am trying to implement internationalization for Russian Characters. When displaying Russian characters on screen, Wicket rendering displays garbage values Check out http://wicketstuff.org/wicket13/forminput/. You can select Russian from the drop down and that

Re: Floating Column

2007-11-27 Thread Alex Objelean
Sorry, didn't read the post carefully. I've done something similar. The entire component was in a table with two cells. The fixed column was in a first TD, while the rest was contained in another TD element. The point is, that it has nothing to do with wicket, it is about how you choose your

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Johan Compagner
But what field is then exactly null??? On Nov 27, 2007 7:05 PM, Evan Chooly [EMAIL PROTECTED] wrote: just something like: setModel(new CompoundPropertyModel(report)); On Nov 27, 2007 1:04 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: ok, so the model is there, but the object inside it

Re: DateField renders twice in 1.3.0-rc1

2007-11-27 Thread Gerolf Seitz
a) it should check that it is attached to an input tag b) it should call setrenderbodyonly(true) on itself this silently breaks the api (rather the usage), because you couldn't add it to an AjaxRequestTarget anymore c) it should carry over any attributes from the panel tag to the inner

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
Just about every field in my model object. Though it would appear that the date object(s) is set to now. On Nov 27, 2007 2:23 PM, Johan Compagner [EMAIL PROTECTED] wrote: But what field is then exactly null??? On Nov 27, 2007 7:05 PM, Evan Chooly [EMAIL PROTECTED] wrote: just something

Re: DateField renders twice in 1.3.0-rc1

2007-11-27 Thread Igor Vaynberg
On Nov 27, 2007 11:24 AM, Gerolf Seitz [EMAIL PROTECTED] wrote: a) it should check that it is attached to an input tag b) it should call setrenderbodyonly(true) on itself this silently breaks the api (rather the usage), because you couldn't add it to an AjaxRequestTarget anymore hmm,

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Igor Vaynberg
what is this report object? -igor On Nov 27, 2007 11:27 AM, Evan Chooly [EMAIL PROTECTED] wrote: Just about every field in my model object. Though it would appear that the date object(s) is set to now. On Nov 27, 2007 2:23 PM, Johan Compagner [EMAIL PROTECTED] wrote: But what field is

Re: How to avoid Expires: 1970 header with URIRequestTargetUrlCodingStrategy

2007-11-27 Thread Johan Compagner
hmm this way i have never seen it before :) But you could also do this with a mounted shared resource But what you could do if you want to do it that way then overwrite the ResourceStreamRequestTargets: * protected* *void* configure(*final* RequestCycle requestCycle, *final*Response response,

Re: howto include wicket in a JSP page with version 1.3-rc1

2007-11-27 Thread Seif
Sorry i'm not developping a new application, i want only to integrate wicket in an existant apps, which work with ejb3/hibernate, urlrewrite from tukey.org, taglibs, apache-lucene, etc... in version 1.2.6 or wicket, there was a servlet in the web.xml file which can be included in a jsp page using

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
Just a pojo. (that's right! i said it! pojo! pojo! pojo!) It does have a baseclass annotated with @MappedSuperclass but that shouldn't cause any problems. The object is created by calling new and is never touched by hibernate. On Nov 27, 2007 2:31 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:

Re: DateField renders twice in 1.3.0-rc1

2007-11-27 Thread Gerolf Seitz
looking at markup like this label for=foodate:/labeldiv wicket:id=date id=foo/ rather then label for=foodate:/labelinput type=text wicket:id=date id=foo/ sucks. it is pretty unintuitive. i agree. i will enhance the javadoc for DateField for now. i guess we just have to live with it...

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Johan Compagner
what happens if you just serialize that object your self and read it back in? It seems to me like a serializing problem for that object. johan On Nov 27, 2007 8:35 PM, Evan Chooly [EMAIL PROTECTED] wrote: Just a pojo. (that's right! i said it! pojo! pojo! pojo!) It does have a

Re: DateField renders twice in 1.3.0-rc1

2007-11-27 Thread Eelco Hillenius
a) it should check that it is attached to an input tag b) it should call setrenderbodyonly(true) on itself c) it should carry over any attributes from the panel tag to the inner input tag It could do that magic if it is attached to a text field, but leave things as they are if it is attached

Re: DateField renders twice in 1.3.0-rc1

2007-11-27 Thread Johan Compagner
lol, sometimes the solution is just too damn obvious ;) Gerolf thats called wicket.

Re: DateField renders twice in 1.3.0-rc1

2007-11-27 Thread Gerolf Seitz
On Nov 27, 2007 8:37 PM, Johan Compagner [EMAIL PROTECTED] wrote: lol, sometimes the solution is just too damn obvious ;) Gerolf thats called wicket. yeah, obivously ;)

Re: Issue with Internationalization of Non ascii characters

2007-11-27 Thread abaijal
Thanks for the help. From the example I see that I need to convert the text into Unicode characters. Eelco Hillenius wrote: I am new to wicket framework and am trying to implement internationalization for Russian Characters. When displaying Russian characters on screen, Wicket rendering

Re: How to avoid Expires: 1970 header with URIRequestTargetUrlCodingStrategy

2007-11-27 Thread Edvin Syse
hmm this way i have never seen it before :) Hehe.. I know it might be a bit unconventional, but I think I have a good reason for it. Since the application is virtualhosted, the session holds a path to the filearchive for the current instance (set based on the http host of the request), and the

Re: How to avoid Expires: 1970 header with URIRequestTargetUrlCodingStrategy

2007-11-27 Thread Johan Compagner
No you don't have to hve the servlet response for that Just check if the Response is a WebResponse That already has the setHeader methods On Nov 27, 2007 9:13 PM, Edvin Syse [EMAIL PROTECTED] wrote: hmm this way i have never seen it before :) Hehe.. I know it might be a bit unconventional,

Re: howto include wicket in a JSP page with version 1.3-rc1

2007-11-27 Thread Timo Rantalaiho
On Tue, 27 Nov 2007, Seif wrote: in version 1.2.6 or wicket, there was a servlet in the web.xml file which can be included in a jsp page using jsp:include. in the new version (1.3-rc1) this changed to a filter so jsp:include produce a FileNot Found exception. The servlet is still there in

Re: How to avoid Expires: 1970 header with URIRequestTargetUrlCodingStrategy

2007-11-27 Thread Edvin Syse
No you don't have to hve the servlet response for that Just check if the Response is a WebResponse That already has the setHeader methods Thank you so much, it worked perfectly :) -- Edvin - To unsubscribe, e-mail: [EMAIL

Re: problems adding nodes to a BaseTree

2007-11-27 Thread Thomas Krause
What does it mean update tree as often as possible? The data for the tree comes from a database where multiple users have access to. With update tree as often as possible I mean that the database may have changed and I want to show this information as soon as possible to the user. There is no

Re: Issue with Internationalization of Non ascii characters

2007-11-27 Thread Frank Bille
I have the same problem even though only 3 characters (Danish: æ, ø, å), but I use http://www.resourcebundleeditor.com for eclipse, which creates .properties files without me having to worry about non-ascii, linebreaks etc. Nice little tool. Frank On Nov 27, 2007 8:52 PM, abaijal [EMAIL

Re: Issue with Internationalization of Non ascii characters

2007-11-27 Thread Vit Rozkovec
If you're on Linux, I have made a little script for conversion, which finds all .properties files in current directory and subdirectories and encode them proper way: #!/bin/sh for file in $(find . -name *.properties); do native2ascii $file $file echo $file done You can find native2ascii

Re: wicket + gwt

2007-11-27 Thread Sean Sullivan
On 11/25/07, Jonathan Locke [EMAIL PROTECTED] wrote: i noticed daniel carleton was working on wicket gwt integration, but the wiki page makes it look incomplete. has anyone gone any further on this? I am interested in this topic but I have not done any work in this area. @see

Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
Thanks for the tip, igor. i wasn't sure how to get at the serialization code directly without going through all the page stuff as well. (DetachedReport)Objects.cloneObject(report) does indeed return an empty Report object so there's something not quite right there. At least now I have a place i

Re: Issue with Internationalization of Non ascii characters

2007-11-27 Thread Eelco Hillenius
Thanks for the help. From the example I see that I need to convert the text into Unicode characters. If you want to use another charset you can do that as well, both in your pages and in the properties XML file (at least, that's what I think). Don't forget to *edit* it in the proper format as

Re: Ajax Memory Leak in IE

2007-11-27 Thread Matej Knopp
Hi, should be fixed in latest trunk. -Matej On Nov 26, 2007 5:24 PM, picknick [EMAIL PROTECTED] wrote: Here's the jira issue. Currently i can't say anything about IE7. https://issues.apache.org/jira/browse/WICKET-1186 https://issues.apache.org/jira/browse/WICKET-1186 Matej Knopp-2

Today's installment of well, duh. Was: Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
So here's the skinny: while my subclass was marked as serializable, the parent class was not. So no state from the parent class got serialized nor, not so surprisingly, deserialized. After adding that implements clause things miraculously started working. So a big you idiot for me and a big

Re: howto include wicket in a JSP page with version 1.3-rc1

2007-11-27 Thread Seif
Using the org.apache.wicket.protocol.http.WicketServlet instead of the WicketFilter generate a java.lang.StringIndexOutOfBoundsException :S [#|2007-11-28T01:52:

Re: wicket success stories

2007-11-27 Thread Doug Leeper
I used this link to get the information http://web.mac.com/jonathan.locke/iWeb/JonathanLocke/Blog/Blog.html -- View this message in context: http://www.nabble.com/wicket-success-stories-tf4877640.html#a13984347 Sent from the Wicket - User mailing list archive at Nabble.com.

RE: replacing component causes Expected close tag for xxx Exception

2007-11-27 Thread xiefei
Should not Replace mean turning div wicket:id=container[whatever content of old container/div into div wicket:id=container[whatever content of new container irrelevant to content of old container]/div ? And, Panel as the new container does not work either. Some code may make it clear.

Re: Today's installment of well, duh. Was: Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Timo Rantalaiho
On Tue, 27 Nov 2007, Evan Chooly wrote: So here's the skinny: while my subclass was marked as serializable, the parent class was not. So no state from the parent class got serialized nor, not so surprisingly, deserialized. After adding that implements clause things miraculously started

Re: Today's installment of well, duh. Was: Re: only 1 version of page in the cache at a time?

2007-11-27 Thread Evan Chooly
I actually *do* have that, but this code recently went through some ... surgery that left things in a rather sloppy state. Clearly not the most prize worthy section of code. :) On Nov 27, 2007 10:43 PM, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Tue, 27 Nov 2007, Evan Chooly wrote: So

[wicket-contrib] TinyMCE Hackery

2007-11-27 Thread Michael Laccetti
I've done some work on the TinyMCE project to get it to compile, since it currently does not do so straight out of subversion. Two questions: is it okay for me to commit the changes, and would it be possible to push this to the wicketstuff Maven repo? (If it is not, I have a publically

Re: [wicket-contrib] TinyMCE Hackery

2007-11-27 Thread Igor Vaynberg
i dont think committing changes, as long as they are basic fixes, right away should be a problem, that is why it is in a public repo... -igor On Nov 27, 2007 9:09 PM, Michael Laccetti [EMAIL PROTECTED] wrote: I've done some work on the TinyMCE project to get it to compile, since it currently

RE: [wicket-contrib] TinyMCE Hackery

2007-11-27 Thread Michael Laccetti
Okay, I've committed my changes; they are r3303 if I remember correctly. I pushed it to a Maven repository that I run until I can figure out how to get them to the wicketstuff repo (if I can, that is). (I used the same repo to host the jazzy plugin dependency.) Mike -Original Message-