Re: Loading Javascript for wicket component

2015-05-29 Thread MartinoSuperman
When you use the 'target' of AjaxRequestTarget, you can use the method appendJavaScript(..) in it. You can call a function in JavaScript in it. In that way, you are loading a JavaScript with and for a Wicket component. -- View this message in context:

Making RadioChoice horizontal

2015-05-29 Thread MartinoSuperman
Dear, I made a RadioChoice on my Wicket web page with 3 radio buttons in it. These radio buttons in this RadioChoice are shown vertically. I want to make those horizontally. Can someone tell me how to do that? -- View this message in context:

Redirecting to another Wicket after 5 seconds

2015-05-22 Thread MartinoSuperman
Dear, I want to make a timer on a WicketPage. When my Wicket website starts at the begin page, it must redirect after 5 seconds to another. I already have the following code: = public final class TimerTestPage extends WebPage { Timer timer; public

Re: Sign to Google with Java Wicket

2013-11-24 Thread MartinoSuperman
Hi, Thanks for your help. I tried it in 2 ways: Here are the codes: 1. public class GoogleClientLogin { /** * @param args the command line arguments */ public static void main(String[] args) throws IOException, URISyntaxException { //Open the Connection URL

Sign to Google with Java Wicket

2013-11-21 Thread MartinoSuperman
Hi, Does someone know how to open a Google account in Java (Wicket) and how to close it again? I read several pages about it on the internet, but I cannot figure it out. I accomplished to open a connection to GoogleMail, after which a mail is being sent via the SMTP server of Google. Now, I

PackageResource

2013-11-18 Thread MartinoSuperman
Hi For my website, I am using a ResourceReference, in which a PNG file is loaded to show it on the web page. The PNG picture shown well, but when I change that PNG picture by redrawing it in Java with the help of Graphics2D, you still see the former PNG picture on the web page, whereas the

Refreshing PNG picture in web page after redrawing it.

2013-11-18 Thread MartinoSuperman
Hi For my website, I am using a ResourceReference, in which a PNG file is loaded to show it on the web page. The PNG picture shown well, but when I change that PNG picture by redrawing it in Java with the help of Graphics2D, you still see the former PNG picture on the web page, whereas the

Re: Advice for upgrading from an old version of Wicket

2013-11-18 Thread MartinoSuperman
When you use a different version of Wicket, check, if the version is the same in NetBeans. Otherwise, it will be get stuck... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Advice-for-upgrading-from-an-old-version-of-Wicket-tp4662469p4662488.html Sent from the

Re: Rendering a component into a String

2013-11-18 Thread MartinoSuperman
What I do in solving such problems, is making my own custom component class in Java, in which extension takes place. Example: I wanted to get text out of a TextField. Example code: TextFieldString tfExample = new TextFieldString(name, Model.of*)) This example code generates an empty text

Signing in works on localhost but not on VPS server

2013-11-06 Thread MartinoSuperman
Hello, I made authentication and authorization in my website. Signing in works perfectly on my own computer on localhost, but it does not work on my VPS server. I installed everything according to plan. But now I want to sign in and that does not work. Does someone know what the cause of

Re: Installing Wicket application on a VPS server - How?!

2013-11-02 Thread MartinoSuperman
Hi David, Thanks for your help and answer. I tried what you did. In the command line, I deployed an example WAR file of Oracle hello.war according to the descriptions of the following link: http://docs.oracle.com/cd/E18930_01/html/821-2432/geyvr.html#ghgis And that worked. But now, I

Installing Wicket application on a VPS server - How?!

2013-10-31 Thread MartinoSuperman
Hi, I have a website address online on the internet. It is a VPS server. Here, I installed Glassfish 3 and it works perfect. But now, I would like to upload the Wicket Application I built on the VPS server running on GlassFish. So, when you go to the website address in Internet Explorer, you

Re: Add or remove a row in RefreshingView with Ajax

2013-10-25 Thread MartinoSuperman
Hi, Thanks for the advice. You're right. I also read those pages. I already implemented it. But now my question is: I put the RefreshingView in a panel. And that panel is situated a WebMarkupContainer. After I pressed the button on submit of Ajax, the RefreshingView should refresh, but still

Add or remove a row in RefreshingView with Ajax

2013-10-24 Thread MartinoSuperman
Hi, I have a RefreshingView, which consists of TextFields, Labels and a DownloadLink. When a button is pressed, a new row should be added with the help of Ajax. Unfortunately, this does not work. Can somebody tell me what I have to program to make adding and removing rows in RefreshingView

Requirements for a progress bar in a file upload form

2013-10-23 Thread MartinoSuperman
Hi, I built a form in Wicket, in which a file can be uploaded to the server. Furthermore, to show the progress of uploading I also built in a progress bar. The problem now is that that progress bar does not work. I do not know what I forgot to implement and/or what I did. I think I forgot

Authorization problem in frames

2013-10-16 Thread MartinoSuperman
Hi, The website I am building has frames like this: http://www.wicket-library.com/wicket-examples-6.0.x/frames/ I also built in authentication and authorization in it. In the previous version of it, you got on a page, in which you were to subscribe to get access (authentication) to the website.

Re: Browser Page Refresh Not Really Refreshing

2013-10-16 Thread MartinoSuperman
Hi, Isn't it an idea to use Javascript for this? In JavaScript, it is also possible to refresh a page? Example code: http://www.quackit.com/javascript/javascript_refresh_page.cfm -- View this message in context:

Refresh whole site with iframes

2013-10-05 Thread MartinoSuperman
Hi, I am using frames in Wicket in the website I am building. Unfortunately, when I sign out in my authenticated webapplication it only refreshes that frame. The other irames not. I am using this technique of frames: http://www.wicket-library.com/wicket-examples/frames/ So, my question is as

Re: Refresh whole site with iframes

2013-10-05 Thread MartinoSuperman
Hi, They are all running on the same wicket app. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Refresh-whole-site-with-iframes-tp4661720p4661724.html Sent from the Users forum mailing list archive at Nabble.com.

Error in authentication

2013-10-03 Thread MartinoSuperman
Hi, I have an authentication error. I do not know what I am doing wrong. The error is as follows: Last cause: org.apache.wicket.authroles.authentication.AuthenticatedWebSession.authenticate(Ljava/lang/String;Ljava/lang/String;)Z WicketMessage: Method onFormSubmitted of interface

Re: Error in authentication

2013-10-03 Thread MartinoSuperman
Hi, Thanks!!! I changed the version of wicket-auth-roles to 6.0.0. That is the version I use in my wicket-core. But now, I am getting a different. Now a warning: WARNING: Couldn't resolve model type of Model:classname=[org.apache.wicket.model.PropertyModel]:nestedModel=[]:expression=[username]

Internal frame in Wicket Page to external website

2013-08-22 Thread MartinoSuperman
Hi, I am building a website in Wicket. I would like to make an iframe that points to an external website. Does someone know what code I have to use for that in Java? Thank you in advance! Martino -- View this message in context: