Re: Foundation integrated in wicket
Do you have it on maven central? Can I get the GAV coordinates? Better yet, git hub? Have a great day, Paul Bors > On Jul 30, 2014, at 3:47 AM, vp143 wrote: > > I have implemented Foundation from Zurb with Wicket, currently using version > 3 though. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Foundation-integrated-in-wicket-tp4666792p4666796.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 > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: is it possible to add a css class to FormComponent.setLabel()?
Hi, lucast wrote: > Dear Forum, > Currently, I make heavy use of TextField.setLabel(). > If adding a css field to TextField is as easy as TextField.add(new > AttributeAppender("class", " TestCSSClass ")); then: > > How can I add a CSS class to that has been created for TextField? I don't think that TestField#setLabel has anything to do with markup generation -- it won't generate a tag. Instead, it is used for validation messages "...${label}..." (see javadoc). Just use regular HTML in your markup file: Your Textfield The wicket:message stuff is Wicket's I18N and not strictly required. However, using it, you can use a StringResourceModel as the argument to setLabel to get the same property value, so your label in the markup/HTML corresponds to the label displayed in validation error messages. > > Thanks in advance, > Lucas Hope this helps, bye, Stefan > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/is-it-possible-to-add-a-css-class-to-FormComponent-setLabel-tp4666801.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 > -- im Auftrag der eFonds Solutions AG, +49-89-579494-3417 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Wicketstuff restannotations example throws IllegalStateException: STREAMED with https
Thanks Andrea. I'm working this out. Now I have one more question: How can I return an Http 401 Status Code of Unauthorized if the password is incorrect? I know I can return values, such as the PersonPojo in the example, and I can return error messages from the from a registered validator, but I think it is standard to return 401 on authentication failure. Can I return a Status Code? Bruce -Original Message- From: Andrea Del Bene [mailto:an.delb...@gmail.com] Sent: Friday, August 01, 2014 12:26 PM To: users@wicket.apache.org Subject: Re: Wicketstuff restannotations example throws IllegalStateException: STREAMED with https I would pass them as request parameters... > Andrea, > > I have the SSL working fine when I call it from a Java program using > HttpsURLConnection. So it was something with "curl." > > I wonder if you could suggest how I could pass a username and password > along with the json string and authenticate the request. > > Thanks, > > Bruce > - 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: URL to resource
Nevermind, I found the urlFor method on the component. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/URL-to-resource-tp4666839p4666842.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
Re: Lightbox2 Integration
Thx. Any idea when that is likely to be? Nigel On Friday, August 1, 2014, Martin Grigorov wrote: > They will be released with WicketStuff 6.17.0 soon after Wicket 6.17.0 is > released. > On Jul 31, 2014 11:39 PM, "Nigel W" > > wrote: > > > These fixes seem to be exactly what I need. How do I get hold of them? > > > > Thanks, > > > > Nigel > > > > > > On Fri, Jul 18, 2014 at 11:24 AM, Martin Grigorov > > > wrote: > > > > > Thanks a lot! > > > > > > Martin Grigorov > > > Wicket Training and Consulting > > > https://twitter.com/mtgrigorov > > > > > > > > > On Fri, Jul 18, 2014 at 6:23 PM, Jered Myers < > > jer...@maplewoodsoftware.com > > > > > > > wrote: > > > > > > > Done > > > > > > > > > > > > On 07/18/2014 12:44 AM, Martin Grigorov wrote: > > > > > > > >> Can you send a PR for master branch (Wicket 7) too ? > > > >> git cherry-pick fails to do it automatically :-/ > > > >> > > > >> Martin Grigorov > > > >> Wicket Training and Consulting > > > >> https://twitter.com/mtgrigorov > > > >> > > > >> > > > >> On Fri, Jul 18, 2014 at 9:34 AM, Martin Grigorov < > > mgrigo...@apache.org > > > > >> wrote: > > > >> > > > >> Thank you! > > > >>> > > > >>> Martin Grigorov > > > >>> Wicket Training and Consulting > > > >>> https://twitter.com/mtgrigorov > > > >>> > > > >>> > > > >>> On Thu, Jul 17, 2014 at 7:05 PM, Jered Myers < > > > >>> jer...@maplewoodsoftware.com > > > >>> > > > wrote: > > > I added the pull request for lightbox2. lightbox2-examples didn't > > > need > > > to be updated. > > > > > > Jered > > > > > > > > > On 07/17/2014 12:27 AM, Martin Grigorov wrote: > > > > > > Hi, > > > > > > > > Do you want to contribute back ? > > > > Please create a Pull Request at with the updates/fixes at > > > > https://github.com/wicketstuff/core > > > > Thanks! > > > > > > > > Martin Grigorov > > > > Wicket Training and Consulting > > > > https://twitter.com/mtgrigorov > > > > > > > > > > > > On Thu, Jul 17, 2014 at 12:14 AM, Jered Myers < > > > > jer...@maplewoodsoftware.com > > > > > wrote: > > > > > > > > The WicketStuff version of the JavaScript file was out of date. > > > > After I > > > > > > > >> fixed the JavaScript both the thumbnail and full image > displayed. > > > The > > > >> close image icon still wasn't showing, so I just rolled my own > > > version > > > >> from > > > >> http://lokeshdhakar.com/projects/lightbox2/. I think all that > > > needs > > > >> to > > > >> be done to fix WicketStuff is to copy down the resource files > and > > to > > > >> add > > > >> the data-lightbox attribute to onComponentTag in LightboxLink. > > > >> > > > >> Jered > > > >> > > > >> > > > >> On 07/14/2014 10:37 AM, Jered Myers wrote: > > > >> > > > >> I am having trouble getting the wicketstuff Lightbox2 plugin > > > >> > > > >>> integration > > > >>> working. I am using the basic example with image resources at > > the > > > >>> bottom > > > >>> of https://github.com/wicketstuff/core/wiki/ > > > >>> Lightbox2-Plugin-Integration. > > > >>> The thumbnail displays just fine, but when I click on the > > thumbnail > > > >>> only > > > >>> the mask for the page shows up and the image is missing. Does > > > >>> anybody > > > >>> have > > > >>> this plugin working? The examples don't seem to work for me > > either > > > >>> (6.15.0). I tried adding "data-lightbox" attribute per the ( > > > >>> http://lokeshdhakar.com/projects/lightbox2/) website, but it > > > didn't > > > >>> seem > > > >>> to help. Here is my code where res is an instance of a class > that > > > >>> holds the > > > >>> ResourceReferences: > > > >>> > > > >>> add(new LightboxLink("imageLink", res.getFullImage()) { > > > >>> private static final long serialVersionUID = 1L; > > > >>> > > > >>> @Override > > > >>> protected void onComponentTag(ComponentTag tag) > > > >>> { > > > >>> super.onComponentTag(tag); > > > >>> tag.put("data-lightbox", getMarkupId()); > > > >>> } > > > >>> }.add(new Image("imageFile", res.getThumbnail(; > > > >>> > > > >>> > > > >>> > > > >>> - > > > >>> > > > >> 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 restannotations example throws IllegalStateException: STREAMED with https
I would pass them as request parameters... Andrea, I have the SSL working fine when I call it from a Java program using HttpsURLConnection. So it was something with "curl." I wonder if you could suggest how I could pass a username and password along with the json string and authenticate the request. Thanks, Bruce - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
URL to resource
I have a javascript spellchecker dictionary file located in the package with my re-usable SpellCheckBehavior that generated the javascript to apply spellcheck to my text fields. I want the generated javascript to have the URL to that dictionary file. I know I need a resource reference to it, but I don't see a geturl(), so I am thinking I must be using the wrong class. What am I supposed to do in this situation? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/URL-to-resource-tp4666839.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