Re: org.apache.wicket.core.request.handler.ListenerInvocationNotAllowedException when provider data for DataTable changes before paging (Wicket 6.x up to and including 6.15.0)

2014-06-10 Thread Oddgeir Bell
It's not our component, but a Wicket component: org.apache.wicket.extensions.ajax.markup.html.repeater.data.table.AjaxNavigationToolbar We add it like this: datatable.addBottomToolbar(new AjaxNavigationToolbar(this)); And then I would assume it took care of itself, and updated the table when it

Re: FileDownload hides the activity indicator

2014-06-10 Thread Ernesto Reinaldo Barreiro
1- http://stackoverflow.com/questions/683571/jquery-blockui-how-to-unblock-ui-after-file-download 2- http://geekswithblogs.net/GruffCode/archive/2010/10/28/detecting-the-file-download-dialog-in-the-browser.aspx 3-http://hasselba.ch/blog/?p=1274 On Wed, Jun 11, 2014 at 1:44 AM, msalman wrote: >

Re: Ajax Form Submit via jquery plugin / javascript

2014-06-10 Thread Paul Bors
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/ajax/form/AjaxFormSubmitBehavior.html "Ajax event behavior that submits a form via ajax when the event it is attached to, is invoked.” You’re attaching the submit event so who fires that? On Jun 10, 2014, at 5:28 AM, Vishal Po

Re: Link in repeaters

2014-06-10 Thread Paul Bors
You need to wrap a the Anchor around a Label and you can do so either in a fragment or your own LablledLinkPanel… On Jun 10, 2014, at 2:01 PM, Sven Meier wrote: > Hi, > > a link does not output a label. Read here for two possible solutions: > > https://www.mail-archive.com/wicket-user@lists.s

Re: OnChangeAjaxBehavior.onUpdate() not called

2014-06-10 Thread Paul Bors
Well, by hidden do you mean an input type of hidden or not present on the DOM? On Jun 10, 2014, at 7:03 PM, Lucio Crusca wrote: >> everything looks OK to me >> check whether there are any JS errors in the browser's Dev Tools console. > > No errors. Can the fact that the input fields are inside

Re: Newbie question : How do I display a tabbed list vertically rather than horizontally?

2014-06-10 Thread Paul Bors
Extend the Wicket class you want like the AjaxTabbedPanel in Java (Model and Controller) and change the HTML (viewer) as you please. You would need access to Wicket’s source code thus if you use Maven see the sources classifier at: http://maven.apache.org/pom.html Perhaps your IDE (Eclipse, Ne

FileDownload hides the activity indicator

2014-06-10 Thread msalman
Hi, I have code that downloads file in Ajax mode. The download is fired by IndicatingAjaxButton. The activity indicator is visible for a very short time but when file download code starts the activity indicator vanishes. It is a big problem if the file takes a long time to download. Any ideas

Re: OnChangeAjaxBehavior.onUpdate() not called

2014-06-10 Thread Lucio Crusca
> everything looks OK to me > check whether there are any JS errors in the browser's Dev Tools console. No errors. Can the fact that the input fields are inside a div that is initially hidden and then slid down via jQuery make a difference? ---

Re: Implementing a SecureForm to avoid CSRF attacks

2014-06-10 Thread Sven Meier
my form contains a panel with tabs, each tab refreshes the Form class through ajax but the HTML stays the same. I don't understand this: IF the form is updated on each Ajax request, the hidden input should always have an up-to-date token value. Sven On 06/10/2014 05:04 PM, shayy wrote: I'm

Re: Link in repeaters

2014-06-10 Thread Sven Meier
Hi, a link does not output a label. Read here for two possible solutions: https://www.mail-archive.com/wicket-user@lists.sourceforge.net/msg28621.html Regards Sven On 06/10/2014 06:02 PM, kumar ramanathan wrote: Hi Friends , I have successfully generated the view using repeaters using the fol

Re: Link in repeaters

2014-06-10 Thread Mihir Chhaya
Would simple String concatenation not work here for you? -Mihir. On Tue, Jun 10, 2014 at 12:02 PM, kumar ramanathan wrote: > Hi Friends , > I have successfully generated the view using repeaters using the following > code. > > HTML: > > > > NameId > > > > > > > > HelloWorld.java > public

Link in repeaters

2014-06-10 Thread kumar ramanathan
Hi Friends , I have successfully generated the view using repeaters using the following code. HTML: NameId HelloWorld.java public HelloWorld(){ List list = new ArrayList(); list.add(new Persons("sam","one")); list.add(new Persons("ram","t

Implementing a SecureForm to avoid CSRF attacks

2014-06-10 Thread shayy
I'm trying to implement a SecureForm (extends Form) which dynamically adds a hidden field to prevent CSRF attacks as described here: http://apache-wicket.1842946.n4.nabble.com/Security-Features-offered-by-Wicket-td1861659.html My problem is that my form contains a panel with tabs, each tab refresh

Re: org.apache.wicket.core.request.handler.ListenerInvocationNotAllowedException when provider data for DataTable changes before paging (Wicket 6.x up to and including 6.15.0)

2014-06-10 Thread Sven Meier
>12:26:02,310 WARN [org.apache.wicket.RequestListenerInterface] (http--0.0.0.0-8203-2) behavior not enabled; ignore call. >Behavior org.apache.wicket.ajax.markup.html.navigation.paging.AjaxPagingNavigationIncrementLink$1@609bfc99 at component It seems the link is already disabled when you clic

org.apache.wicket.core.request.handler.ListenerInvocationNotAllowedException when provider data for DataTable changes before paging (Wicket 6.x up to and including 6.15.0)

2014-06-10 Thread Oddgeir Bell
Hello, I have a org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable with a org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider. The dataprovider gets data from a database-table. We add an AjaxNavigationToolbar to the datatable. Everything works fine

Ajax Form Submit via jquery plugin / javascript

2014-06-10 Thread Vishal Popat
Hi, I am using a jquery steps plugin which has the ability to change options. One of the options I have is: onFinished: function (event, currentIndex) { var form = document.forms["selectionForm"]; form.submit(); }, The javasc

Re: Help request regarding simple DefaultNestedTree implementation

2014-06-10 Thread denethon
The solution was to disable page specific styling of fonts. Seems that using a different font (inherited from master page) was causing the B folder to appear as shifted to the right. When using font-family:inherit, this visual presentation is now correct. -- View this message in context: http://a