RE: how to convert wicket-CheckBox's Boolean Type to Character Type!

2008-01-15 Thread Mead Lai
could U give more detail code about it? add the Java(form) html code! and what is your version of wicket? it does not work well in my pc From: [EMAIL PROTECTED] To: users@wicket.apache.org Subject: RE: how to convert wicket-CheckBox's Boolean Type to Character Type! Date: Tue, 15 Jan 2008

Re: how to convert wicket-CheckBox's Boolean Type to Character Type!

2008-01-15 Thread Martijn Lindhout
the code you sent doens't look familiar to me. I'm using 1.3.0. May that's the difference? 2008/1/15, Mead Lai [EMAIL PROTECTED]: could U give more detail code about it? add the Java(form) html code! and what is your version of wicket? it does not work well in my pc From: [EMAIL PROTECTED]

RE: how to convert wicket-CheckBox's Boolean Type to Character Type!

2008-01-15 Thread Mead Lai
thanks very much! my wicket version is 1.2.6 there should be something difference between them! thank you! Date: Tue, 15 Jan 2008 09:35:03 +0100 From: [EMAIL PROTECTED] To: users@wicket.apache.org Subject: Re: how to convert wicket-CheckBox's Boolean Type to Character Type! This is the

RE: how to convert wicket-CheckBox's Boolean Type to Character Type!

2008-01-15 Thread Mead Lai
yes, I am downloading the 1.3version! hope it's easy to migrate! thanks for awaking me that 1.3 is released. your are warmheart man, Thank you very much Date: Tue, 15 Jan 2008 09:45:25 +0100 From: [EMAIL PROTECTED] To: users@wicket.apache.org Subject: Re: how to convert wicket-CheckBox's

Re: Need XML pages in iso-8859-1 encoding ipv utf-8

2008-01-15 Thread Ann Baert
I tried getMarkupSettings().setDefaultMarkupEncoding( ISO-8859-1 ); and -Dfile.encoding=ISO-8859-1 but they didn't work. Instead I used : getRequestCycleSettings().setResponseRequestEncoding(ISO-8859-1); which solves the problem. Tom Desmet wrote: Hi, I have a problem with XML page

Re: how to convert wicket-CheckBox's Boolean Type to Character Type!

2008-01-15 Thread Martijn Lindhout
This is the code that uses the ConverterModel: ListString choices = Arrays.asList(new String[]{Ja, Nee}); JaNeeToBooleanConverterModel converter = new JaNeeToBooleanConverterModel(new PropertyModel(model, buitenlands)); final RadioGroup group = new

Re: Markup of type 'html' for component not found

2008-01-15 Thread ckuehne
Thanks, that was very helpful. Conny Eelco Hillenius wrote: On Jan 14, 2008 3:49 PM, ckuehne [EMAIL PROTECTED] wrote: Hi, I don't quite know what to do with the following debug message. The AddPanel.html is definetely where it should be (wicket bench finds it as well). I am also

Re: how to convert wicket-CheckBox's Boolean Type to Character Type!

2008-01-15 Thread Martijn Lindhout
you're welcome 2008/1/15, Mead Lai [EMAIL PROTECTED]: yes, I am downloading the 1.3version! hope it's easy to migrate! thanks for awaking me that 1.3 is released. your are warmheart man, Thank you very much Date: Tue, 15 Jan 2008 09:45:25 +0100 From: [EMAIL PROTECTED] To:

Re: TreeGrid and DataGrid open source

2008-01-15 Thread dvd
Hi, I like it too. But I am seeing a bizzare problem on IE (not firefox) When I put a simple gridview in the one section of my existing webpage, The cursor keep blinking with busy shape and stretch the gridview display horizontally and never end. I saw many javascripts included so I'd think some

RE: difference between ListView and DefaultDataTable

2008-01-15 Thread Maeder Thomas
If you look at the markup in DataTable.html, you see from tbody tr wicket:id=rows td wicket:id=cells span wicket:id=cell[cell]/span /td /tr /tbody that the markup for cells is a span tag. A link cannot work with this

RE: difference between ListView and DefaultDataTable

2008-01-15 Thread dvd
Thanks. At first, I actually use a form to encapulate the the table and tried to use new Button. It did not work. It appears it has to be a panel. If you look at the markup in DataTable.html, you see from tbody tr wicket:id=rows td wicket:id=cells

Re: TreeGrid and DataGrid open source

2008-01-15 Thread Matej Knopp
There is no ajax update going on while resizing the layout. I'd need a quickstart to be able to say more. -Matej On Jan 15, 2008 10:52 AM, [EMAIL PROTECTED] wrote: Hi, I like it too. But I am seeing a bizzare problem on IE (not firefox) When I put a simple gridview in the one section of my

RE: How to write Json response in the AbstractDefaultAjaxBehavior.response(ajaxtarget)

2008-01-15 Thread Hoover, William
Add/Edit if necessary http://cwiki.apache.org/confluence/x/3CIB -Original Message- From: Kevin Liu [mailto:[EMAIL PROTECTED] Sent: Monday, January 14, 2008 11:07 PM To: users@wicket.apache.org Subject: Re: How to write Json response in the AbstractDefaultAjaxBehavior.response(ajaxtarget)

Re: TreeGrid and DataGrid open source

2008-01-15 Thread dvd
Hello, Matej: I spent 3 hour trying to find out why. I still did not know why but I found out how to avoid it. The problem occurred as I put the grid component inside table td once I move it out of the table, Everything works fine. Never seen this kind of things. Perhaps some css/javascript

Re: PagingNavigator refactoring request

2008-01-15 Thread behlma
Hi Igor, your patch is working great. As initialisation occurs in onBeforeRender() now, I can even use getParent().getClass() without having an additional pageClass constructor parameter. So, please apply the patch :) Thanks again for your time! igor.vaynberg wrote: see if this patch

Re: TreeGrid and DataGrid open source

2008-01-15 Thread dvd
If I change wicket:extenddiv wickid:id=grid/ to span wicket:id=grid/ the problem goes away even if I put it inside td of course, the display loses style. So looks like it is a css issue. below is the what in the source html td id=content wicket:childwicket:extend

Re: Problem with Wicket and Guice

2008-01-15 Thread t.weitzel
Hi Eelco, Eelco Hillenius wrote: InjectorHolder.getInjector().inject(this); It is set by Wicket if you initialize it properly (by creating SpringComponentInjector). As it turns out in this case (see previous messages) it's not as easy as this. The GuiceInjectorHolder that is created

Submit form silently

2008-01-15 Thread Newgro
Hi *, i present a page with some conclusional infos and a button. The button redirects to the next page. To add the user to a newsletter list, i have to call a script. This has to be done by using a form and send it with the userdata to an url. But normally i'm not interessted in the newsletter

how I write a new component?

2008-01-15 Thread Danilo Barsotti
Hi all!!! I need to write a component that makes it: code div id=content-gadget title=Status na rede div id=content-gadget-headerspanspan h3Status na rede/h3 /span/span/div div id=content-gadget-body

Re: TreeGrid and DataGrid open source

2008-01-15 Thread Matej Knopp
Hi, indeed there was a problem when the grid was put in a table. Mostly because IE was trying to size the outer table accordingly to the grid because the outer table didn't have table-layout fixed set. I've commited a fix to SVN. You can test it by building the release yourself (to build grid

Re: how I write a new component?

2008-01-15 Thread Martin Makundi
Can you get the example running? If yes, then just edit the corresponding markup and you should be quite close. t. Martin 2008/1/15, Danilo Barsotti [EMAIL PROTECTED]: Hi all!!! I need to write a component that makes it: code div id=content-gadget title=Status na rede

Re: Link and Submit behaviour

2008-01-15 Thread n0_fixed_ab0de
That was it, thanks -- View this message in context: http://www.nabble.com/Link-and-Submit-behaviour-tp14805240p14841550.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: Problem with Wicket and Guice

2008-01-15 Thread Eelco Hillenius
As it turns out in this case (see previous messages) it's not as easy as this. The GuiceInjectorHolder that is created is stored in the metadata of the application, and the only way to access it is something like: ((GuiceInjectorHolder) ((MyApplication)

Re: Update panel from lists

2008-01-15 Thread Timo Rantalaiho
On Mon, 14 Jan 2008, tsuresh wrote: Hello , I want to update panel from lists. I have the list of users. When I click on the user I should get the user details on the UserDetailPanel. Which part of the user row do you want to react? If the whole row, I think that you must bind the behavior

Re: DateTextField, i18n, javadoc and DatePicker

2008-01-15 Thread Alan Romaniuc
This problem will be solved using DateTextField from org.apache.wicket.datetime.markup.html.form instead of org.apache.wicket.extensions.markup.html.form - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Ajax update (visitor)

2008-01-15 Thread Timo Rantalaiho
On Mon, 14 Jan 2008, Tim Lantry wrote: I have a visitor that adds a behavior to all the links on my page. The visitor fires onbeforeRender of the page. The behavior uses the onComponentTag to prepend some javascript to a link. This works great. However lets say I want to update a table via

Re: how to reference component in RequestTarget

2008-01-15 Thread Timo Rantalaiho
On Mon, 14 Jan 2008, Beyonder Unknown wrote: I was wondering what is the best practice when referencing components inside an onClick/onSubmit. Normally: public void onClick(AjaxRequestTarget target) { //do things here.

Re: Shout more about security advantages of Wicket?

2008-01-15 Thread Sam Hough
Eelco, I've added another pro to the list I put up, in a fit of ego, so now also have: pro - good security - e.g. just as Java removed pointer arithmetic Wicket doesn't expose property paths, ids etc by default I think the point about Wicket being good where security is important is very valid

How to create a PDF file - NotSerializableException

2008-01-15 Thread Marco Aurélio Silva
Hi I'm trying to create a PDF file with Jasper inside a page with wicket 1.2.6, but I'm getting an exception: Root cause: java.io.NotSerializableException: org.apache.catalina.core.ApplicationContextFacade . . Complete stack: wicket.WicketRuntimeException: Internal error cloning object. Make

Re: Why dioes this error occur?

2008-01-15 Thread Charlie Dobbie
Hi all, I am encountering the same issue as the OP reports, but it is not related to double-clicking. My situation is as follows: (Using Wicket 1.2.6, Databinder 1.0) I have a PropertyListView using a HibernateListModel that selects a number of objects from the database. One of the

disabling crypt of PasswordTextField

2008-01-15 Thread Juliano Gaio
Hi All, how to disable crypt of a PasswordTextField ? Juliano.

Models concept misunderstanding

2008-01-15 Thread Sergey Podatelev
Hello, Wicket people. I'm trying to construct a form which displays certain panel in case user made a particular choice on the RadioChoice component. Shortly speaking, there're two radiobuttons: TypeA and TypeB. If user selects TypeB, an additional Panel must to be displayed. Although I got

Re: Submit form silently

2008-01-15 Thread Timo Rantalaiho
On Tue, 15 Jan 2008, Newgro wrote: userdata to an url. But normally i'm not interessted in the newsletter adding process. I only would like to send it silently and ignore all further actions of the form. Is this possible? Probably yes by changing the behavior in onSubmit? It's hard to see

Re: Models concept misunderstanding

2008-01-15 Thread Sergey Podatelev
On Jan 15, 2008 8:41 PM, Sergey Podatelev [EMAIL PROTECTED] wrote: Although I got pretty confused about my misunderstanding of how models work Okay, I'm sorry for the fuss, looks like I've got it. Those printouts are called from constructor, not from some place aware of type changing. I should

Re: DatePicker.enableMonthYearSelect

2008-01-15 Thread Gerolf Seitz
we removed our self-developed version of the month/year selection. instead we are using the CalendarNavigator provided by yahoo. just move your mouse over the date in the header and click it. regards, gerolf On Jan 15, 2008 5:45 PM, Clay Lehman [EMAIL PROTECTED] wrote: Hey Everyone, I

Re: DatePicker.enableMonthYearSelect

2008-01-15 Thread Igor Vaynberg
yeah, not a very good ui choice by yahoo... :) -igor On Jan 15, 2008 11:00 AM, Clay Lehman [EMAIL PROTECTED] wrote: Cool, thanks! I didn't even notice that you could click the month... -Original Message- From: Gerolf Seitz [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15,

Re: Models concept misunderstanding

2008-01-15 Thread Johan Compagner
In what method do you those print outs? On 1/15/08, Sergey Podatelev [EMAIL PROTECTED] wrote: Hello, Wicket people. I'm trying to construct a form which displays certain panel in case user made a particular choice on the RadioChoice component. Shortly speaking, there're two radiobuttons:

Re: Models concept misunderstanding

2008-01-15 Thread Sergey Podatelev
On Jan 15, 2008 10:16 PM, Johan Compagner [EMAIL PROTECTED] wrote: In what method do you those print outs? As I've just posted, I've already figured it out. You're right, I'm doing those in the constructor, which is called just once. -- sp

RE: DatePicker.enableMonthYearSelect

2008-01-15 Thread Clay Lehman
**nods** -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 2:01 PM To: users@wicket.apache.org Subject: Re: DatePicker.enableMonthYearSelect yeah, not a very good ui choice by yahoo... :) -igor On Jan 15, 2008 11:00 AM, Clay Lehman

Re: DatePicker.enableMonthYearSelect

2008-01-15 Thread Gerolf Seitz
there is still the possibility to somehow alter the displayed date to make it clearer that one can click on it. ideas and _patches_ are more than welcome ;) gerolf On Jan 15, 2008 8:38 PM, Clay Lehman [EMAIL PROTECTED] wrote: **nods** -Original Message- From: Igor Vaynberg

Re: how to reference component in RequestTarget

2008-01-15 Thread Beyonder Unknown
Thanks Timo, Right now, I just put it in the constructor of panelB. But then again, panelB is tied up to panelA. :( I'm going to try your solution! Thanks, Allan -- The only constant in life is change. - Original Message From: Timo Rantalaiho [EMAIL PROTECTED] To:

RE: DatePicker.enableMonthYearSelect

2008-01-15 Thread Clay Lehman
As far as an idea, I would suggest painting a dropdown-looking box (and triangle) around the month/year...If you point me in the right direction, I can see what I can do about a patch, but no promises that I would be successful or quick. -Clay -Original Message- From: Gerolf Seitz

Re: DatePicker.enableMonthYearSelect

2008-01-15 Thread Gerolf Seitz
i was more thinking about altering the label itself (eg. underline the text, render an icon next to it). we thought it was easier for us to outsource the maintenance work to yahoo ;) cheers, gerolf On Jan 15, 2008 8:55 PM, Clay Lehman [EMAIL PROTECTED] wrote: As far as an idea, I would

Re: How to create a PDF file - NotSerializableException

2008-01-15 Thread Evan Chooly
You should probably look into using Resources. the wicketcontrib-jasperreports has this done for you already. On Jan 15, 2008 12:01 PM, Marco Aurélio Silva [EMAIL PROTECTED] wrote: Hi I'm trying to create a PDF file with Jasper inside a page with wicket 1.2.6, but I'm getting an exception:

Re: WicketTester Doesn't Support setDefaultFormProcessing(false)

2008-01-15 Thread Martijn Dashorst
Probably a missing feature. Could you open a JIRA issue please? Martijn On 1/14/08, Brandon Fuller [EMAIL PROTECTED] wrote: Writing some unit tests and I have an AjaxFallbackButton that I want to call. I have tried these 2 methods: form.submit(rootViewPanel:addOrganization);

Re: wicket to generate javascript?

2008-01-15 Thread Igor Vaynberg
see IHeaderContributor -igor On Jan 15, 2008 2:50 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: hi All, Is there a way to generate a javaScript variable in wicket? How can I generate this javascript below: script type=text/javascript var GLOBALVARS = test; /script to

Re: wicket to generate javascript?

2008-01-15 Thread Beyonder Unknown
Thanks Igor, it works! Best, WT -- The only constant in life is change. - Original Message From: Igor Vaynberg [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Tuesday, January 15, 2008 2:55:27 PM Subject: Re: wicket to generate javascript? see IHeaderContributor -igor On Jan

Filtered ComboBox or AutoCompleteTextField with IChoiceRenderer?

2008-01-15 Thread Alan Romaniuc
Hi, I am looking for a component that displays something like a combo box, but can be filtered by user input. To sum up, something like AutoCompleteTextField, but that stores an id for retrieve information later. A alternative way that I found was implementing a converter model over the

Re: how to reference component in RequestTarget

2008-01-15 Thread Timo Rantalaiho
On Tue, 15 Jan 2008, Beyonder Unknown wrote: I'm going to try your solution! OK, remember that you can also use marker interfaces for shooting the visitor. For example, you can make PanelA and PanelB classes both implement a UserSelectionEventReceiver interface and then when a user is selected

Re: how I write a new component?

2008-01-15 Thread Danilo Barsotti
Imagine the following situation: The user accessing a page of the site, I noticed that it is signed or not, if it is, I display this: div id=content-gadget title=Status na rede div id=content-gadget-headerspanspan h3Status na rede/h3

Re: how to reference component in RequestTarget

2008-01-15 Thread Beyonder Unknown
Thanks Timo, I'll try this one too. Does the visitChildren() have potential performance issue? For example, if you have lots of panels in a page you have to traverse and check them all right? public final java.lang.Object visitChildren(java.lang.Class clazz,

Re: how I write a new component?

2008-01-15 Thread Martin Makundi
Hi! I am not sure I understand what you mean. For simple changes see this example: http://wicketstuff.org/wicket13/echo/ It has sources with it. If this does not help, you can try to explain me your problem in your own language (Portuguese?)? ** Martin 2008/1/16, Danilo Barsotti [EMAIL

Re: how I write a new component?

2008-01-15 Thread Danilo Barsotti
Quando o usuario acessa uma pagina, eu verifico se ele está logado no site ou não. Quando o usuario está logado, eu exibo varias informações sobre o status dele na rede e algumas outras coisas. Caso ele não esteja logado na aplicação, eu exibo para o usuario 2 caixas de texto ( usuario e senha )

Re: how I write a new component?

2008-01-15 Thread Igor Vaynberg
you can break the component into two nested panels/fragments, then either conditionally add one or the other or add both and only make one visible -igor On Jan 15, 2008 6:54 AM, Danilo Barsotti [EMAIL PROTECTED] wrote: Hi all!!! I need to write a component that makes it: code

Re: how I write a new component? - Wicket Authentication

2008-01-15 Thread Martin Makundi
Ok. If I understand correctly, you need to detect authentication. One way to do this in wicket is to redirect the user to a Login page when authentication is missing. So: 1. User tries to access the secured page StockQuote.class 2. Wicket detects the user is not logged in and Redirects the user

Re: how to reference component in RequestTarget

2008-01-15 Thread Timo Rantalaiho
On Tue, 15 Jan 2008, Beyonder Unknown wrote: I'll try this one too. Does the visitChildren() have potential performance issue? For example, if you have lots of panels in a page you have to traverse and check them all right? I have no idea how heavy that is, but would imagine that traversing

How Runtime Exception Handling?

2008-01-15 Thread Rama-o-Rama
Hello, I am trying to handle to the runtime exception in Wicket, by default in the deployment mode it throws internal error. I want to redirect it to my error.jsp on my WEB-INF folder. this is what i am doing in my web.xml file error-page

Not allow the user to navigate to other page if the current page is loading

2008-01-15 Thread kenixwong
Hi The reason i want to get the control is because if one of the JFreeChart page is loading, and at the same time i tried navigate to other page, the chart of current JFreeChart page was not shown and faced 'page expired' too. But then the navigated page was shown and i can continue do any