HTML & CSS implementation
Hello there community! So I have decided to use Apache Wicket for my bachelor's thesis! :) I'm very new here. I have written a Java program, whose input is two (2) Strings (two names). The ouptut is certain arraylists, not quite relevant here. So far I've managed to print the output in a blank internet page using localhost. I have created a fairly simple UI using HTML and CSS. Much like a login screen requires username and password, this menu requires String1 and String2. What I wish to do is the following: I want the values of the two Strings, that are manualy assigned in the Java code, to be the values entered in the two boxes of the UI, and when the "Run" button is pressed, the user is redirected to another page, where the output for the two Strings is printed. I would like some advice as to how this is implemented and where to look. If anyone is willing to provide more specific info, I can of course provide you with the code (only the few bits mentioned above are of any importance, no need to waste your time by having you look into it in detail.) I would greatly appericiate any help I can get!! Thanks in advance everyone! And thank you community for being extremely helpful in the past! Cheers, George - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Odd Error
I am simply trying to implement an existing example of The RepeatingView Component as it is displayed in the documentation. The .html file: Apache Wicket HelloWorld [Label's message goes here] (NOTE: If I use "listItems" instead of ':listItems' as it is in the tutorials, I get another error specifically telling me that ':listItems' was expected instead...) and in the Java file I am only adding initializing & components: RepeatingView listItems = new RepeatingView("listItems"); listItems.add(new Label(listItems.newChildId(), "green")); listItems.add(new Label(listItems.newChildId(), "blue")); listItems.add(new Label(listItems.newChildId(), "red")); } } Instead of the components being displayed, the server either denies me access or returns me this error: Last cause: This container is already dequeing: [Page class = com.thesis.HomePage, id = 0, render count = 0] Any ideas, anyone? Thanks in advance!! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Newbie Question
The question is about as simple as it gets: in the HelloWorld! example a single String is printed on the server by adding one new Label in the .java file in a such manner: add(new Label("id", "what I actualy want to print"); Therefore, in order to print a single string I must've predefined it the .html file: "Message goes here" The question is: how do I print the contents of an ArrayList with an unknown and non-static ammount of Strings? In other words, how do I print a number of Strings without having predefined their ammount in the html file ? Thanks in advance! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org