This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SpringBean | |
User1Dao user1Dao; | |
private User1 user1 = new User1(); | |
... | |
final FileUploadField fileUpload = new FileUploadField("fileUpload",new PropertyModel(user1, "photo")); | |
form.add(fileUpload); | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unexpected RuntimeException | |
Last cause: Could not convert value: [org.apache.wicket.markup.html.form.upload.FileUpload@5929cfd1] to type: [B. Could not find compatible converter. | |
WicketMessage: Method onRequest of interface org.apache.wicket.behavior.IBehaviorListener targeted at org.apache.wicket.ajax.markup.html.form.AjaxButton$1@7e251138 on component [AjaxButton [Component id = submit]] threw an exception | |
Stacktrace | |
Root cause: | |
org.apache.wicket.util.convert.ConversionException: Could not convert value: [org.apache.wicket.markup.html.form.upload.FileUpload@5929cfd1] to type: [B. Could not find compatible converter. | |
at org.apache.wicket.ConverterLocator$DefaultConverter.convertToObject(ConverterLocator.java:121) | |
at org.apache.wicket.core.util.lang.PropertyResolverConverter.convert(PropertyResolverConverter.java:95) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="fileupload fileupload-new" data-provides="fileupload"> | |
<div class="fileupload-new thumbnail" style="width: 140px; height: 140px;"> | |
<img alt="Apache Wicket" src="https://googledrive.com/host/0BwZ-K9WC0XGBWjZQMW1oMWprUm8/fotograf140.png"> | |
</div> | |
<div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 140px; max-height: 140px;"></div> | |
<div> | |
<span class="btn btn-default btn-file"><span class="fileupload-new">Choose Photo</span><span class="fileupload-exists">change</span><input wicket:id="fileUpload" type="file"/></span> | |
<a href="#" class="btn btn-default fileupload-exists" data-dismiss="fileupload">Remove</a> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class User1 extends DomainObject { | |
... | |
... | |
... | |
@Lob | |
private byte[] photo; | |
public byte[] getPhoto() { | |
return photo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
login as: root | |
root@178.62.216.84's password: | |
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-37-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
System information as of Sat Dec 13 16:55:22 EST 2014 | |
System load: 0.0 Processes: 88 | |
Usage of /: 10.8% of 19.56GB Users logged in: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
login as: root | |
root@178.62.216.84's password: | |
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-37-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
System information as of Sat Dec 13 19:45:00 EST 2014 | |
System load: 0.08 Processes: 84 | |
Usage of /: 10.7% of 19.56GB Users logged in: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dec 13 07:17:01 berkademconsulting CRON[5480]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) | |
Dec 13 08:17:01 berkademconsulting CRON[6726]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) | |
Dec 13 09:03:21 berkademconsulting mysqld_safe[10481]: 141213 9:03:21 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead. | |
Dec 13 09:03:21 berkademconsulting mysqld_safe[10481]: 141213 9:03:21 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead. | |
Dec 13 09:03:21 berkademconsulting mysqld_safe[10481]: | |
Dec 13 09:03:21 berkademconsulting mysqld_safe[10481]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! | |
Dec 13 09:03:21 berkademconsulting mysqld_safe[10481]: To do so, start the server, then issue the following commands: | |
Dec 13 09:03:21 berkademconsulting mysqld_safe[1048 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
login as: root | |
root@178.62.216.84's password: | |
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-37-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
System information as of Sat Dec 13 21:44:07 EST 2014 | |
System load: 0.0 Processes: 82 | |
Usage of /: 10.7% of 19.56GB Users logged in: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
login as: root | |
root@178.62.216.84's password: | |
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-37-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
System information as of Mon Dec 15 09:12:41 EST 2014 | |
System load: 0.0 Processes: 84 | |
Usage of /: 10.7% of 19.56GB Users logged in: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
login as: root | |
root@178.62.216.84's password: | |
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-37-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
System information as of Mon Dec 15 10:13:08 EST 2014 | |
System load: 0.01 Processes: 84 | |
Usage of /: 10.7% of 19.56GB Users logged in: 1 |
OlderNewer