Re: simple confirmation on button/link

2014-10-30 Thread Andrea Del Bene
On 30/10/14 17:57, Garret Wilson wrote: All, I've created a simple confirmation link based on Sven Meier's ConfirmationLink code on Confluence. For the most part it works, but... ...but if I'm on an upload form, then an an Ajax link won't work bec

Re: Page Parameters logging

2014-10-23 Thread Andrea Del Bene
Sorry. I've realized that maybe you need a more efficient strategy to hide your parameter. I think that using a custom request handler is the right way. you can override getExceptionMapperProvider in you application to return tour custom handler for exception. You can have a look at DefaultExce

Re: Page Parameters logging

2014-10-23 Thread Andrea Del Bene
hi, maybe you can use a custom error page: Application.getApplicationSettings().setInternalErrorPage We have a secret parameter that we don't want to be logged in a stack trace or anything. Right now we're using a custom IRequestHandler to intercept the exception but I'm wondering if there's a

Re: alternative solution for addOrReplace()?

2014-10-07 Thread Andrea Del Bene
Hi, could you post the code you use inside onConfigure to addOrReplace inner container? Maybe you could avoid detaching/attaching overriding method detachModels in your inner containers. Hi Paul, thanx for replying. Oh, I use Ajax very heavily in this case. Thats why I said: "the panel works

Re: Atom newsfeed link

2014-10-06 Thread Andrea Del Bene
Have you tried mounting your resource? (next paragraph 15.10) Hello, I've followed this guide to create a Atom feed link with Wicket and Rome: http://wicket.apache.org/guide/guide/resources.html at paragraph 15.9 "Custom resources". However when I use the link to the newsfeed in google feedbu

Re: Make wicket aware of loaded javascript

2014-09-27 Thread Andrea Del Bene
Hi, maybe you are refreshing th dom via AJAX and you loose previously defined js functions. What components do you refresh when you add panel via AJAX? Hi, I have a javascript function already loaded when the first page loads. When adding a new Panel thru ajax I add target.appendJavascript af

Re: Wicket7 paging navigation exception

2014-09-21 Thread Andrea Del Bene
Done. The fixed snapshot should be available in a while... Thanks :) On 21 September 2014 01:05, Andrea Del Bene wrote: Same error in Wicket examples (page AjaxDataTablePage) :(. Working on a fix. - To unsubscribe, e

Re: how to use PropertyModel for saving image to database

2014-09-21 Thread Andrea Del Bene
You can try something like this: FileUploadField fileUpload = new FileUploadField("fileUpload",new Model()); form.add(fileUpload); ... AjaxButton submit = new AjaxButton("submit") { //onError @Override protected void onSubmit(AjaxRequestTarget ajaxRequestTarget, Form form) { user1.setConsultan

Re: Wicket7 paging navigation exception

2014-09-20 Thread Andrea Del Bene
Same error in Wicket examples (page AjaxDataTablePage) :(. Working on a fix. Hello All, I just tried to use paging navigator (works fine in wicket 6.17) in wicket7-M3 project and get [INFO] [http-nio-0.0.0.0-5080-exec-8] org.apache.wicket.RequestListenerInterface - component not enabled or visi

Re: Programmatic Markup with fallback

2014-09-16 Thread Andrea Del Bene
Hi, I've found a simple solution delegating markup providing to DefaultMarkupResourceStreamProvider: public class CustomMarkupFallback2Panel extends Panel implements IMarkupCacheKeyProvider, IMarkupResourceStreamProvider { private final DefaultMarkupResourceStreamProvider marku

Re: Programmatic Markup with fallback

2014-09-16 Thread Andrea Del Bene
Hi, I didn't dig to much into the code, but keep in mind that you are disabling markup caching in your example. This might explain why getMarkup is called three times. Anyway, in your specific case it might be better not to implement IMarkupCacheKeyProvider and IMarkupResourceStreamProvider, b

New chapter in the user guide

2014-09-09 Thread Andrea Del Bene
Hi, I just updated the user guide with a new chapter for "internals" topics. I've started porting wiki page at https://cwiki.apache.org/confluence/display/WICKET/Page+Storage. Bye! - To unsubscribe, e-mail: users-unsubscr...

Re: resource encoding troubles

2014-08-28 Thread Andrea Del Bene
It's just an encoding conflict: your properties uses ISO-8859-1, your page UTF-8. The result is a bad rendering, as you can see. When Java designers decided to adopt ISO-8859-1 they didn't consider most of the Asian languages... PS: just as a personal advice, try to be less "rude" in your answe

Re: resource encoding troubles

2014-08-28 Thread Andrea Del Bene
Have you tried using directly unicode character? i.e.: copyright=\u00A9 2014 Example, Inc. If you don't want to use unicode characters you should use an xml file as bundle file. Exactly! Quoting from the page you provided: "Java uses the standard character set ISO 8859-11 to encode text files

Re: Demonstrate End-to-End Security Enforcement using Open Source Software & Wicket

2014-08-18 Thread Andrea Del Bene
Very interesting, thank you! Posting another security tutorial featuring an Apache Wicket Web sample application. This one provides end-to-end security coverage: http://iamfortress.org/FortressDemo2 - To unsubscribe, e-mail:

Re: broken Wicket build

2014-08-17 Thread Andrea Del Bene
Hi, which branch are you working on (master, wicket-6.x...)? I've found a failing test on master for module wicket-examples (WordGeneratorTest.testWordGenerator). I'm working on it. Hi, When trying to build the latest Apache Wicket Git repository, I get this error: [ERROR] Failed to execute

Re: Wicketstuff restannotations example throws IllegalStateException: STREAMED with https

2014-08-02 Thread Andrea Del Bene
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:

Re: Wicketstuff restannotations example throws IllegalStateException: STREAMED with https

2014-08-01 Thread Andrea Del Bene
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 req

Re: Wicketstuff restannotations example throws IllegalStateException: STREAMED with https

2014-07-31 Thread Andrea Del Bene
usin SSL. Maybe the problem is with curl and SSL handling? I just stated it by running Start.java as a java application to start Jetty from Eclipse. Bruce Sent from my iPad On Jul 31, 2014, at 6:09 AM, Andrea Del Bene wrote: Hi, how did you started the example application? I want to us

Re: Wicketstuff restannotations example throws IllegalStateException: STREAMED with https

2014-07-31 Thread Andrea Del Bene
Hi, how did you started the example application? I want to use the wicketstuff-restannotations library to implement a restful web service. It seem very handy and I was able to get the example code working fine. To make sure I understood how everything was working and how to access from another

Re: Dynamic HTML page with Wicket?

2014-07-28 Thread Andrea Del Bene
If you decide to go with Wicket, you could simply use a Label component to display the saved HTML. You just have to call setEscapeModelStrings(false) to tell the label to not escape the HTML you want to display. Hello, I have an old application to re-write. It is a provisioning tool for differ

Re: quickstart

2014-07-03 Thread Andrea Del Bene
start before committing a change Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Jul 3, 2014 at 6:26 PM, Andrea Del Bene wrote: Now should be ok. Please try to use one of the last versions of Jekyll to regenerate the site. I'm using ver. 0.11.2 on

Re: quickstart

2014-07-03 Thread Andrea Del Bene
Now should be ok. Please try to use one of the last versions of Jekyll to regenerate the site. I'm using ver. 0.11.2 on Ubuntu 14.04. Wicket Guys, FYI - Your quickstart page on wicket.apache.org is broken with a javascript error. Can't build a quick wicket app using the maven archetype. Pr

Re: javascript reference header item with async attribute

2014-06-09 Thread Andrea Del Bene
AFAIK you can use attribute 'defer' with JavaScriptHeaderItem. I'm not sure that exists a standard way to add other attribute to

Re: Help a newbie? ;)

2014-05-29 Thread Andrea Del Bene
Hi! I will try to answer your questions: My questions: 1. Shouldn't the uiIconList be substituted/ommited? Every direct child of RepeatingView inherits markup from its parent and uses its custom markup as tag body. That's why uiIconList is repeated for each child. See RepeatingView's Javadoc

Re: using Tomcat instead of Jetty in quickstart archetype

2014-05-22 Thread Andrea Del Bene
Try mvn tomcat:run . It should work out of the box. Hi, I'm currently using Jetty as the servlet container to do development for my Wicket web app and I use the Start class and Jetty Maven plugin that comes with the wicket Quickstart. I then start Jetty through running Start#main(String[]) in m

Re: DiskDataStore errors in production

2014-05-16 Thread Andrea Del Bene
Hi, which version of Wicket are you using? Hi, my application in production often gets this error: May 14 09:12:27 ERROR DiskDataStore-/opt/ssa/tomcat/apache-tomcat-7.0.29/work/Catalina/localhost/SSA/wicket.ssa-webapp-filestore/4729/2939/909EAC3343856968BA7B1864B71CEA85/data (Too many open files

[ANNOUNCE] Apache Wicket 6.15.0 is released

2014-04-26 Thread Andrea Del Bene
This is the fifteenth release of the Wicket 6.x series. This release brings 25 bug fixes and adds the following changes/improvements: * The second level page store has been disabled by default (see https://issues.apache.org/jira/browse/WICKET-5554 for more details). * Created new placeholder

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Andrea Del Bene
afterRender should also be removed (in which the div is closed). Kind regards, Dirk. 2014-04-21 14:32 GMT+02:00 Andrea Del Bene : Hello, I've worked to fix the issue. You can see the result here: https://github.com/wicketstuff/core/commit/ed9d3e52f4537c67c395a5e3bcb1db b639158eb7 Howev

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-21 Thread Andrea Del Bene
rks fine in the main page, but not in the modal window. Kind regards, Dirk. 2014-04-15 18:52 GMT+02:00 Andrea Del Bene <mailto:an.delb...@gmail.com>>: No, it's not a known issue. I will try to investigate it in during the very next days. Hello, The ed

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Andrea Del Bene
No, it's not a known issue. I will try to investigate it in during the very next days. Hello, The editor is now working fine in a normal page. But I also need the editor to work inside a modal window. In that case, the editor opens and seems to work fine, until I hit the save button. The save bu

Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-14 Thread Andrea Del Bene
It's a problem introduced with the workaround at https://issues.apache.org/jira/browse/WICKET-5248 and never removed. If you try working with version 6.9.0 (both Wicket and WicketStuff) you shouldn't have this problem. I'm committing a fix. Yes, I'm using version 6.14 of wicketstuff-tinymce.

Re: Why resource bundles and how to use them ?

2014-04-02 Thread Andrea Del Bene
Could you post the code you are trying to use? This would help to understand your problem. Hey.. thank you for your reply ... but I still don't get why create bundles if I still need to define my resources and dependencies in resources ... and to use them in a page I still have to use the re

Re: How to set meta tags prroperty for facebook and Open Graph?

2014-03-05 Thread Andrea Del Bene
Hi, what you miss now are attribute modifiers to change the value of meta tag attributes. For example if you want to change the content of attribute 'content' you can use the following label and attribute modifier: new Label("ogTitle").add(AttributeModifier.replace("content", "Title for face

Re: How to set meta tags prroperty for facebook and Open Graph?

2014-03-04 Thread Andrea Del Bene
Hi, use a custom StringHeaderItem and add it into renderHead. I recently implemented such a header item that can be useful for this purpose: public class MetaTagHeaderItem extends StringHeaderItem { public MetaTagHeaderItem(CharSequence string) { super(string); } public s

Re: Show textfield as plaintext when disabled?

2014-03-01 Thread Andrea Del Bene
Hi, l've tried to do a similar thing a couple of months ago but it was very tricky and l ended up using a panel with two components (text field and a label). You can use methods oncomponenttag and onxomponenttagbody to dynamically change the tag and the body depending on component status (view or e

[ANNOUNCE] Apache Wicket 6.14.0 is released

2014-02-20 Thread Andrea Del Bene
This is the fourteenth maintenance release of the Wicket 6.x series. This release brings 25 bug fixes and improvements. Git tag: release/wicket-6.14.0 Changelog: https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12325860&styleName=&projectId=12310561 Maven: org.apache.wicket wick

Re: 3rd party JS+Wicket 6.6.0=MyWidget ?

2014-02-19 Thread Andrea Del Bene
Hi, for a "gentle" introduction to JavaScript integration you can also refer to the official guide: http://wicket.apache.org/guide/guide/single.html#jsintegration > I just delving in these libraries > > > On Wed, Feb 19, 2014 at 11:51 AM, Farrukh SATTOROV wrote: > >> Thank you, Martin >> >> >> On

Re: How to make a Wiket DropDownChoice with complex a model return a simple String

2014-02-13 Thread Andrea Del Bene
questions related to DropDownChoice, but not many answers. > > - Bruce > > > -Original Message- > From: Andrea Del Bene [mailto:an.delb...@gmail.com] > Sent: Wednesday, February 12, 2014 4:31 AM > To: users@wicket.apache.org > Subject: Re: How to make a Wiket

Re: How to make a Wiket DropDownChoice with complex a model return a simple String

2014-02-12 Thread Andrea Del Bene
Here is some code of a possible solution: public class DropDownChoiceForString extends DropDownChoice { private IModel targetModel; public DropDownChoiceForString(String id, IModel model, IModel targetModel, List choices, IChoiceRenderer renderer) { super(id, model,

Re: How to make a Wiket DropDownChoice with complex a model return a simple String

2014-02-11 Thread Andrea Del Bene
Hi, I needed something similar in a couple of projects. One solution is to create a custom DropDownChoice which takes also the string model to update. Then you can override onModelChanged to update the string model with the new value that can be extracted with the ChoiceRenderer. To make this

Re: Next Apache Wicket Release

2014-02-06 Thread Andrea Del Bene
Hi Marco! In a week or two, according to what Martin said. > Hi all, > > You know approximately when Apache Wicket 6.14 will be released? > > Thanks > M > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additio

Re: tinymce textarea in a modal window not letting to type

2014-02-06 Thread Andrea Del Bene
Hi, as the original issue is pretty old, I think nothing has done about it lately. I will open an issue with the quickstart project and try to solve it when I will have some time. > I am having this same issue in wicket 6.13.0. Any fixes as of yet? > > -- > View this message in context: > http://

[ANNOUNCE] Apache Wicket 1.5.11 is released

2014-01-27 Thread Andrea Del Bene
This is the eleventh maintenance release of the Wicket 1.5.x series. This release brings over 30 bug fixes and improvements. Git tag: release/wicket-1.5.11 Changelog: https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12324069&projectId=12310561 Maven: org.apache.wicket wicket-co

Re: [ANNOUNCE] Apache Wicket 6.13.0 adds free online user guide

2014-01-15 Thread Andrea Del Bene
Thank you Paul, I've fixed the quickstart I think this release broke the quick start at: http://wicket.apache.org/start/quickstart.html When the page loads at first the "Command Line" is empty at first. Null initial model object? Selecting a different version from the drop down and then back to

Re: TinyMce disappears with CryptoMapper

2014-01-06 Thread Andrea Del Bene
Hi, are you using the TinyMCE module from WicketStuff? I have a weird problem in wicket 6.12.0 where the TinyMce component does not display. It will in certain cases and in some of those cases a browser refresh causes it to vanish. If I remove the CryptoMapper from my Application.init method the

Re: Converting Wicket to AngularJS/Spring MVC

2014-01-03 Thread Andrea Del Bene
Hi, I don't have a direct experience migrating a Wicket app to a AngularJS/Spring MVCC, but in my current project we have a Wicket application with a Spring MVC part for REST APIs. We are using to different servlet filters, one for the Wicket part and one for Spring MVC. In this way you can use bo

Re: Wicket serving AngularJS app

2013-12-26 Thread Andrea Del Bene
Hi, have you already had a look at WicketStuff rest module? https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/wicketstuff-restannotations-parent > I am using Wicket 6 to manage an AngularJS app. Currently I am just letting > Tomcat serve the AngularJS client i.e. index.html and usin

Re: How do I access Wicket's string resources in a non component class ?

2013-12-11 Thread Andrea Del Bene
Hi, maybe you can have a look here: https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/wicketstuff-restannotations-parent/restannotations/src/main/java/org/wicketstuff/rest/utils/wicket/bundle/DefaultBundleResolver.java That's a resource bundle resolver that works with the stringR

Re: Show Stacktrace in ErrorPage

2013-12-09 Thread Andrea Del Bene
You can add a RequestCycle listener that returns your custom page when an exception is thrown: http://blog.wizche.ch/2011/12/wicket-15custom-exception-page.html > Hello, > > my application runs in deployment-mode and if an exception is thrown, wicket > shows his internal error page without the sta

Re: searching for a Rich text editor

2013-11-19 Thread Andrea Del Bene
Hi, Have you already considered the WicketStuff integration module for tynimce? You can find a brief introduction to this module in the guide: http://wicket.apache.org/guide/guide/chapter24.html > Hi, > > I'm searching for Rich text editor to integrate in my page, but at the > moment nothing seem

Re: wicket quickstart

2013-11-07 Thread Andrea Del Bene
Now I fixed it. For some reason the css and JavaScript code has been wrapped as CDATA... Hi, Is it my impression or the quickstart in the wicket site is not working? http://wicket.apache.org/start/quickstart.html thank you, Filipe Roque -

Re: Problems with Autocomplete in 6.11.0

2013-10-03 Thread Andrea Del Bene
Thank you for your feedbacks, I'm working on a patch! followed your patch, Jan, but the indicator was not hiding when deleting the input value (backspace key). so forced to hide the indicator on auto complete hiding [1]. for the moment it works, until the issue is solved in the original component

Re: Wicket merchandise

2013-09-19 Thread Andrea Del Bene
+1 Sven Meier +1 Martin Grigorov (does he ever sleep :)?) Hi Guys long time no see.. Apparently there are some money left on the wicket merchandise shop (http://www.cafepress.com/apachewicket).. So I suggest that it's time for the community to nominee and vote on who should have a cap, tshirt o

Re: How jvm create wicket application

2013-09-14 Thread Andrea Del Bene
There's no particular code under the hood, as Wicket works on top of Servlet specification. Usually one Wicket application corresponds to one Servlet filter of type WikcetFilter. If you want to know more about how Wicket entities (request, response, session, etc...) are created, take a look at

Re: AutoCompleteTextField & suggestions popup position issue when container has scrollbar

2013-09-09 Thread Andrea Del Bene
Hi, the issue was tracked here https://issues.apache.org/jira/browse/WICKET-5343. You can see the fix in the following commit: https://git-wip-us.apache.org/repos/asf?p=wicket.git;a=commitdiff;h=072dd52e Hi, Can you please provide me the call [new call] details, when you create one. Thanks,

Re: AutoCompleteTextField & suggestions popup position issue when container has scrollbar

2013-09-08 Thread Andrea Del Bene
Thank you for your feedback! A simple fix l've found is to use JavaScript function getBoundingClientRect to retrieve the position of the owner of the auto complete menu. On Sep 8, 2013 10:00 AM, "Rakesh A" wrote: > Hi, > > Thank you, I did bit of search and found one issue which seems to be > sim

Re: AutoCompleteTextField & suggestions popup position issue when container has scrollbar

2013-09-07 Thread Andrea Del Bene
Hi, I can't find a workaround for you, but I will open an issue with a patch for the next release. Hi, I am trying to use wicket's AutoCompleteTextField, which is placed inside a Div, and it has vertical scrollbar, in this case when scroll bar is not at 0 position, the auto complete suggestion

Re: Access denied to (static) package resource

2013-09-06 Thread Andrea Del Bene
Yep! Right, is part of the framework. I will ask in dev list if we should ad .map to the set of default allowed file. Thanks that's handy and explains it well. The resource is part of the Wicket internals though and not something of my making. On 6 Sep 2013, at 16:48, Andrea Del Bene

Re: Access denied to (static) package resource

2013-09-06 Thread Andrea Del Bene
you should add the file type you want to load to the set of allowed extensions. Take a look here: http://wicketguide.comsysto.com/guide/chapter19.html#chapter19_4 > I'm getting the exception below occurring occasionally and I can't > figure out why. > I have read the javadoc for IPackageResourceGua

Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread Andrea Del Bene
Wicket example works fine with AutoCompleteTextField. Can you open an issue with your quickstart project? > does anybody experience the same? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Re: [ANNOUNCE] WicketStuff 6.10.0 is released

2013-08-23 Thread Andrea Del Bene
Right! Thank you, I've learnt another Git "magic" :) > > I guess you need to fetch the new tag > > > O - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: [ANNOUNCE] WicketStuff 6.10.0 is released

2013-08-23 Thread Andrea Del Bene
et-Stuff-Core-Release-Process#getting-the-list-of-new-modules > > > > > On Thu, Aug 22, 2013 at 4:24 PM, Andrea Del Bene wrote: > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additio

Re: receive non-wicket json payload via wicket website

2013-08-23 Thread Andrea Del Bene
Of course there is a little overhead, but I think is completely negligible compared to business code. > Thanks, Andrea. I agree: unless I am missing something, IResource seems like > the appropriate (and only) way to handle non-Wicket requests via a Wicket > application. Do you know if there would

Re: [ANNOUNCE] WicketStuff 6.10.0 is released

2013-08-22 Thread Andrea Del Bene
ilable, please? > > Regards, > > Pierre > > > > On Thu, Aug 22, 2013 at 3:24 PM, Andrea Del Bene wrote: > >> Anybody has a list of the new modules available with this last version? >> I'd like to write an announcement of the new version at JavaLobby. >>&g

Re: [ANNOUNCE] WicketStuff 6.10.0 is released

2013-08-22 Thread Andrea Del Bene
o export a several tables to excel. > add a flag to GMAP3 that makes map's JavaScript not fail in case of > no Internet connection > make general purpose cell exporter more robust and flexible > fix logic to create table headers. > Merge pull request #2

Wicketsuff REST module.

2013-08-12 Thread Andrea Del Bene
Hi everybody, I've implemented a Wicket extension to create REST API/applications with our favorite web framework. I'm ready to push it into the Wicketstuff repo, but first I would be happy if someone of you could have a look to what I've done and share her/his experience with REST development

Re: receive non-wicket json payload via wicket website

2013-08-04 Thread Andrea Del Bene
You could mount a custom resource (a custom IResource) and use it read the JSON from request. I have a requirement to receive some json payloads via a wicket website. (I have IP and port restrictions that make it difficult to receive it elsewhere.) These payloads are unrelated to the content of t

Interesting article from Zeroturnaround

2013-07-31 Thread Andrea Del Bene
I don't agree with everything in it, but it's a good article anyway :) ... http://zeroturnaround.com/rebellabs/the-curious-coders-java-web-frameworks-comparison-spring-mvc-grails-vaadin-gwt-wicket-play-struts-and-jsf/ - To unsubs

Re: TinyMCE & Twitter Bootstrap Toggle

2013-07-24 Thread Andrea Del Bene
On Tue, Jul 23, 2013 at 9:52 AM, Andrea Del Bene wrote: Which version of Wicket/WicketStuff are you using? Andrea, thank you for a good pointer. The thing I am struggling with is adding class="collapse" to the xxx_wrapper_component which seems to be created by TinyMCE JavaScrip

Re: TinyMCE & Twitter Bootstrap Toggle

2013-07-23 Thread Andrea Del Bene
> after tinyMce.init()? > > Thanks, > > Alec > > > On Mon, Jul 22, 2013 at 1:30 AM, Andrea Del Bene wrote: > >> Hi, >> >> you can have a look at InPlaceEditComponent which is used in the example >> page InlineTinyMCEPage (see code at >> >

Re: TinyMCE & Twitter Bootstrap Toggle

2013-07-22 Thread Andrea Del Bene
Hi, you can have a look at InPlaceEditComponent which is used in the example page InlineTinyMCEPage (see code at https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/tinymce-parent/tinymce-examples/src/main/java/wicket/contrib/examples/tinymce/InlineTinyMCEPage.java) > Hello, > > I have

Re: Invitation to become Wicket committer: Andrea del Bene

2013-07-13 Thread Andrea Del Bene
Hi Martijn, thank you so much for your support! It's a real honor to be part of your team! I will start to work on the required paperwork as soon as possible! Andrea. Hello Andrea, The Wicket Project Management Committee (PMC) hereby offers you committer privileges to the project. These priv

Re: Spring MVC-like annotations

2013-06-25 Thread Andrea Del Bene
For my project I've built a resource and a little set of annotation to easily expose a REST api which uses JSON as message format. The goal is to map custom methods to a specific path and extract their parameters from the URL path or from the request body. For example: public class TestRestRes

Re: Spring MVC-like annotations

2013-06-24 Thread Andrea Del Bene
ssionFilter. This way you will have all that the technology gives you + the Wicket Application and Session thread locals. The only thing that will miss is the RequestCycle. On Sat, Jun 22, 2013 at 8:30 PM, Andrea Del Bene wrote: Hi, In a project I'm following at work we use Spring MCV and

Spring MVC-like annotations

2013-06-22 Thread Andrea Del Bene
Hi, In a project I'm following at work we use Spring MCV and its annotations to build a REST service mapping the methods of a controller to a specific path: @Controller @RequestMapping("/users/"){ public MyController { @RequestMapping("/users/{userid}", method=RequestMethod.GET) public Stri

Re: Wicket 6 migration (AbstractValidator has been removed)

2013-06-11 Thread Andrea Del Bene
I've updated my guide removing AbstractValidator and reimplementing a custom validator without this deprecated class. See paragraph 10.2.5 http://code.google.com/p/wicket-guide/ Same here. What should you do? Implement an IValidor? Regards -- View this message in context: http://apache-wic

Re: Resource that produces JSON and JQuery

2013-06-10 Thread Andrea Del Bene
On 06/10/2013 02:17 PM, Martin Grigorov wrote: On Mon, Jun 10, 2013 at 3:11 PM, Andrea Del Bene wrote: The code is quite simple as it's basically a prototype. Java code: @Override public void respond(Attributes attributes) { StringValue action = attributes.getParameters().

Re: Resource that produces JSON and JQuery

2013-06-10 Thread Andrea Del Bene
ntent-type header 2) valid JSON - make sure the keys are in double quotes Show us your code and the produced response for more help. On Mon, Jun 10, 2013 at 2:02 PM, Andrea Del Bene wrote: Hi, can anybody point me to some code that illustrates how to produce a JSON valid text with a mo

Resource that produces JSON and JQuery

2013-06-10 Thread Andrea Del Bene
Hi, can anybody point me to some code that illustrates how to produce a JSON valid text with a mounted resource? My goal is to load it via AJAX in a page with JQuery function getJSON. I've tried to directly write JSON into the response object without any success.

Re: AbstractDefaultAjaxBehavior complete handler

2013-06-04 Thread Andrea Del Bene
As Sven has pointed out your code should work as it is. Try yo see if you have any kinds of JavaScript errors using a JavaScript console or a tool like FireBug Hi, I pasted you #updateAjaxAttributes() into ChoicePage from wicket-examples and alert shows up there. Sven On 06/04/2013 05:02 PM

Wicket free guide updated!

2013-05-30 Thread Andrea Del Bene
Hi, I've published a new update for the free guide. This time the update contains many changes/corrections thanks to the proofreading (from preface to Chapter 10) made by Paul Bros. In addition, paragraph '10.2.5 Creating custom validators' has been partially rewritten to remove deprecated cod

Re: Problems when upgrading Jquery

2013-05-24 Thread Andrea Del Bene
Hi, you should check for JavaScript errors (if any) with a dev tool like FireBug. Hello, I updated my application to use Jquery 1.9.1, for this I added the following to the Init method of my application class. JavaScriptResourceReference resource = new JavaScriptResourceReference(

Re: Stateless pages

2013-05-15 Thread Andrea Del Bene
For a brief introduction to stateless vs stateful pages you can read chapter 6 of free guide: http://code.google.com/p/wicket-guide/ Hey there, i'm currently trying to understand what is actually needed so Wicket considers a page stateful. Could you provide me some basic information on that? B

Re: Detecting Page Re-Display

2013-05-13 Thread Andrea Del Bene
Do you disable/enable the button on server side (i.e. invoking setEnabled)? You should use page's onConfigure to place your configuration code (for example the code to disable the button). How can I detect when a page is about to be re-displayed? In my app, some pages have "OK" buttons that are

Re: Wicket free guide updated.

2013-04-30 Thread Andrea Del Bene
Thank you Paul. I look forward to it! I've been proof reading your book starting 2 weeks ago. So far I am in chapter 8 on page 51 and yes, there are a lot of grammar and typos (on average about 5-8 a page). I kept annotating the PDF format since I'm reading it on an iPad. Once I get 1/2 way thro

Wicket free guide updated.

2013-04-30 Thread Andrea Del Bene
Hi, I've just released an updated version of the guide with some typo corrections. I've also added a revision date on the cover page to help comparing different versions of the guide. http://code.google.com/p/wicket-guide/ Bye! :)

Re: User data during request of AuthenticatedWebSession

2013-04-21 Thread Andrea Del Bene
Hi, you could use session's metadata to store user-relative data (provided that they are serializable) when she/he successfully logs in. IMHO creating a custom WebRequestCycle is not necessary. I plan to implement a project with AuthenticatedWebApplication. The users have to sign up for an a

Re: Free Wicket guide now available!

2013-04-15 Thread Andrea Del Bene
Thank you very much! Andrea, this is the best guide. God bless you. - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Free-Wicket-guide-now-available-tp4657407p4657981.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Set value in a textfield

2013-04-11 Thread Andrea Del Bene
How is implemented the popin (via AJAX, using anchor attribute 'target')? Thanks for your ideas. I don't want to use Model because I just want to recover one value. I have a popin in my page. When I click on the link in the popin, the popin is closed and I want to recover the value of the

Re: Busy Indicator to prevent user activity

2013-04-11 Thread Andrea Del Bene
You can take a look at the following project https://github.com/bitstorm/Wicket-tutorial-examples/tree/master/CustomAjaxListenerExample In this project you will find an Ajax listener that disables a given component while the AJAX request is running and it also displays an animated gif as activ

Wicket free guide updated.

2013-04-08 Thread Andrea Del Bene
Hi, I bother you just to tell that I released an updated version of the guide with some typo corrections and two small additions. http://code.google.com/p/wicket-guide/ Bye! :) - To unsubscribe, e-mail: users-unsubscr...@wick

Re: Bind ResultSet of a SQL query with wicket datatable

2013-04-07 Thread Andrea Del Bene
Hi, you should use a custom implementation of interface IDataProvider to bind your query result to the component. Then, you can take a look at class PropertyColumn to know how to map your data to table's columns. How to Bind the ResultSet of a SQL query or a MSSQL stored procedure with wicket

Re: problem using ThreadPool in wicket

2013-04-05 Thread Andrea Del Bene
Which is the instruction that rises the exception and how do you pass the application instance to the working threads of the pool? Sorry i dont get what you mean by 'You will have to path the "info" you need to this "pooled thread" from "request handling thread" ' Did you mean 'pass the info'? th

Re: Best way to get the base application URL?

2013-04-03 Thread Andrea Del Bene
Thank you Dan! Your code works perfectly! Url relative = Url.parse(getRequest().getContextPath()); String full = getRequestCycle().getUrlRenderer().renderFullUrl(relative); - To unsubscribe, e-mail: users-unsubscr...@wicket.ap

Best way to get the base application URL?

2013-04-03 Thread Andrea Del Bene
Hi, do you know the best way to get the base URL for our Wicket application? For example "http://www.mysite.com/myapplication"; I'm using the following code at the moment: protected CharSequence extractBaseUrl(Request request) { Url originalUrl = request.getOriginalUrl(); Ch

Re: Is the algorithm used to locate markup via variation, locale etc., pluggable?

2013-03-30 Thread Andrea Del Bene
My fault, I should have been more precise :) Actually I think I found it: 12.4.5 in the guide! -Original Message- From: Andrea Del Bene [mailto:an.delb...@gmail.com] Sent: Saturday, 30 March 2013 10:20 PM To: users@wicket.apache.org Subject: Re: Is the algorithm used to locate markup

Re: Is the algorithm used to locate markup via variation, locale etc., pluggable?

2013-03-30 Thread Andrea Del Bene
Yes you can freely customize it. What exactly do you want to do? How this algorithm works it's explained in chapter 12 of Wicket guide :) http://code.google.com/p/wicket-guide/downloads/list I'm interested in doing a slight change to the way Wicket resolved markup files in regard to varat

Re: Free Wicket guide now available!

2013-03-27 Thread Andrea Del Bene
with the addition - https://svn.apache.org/repos/asf/wicket/common/site/trunk/learn/books On Thu, Mar 21, 2013 at 5:51 PM, Andrea Del Bene wrote: Dear Wicketers, I'm really excited to announce that, after almost two years of work (in may spare time), I've finished and published m

Re: jQuery Treeview Context menu in wicket

2013-03-27 Thread Andrea Del Bene
Hi, I didn't clearly understand what you want to build. Dou you want a treeview like this http://jquery.bassistance.de/treeview/demo/? Hi, How to implement jQuery Tree View with Context Menu in wicket. Please provide a sample code or example Thanks in advance Regards G.Lenin -- View thi

<    1   2   3   4   5   6   7   8   >