Link not working after upgrade from 6.8.0 to 6.20.0

2015-08-13 Thread Tom Eicher
Hello, I was thinking, I'd just upgrade to 6.latest before planning the big move to Wicket 7, but I experience some very strange behaviour: All throughout my app. I am using Links like this: LinkVoid l = new LinkVoid(NavBarAppLink) { @Override public void onClick() {

Re: Antibot Form Submission Composite Behavior

2015-08-13 Thread Tom Eicher (von unterwegs)
BTW I have found I can recognize many spambots by adding a form field with a common name like message and make that invisible using css display none. If the field is filled in, its no regular user... Cheers, Tom. -- Gesendet vom Mobiltelefon - Bitte Tippfehler, fehlende Umlaute und K├╝rze

Re2: file upload in nested form with CPM needs dummy model

2013-08-05 Thread Tom Eicher
Hello Martin List, Would it not be much more straightforward to just instantiate one of the existing models, like new FileUploadField(**UploadFileField, new ModelListFileUpload())); or some Model.of() variant ? You mean Wicket automatically to do this for you ? In current Wicket if a

Link to static image from packaged css

2013-08-05 Thread Tom Eicher
Hello, there seems to be some difficulty linking between static and packages resources, or at least a lot of confusion in forums ;-) If I refer to a static css from a wicket:link or wicket:head, the link will be relativized automatically, right ? However, I do have a CSS that is specific to a

AW: file upload in nested form with CPM needs dummy model

2013-08-01 Thread Tom Eicher - von Unterwegs
Any idea where I'm thinking wrong ? Thanks, Tom. Tom Eicher r...@teicher.net schrieb: Hello, I have an outer form, with a CPM for a business entity. An inner form FormVoid uploadImageForm = new Form(UploadImageForm); has a FileUploadField uploadImageField = new FileUploadField

Re: file upload in nested form with CPM needs dummy model

2013-08-01 Thread Tom Eicher
, new Model() does not work, as FileUpload is not Serializable... (and sorry for the delayed bump post today, sync issues with the mobile ;-) Any ideas what better to use ? Thanks Cheers, Tom. On Wed, Jul 24, 2013 at 3:55 PM, Tom Eicher r...@teicher.net wrote: Hello, I have an outer form

file upload in nested form with CPM needs dummy model

2013-07-24 Thread Tom Eicher
Hello, I have an outer form, with a CPM for a business entity. An inner form FormVoid uploadImageForm = new Form(UploadImageForm); has a FileUploadField uploadImageField = new FileUploadField(UploadImageField); and when I submit the inner form, wicket tries to find getters/setters for

Re: WicketTester against real EJB backend

2013-04-23 Thread Tom Eicher
Just to let you people know, The idea I have, is to use WicketTester against a real EJB deployment. The benefits would be: - a lot faster than Selenium tests - using WicketTester API - testing EJB calls as they are really used from wicket actions (especially with regards to lazy loading as I

WicketTester against real EJB backend

2013-04-17 Thread Tom Eicher
Hello good Wicket People, I now have a cool Wicket+CDI/Weld+EJB EAR running in JBoss AS7. Before it progresses further, I should start adding some automated integration tests, I think ;-) The idea I have, is to use WicketTester against a real EJB deployment. The benefits would be: - a lot

Re: how to setup call context for every request

2013-03-14 Thread Tom Eicher
Reposting to the list (sorry Martin ;-) in hope for feedback on @RequestScoped Wicket-CDI vs EJB... : [...about seeting up stuff to propagate user/session/JAAS info from the wicket web layer to a JBoss AS7 EJB...] You can use IRequestCycleListener#onBeginRequest(). Thanks for the suggestion

how to setup call context for every request

2013-03-12 Thread Tom Eicher
Hello, I am using JAAS to secure my EJB layer in JBoss AS7, which is called from wicket 6, by adding a org.jboss.security.ClientLoginModule for every request. This works nicely for page requests, I have built a setupJAAS() method that is called from my BasePage. However the wicket callbacks,

Re: Re: Page ... is not stateless ... but the stateless hint is set to true!

2013-02-12 Thread Tom Eicher
So ... would this be a bug ? Tom Eicher wrote: Hello Martin, Put a breakpoint at Page#setStatelessHint() and see where it is called with value == true. It is not being called. That is, not before the warn message appears in the log. statelesshint=true must be the deafult...? My BasePage

Re: Page ... is not stateless ... but the stateless hint is set to true!

2013-02-11 Thread Tom Eicher
Hello Martin, Put a breakpoint at Page#setStatelessHint() and see where it is called with value == true. It is not being called. That is, not before the warn message appears in the log. statelesshint=true must be the deafult...? My BasePage ist just ... public class BasePage extends WebPage

Page ... is not stateless ... but the stateless hint is set to true!

2013-02-10 Thread Tom Eicher
Hello, I am receiving this message in the log 01:27:01,006 WARN [org.apache.wicket.Page] Page '[Page class = com.x.yy.components.editor.Editor$EditorPage, id = 5, render count = 0]' is not stateless because it is not bookmarkable, but the stateless hint is set to true! and I

Re: Re: Page load without version redirect for Bootstrap Modal

2013-02-08 Thread Tom Eicher
it that way have the ajax operation that opens the dialog render the content into some div in the markup and call the dialog on that div. -igor On Thu, Feb 7, 2013 at 4:38 PM, Tom Eicher t...@teicher.net wrote: Hello, with Bootstrap's modal functionality, I can make very cool modal popups. http

Page load without version redirect for Bootstrap Modal

2013-02-07 Thread Tom Eicher
Hello, with Bootstrap's modal functionality, I can make very cool modal popups. http://twitter.github.com/bootstrap/javascript.html#modals The problems start when I want to provide the popup's content dynamically via Wicket, because I need to provide a href that will be loaded by JQuerys load

Wicketstuff datatables no 6.4.0 release

2013-01-30 Thread Tom Eicher
Hello, while all other wicketstuff components I checked do have a 6.4.0 release, the datatables stops at 1.5-rc2.1 : http://repo1.maven.org/maven2/org/wicketstuff/datatables/ I was able to locate a jar in WEB-INF/lib/ of

Form Submit components

2011-11-29 Thread Tom Eicher
Hello, I have a data table with a checkbox column, and I dont want to loose the checks when a navigation link is clicked. Since I'm not using AJAX here, all I would need is for the navigation buttons to sumit the form. (SubmittingNavigationToolbar, notAjaxNavigationToolbar) I just rediscovered

Re: Re: DataTable and FilterToolbar

2011-05-17 Thread Tom Eicher
there is a GoAndClearFilter which can submit the search form afair Yes, but that ons is meant for use within a form, as you write, but not within a FilterToolbar embedded in a DataTable. Or how would you use it / where would you put in a FilterToolbar ? (The FilterToolbar is below the column

DataTable and FilterToolbar

2011-05-16 Thread Tom Eicher
if there is not other text input on the form / on the page. Cheers, Tom. Tom Eicher schrieb: Hello, (I have been unable to locate a current and working wicketstuff mailing list, so I am sending to wicket mailing list instead. I searched for quite some time. This is really confusing with the old SF list still

DataTable: Multiple Filter, and OrderSubmittingLink

2011-05-13 Thread Tom Eicher
Hello, (I have been unable to locate a current and working wicketstuff mailing list, so I am sending to wicket mailing list instead. I searched for quite some time. This is really confusing with the old SF list still accepting subscribe requests etc etc) We are using wicket, wicketstuff and a