Ajax submit form with FileUploadField

2015-02-10 Thread mscoon
Hi all,

We are seeing strange behavior in a form that contains a FileUploadField
when submitted with an AjaxSubmitLink. What happens is:
1. The form is embedded in another form, so wicket renders it as a div
2. The form is removed from it's parent element and placed within a JQuery
dialog
3. The outher form contains a FileUploadField

When the inner form is submitted we get the following error in the ajax
debug panel:
Cannot submit form with id criteria69 because there is no form
element in the hierarchy.

Removing the FileUploadField makes the error disappear, even though there
is no form element in the hierarchy due to step (2) above.

Any ideas why this is happening?

Thanks
Marios


Re: Wicket WebRTC Integration

2015-02-10 Thread Maxim Solodovnik
Hello @Martin!

I'm extremely interested in topic :)
going to take a look at it as soon as I get some time :)

WBR, Maxim
(from mobile, sorry for the typos)
On Feb 11, 2015 3:15 AM, Martin Grigorov mgrigo...@apache.org wrote:

 Well done, Tobias!

 @Maxim: is this something that Apache Openmeetings would be interested at ?


 Martin Grigorov
 Wicket Training and Consulting
 https://twitter.com/mtgrigorov

 On Tue, Feb 10, 2015 at 11:08 PM, Tobias Soloschenko 
 tobiassolosche...@googlemail.com wrote:

  Hi,
 
  short update - you are now able to:
 
  * now activate / deactivate the volume bars
  * set the MaxWidth / MaxHeight and
  * set the Framerate which is going to be used for the videos.
 
  I setup a little wiki because to scroll all the time was so annoying.
 
  https://github.com/klopfdreh/wicket-components-playground/
  wiki/7.-HTML5-WebRTC-Integration
 
  kind regards
 
  Tobias
 
  Am 31.01.15 um 00:49 schrieb Zala Pierre GOUPIL:
 
   Hi,
 
  Excellent work, congrats! And I'm talking about all your
  wicket-components-playground project! I'll test your Wicket WebRTC
  Integration and tell you how it goes.
 
  In fact, I'm currently using a full JS WebRTC component (
  https://code.google.com/p/webrtc4all/) but I'm not fully satisfied with
  it.
  Hopefully, yours will do it for me.
 
  Regards,
 
  Pierre
 
 
 
 
  On Fri, Jan 30, 2015 at 5:26 PM, Tobias Soloschenko 
  tobiassolosche...@googlemail.com wrote:
 
   Hi everybody,
 
  I just implemented a component to provide a way to integrate a video
  conference to Wicket applications using WebRTC - I would be very
 pleased
  to
  receive feedback!
 
  An installation of NodeJS is required.
 
  https://github.com/klopfdreh/wicket-components-playground
 
  (Scroll to section Wicket WebRTC Integration)
 
  kind regards
 
  Tobias
  -
  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: Wicket WebRTC Integration

2015-02-10 Thread Tobias Soloschenko
Hi,

just wanted to add that an issue has been fixed that causes the remote volumes 
not to be shown.

https://github.com/HenrikJoreteg/SimpleWebRTC/issues/203

Big thanks to fippo - it is working, now.

Today - after work - I will implement more stuff - for example to turn on / off 
the volume bars and other stuff.

kind regards

Tobias

 Am 31.01.2015 um 00:49 schrieb Zala Pierre GOUPIL goupilpie...@gmail.com:
 
 Hi,
 
 Excellent work, congrats! And I'm talking about all your
 wicket-components-playground project! I'll test your Wicket WebRTC
 Integration and tell you how it goes.
 
 In fact, I'm currently using a full JS WebRTC component (
 https://code.google.com/p/webrtc4all/) but I'm not fully satisfied with it.
 Hopefully, yours will do it for me.
 
 Regards,
 
 Pierre
 
 
 
 
 On Fri, Jan 30, 2015 at 5:26 PM, Tobias Soloschenko 
 tobiassolosche...@googlemail.com wrote:
 
 Hi everybody,
 
 I just implemented a component to provide a way to integrate a video
 conference to Wicket applications using WebRTC - I would be very pleased to
 receive feedback!
 
 An installation of NodeJS is required.
 
 https://github.com/klopfdreh/wicket-components-playground
 
 (Scroll to section Wicket WebRTC Integration)
 
 kind regards
 
 Tobias
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 -- 
 Si le sang ne coule pas assez chaud dans tes veines, je le répandrai sur le
 sable pour qu'il bouille au soleil.

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



Re: CanvasImage - base64 content in HTML pages

2015-02-10 Thread Sven Meier

Hi Tobias,

interesting, many thanks.

ResourceReference and/or IResource would make more general constructor 
arguments though.


Have fun
Sven


On 09.02.2015 21:46, Tobias Soloschenko wrote:

Hi,

just wanted to get feedback for a little component I created just a 
few minutes ago. The CanvasImage renders the base64 content of an 
image into the wicket page. This might be good for HTML Email 
templates without remote access, or other HTML content which should 
not open a connection for any image resources.


https://github.com/klopfdreh/wicket-components-playground#canvasimage

Further information:

http://www.html5rocks.com/en/tutorials/canvas/integrating/

kind regards

Tobias

-
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: [ANNOUNCE] WicketStuff 6.19.0 is released

2015-02-10 Thread MadasamySankarapandian
Thanks to martin, Maxim Solodovnik and wicket-stuff team to fix bug clear
input of select2 field.

On Tue, Feb 10, 2015 at 3:29 PM, Ernesto Reinaldo Barreiro 
reier...@gmail.com wrote:

 Thanks!

 On Mon, Feb 9, 2015 at 9:06 PM, Martin Grigorov mgrigo...@apache.org
 wrote:

  Hi,
 
  WicketStuff core 6.19.0 based on Apache Wicket 6.19.0 is released and
  available at Maven Central.
 
  The changelog since 6.18.0 is:
 
  cmiles74 (31):
Fixed bad links in the example app
Added Travis CI status image
Fixed bug in tile variable declaration
Merge branch 'wicket-6.x' of https://github.com/wicketstuff/core
  into
  wicket-6.x
Added persistent feature and map centering
Added Bing Maps support
Completed first pass at modify interaction
Merge branch 'wicket-6.x' of https://github.com/wicketstuff/core
  into
  wicket-6.x
Updated Travis CI config
Started implementing drag-and-drop interactions
Completed my first pass at implementing the modify interaction
Completed my first pass at implementing the modify interaction
Did battle with ID generation
Did battle with ID generation
Conducted mortal battle with ID generation
Implemented interaction change and removal
Worked on issues refreshing the Boostrap popover
Minor scoping change for incidental variable
Altered to collect changes before posting to server
Altered to escape markup when Strings are stored
Altered to store all global variables in one location
Moved map instances into our global array
Fixed typo with unscoped variable
Moved timer variable into our global array
Fixed a minor bug
Merge remote-tracking branch 'wicketstuff/wicket-6.x' into
 wicket-6.x
Cleaned up Travis config
Fixed up post-merge issues
Removed custom Travis configuration
Removed custom Travis banner
Cleaned up code, altered links in examples
 
  Andrea Del Bene (9):
prevented default event behavior for stateless link
Improved StatelessAjaxFormSubmitBehavior and
  StatelessAjaxSubmittingLink following the code of their stateful
  versions.
porting of changes from master branch
updated readme file
improved test code
Merge pull request #382 from
  openwide-java/update-serialized-page-size
added sonatype snapshot repository
fixed dependency on wrong Servlet version number
trying to use the last java 6 compatible version of gae
 
  Martin Tzvetanov Grigorov (7):
Build against Wicket 6.19.0-SNAPSHOT
[travis] Enable caching for Maven repository
[travis] Wrap the exported value in double quotes
[travis] Revert to the version before PR #378
[select2] Update select2 to 3.5.2
[native-websockets-javax] Copy Wicket Native WebSockets Javax from
  Wicket 7.x to WicketStuff-6.x/jdk-1.7
Release 6.19.0
 
  Martin Grigorov (2):
Merge pull request #373 from simpuls/wicket-6.x
Merge pull request #378 from cmiles74/wicket-6.x
 
  Guillaume Smet (1):
[serializer-*] update serialized page size test in the serializer
  modules
 
  Mathias Born (1):
New Feature to center a map with Geocode information
 
  Maxim Solodovnik (1):
[select2] Make it possible to clear the input of Select2Choice and
  Select2MultiChoice (by @martin-g)
 
  klopfdreh (1):
[HTML5] - CSS Shapes
 
  schoemer (1):
CompoundRequestMapper: last registered mapper has highest priority
 
  Many thanks to all contributors !
 
  The WicketStuff team
 



 --
 Regards - Ernesto Reinaldo Barreiro




-- 
Thanks and regards
 Madasamy


Re: wicketstuff examples site down?

2015-02-10 Thread Tobias Soloschenko
Hi,

just tried it again and it is down again - it takes a long time and then a 502 
proxy error occures.

kind regards

Tobias

 Am 09.02.2015 um 09:26 schrieb Martin Grigorov mgrigo...@apache.org:
 
 up again
 
 Martin Grigorov
 Wicket Training and Consulting
 https://twitter.com/mtgrigorov
 
 On Sun, Feb 8, 2015 at 12:35 PM, Sebastien seb...@gmail.com wrote:
 
 It seems that it is down again... :s
 
 On Fri, Feb 6, 2015 at 8:45 AM, Ernesto Reinaldo Barreiro 
 reier...@gmail.com wrote:
 
 :-) That's why I did not have the problem. You are too fast :-)
 
 On Fri, Feb 6, 2015 at 7:43 AM, Martin Grigorov mgrigo...@apache.org
 wrote:
 
 It is up again.
 Thanks!
 
 Martin Grigorov
 Wicket Training and Consulting
 https://twitter.com/mtgrigorov
 
 On Fri, Feb 6, 2015 at 9:26 AM, Erki erki.pub...@gmail.com wrote:
 
 Hi,
 I am having trouble accessing the wicketstuff demo site
 http://wicket-library.com/wicket-examples-6.0.x/
 
 I get the following error:
 502 Error:
 
 
 Proxy Error
 The server could not connect to the back-end Apache, Tomcat, Resin,
 or
 JBoss
 server. This is usually because it has either crashed, or has not
 been
 started properly. Usually all that is needed to fix this is a
 restart.
 If
 you have restarted your back-end server and you are still having
 problems,
 you can usually find the cause by checking the logfiles both in your
 home
 directory and in the server-wide log directory. If all else fails,
 please
 contact support at supp...@kattare.com.
 
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/wicketstuff-examples-site-down-tp4669324.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
 
 
 
 --
 Regards - Ernesto Reinaldo Barreiro
 

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



Re: Wicket WebRTC Integration

2015-02-10 Thread Tobias Soloschenko

Hi,

short update - you are now able to:

* now activate / deactivate the volume bars
* set the MaxWidth / MaxHeight and
* set the Framerate which is going to be used for the videos.

I setup a little wiki because to scroll all the time was so annoying.

https://github.com/klopfdreh/wicket-components-playground/wiki/7.-HTML5-WebRTC-Integration

kind regards

Tobias

Am 31.01.15 um 00:49 schrieb Zala Pierre GOUPIL:

Hi,

Excellent work, congrats! And I'm talking about all your
wicket-components-playground project! I'll test your Wicket WebRTC
Integration and tell you how it goes.

In fact, I'm currently using a full JS WebRTC component (
https://code.google.com/p/webrtc4all/) but I'm not fully satisfied with it.
Hopefully, yours will do it for me.

Regards,

Pierre




On Fri, Jan 30, 2015 at 5:26 PM, Tobias Soloschenko 
tobiassolosche...@googlemail.com wrote:


Hi everybody,

I just implemented a component to provide a way to integrate a video
conference to Wicket applications using WebRTC - I would be very pleased to
receive feedback!

An installation of NodeJS is required.

https://github.com/klopfdreh/wicket-components-playground

(Scroll to section Wicket WebRTC Integration)

kind regards

Tobias
-
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: Wicket WebRTC Integration

2015-02-10 Thread Zala Pierre GOUPIL
Excellent! Please keep us informed about how it goes.

Regards,

Pierre




On Tue, Feb 10, 2015 at 10:08 PM, Tobias Soloschenko 
tobiassolosche...@googlemail.com wrote:

 Hi,

 short update - you are now able to:

 * now activate / deactivate the volume bars
 * set the MaxWidth / MaxHeight and
 * set the Framerate which is going to be used for the videos.

 I setup a little wiki because to scroll all the time was so annoying.

 https://github.com/klopfdreh/wicket-components-playground/
 wiki/7.-HTML5-WebRTC-Integration

 kind regards

 Tobias

 Am 31.01.15 um 00:49 schrieb Zala Pierre GOUPIL:

  Hi,

 Excellent work, congrats! And I'm talking about all your
 wicket-components-playground project! I'll test your Wicket WebRTC
 Integration and tell you how it goes.

 In fact, I'm currently using a full JS WebRTC component (
 https://code.google.com/p/webrtc4all/) but I'm not fully satisfied with
 it.
 Hopefully, yours will do it for me.

 Regards,

 Pierre




 On Fri, Jan 30, 2015 at 5:26 PM, Tobias Soloschenko 
 tobiassolosche...@googlemail.com wrote:

  Hi everybody,

 I just implemented a component to provide a way to integrate a video
 conference to Wicket applications using WebRTC - I would be very pleased
 to
 receive feedback!

 An installation of NodeJS is required.

 https://github.com/klopfdreh/wicket-components-playground

 (Scroll to section Wicket WebRTC Integration)

 kind regards

 Tobias
 -
 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




-- 
Si le sang ne coule pas assez chaud dans tes veines, je le répandrai sur le
sable pour qu'il bouille au soleil.


Re: Wicket WebRTC Integration

2015-02-10 Thread Martin Grigorov
Well done, Tobias!

@Maxim: is this something that Apache Openmeetings would be interested at ?


Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Feb 10, 2015 at 11:08 PM, Tobias Soloschenko 
tobiassolosche...@googlemail.com wrote:

 Hi,

 short update - you are now able to:

 * now activate / deactivate the volume bars
 * set the MaxWidth / MaxHeight and
 * set the Framerate which is going to be used for the videos.

 I setup a little wiki because to scroll all the time was so annoying.

 https://github.com/klopfdreh/wicket-components-playground/
 wiki/7.-HTML5-WebRTC-Integration

 kind regards

 Tobias

 Am 31.01.15 um 00:49 schrieb Zala Pierre GOUPIL:

  Hi,

 Excellent work, congrats! And I'm talking about all your
 wicket-components-playground project! I'll test your Wicket WebRTC
 Integration and tell you how it goes.

 In fact, I'm currently using a full JS WebRTC component (
 https://code.google.com/p/webrtc4all/) but I'm not fully satisfied with
 it.
 Hopefully, yours will do it for me.

 Regards,

 Pierre




 On Fri, Jan 30, 2015 at 5:26 PM, Tobias Soloschenko 
 tobiassolosche...@googlemail.com wrote:

  Hi everybody,

 I just implemented a component to provide a way to integrate a video
 conference to Wicket applications using WebRTC - I would be very pleased
 to
 receive feedback!

 An installation of NodeJS is required.

 https://github.com/klopfdreh/wicket-components-playground

 (Scroll to section Wicket WebRTC Integration)

 kind regards

 Tobias
 -
 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




Wicket 6 onmouseover and onclick event misbehavior

2015-02-10 Thread avchavan
Hi,

I am having a component with both onmouseover and onclick behavior.
onmouseover behavior works but the onclick event never gets triggered.
If i just keep the onclick event then it works.

Code:

firstContainer2.add(new AjaxEventBehavior(onclick) {
@SuppressWarnings({ unchecked, 
rawtypes })
@Override
protected void onEvent(final 
AjaxRequestTarget target) {
for(Component acc:
(ListViewString)mainContainer.get(list2)){
final Component accord = (Component)
acc.get(descriptionContainer2);
if(accord.isVisible()){
accord.setVisible(false);
target.add(accord);
}
Component firstCont2 = 
acc.get(firstContainer2);
firstCont2.add(new 
AttributeModifier(class, ));
Component lArrow2 = 
firstCont2.get(leftArrow2);
lArrow2.add(new 
AttributeModifier(class,
tableIconArrowLeft));
target.add(firstCont2);
}
descriptionContainer2.setVisible(true);
firstContainer2.add(new 
AttributeModifier(class, info
table-hover));
leftArrow2.add(new AttributeModifier(class,
tableIconArrowDown));
target.add(firstContainer2);
target.add(descriptionContainer2);
}
});

firstContainer2.add(new 
AjaxEventBehavior(mouseover){

@Override
protected void 
onEvent(AjaxRequestTarget target) {
if(firstContainer2.getStyle() 
== null ||
!firstContainer2.getStyle().equalsIgnoreCase(ex)){
firstContainer2.add(new 
AttributeModifier(class, ex));

target.add(firstContainer2);
}
}

});

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-6-onmouseover-and-onclick-event-misbehavior-tp4669442.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