As Igor mentioned. It is completely fine to use. Nothing wrong with it.
Juergen
On 11/20/05, Andrew Lombardi [EMAIL PROTECTED] wrote:
So, I see all this talk of using static factory methods to generate a
Page, but what would be wrong with just using
add(new Link(myLink) {
public
With code like this
anItem.add(new Label(return, new PropertyModel(tmpInstrument,
diffusionProcess.localDrift)));
I'm trying to display small numbers.
1.1465448173051241E-12
1.2381223801081599E-6
In the generated page this just appears as 0 or -0. I want it to be
0.012381223801081599
Version 0.2.0 of wicket bench plugin is available:
http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench
changes:
- Igor's wicketeer is merged
- initial take on navigation support (this feature will be enhanced in
later versions)
- renamed packages: fi.ri.wicket.bench.* - wicketbench.*
If you use BigDecimals this should work out of the box.
To provide your own format you can override getConverter() on the Label or
for the whole application Application.getConverterFactory(). For details
see the wicket page on custom converters:
Hi, i have a page with a small form, a couple links and a button (submit).
Now, when the button is pressed, i can get the model data, but i need that when a link is clicked, get some data of the form.
How can i achieve this?
Thanks.
then you need to do an onClick on the button that submits the form.only at this time you can't know that that link was clicked (or you have to do that with a special hidden field and check that field in the Form.submit
() method)johanOn 11/20/05, Manuel Corrales [EMAIL PROTECTED] wrote:
Hi, i
Hi,
there's a bug in JRImageResource that the size of output image does not
reflets the zoom. (It's always the same - iamage than gets cropped).
I wanted to submit a bugreport and commit a patch but I can't even
checkout the project from anonymous cvs (I've got the source code from
web
i said the static factories are only useful when you have bookmarkable pages with parameters. that means you need to create a PageParameters, fill it in, and pass it into the page's constructor. i said, imho, it is much better to have a static factory method on the page that does that because you
Thanks, it's fixed.
Eelco
On 11/20/05, Matej Knopp [EMAIL PROTECTED] wrote:
Hi,
there's a bug in JRImageResource that the size of output image does not
reflets the zoom. (It's always the same - iamage than gets cropped).
I wanted to submit a bugreport and commit a patch but I can't even
wicket-contrib-data and wicket-contrib-data-hibernate do not provide any form of transaction management. furthermore, they are obsolete due to repeater package (what used to be wicket-contrib-dataview) in wicket-extensions.
also, this discussion did not have much to do with spring itself, but with
I don't agree with wicket-contrib-data being obsolete. What happened
is that I created some basic Hibernate support classes last year, and
that other people commented that they didn't like them so much, and
wanted to add alternatives. From there it grew into the bunch a quasi
related classes it is
Maybe i was not clear about my problem. What i need is that when i
click the link get some info and redirect to other page. So far, the
only way i can get the info is getting the model on the onSubmit
method, but that method i use it for redirect to a diferent page.On 11/20/05, Johan Compagner
I don't know if I understand you right but enclosed is a component which
behaves (and is) exactly like a Wicket Button but renders instead a
href=javascript:document.generatedFormName.submit(), which triggers the
form submit.
One of the SubmitLinks must be given the form in the constructor to
Sorry I just realized that the SubmitLink before had a bug (test, test,
test ;)).Enclosed is something which should work - at least for FireFox
and IE it does. Please test it if you need it - at all.
Thanks,
Christian
On Mon, 21 Nov 2005 04:43:26 +0100, Christian Essl
[EMAIL PROTECTED]
14 matches
Mail list logo