RE: building dynamic charts in wicket

2011-05-10 Thread Hielke Hoeve
Hey Daku,

Emond and I have been working on 2 little projects to render charts.
Each use a different jQuery plugin to draw the graphs client side and
both use WiQuery to facilitate the server side part. Maybe those
projects can help you in choosing the desired product. Both come with
examples, simply use Start.java to start the test webapplication.

https://github.com/hielkehoeve/wiquery-jqplot
https://github.com/hielkehoeve/wiquery-highcharts

Note that both projects only support ajax updating by redrawing the
chart from scratch.

Regards,

Hielke


-Original Message-
From: lambdad...@gmail.com [mailto:lambdad...@googlemail.com] 
Sent: maandag 9 mei 2011 15:43
To: users@wicket.apache.org
Subject: Re: building dynamic charts in wicket

Thanks for the prompt reply!

In the given scenario, the charts on the central web application
reflects the status of the individual machines which either shown as a
mashes of the charts which are suppose to be hosted on the individual
machines.
Alternatively, the metrics could bepushed directly to the central
wicket application or pulled periodically through some remote interface,
which (the central app) then can generate the chart - event based.

The former approach is lightweight but latter has some merits as well
(probably).

While on hunt, I have found the following two links. But unsure if the
libraries are fresh enough to be  consumed :)

wicket mashup
http://code.google.com/p/wicket-mashup/

from the Wicket stuff source base
https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/googlecha
rts-parent/googlecharts-examples/src/main/java/org/wicketstuff/googlecha
rts/examples

Daku

On Mon, May 9, 2011 at 2:41 PM, Wilhelmsen Tor Iver
toriv...@arrive.nowrote:

 Sounds like a combo of a dynamic image resource component (using e.g.
 JFreeChart or the like) and an AjaxSelfUpdatingTimerBehavior is
needed.

 mvh
 - Tor Iver Wilhelmsen, Arrive AS

 -Original Message-
 From: lambdad...@gmail.com [mailto:lambdad...@googlemail.com]
 Sent: 9. mai 2011 14:32
 To: users@wicket.apache.org
 Subject: building dynamic charts in wicket

 Hi,

 I would like add an extra page to my Web application which shows a 
 graph similar to jconsole or google charts (displaying time series 
 analysis). It is required to be dynamic in nature which means the 
 graph should update itself (using wicket ajax) as soon as the new new 
 readings/metrics are available. Are there any efforts have been made 
 so far relevant to this direction?

 cheers
 Daku

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Attaching OnChange behaviour or AjaxFormComponentUpdatingBehaviour

2011-05-10 Thread Josh Kamau
Hi there , is it possible to attach OnChange behaviour or
AjaxFormComponentUpdatingBehaviour on AutoCompleteTextField ? I am trying
the OnUpdate methods is not being fired.

Thanks

Regards.
Josh.


Maven and Wicket Trunk

2011-05-10 Thread Bertrand Guay-Paquet

Hi,
I am currently using Wicket Trunk (1.5) for development and building my 
own snapshots with documentation for continuous integration. I 
periodically update my trunk source tree and use the following command 
line :

mvn install -Dmaven.test.skip=true -DperformRelease=true

This works fine and installs the snapshot in my local repository. 
However, any time I issue for example mvn eclipse:eclipse on my 
project which references this snapshot build, Maven updates to the 
latest daily snapshot from the remote repository. I want Maven to stop 
doing that (updating snapshots) but I can't figure out how to do it...


Has anybody using a similar procedure found a workaround for this? I 
searched the web and found suggestions to go in offline mode but that 
prevents other dependencies from updating. Other suggestions to modify 
settings.xml all fail on my Maven 3 installation it seems.


Regards,
Bertrand

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Maven and Wicket Trunk

2011-05-10 Thread Martin Grigorov
Ask google for: Maven repository updatePolicy

On Tue, May 10, 2011 at 3:02 PM, Bertrand Guay-Paquet
ber...@step.polymtl.ca wrote:
 Hi,
 I am currently using Wicket Trunk (1.5) for development and building my own
 snapshots with documentation for continuous integration. I periodically
 update my trunk source tree and use the following command line :
 mvn install -Dmaven.test.skip=true -DperformRelease=true

 This works fine and installs the snapshot in my local repository. However,
 any time I issue for example mvn eclipse:eclipse on my project which
 references this snapshot build, Maven updates to the latest daily snapshot
 from the remote repository. I want Maven to stop doing that (updating
 snapshots) but I can't figure out how to do it...

 Has anybody using a similar procedure found a workaround for this? I
 searched the web and found suggestions to go in offline mode but that
 prevents other dependencies from updating. Other suggestions to modify
 settings.xml all fail on my Maven 3 installation it seems.

 Regards,
 Bertrand

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Attaching OnChange behaviour or AjaxFormComponentUpdatingBehaviour

2011-05-10 Thread Josh Kamau
I have made it fire the methods but now the AutoComplete...component always
returns a string


On Tue, May 10, 2011 at 3:29 PM, Josh Kamau joshnet2...@gmail.com wrote:

 Hi there , is it possible to attach OnChange behaviour or
 AjaxFormComponentUpdatingBehaviour on AutoCompleteTextField ? I am trying
 the OnUpdate methods is not being fired.

 Thanks

 Regards.
 Josh.



AutoTab

2011-05-10 Thread Vitor Granzinoli Vellozo
 

Wicketers,

 

Someone knows if theres is a way to enable auto tabbing on wicket
components that are inside a Form (for example)?

So, when I full a TextField with the maximum caracters, the cursor
automaticaly jump to the next component.

 

Someone knows something about that?

 

I created a behavior to JQuery and for a JQuery plugin that does that,
but it's not work, I think it's not work because

the panel where it uses the behavior not apears in the generated (final)
HTML, so the javacript inserted does not

have effect, am I right?

 

Some solution for AutoTab?

Wicket have something like component.setAutoTab(true); ? (if not, it
could be excelent!)

 

Thanks

Vitor

 

 

 

Atenciosamente,

Vitor Granzinoli Vellozo

Applications Outsourcing

 

CPM Braxis

Tel: 55 21 3213 9400

Cel: 55 21 8896 5676

www.cpmbraxis.com

 



Re: AutoTab

2011-05-10 Thread Martin Makundi
Why do you want auto tab and not just add tabindex?

**
Martin

2011/5/10 Vitor Granzinoli Vellozo vitor.vell...@cpmbraxis.com:


 Wicketers,



 Someone knows if theres is a way to enable auto tabbing on wicket
 components that are inside a Form (for example)?

 So, when I full a TextField with the maximum caracters, the cursor
 automaticaly jump to the next component.



 Someone knows something about that?



 I created a behavior to JQuery and for a JQuery plugin that does that,
 but it's not work, I think it's not work because

 the panel where it uses the behavior not apears in the generated (final)
 HTML, so the javacript inserted does not

 have effect, am I right?



 Some solution for AutoTab?

 Wicket have something like component.setAutoTab(true); ? (if not, it
 could be excelent!)



 Thanks

 Vitor







 Atenciosamente,

 Vitor Granzinoli Vellozo

 Applications Outsourcing



 CPM Braxis

 Tel: 55 21 3213 9400

 Cel: 55 21 8896 5676

 www.cpmbraxis.com





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



File Chooser / Browse For File Common Dialog Box?

2011-05-10 Thread eugenebalt
I have a text box with a 'Browse...' button next to it in my Web app.

The Browse button is supposed to bring up the common Choose File dialog box.
After the user selects a file there, the name is populated into the textbox.
(I can choose to provide a local file, which is processed by the app.)

Is there a way to provide this common Choose File dialog in Wicket? Thanks

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/File-Chooser-Browse-For-File-Common-Dialog-Box-tp3511882p3511882.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



1.5 - mapping different error pages for specific errors

2011-05-10 Thread nimmy
Hi,

How do you map different error pages for specific errors in Wicket v1.5RC2?

You used to override onRuntimeException in v1.4 but this is no longer the
case.

Thanks,
Nim

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/1-5-mapping-different-error-pages-for-specific-errors-tp3511899p3511899.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: File Chooser / Browse For File Common Dialog Box?

2011-05-10 Thread eugenebalt
It looks like HTML supports this automatically via input type=file.

But my question is, when I do this in my HTML, Wicket gives me this error:

Component comp must be applied to a tag with 'type' attribute matching
'text', not 'file' 

Does anyone know how to let Wicket handle an input type=file? What does
the model object have to be, not a String?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/File-Chooser-Browse-For-File-Common-Dialog-Box-tp3511882p3511913.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: 1.5 - mapping different error pages for specific errors

2011-05-10 Thread Martijn Dashorst
Check the migration guide, see and read up about IRequestCycleListener

Martijn

On Tue, May 10, 2011 at 3:45 PM, nimmy nim_sa...@hotmail.com wrote:
 Hi,

 How do you map different error pages for specific errors in Wicket v1.5RC2?

 You used to override onRuntimeException in v1.4 but this is no longer the
 case.

 Thanks,
 Nim

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/1-5-mapping-different-error-pages-for-specific-errors-tp3511899p3511899.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: 1.5 - mapping different error pages for specific errors

2011-05-10 Thread nimmy
Hi Martijn,

I did check out the migration guide but was confused by a reference to a
non-existing method:

In Wicket 1.4 it was needed to extend
org.apache.wicket.RequestCycle.onRuntimeException(Page, RuntimeException).
Wicket 1.5 gives even better control, by overriding
org.apache.wicket.Application.newExceptionMapper() it is possible to change
even the default processing of error pages.

Will lookup IRequestCycleLister instead.

Thanks for your help,
Nim



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/1-5-mapping-different-error-pages-for-specific-errors-tp3511899p3511947.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RES: AutoTab

2011-05-10 Thread Vitor Granzinoli Vellozo

Because the application is for a Telephone Central, so the people Will use 
that, need be
very fast, the time of each attendance is recorded, so they gain time if do not 
need type TAB to
jump to the next Field.

Everything must be very fast, lot of Ajax.


-Mensagem original-
De: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] 
Enviada em: terça-feira, 10 de maio de 2011 10:25
Para: users@wicket.apache.org
Assunto: Re: AutoTab

Why do you want auto tab and not just add tabindex?

**
Martin

2011/5/10 Vitor Granzinoli Vellozo vitor.vell...@cpmbraxis.com:


 Wicketers,



 Someone knows if theres is a way to enable auto tabbing on wicket
 components that are inside a Form (for example)?

 So, when I full a TextField with the maximum caracters, the cursor
 automaticaly jump to the next component.



 Someone knows something about that?



 I created a behavior to JQuery and for a JQuery plugin that does that,
 but it's not work, I think it's not work because

 the panel where it uses the behavior not apears in the generated (final)
 HTML, so the javacript inserted does not

 have effect, am I right?



 Some solution for AutoTab?

 Wicket have something like component.setAutoTab(true); ? (if not, it
 could be excelent!)



 Thanks

 Vitor







 Atenciosamente,

 Vitor Granzinoli Vellozo

 Applications Outsourcing



 CPM Braxis

 Tel: 55 21 3213 9400

 Cel: 55 21 8896 5676

 www.cpmbraxis.com





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: 1.5 - mapping different error pages for specific errors

2011-05-10 Thread Martin Grigorov
On Tue, May 10, 2011 at 3:55 PM, nimmy nim_sa...@hotmail.com wrote:
 Hi Martijn,

 I did check out the migration guide but was confused by a reference to a
 non-existing method:

 In Wicket 1.4 it was needed to extend
 org.apache.wicket.RequestCycle.onRuntimeException(Page, RuntimeException).
 Wicket 1.5 gives even better control, by overriding
 org.apache.wicket.Application.newExceptionMapper() it is possible to change
 even the default processing of error pages.

 Will lookup IRequestCycleLister instead.
Check it and then as a good user add this information to the wiki page ;-)

 Thanks for your help,
 Nim



 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/1-5-mapping-different-error-pages-for-specific-errors-tp3511899p3511947.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: File Chooser / Browse For File Common Dialog Box?

2011-05-10 Thread Martin Grigorov
use FileUploadField instead of plain TextField

On Tue, May 10, 2011 at 3:48 PM, eugenebalt eugeneb...@yahoo.com wrote:
 It looks like HTML supports this automatically via input type=file.

 But my question is, when I do this in my HTML, Wicket gives me this error:

 Component comp must be applied to a tag with 'type' attribute matching
 'text', not 'file' 

 Does anyone know how to let Wicket handle an input type=file? What does
 the model object have to be, not a String?

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/File-Chooser-Browse-For-File-Common-Dialog-Box-tp3511882p3511913.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AutoTab

2011-05-10 Thread Martin Makundi
Ah, so you mean auto jump..after keypress or something.

**
Martin

2011/5/10 Vitor Granzinoli Vellozo vitor.vell...@cpmbraxis.com:

 Because the application is for a Telephone Central, so the people Will use 
 that, need be
 very fast, the time of each attendance is recorded, so they gain time if do 
 not need type TAB to
 jump to the next Field.

 Everything must be very fast, lot of Ajax.


 -Mensagem original-
 De: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
 Enviada em: terça-feira, 10 de maio de 2011 10:25
 Para: users@wicket.apache.org
 Assunto: Re: AutoTab

 Why do you want auto tab and not just add tabindex?

 **
 Martin

 2011/5/10 Vitor Granzinoli Vellozo vitor.vell...@cpmbraxis.com:


 Wicketers,



 Someone knows if theres is a way to enable auto tabbing on wicket
 components that are inside a Form (for example)?

 So, when I full a TextField with the maximum caracters, the cursor
 automaticaly jump to the next component.



 Someone knows something about that?



 I created a behavior to JQuery and for a JQuery plugin that does that,
 but it's not work, I think it's not work because

 the panel where it uses the behavior not apears in the generated (final)
 HTML, so the javacript inserted does not

 have effect, am I right?



 Some solution for AutoTab?

 Wicket have something like component.setAutoTab(true); ? (if not, it
 could be excelent!)



 Thanks

 Vitor







 Atenciosamente,

 Vitor Granzinoli Vellozo

 Applications Outsourcing



 CPM Braxis

 Tel: 55 21 3213 9400

 Cel: 55 21 8896 5676

 www.cpmbraxis.com





 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: File Chooser / Browse For File Common Dialog Box?

2011-05-10 Thread eugenebalt
Got it, it's working. Thanks

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/File-Chooser-Browse-For-File-Common-Dialog-Box-tp3511882p3512006.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RES: AutoTab

2011-05-10 Thread Vitor Granzinoli Vellozo

Yes. Imagine the Field date that has 10 digits, imagining with a mask 
(dd/MM/), when the person
finish the typing of year, the cursor automatically jump to the next component.

So, it happens again, and again, till arrives to confirm button or something 
else that will do the
submit.


-Mensagem original-
De: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] 
Enviada em: terça-feira, 10 de maio de 2011 11:04
Para: users@wicket.apache.org
Assunto: Re: AutoTab

Ah, so you mean auto jump..after keypress or something.

**
Martin

2011/5/10 Vitor Granzinoli Vellozo vitor.vell...@cpmbraxis.com:

 Because the application is for a Telephone Central, so the people Will use 
 that, need be
 very fast, the time of each attendance is recorded, so they gain time if do 
 not need type TAB to
 jump to the next Field.

 Everything must be very fast, lot of Ajax.


 -Mensagem original-
 De: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
 Enviada em: terça-feira, 10 de maio de 2011 10:25
 Para: users@wicket.apache.org
 Assunto: Re: AutoTab

 Why do you want auto tab and not just add tabindex?

 **
 Martin

 2011/5/10 Vitor Granzinoli Vellozo vitor.vell...@cpmbraxis.com:


 Wicketers,



 Someone knows if theres is a way to enable auto tabbing on wicket
 components that are inside a Form (for example)?

 So, when I full a TextField with the maximum caracters, the cursor
 automaticaly jump to the next component.



 Someone knows something about that?



 I created a behavior to JQuery and for a JQuery plugin that does that,
 but it's not work, I think it's not work because

 the panel where it uses the behavior not apears in the generated (final)
 HTML, so the javacript inserted does not

 have effect, am I right?



 Some solution for AutoTab?

 Wicket have something like component.setAutoTab(true); ? (if not, it
 could be excelent!)



 Thanks

 Vitor







 Atenciosamente,

 Vitor Granzinoli Vellozo

 Applications Outsourcing



 CPM Braxis

 Tel: 55 21 3213 9400

 Cel: 55 21 8896 5676

 www.cpmbraxis.com





 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AutoTab

2011-05-10 Thread Martin Makundi
Yes.. your jquery should work also with wicket no problem. Did you
debug what is wrong?

**
Martin

2011/5/10 Vitor Granzinoli Vellozo vitor.vell...@cpmbraxis.com:

 Yes. Imagine the Field date that has 10 digits, imagining with a mask 
 (dd/MM/), when the person
 finish the typing of year, the cursor automatically jump to the next 
 component.

 So, it happens again, and again, till arrives to confirm button or something 
 else that will do the
 submit.


 -Mensagem original-
 De: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
 Enviada em: terça-feira, 10 de maio de 2011 11:04
 Para: users@wicket.apache.org
 Assunto: Re: AutoTab

 Ah, so you mean auto jump..after keypress or something.

 **
 Martin

 2011/5/10 Vitor Granzinoli Vellozo vitor.vell...@cpmbraxis.com:

 Because the application is for a Telephone Central, so the people Will use 
 that, need be
 very fast, the time of each attendance is recorded, so they gain time if do 
 not need type TAB to
 jump to the next Field.

 Everything must be very fast, lot of Ajax.


 -Mensagem original-
 De: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
 Enviada em: terça-feira, 10 de maio de 2011 10:25
 Para: users@wicket.apache.org
 Assunto: Re: AutoTab

 Why do you want auto tab and not just add tabindex?

 **
 Martin

 2011/5/10 Vitor Granzinoli Vellozo vitor.vell...@cpmbraxis.com:


 Wicketers,



 Someone knows if theres is a way to enable auto tabbing on wicket
 components that are inside a Form (for example)?

 So, when I full a TextField with the maximum caracters, the cursor
 automaticaly jump to the next component.



 Someone knows something about that?



 I created a behavior to JQuery and for a JQuery plugin that does that,
 but it's not work, I think it's not work because

 the panel where it uses the behavior not apears in the generated (final)
 HTML, so the javacript inserted does not

 have effect, am I right?



 Some solution for AutoTab?

 Wicket have something like component.setAutoTab(true); ? (if not, it
 could be excelent!)



 Thanks

 Vitor







 Atenciosamente,

 Vitor Granzinoli Vellozo

 Applications Outsourcing



 CPM Braxis

 Tel: 55 21 3213 9400

 Cel: 55 21 8896 5676

 www.cpmbraxis.com





 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: AutoTab

2011-05-10 Thread Scardamalia, Stephen
Hi Vitor,

This looks like it might do what you need: 
http://www.mathachew.com/sandbox/jquery-autotab/ using its 
$(':input').autotab_magic() syntax. If you want to apply it only to certain 
fields that may be dynamically included/excluded, apply a CSS class to the 
fields you're interested in, then use JS/JQuery to select all instances of that 
class to apply the plugin behavior. 

Haven't done any JQuery in a while but I'd think something like:
input name=1 class=autoTab/
input name=2 class=autoTab/

$('.autoTab').autotab_magic();

Stephen

-Original Message-
From: Vitor Granzinoli Vellozo [mailto:vitor.vell...@cpmbraxis.com] 
Sent: Tuesday, May 10, 2011 10:27 AM
To: users@wicket.apache.org
Subject: RES: AutoTab


Yes. Imagine the Field date that has 10 digits, imagining with a mask 
(dd/MM/), when the person
finish the typing of year, the cursor automatically jump to the next component.

So, it happens again, and again, till arrives to confirm button or something 
else that will do the
submit.


-Mensagem original-
De: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] 
Enviada em: terça-feira, 10 de maio de 2011 11:04
Para: users@wicket.apache.org
Assunto: Re: AutoTab

Ah, so you mean auto jump..after keypress or something.

**
Martin

2011/5/10 Vitor Granzinoli Vellozo vitor.vell...@cpmbraxis.com:

 Because the application is for a Telephone Central, so the people Will use 
 that, need be
 very fast, the time of each attendance is recorded, so they gain time if do 
 not need type TAB to
 jump to the next Field.

 Everything must be very fast, lot of Ajax.


 -Mensagem original-
 De: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
 Enviada em: terça-feira, 10 de maio de 2011 10:25
 Para: users@wicket.apache.org
 Assunto: Re: AutoTab

 Why do you want auto tab and not just add tabindex?

 **
 Martin

 2011/5/10 Vitor Granzinoli Vellozo vitor.vell...@cpmbraxis.com:


 Wicketers,



 Someone knows if theres is a way to enable auto tabbing on wicket
 components that are inside a Form (for example)?

 So, when I full a TextField with the maximum caracters, the cursor
 automaticaly jump to the next component.



 Someone knows something about that?



 I created a behavior to JQuery and for a JQuery plugin that does that,
 but it's not work, I think it's not work because

 the panel where it uses the behavior not apears in the generated (final)
 HTML, so the javacript inserted does not

 have effect, am I right?



 Some solution for AutoTab?

 Wicket have something like component.setAutoTab(true); ? (if not, it
 could be excelent!)



 Thanks

 Vitor







 Atenciosamente,

 Vitor Granzinoli Vellozo

 Applications Outsourcing



 CPM Braxis

 Tel: 55 21 3213 9400

 Cel: 55 21 8896 5676

 www.cpmbraxis.com





 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AutoTab

2011-05-10 Thread Martin Grigorov
your Css selector is wrong. Check JQuery docs
#myId is used for 'id'
in your HTML I see you have 'name'

so the selector should be: [name=consultContainer:consultPanel:field1]

On Tue, May 10, 2011 at 7:10 PM, Vitor Granzinoli Vellozo
vitor.vell...@cpmbraxis.com wrote:

 Stephen,

 It is exactly what I'm doing.


 I created a JQuery Behavior like this:

 public class JQueryCoreBehavior extends AbstractBehavior implements IBehavior 
 {

        private static final long serialVersionUID = 2771256665618274523L;

        private static final ResourceReference JQUERY_JS = new 
 JavascriptResourceReference(JQueryCoreBehavior.class,
                        jquery-1.6.min.js);

        @Override
        public void renderHead(IHeaderResponse response) {
                response.renderJavascriptReference(JQUERY_JS);
        }

 }


 And I created a AutoTab Behavior, to find all TextFields into a Panel (:input 
 was not working) like this:

 public class AutoTabBehavior extends JQueryCoreBehavior {

        private static final long serialVersionUID = -4281584400887683393L;

        private static final ResourceReference AUTOTAB = new 
 JavascriptResourceReference(AutoTabBehavior.class,
                        jquery.autotab-1.1b.js);

        private ListComponent componentList;

        @Override
        public void renderHead(IHeaderResponse response) {
                super.renderHead(response);
                response.renderJavascriptReference(AUTOTAB);
                componentList = new ArrayListComponent();
        }

        @Override
        public void onComponentTag(Component component, ComponentTag tag) {
        }

        @Override
        public void onRendered(Component component) {
                super.onRendered(component);
                component.setOutputMarkupId(true);

                Response response = component.getResponse();
                response.write(JavascriptUtils.SCRIPT_OPEN_TAG);

                response.write(var $j = jQuery.noConflict(););
                response.write($j(document).ready(function() {);

                response.write($j(');

                if (component instanceof Panel) {
                        Panel panel = (Panel) component;
                        IteratorComponent iterator = (IteratorComponent) 
 panel.iterator();
                        while (iterator.hasNext()) {
                                Component component2 = iterator.next();
                                if (component2 instanceof TextField) {
                                        componentList.add(component2);
                                }
                        }
                }

                StringBuffer ids = new StringBuffer(1000);
                for (Component c : componentList) {
                        ids.append(# + c.getPath().subSequence(7, 
 c.getPath().length()) + ,);
                        System.out.println(c.getPath());
                }

                response.write(ids.toString().trim().substring(0, 
 ids.toString().length() - 1));

                response.write(').autotab_filter('numeric'););

                response.write(}););
                response.write(JavascriptUtils.SCRIPT_CLOSE_TAG);
        }

 }


 Inside a Panel, I put add(new AutoTabBehavior());

 The HTML output (RESULT) is:

 div style=border-top: 0px; border-bottom: 0px; id=consultContainer7
        span/span --WHERE THE PANEL IS ADDED
 /div


 The HTML that is generated to replace the span is:

 div style=border-top: 0px; border-bottom: 0px; id=consultContainer7
                        span id=consultPanele
                                table width=90% align=center
                                tr
                                        td class=td_label width=25%
                                                label
                                                        
 Field1/Field2/Field3/Field4
                                                /label
                                        /td
                                        td class=td_dados
                                                label
                                                        input type=text 
 size=3 maxlength=3 class=blk2 value= 
 name=consultContainer:consultPanel:field1/
                                                /label
                                                label
                                                        input type=text 
 size=3 maxlength=3 class=blk2 value= 
 name=consultContainer:consultPanel:field2/
                                                /label
                                                label
                                                        input type=text 
 size=6 maxlength=6 class=blk2 value= 
 name=consultContainer:consultPanel:field3/
                                                /label
                                                label
                                                        input type=text 
 size=4 

Error with FileUpload: ServletRequest does not contain multipart content

2011-05-10 Thread eugenebalt
I am using a File Picker (FileUpload class, for input type=file) in my
form.

Upon clicking the Submit button, I'm getting this error:

ServletRequest does not contain multipart content. One possible sol
ution is to explicitly call Form.setMultipart(true), Wicket tries its best
to auto-detect multipart 
forms but there are certain situation where it cannot

I tried this.setMultipart(true) in my form constructor, but that doesn't
help. Why is this happening, and what should I do? Thank you

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Error-with-FileUpload-ServletRequest-does-not-contain-multipart-content-tp3512653p3512653.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Error with FileUpload: ServletRequest does not contain multipart content

2011-05-10 Thread eugenebalt
To clarify, I am handling the submit with a simple override of public void
onSubmit() { ... }

Also, there's no Ajax in the code, I removed all of it, and I'm still
getting this error. What's going on with this FileUpload?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Error-with-FileUpload-ServletRequest-does-not-contain-multipart-content-tp3512653p3512681.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Error with FileUpload: ServletRequest does not contain multipart content

2011-05-10 Thread eugenebalt
Basically, where should I put setMultipart(true)? Because in the
constructor doesn't work.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Error-with-FileUpload-ServletRequest-does-not-contain-multipart-content-tp3512653p3512701.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Error with FileUpload: ServletRequest does not contain multipart content

2011-05-10 Thread Martin Grigorov
see http://wicket-library.com/wicket-examples
we have 5-6 file upload examples

On Tue, May 10, 2011 at 8:51 PM, eugenebalt eugeneb...@yahoo.com wrote:
 Basically, where should I put setMultipart(true)? Because in the
 constructor doesn't work.

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Error-with-FileUpload-ServletRequest-does-not-contain-multipart-content-tp3512653p3512701.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Nothing happens on AJAX call after session timeout

2011-05-10 Thread vov
JSP used only for Tomcat FORM
authentication(http://onjava.com/onjava/2002/06/12/form.html)

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Nothing-happens-on-AJAX-call-after-session-timeout-tp3483872p3512818.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Error with FileUpload: ServletRequest does not contain multipart content

2011-05-10 Thread eugenebalt
I looked through that example and in fact duplicated what you have there in
the simplest possible example. My simple example below is just a single
FileUpload field and a submit button, that's it.

And I'm still getting that error! I have no idea why.

My HTML:
--
html xmlns=http://www.w3.org/1999/xhtml;
head
/head
body

form wicket:id=testfrm method=get action=
input wicket:id=fileInput type=file size=50 /
br /
input type=submit / 
/form  

/body
/html


My TestFilePickerForm.java
--
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.upload.FileUploadField;

public class TestFilePickerForm extends Form {

FileUploadField fileUploadField = null;

public TestFilePickerForm(String id) {
super(id);
setMultiPart(true);

add(fileUploadField = new FileUploadField(fileInput));

}

public void onSubmit()
{

}   
}


My TestPage.java
-
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.markup.html.form.Form;

public class TestPage extends WebPage {

public TestPage()
{
super();

TestFilePickerForm testForm = new TestFilePickerForm(testfrm);
add(testForm);
}
}   

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Error-with-FileUpload-ServletRequest-does-not-contain-multipart-content-tp3512653p3512840.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Error with FileUpload: ServletRequest does not contain multipart content

2011-05-10 Thread Attila Király
What wicket version are you using? There is a difference how file upload is
configured in 1.4 and in 1.5.

Attila

2011/5/10 eugenebalt eugeneb...@yahoo.com

 I looked through that example and in fact duplicated what you have there in
 the simplest possible example. My simple example below is just a single
 FileUpload field and a submit button, that's it.

 And I'm still getting that error! I have no idea why.

 My HTML:
 --
 html xmlns=http://www.w3.org/1999/xhtml;
 head
 /head
 body

 form wicket:id=testfrm method=get action=
 input wicket:id=fileInput type=file size=50 /
 br /
 input type=submit /
 /form

 /body
 /html


 My TestFilePickerForm.java
 --
 import org.apache.wicket.markup.html.form.Form;
 import org.apache.wicket.markup.html.form.upload.FileUploadField;

 public class TestFilePickerForm extends Form {

FileUploadField fileUploadField = null;

public TestFilePickerForm(String id) {
super(id);
setMultiPart(true);

add(fileUploadField = new FileUploadField(fileInput));

}

public void onSubmit()
{

}
 }


 My TestPage.java
 -
 import org.apache.wicket.ajax.AjaxRequestTarget;
 import org.apache.wicket.markup.html.form.Form;

 public class TestPage extends WebPage {

public TestPage()
{
super();

TestFilePickerForm testForm = new TestFilePickerForm(testfrm);
add(testForm);
}
}

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Error-with-FileUpload-ServletRequest-does-not-contain-multipart-content-tp3512653p3512840.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Maven and Wicket Trunk

2011-05-10 Thread Bertrand Guay-Paquet

Thanks Martin for pointing me in the right direction.

I had already found out about the updatePolicy but couldn't manage to 
get the correct repository URL for the snapshots. One of the links with 
your search terms enlightened me.


Here's what I did. Add this to settings.xml :
repository
idapache.snapshots/id
nameApache Snapshots/name !--Wicket--
urlhttp://repository.apache.org/snapshots//url
releases
enabledfalse/enabled
/releases
snapshots
enabledfalse/enabled
/snapshots
/repository

On 10/05/2011 9:12 AM, Martin Grigorov wrote:

Ask google for: Maven repository updatePolicy

On Tue, May 10, 2011 at 3:02 PM, Bertrand Guay-Paquet
ber...@step.polymtl.ca  wrote:

Hi,
I am currently using Wicket Trunk (1.5) for development and building my own
snapshots with documentation for continuous integration. I periodically
update my trunk source tree and use the following command line :
mvn install -Dmaven.test.skip=true -DperformRelease=true

This works fine and installs the snapshot in my local repository. However,
any time I issue for example mvn eclipse:eclipse on my project which
references this snapshot build, Maven updates to the latest daily snapshot
from the remote repository. I want Maven to stop doing that (updating
snapshots) but I can't figure out how to do it...

Has anybody using a similar procedure found a workaround for this? I
searched the web and found suggestions to go in offline mode but that
prevents other dependencies from updating. Other suggestions to modify
settings.xml all fail on my Maven 3 installation it seems.

Regards,
Bertrand

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org







-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Error with FileUpload: ServletRequest does not contain multipart content

2011-05-10 Thread Martin Grigorov
Hint: check the Application class in the example

On Tue, May 10, 2011 at 9:56 PM, Attila Király
kiralyattila...@gmail.com wrote:
 What wicket version are you using? There is a difference how file upload is
 configured in 1.4 and in 1.5.

 Attila

 2011/5/10 eugenebalt eugeneb...@yahoo.com

 I looked through that example and in fact duplicated what you have there in
 the simplest possible example. My simple example below is just a single
 FileUpload field and a submit button, that's it.

 And I'm still getting that error! I have no idea why.

 My HTML:
 --
 html xmlns=http://www.w3.org/1999/xhtml;
 head
 /head
 body

 form wicket:id=testfrm method=get action=
 input wicket:id=fileInput type=file size=50 /
 br /
 input type=submit /
 /form

 /body
 /html


 My TestFilePickerForm.java
 --
 import org.apache.wicket.markup.html.form.Form;
 import org.apache.wicket.markup.html.form.upload.FileUploadField;

 public class TestFilePickerForm extends Form {

        FileUploadField fileUploadField = null;

        public TestFilePickerForm(String id) {
                super(id);
                setMultiPart(true);

                add(fileUploadField = new FileUploadField(fileInput));

        }

        public void onSubmit()
        {

        }
 }


 My TestPage.java
 -
 import org.apache.wicket.ajax.AjaxRequestTarget;
 import org.apache.wicket.markup.html.form.Form;

 public class TestPage extends WebPage {

        public TestPage()
        {
            super();

            TestFilePickerForm testForm = new TestFilePickerForm(testfrm);
            add(testForm);
        }
    }

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Error-with-FileUpload-ServletRequest-does-not-contain-multipart-content-tp3512653p3512840.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org






-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Table not refreshed - ajax debug shows right markup returned

2011-05-10 Thread D D
I have a remove ajax link in every table row. When onSubmit is
executed I see in WADW that corrected markup is returned but the view
is not refreshed.

Why is that the case?

Thanks,

Dave

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Table not refreshed - ajax debug shows right markup returned

2011-05-10 Thread Martin Grigorov
there must be an error below the new content in WADW

On Tue, May 10, 2011 at 10:15 PM, D D dawi...@gmail.com wrote:
 I have a remove ajax link in every table row. When onSubmit is
 executed I see in WADW that corrected markup is returned but the view
 is not refreshed.

 Why is that the case?

 Thanks,

 Dave

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Table not refreshed - ajax debug shows right markup returned

2011-05-10 Thread D D
you are correct sir. There is an error. processCompoment could not
find an id to update.

Why would that be the case? I call setOutputMarkuId(true) right before
target.addComponent(MarkupContainer) call is made.

Dave

On Tue, May 10, 2011 at 3:18 PM, Martin Grigorov mgrigo...@apache.org wrote:
 there must be an error below the new content in WADW

 On Tue, May 10, 2011 at 10:15 PM, D D dawi...@gmail.com wrote:
 I have a remove ajax link in every table row. When onSubmit is
 executed I see in WADW that corrected markup is returned but the view
 is not refreshed.

 Why is that the case?

 Thanks,

 Dave

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Table not refreshed - ajax debug shows right markup returned

2011-05-10 Thread Martin Grigorov
see setOutputMarkupPlaceholderTag()

On Tue, May 10, 2011 at 10:25 PM, D D dawi...@gmail.com wrote:
 you are correct sir. There is an error. processCompoment could not
 find an id to update.

 Why would that be the case? I call setOutputMarkuId(true) right before
 target.addComponent(MarkupContainer) call is made.

 Dave

 On Tue, May 10, 2011 at 3:18 PM, Martin Grigorov mgrigo...@apache.org wrote:
 there must be an error below the new content in WADW

 On Tue, May 10, 2011 at 10:15 PM, D D dawi...@gmail.com wrote:
 I have a remove ajax link in every table row. When onSubmit is
 executed I see in WADW that corrected markup is returned but the view
 is not refreshed.

 Why is that the case?

 Thanks,

 Dave

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Error with FileUpload: ServletRequest does not contain multipart content

2011-05-10 Thread eugenebalt
Sorry, I don't understand the hint. Do you mean UploadWebRequest in the
Application class? The documentation says it's needed for the status bar, I
don't have any status bars. My form is extremely simple.

I'm still not sure what to do.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Error-with-FileUpload-ServletRequest-does-not-contain-multipart-content-tp3512653p3512931.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Error with FileUpload: ServletRequest does not contain multipart content

2011-05-10 Thread Martin Grigorov
is there a chance that your form submits with GET method ?

On Tue, May 10, 2011 at 10:32 PM, eugenebalt eugeneb...@yahoo.com wrote:
 Sorry, I don't understand the hint. Do you mean UploadWebRequest in the
 Application class? The documentation says it's needed for the status bar, I
 don't have any status bars. My form is extremely simple.

 I'm still not sure what to do.

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Error-with-FileUpload-ServletRequest-does-not-contain-multipart-content-tp3512653p3512931.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Error with FileUpload: ServletRequest does not contain multipart content

2011-05-10 Thread eugenebalt
Yes, the form submitted with the GET. I removed the method, and it's working
now. 

So a multipart should with the POST, then. Thanks.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Error-with-FileUpload-ServletRequest-does-not-contain-multipart-content-tp3512653p3512964.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Table not refreshed - ajax debug shows right markup returned

2011-05-10 Thread D D
Thanks Martin! It worked.

Hint for those reading this thread in the future. Set the flag on the
component you plan to add to AjaxRequestTarget when it's first
declared.

Dave

On Tue, May 10, 2011 at 3:27 PM, Martin Grigorov mgrigo...@apache.org wrote:
 see setOutputMarkupPlaceholderTag()

 On Tue, May 10, 2011 at 10:25 PM, D D dawi...@gmail.com wrote:
 you are correct sir. There is an error. processCompoment could not
 find an id to update.

 Why would that be the case? I call setOutputMarkuId(true) right before
 target.addComponent(MarkupContainer) call is made.

 Dave

 On Tue, May 10, 2011 at 3:18 PM, Martin Grigorov mgrigo...@apache.org 
 wrote:
 there must be an error below the new content in WADW

 On Tue, May 10, 2011 at 10:15 PM, D D dawi...@gmail.com wrote:
 I have a remove ajax link in every table row. When onSubmit is
 executed I see in WADW that corrected markup is returned but the view
 is not refreshed.

 Why is that the case?

 Thanks,

 Dave

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Table not refreshed - ajax debug shows right markup returned

2011-05-10 Thread Martin Grigorov
This is only when this Ajax updated component visibility may change.

On Tue, May 10, 2011 at 10:49 PM, D D dawi...@gmail.com wrote:
 Thanks Martin! It worked.

 Hint for those reading this thread in the future. Set the flag on the
 component you plan to add to AjaxRequestTarget when it's first
 declared.

 Dave

 On Tue, May 10, 2011 at 3:27 PM, Martin Grigorov mgrigo...@apache.org wrote:
 see setOutputMarkupPlaceholderTag()

 On Tue, May 10, 2011 at 10:25 PM, D D dawi...@gmail.com wrote:
 you are correct sir. There is an error. processCompoment could not
 find an id to update.

 Why would that be the case? I call setOutputMarkuId(true) right before
 target.addComponent(MarkupContainer) call is made.

 Dave

 On Tue, May 10, 2011 at 3:18 PM, Martin Grigorov mgrigo...@apache.org 
 wrote:
 there must be an error below the new content in WADW

 On Tue, May 10, 2011 at 10:15 PM, D D dawi...@gmail.com wrote:
 I have a remove ajax link in every table row. When onSubmit is
 executed I see in WADW that corrected markup is returned but the view
 is not refreshed.

 Why is that the case?

 Thanks,

 Dave

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Nothing happens on AJAX call after session timeout

2011-05-10 Thread Gabriel Landon
As explain in the post
http://apache-wicket.1842946.n4.nabble.com/Session-timeout-AJAX-enabled-controls-td1893184.html,
that's is because when you use container (Tomcat) authentification, the
login page is return in the ajax response when your session has expired.

Have you tried the workaround Igor gave :
in your servlet filter you will have to check for Wicket-Ajax header
and if it is present return a properly formatted ajax-response that
contains javascript to redirect to your login page.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Nothing-happens-on-AJAX-call-after-session-timeout-tp3483872p3513018.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



disabled chek box form submit

2011-05-10 Thread fachhoch
can the disbaled checked check boxes   be submitted   with the form ?

I have check boxes   in my form, based on business logic   some of the
checked  check boxes  are disabled.
when form is submitted   I want to get all the checked disabled  check boxes
posted to the server ,please advice me how.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/disabled-chek-box-form-submit-tp3513088p3513088.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: disabled chek box form submit

2011-05-10 Thread Martin Makundi
As a sidenote, actually I think there is a bug in wicket (1.4.9) that
rawinput is submitted for disabled form components but problem is that
browser does not send values for disabled elements so actually the
form component state becomes stale... must call
formcomponent.clearinput if you whish to repaint it.

**
Martin

2011/5/11 fachhoch fachh...@gmail.com:
 can the disbaled checked check boxes   be submitted   with the form ?

 I have check boxes   in my form, based on business logic   some of the
 checked  check boxes  are disabled.
 when form is submitted   I want to get all the checked disabled  check boxes
 posted to the server ,please advice me how.




 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/disabled-chek-box-form-submit-tp3513088p3513088.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org