Re: applet in wicket .. exception thrown ...
Problem adding an applet to wicket still remains the same.. can some 1 help James Carman-3 wrote: > > Email me the HelloWorld.class file directly. I can probably send you > back a working quickstart pretty quickly > > > On Fri, Dec 18, 2009 at 11:58 AM, local_shamil > wrote: >> >> the WEBAPP folder is in the SRC/MAIN/ folder... and the Helloworld.class >> file >> is in that ... >> >> :( >> >> >> James Carman-3 wrote: >>> >>> Look in your actual output folder (where the webapp is run from, >>> typically target/webapp or something like that). Is the >>> HelloWorld.class file there? >>> >>> On Fri, Dec 18, 2009 at 11:52 AM, local_shamil >>> wrote: well this is what i did ,, i created a quickstart wicket project ,,, then i added all the .java files including the applet.java file in to the src/main/java/ folder ... then when i run jetty, the files get complied and saved in the target/classes/ folder . so what i did was, i copied the applet.class file and pasted it in my WEBAPP folder . then i added ; in my html but what i get is a NOCLASSFOUND error to insert an image i copied the image to the webapp folder and had the following HTML code Image039.jpg then it worked ... Why isn' wicket identifying the applet.class file which is in the WEBAPP folder ?? help James Carman-3 wrote: > > Are you mounting your page at all? > > On Fri, Dec 18, 2009 at 11:36 AM, local_shamil > wrote: >> >> In the same folder ... but it doesn't work in this >> >> >> >> >> James Carman-3 wrote: >>> >>> Where do you put it for a normal non-wicket webapp using static html >>> pages? >>> >>> On Fri, Dec 18, 2009 at 11:31 AM, local_shamil >>> wrote: can some one please tell me , where to put the applet class file? is it inside the webapp folder ? i have used a quickstart wicket project .. please help ... Aiszone wrote: > > Try enabled logging on your webserver - that way you can see, > where > it > tries > to retrieve the class files from. > It's a bit hard helping you, since I don't know the structure of > your > app, > but I have an application running with multiple applets included, > and > it > works fine with Wicket - as long, as the setup is correct. > > > On Wed, Dec 16, 2009 at 11:27 AM, Shamil > wrote: > >> i need to add an applet to wicket.. and this is what i did... i >> wrote >> an >> applet and complied it.. i copied the class file of this applet >> and >> inserted >> it in to the webapp folder . >> >> and i inserted this in my HTML file... >> >> >> >> but still i get a class not found exception , why is that how do >> i >> resolve >> it ??? >> >> any clue ?? >> > > > > -- > Med venlig hilsen/Best regards > > Anders Sørensen > > -- View this message in context: http://old.nabble.com/applet-in-wicket-..-exception-thrown-...-tp26814020p26845958.html Sent from the Wicket - User 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 >>> >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/applet-in-wicket-..-exception-thrown-...-tp26814020p26846071.html >> Sent from the Wicket - User 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 > > > -- View this message in context: http://old.nabble.com/applet-in-wicket-..-exception-thrown-...-tp26814020p26846271.html Sent
Re: @RequireHttps - forms misbehaving
Hi VGJ, If, as you say you can reproduce this in your storefront app no matter where you use it then you may want to reduce this to a testcase and create a jira issue from it. You are already writing that you can reproduce it and consequently it would be only a matter of removing all distracting detail from your storefront until further simplification is no longer possible. I can't see how otherwise anyone could help you with your issue. In any case, glitches like you mention should not happen whether the problem is in the Wicket framework domain or in the application domain. If it is in the application domain, as it would usually be the case because Wicket is mature, then there would still be a benefit of publishing the issue e.g. in a Wiki article so that others would not make the same mistake. Good luck! Bernard On Fri, 18 Dec 2009 14:58:15 -0700, you wrote: >I was unable to re-create it in a simple web app w/ a few pages. However, >no matter where I use it in my storefront app, it happens. > >It's very strange because it starts a page "late". I put the annotation on >the User Account page, yet it doesn't switch to https until I reach the >*following* page in the checkout process. I just stuck it on the general >Login page that exists outside of the checkout process...and when I click >the link from the home page to go to the Login page using >setResponsePage(new Login()), it doesn't switch to https. Instead, I enter >the user/pass and submit...THEN it goes to https, then I'm able to re-enter >and login. > >Very strange behavior...I have no idea what might be causing it. > >I use various Panels throughout the side, would that have any influence on >it? For example, the link in the header to go to the Login page is inside >of a straightforward Panel. The entire site uses markup inheritance as >well. > >On Fri, Dec 18, 2009 at 9:29 AM, VGJ wrote: > >> I'll create one and post it, if I can. >> >> -v >> >> >> On Fri, Dec 18, 2009 at 9:21 AM, Igor Vaynberg >> wrote: >> >>> can you recreate in a quickstart? >>> >>> -igor >>> >>> On Fri, Dec 18, 2009 at 7:56 AM, VGJ wrote: >>> > I'm now using @RequireHttps to switch to https on certain pages but it's >>> not >>> > quite working right. >>> > >>> > In our storefront app, I'm switching to https at the point in the >>> checkout >>> > process where you view your cart, and then proceed to a page to either >>> login >>> > or create an account. When I submit my username and password, the >>> > validation fires as if I entered nothing into the form. Enter it a >>> second >>> > time and it works - the validation doesn't trigger. Everything was >>> entered >>> > correctly the first time around...so it's as if the form is being posted >>> on >>> > its own, when the page loads? Every page with @RequireHttps that has a >>> > form, does this. >>> > >>> > What do I need to do to change to accommodate validation under >>> @RequireHttps >>> > pages? >>> > >>> > Currently you just see a lot of forms w/ fields like this: >>> > >>> > add(new TextField("username").setRequired(true)); >>> > >>> > ...with a pretty common feedback panel: >>> > >>> > >>> > >>> > >>> > >>> > Thanks! >>> > >>> > -v >>> > >>> >>> - >>> 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: Location of css and js files
Hi Alex, I'm after best practice for css/img and js locations. I know there are many ways to do something, I'm after a recommendation as to what is the best way to do this in wicket. The way that allows the html markup to be opened by the web designer showing the same page view that appears at runtime. Thanks Dale -Original Message- From: Alex Rass [mailto:a...@itbsllc.com] Sent: Monday, 21 December 2009 5:03 p.m. To: users@wicket.apache.org Subject: RE: Location of css and js files Global resources you can reference "globally". Use can use the non-wicket links. Container hosts folders you can use. Idea behind this is to use components which are fully contained. Hence (all in one place). If this doesn't suit you - there are bunch of tutorials on how to load resources from elsewhere. - Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Location of css and js files
Global resources you can reference "globally". Use can use the non-wicket links. Container hosts folders you can use. Idea behind this is to use components which are fully contained. Hence (all in one place). If this doesn't suit you - there are bunch of tutorials on how to load resources from elsewhere. - Alex -Original Message- From: Dale Ogilvie [mailto:dale.ogil...@trimble.co.nz] Sent: Sunday, December 20, 2009 10:41 PM To: users@wicket.apache.org Subject: RE: Location of css and js files Thanks Igor. So having your css and js collected off under another path is not the wicket way? Are you saying the following for best-practice: com/acme/myweb HelloWorldPage.java HelloWorldPage.html style.css Javascript.js What about images used by the css? Would these live alongside the style.css as well? -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Monday, 21 December 2009 4:23 p.m. To: users@wicket.apache.org Subject: Re: Location of css and js files and have the files in the same package as the page -igor On Sun, Dec 20, 2009 at 7:21 PM, Dale Ogilvie wrote: > > Hello, > > For html page markup containing style and javascript, what is the best > practice for positioning the css and js files, so that they are > available both at design time, and at run time? > > I want the designer to be able to see the markup in full glory, while > still having this translate properly at run-time. > > I'm thinking of an html file such as: > > > > type="text/javascript" src="javascript.js">class="pretty" onclick="doit();">Hello world > > If this markup is alongside the java source, that would imply that the > css and js would also have to be there. But tradition would have these > files under a sub directory like so: > > ... > > ... > > What is the wicket way? > > Thanks! > > Dale > > - > 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: Location of css and js files
Thanks Igor. So having your css and js collected off under another path is not the wicket way? Are you saying the following for best-practice: com/acme/myweb HelloWorldPage.java HelloWorldPage.html style.css Javascript.js What about images used by the css? Would these live alongside the style.css as well? -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Monday, 21 December 2009 4:23 p.m. To: users@wicket.apache.org Subject: Re: Location of css and js files and have the files in the same package as the page -igor On Sun, Dec 20, 2009 at 7:21 PM, Dale Ogilvie wrote: > > Hello, > > For html page markup containing style and javascript, what is the best > practice for positioning the css and js files, so that they are > available both at design time, and at run time? > > I want the designer to be able to see the markup in full glory, while > still having this translate properly at run-time. > > I'm thinking of an html file such as: > > > > type="text/javascript" src="javascript.js">class="pretty" onclick="doit();">Hello world > > If this markup is alongside the java source, that would imply that the > css and js would also have to be there. But tradition would have these > files under a sub directory like so: > > ... > > ... > > What is the wicket way? > > Thanks! > > Dale > > - > 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: Location of css and js files
and have the files in the same package as the page -igor On Sun, Dec 20, 2009 at 7:21 PM, Dale Ogilvie wrote: > > Hello, > > For html page markup containing style and javascript, what is the best > practice for positioning the css and js files, so that they are > available both at design time, and at run time? > > I want the designer to be able to see the markup in full glory, while > still having this translate properly at run-time. > > I'm thinking of an html file such as: > > > > > > > > Hello world > > > > If this markup is alongside the java source, that would imply that the > css and js would also have to be there. But tradition would have these > files under a sub directory like so: > > ... > > > ... > > What is the wicket way? > > Thanks! > > Dale > > - > 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
Location of css and js files
Hello, For html page markup containing style and javascript, what is the best practice for positioning the css and js files, so that they are available both at design time, and at run time? I want the designer to be able to see the markup in full glory, while still having this translate properly at run-time. I'm thinking of an html file such as: Hello world If this markup is alongside the java source, that would imply that the css and js would also have to be there. But tradition would have these files under a sub directory like so: ... ... What is the wicket way? Thanks! Dale - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: ObjectAutoCompleteField and specifying the fields from the object to use
Nevermind. I ended up going with this approach where I could separate the values: http://cwiki.apache.org/WICKET/autocomplete-using-a-wicket-model.html I will add my code snippet to the page. cheers, Steve On 21/12/2009, at 11:57 AM, Steve Swinsburg wrote: > Hi, > > I am using ObjectAutoCompleteField from WicketStuff and it looks like what I > need for my scenario: > > I have an object list with a bunch of fields and when the user searches, it > needs to match on a certain field and display the list of matches. The > examples do this with a Car object with an Integer field for the ID and a > String for the car name. > > However, there seems to be no way to tell it *what* fields to use in the > supplied object. You can only give the component the Type of fields to look > up, and it gets the field to use by reflection. This assumes only one field > in that object will be of that Type. > > ie > > How could I make it would with a list of these objects: > > class Person { > > String userId; > String displayName; > ... > > } > > Giving the ObjectAutoCompleteField the types won't work, it > won't know what field to use. > > > List persons = getPersons(); > > ObjectAutoCompleteBuilder builder = new > ObjectAutoCompleteBuilder( > new AutoCompletionChoicesProvider() { > public Iterator getChoices(String input) { > List subSet = getPersonSubSet(persons, > input); > return subSet.iterator(); > } > } > ); > ObjectAutoCompleteField toField = builder.build("toField", new > Model()); > form.add(toField); > > > Any ideas? > > thanks, > Steve
[announce] wicket 1.4.5 released
The Apache Wicket project is proud to announce the fifth maintenance release of Apache Wicket 1.4. Download Apache Wicket 1.4.5 -- You can download the release here: http://www.apache.org/dyn/closer.cgi/wicket/1.4.5 Or use this in your Maven pom's to upgrade to the new version: org.apache.wicket wicket 1.4.5 Changes - A complete list of changes can be found here: https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&sorter/order=DESC&sorter/field=priority&pid=12310561&fixfor=12314441 We thank you for your patience and support. -The Wicket Team - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
ObjectAutoCompleteField and specifying the fields from the object to use
Hi, I am using ObjectAutoCompleteField from WicketStuff and it looks like what I need for my scenario: I have an object list with a bunch of fields and when the user searches, it needs to match on a certain field and display the list of matches. The examples do this with a Car object with an Integer field for the ID and a String for the car name. However, there seems to be no way to tell it *what* fields to use in the supplied object. You can only give the component the Type of fields to look up, and it gets the field to use by reflection. This assumes only one field in that object will be of that Type. ie How could I make it would with a list of these objects: class Person { String userId; String displayName; ... } Giving the ObjectAutoCompleteField the types won't work, it won't know what field to use. List persons = getPersons(); ObjectAutoCompleteBuilder builder = new ObjectAutoCompleteBuilder( new AutoCompletionChoicesProvider() { public Iterator getChoices(String input) { List subSet = getPersonSubSet(persons, input); return subSet.iterator(); } } ); ObjectAutoCompleteField toField = builder.build("toField", new Model()); form.add(toField); Any ideas? thanks, Steve
Re: Java Wicket Job Opportunity, Finland
Hi Martin, I'm Interested in an international professional experience. That position for a short duration? If so, give me some information about, thank you On Sat, Dec 19, 2009 at 8:21 AM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > Hi! > > We are looking for talented individuals to work with us on our online > products. > > Development tools include: > * java + wicket > * m2eclipse, eclipse ide > * jpa + hibernate > * javascript + jquery > > Contact me for more information if you are interested. > > ** > Martin > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Pedro Henrique Oliveira dos Santos
Logging configuration trouble
Hi list, I'm using Java Utils Logging along with Wicket and I have a log.properties which I read in the WicketApplication init method as follows: java.util.logging.LogManager.getLogManager().readConfiguration(input); I confirm that my log.properties is read in correctly using a debugger. --- My log.properties file is as follows: # Specify the handlers to create in the root logger # (all loggers are children of the root logger) # The following creates two handlers handlers = java.util.logging.ConsoleHandler, java.util.logging.FileHandler # Set the default logging level for the root logger .level = WARNING # Set the default logging level for new ConsoleHandler instances java.util.logging.ConsoleHandler.level = ALL java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter # Set the default logging level for new FileHandler instances java.util.logging.FileHandler.level = ALL java.util.logging.FileHandler.pattern = %h/stagetwo.log java.util.logging.FileHandler.limit = 5 java.util.logging.FileHandler.count = 1 java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter # Set the default logging level for the logger named com.truecool com.truecool.stagetwo.level = WARNING org.apache.wicket.level = WARNING org.apache.wicket.markup.resolver.WicketMessageResolver.level = SEVERE # Hibernate Logging options #logger.org.hibernate=info org.hibernate.level = WARNING --- For whatever reason I'm still getting all the WicketMessageResolver warnings in my logs. Any suggestions on how to get rid of the WicketMessageResolver warnings? Thanks, Martin Zardecki - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Java Wicket Job Opportunity, Finland
hello, I am very interested. please contact me chinedub...@gmail.com thank you On 12/19/09, Martin Makundi wrote: > Hi! > > We are looking for talented individuals to work with us on our online > products. > > Development tools include: > * java + wicket > * m2eclipse, eclipse ide > * jpa + hibernate > * javascript + jquery > > Contact me for more information if you are interested. > > ** > Martin > > - > 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: WicketStuff and wicket-contrib-javaee
Just wondering why must a local ejb be declared in web.xml? It would be a nightmare if we have hundreds of them. xiefei 20091220 > Date: Thu, 10 Dec 2009 15:56:22 +0100 > From: majorpe...@sch.bme.hu > Subject: Re: WicketStuff and wicket-contrib-javaee > To: users@wicket.apache.org > > Hi guys, > > I now have commit rights to wicketstuff, but first I need to finish my > thesis and take some exams, but hopefully soon, the javaee-inject > project (had to rename the project) will appear in wicketstuff-core. ;) > Also because the rename, some package-renaming will happen too. As soon > as I'm finished with the modifications, will announce the new version on > the list. (also I will update the docs and the corresponding wiki page, > and theres gonna be new example applications too) > > Best Regards, > Peter > > 2009-12-09 02:38 keltezéssel, b...@actrix.gen.nz írta: > > Hi Peter, > > > > When my response has "EJB" in it, it can't be MASSIVE because EJB, you > > hardly worry about it. > > > > EJB is great, easy to use, and Wicket with EJB is even better. VERY > > powerful combination. The thing is it just works, and there is no need > > to talk about it much, especially with the NetBeans Wicket plugin, > > NetBeans automatic Deploy on Save, refactoring support etc.. > > > > Many thanks for your contribution in this area. > > > > Bernard > > > > On Wed, 09 Dec 2009 11:51:18 +1100, you wrote: > >> > >> Hey Peter, > >> > >> Well, it would appear there hasn't been a massive response to your > >> question (which IMHO appears to be pretty common whenever you mention > >> EJB on this list), but anyway I'm very interested in what you've done > >> and I really hope you can take over the maintenance of > >> wicket-contrib-javaee. > >> > >> Thanks, > >> Alan. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > _ 立刻下载最新版 Windows Live Messenger! http://www.windowslive.cn
Re: Java Wicket Job Opportunity, Finland
On Sat, 19 Dec 2009 18:12:48 -0800, shetc wrote: > Finland, Finland, Finland > The country where I quite want to be! ^^^ Not the best job application I've seen :-) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org