Re: Announcing: visural-wicket 0.6 released - open source wicket components

2010-06-22 Thread Duy Do
It's great, I will give it a try. Thanks a lot for your contribution. Duy On Tue, Jun 22, 2010 at 5:30 PM, Richard Nichols wrote: > Hi all, > > I'm pleased to announce the next major version of visural-wicket - 0.6 > > This version includes a bunch of new components and behaviours. > > For t

Announcing: visural-wicket 0.6 released - open source wicket components

2010-06-22 Thread Richard Nichols
Hi all, I'm pleased to announce the next major version of visural-wicket - 0.6 This version includes a bunch of new components and behaviours. For the full run down, follow the link - http://www.richardnichols.net/2010/06/visural-wicket-0-6-released-new-components/ visural-wicket is Apache 2.0

Submitting a component value on a ajax call of a different component

2010-06-22 Thread jammyjohn
Hi, I have a dropdown box and a text field as below //dropdownbox final DropDownChoice typeOption=new DropDownChoice("type", dataList){ protected boolean wantOnSelectionChangedNotifications() { return true;

Re: AjaxFormComponentUpdatingBehavior is not called when the textfield is set as required field.

2010-06-22 Thread jammyjohn
Thanks for your input. It was very useful. J. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFormComponentUpdatingBehavior-is-not-called-when-the-textfield-is-set-as-required-field-tp2263486p2264933.html Sent from the Wicket - User mailing list archive at Nabble

Re: LinkTree and DownloadLink

2010-06-22 Thread Anna Simbirtsev
I think the problem is in this: DownloadLink dl = new DownloadLink( id, new File( "wat-application/images/addmore.jpg" ), "Example DownloadLink" ); This does not produce any output. On Tue, Jun 22, 2010 at 4:18 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Not sure but I think if

Re: handling error in DataProvider

2010-06-22 Thread Decebal Suiu
Hi igor, You say that in IDataProvider.iterator(..) if an error occurs I throw a RestartResponseException (probably with exception message as PageParameter). But my panel has many data tables. How can I use your approach if errors occur simultaneous in many data tables? Thanks, Decebal -- View

Re: LinkTree and DownloadLink

2010-06-22 Thread Ernesto Reinaldo Barreiro
Not sure but I think if you put Link on a you will have a generated markup which might not be visible. Why don't you use a panel like following? Ernesto On Tue, Jun 22, 2010 at 9:09 PM, Anna Simbirtsev wrote: > Thanks > > Do you know why if I add DownloadLink directly without the panel

Re: LinkTree and DownloadLink

2010-06-22 Thread Anna Simbirtsev
Thanks Do you know why if I add DownloadLink directly without the panel, its invisible? On Tue, Jun 22, 2010 at 2:55 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Your MyPanel extends Form and Form should be applied to tag not > tag. > > Ernesto > > On Tue, Jun 22, 2010 at 7:50

Re: LinkTree and DownloadLink

2010-06-22 Thread Ernesto Reinaldo Barreiro
Your MyPanel extends Form and Form should be applied to tag not tag. Ernesto On Tue, Jun 22, 2010 at 7:50 PM, Anna Simbirtsev wrote: > Hi, > > I am trying to extend newNodeComponent on a LinkTree to make nodes > DownLoadLink. > > tree = new LinkTree("tree", createTreeModel()){ > > private stat

Re: modal window from AJAX ?

2010-06-22 Thread Anna Simbirtsev
I think you can do modalWindow.show(target). On Tue, Jun 22, 2010 at 2:16 PM, Maris Orbidans wrote: > > Hi > > Is it possible to open modal window from AjaxButton's onSubmit() method > ? > > > - > To unsubscribe, e-mail: users-un

modal window from AJAX ?

2010-06-22 Thread Maris Orbidans
Hi Is it possible to open modal window from AjaxButton's onSubmit() method ? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

LinkTree and DownloadLink

2010-06-22 Thread Anna Simbirtsev
Hi, I am trying to extend newNodeComponent on a LinkTree to make nodes DownLoadLink. tree = new LinkTree("tree", createTreeModel()){ private static final long serialVersionUID = 1L; @Override protected Component newNodeComponent( String id, IModel model ) { ret

ajaxPagingNavigation, Dataview, CheckGroup and check. Persist items checked

2010-06-22 Thread Fernando Wermus
Hi all, I have a dataview with an ajaxPagingNavigation. Each time, the user changes the page, he lost the item checked in the previous one. What do I have to do to guarantee the items checked keep persisted? Any help would be really appreciated thanks in advance -- Fernando Wermus. www.li

ajaxPagingNavigation and CheckGroup

2010-06-22 Thread Fernando Wermus
Hola, Quería saber si existe alguna manera de no perder los items seleccionados de un checkgroup - check en una lista que esta paginada con AjaxPagingNavigation. saludos! -- Fernando Wermus. www.linkedin.com/in/fernandowermus

Re: handling error in DataProvider

2010-06-22 Thread Igor Vaynberg
you can set a flag on the page when an error occurs and throw a RestartResponseException(page) -igor On Tue, Jun 22, 2010 at 7:54 AM, Decebal Suiu wrote: > Hi > > I have a panel (dashboard) with few data tables (widgets). When an error > appears in a data table model (data provider) I want to in

handling error in DataProvider

2010-06-22 Thread Decebal Suiu
Hi I have a panel (dashboard) with few data tables (widgets). When an error appears in a data table model (data provider) I want to inform the user about error, replacing the table component with a error panel. It's possible to achieve this functionality in wicket or you can suggest me another ap

Re: Passing Parameter between Multiple Forms on Page.

2010-06-22 Thread Martin Grigorov
On Tue, 2010-06-22 at 06:07 -0700, Andrei Razin wrote: > Martin. > > Thanks for your reply. > Can you provide some more details about Model Sharing? > Where the Model variable should be created – in the Page? > And then I can pass it to both forms? Try to create a simple page with a form. Doing th

Re: Passing Parameter between Multiple Forms on Page.

2010-06-22 Thread Andrei Razin
Martin. Thanks for your reply. Can you provide some more details about Model Sharing? Where the Model variable should be created – in the Page? And then I can pass it to both forms? Thanks, Andrei. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Passing-Parameter-

Re: body-tag onLoad/onScroll

2010-06-22 Thread Jeremy Thomerson
And in that webmarkupcontainer, override istransparentresolverand return true. That will allow you to add components directly to the page without having to add them all to the body's web markup container. Jeremy Thomerson -- sent from my smartphone - please excuse formatting and spelling errors O

Re: Serialization Problem

2010-06-22 Thread Martijn Dashorst
Your component factory creates an inner class and that keeps the reference to the factory. Martijn On Tue, Jun 22, 2010 at 1:24 PM, Gonzalo Aguilar Delgado wrote: > Hi there, > > I'm currently running out of ideas on this problem. When detaching the > request wicket it's giving me a nasty Serial

Serialization Problem

2010-06-22 Thread Gonzalo Aguilar Delgado
Hi there, I'm currently running out of ideas on this problem. When detaching the request wicket it's giving me a nasty Serialization exception problem. It happens that the error is: --- - Error serializing object class com.level2.portals.crm.wicket.report.

Re: how to extend wicket components from base page

2010-06-22 Thread vov
Try to change your Base Constructor to: public ContainerTemplate(String containerClass, String containerStyle) { this.containerClass = containerClass; this.containerStyle = containerStyle; // Your code } ...and in your nested page call super("your_container_class", "your_container_style") Also y

Re: body-tag onLoad/onScroll

2010-06-22 Thread Martin Grigorov
Make a regular Wicket component: Then in .java: WebMarkupContainer body = new WebMarkupContainer("theBody"); body.add(new (Simple)AttributeModifier()) afair is no more special element. On Tue, 2010-06-22 at 09:51 +0200, Dr. Wolf Blecher wrote: > Hi all, > > I have the following situation:

Job(s) for Wicket developers

2010-06-22 Thread geissbock
Hi, The company I work at currently has two open permanent positions for middleware/frontend developers in my team. A sound knowledge of Javascript, CSS etc. is a must-have, and Wicket experience is a big plus as current and future projects are developed with Wicket. We are located in the sout

Http Error Page configuration causing Closing the buffer error

2010-06-22 Thread Nishant Neeraj
Hi, I have configured http error pages as per this[1] document. It works fine except I see "closing the buffer error" NPE [2](see the stack trace below), on almost all the pages. Removing REQUEST ERROR from wicket-fil

body-tag onLoad/onScroll

2010-06-22 Thread Dr. Wolf Blecher
Hi all, I have the following situation: I want to add a java script function call to the body tag which get's as parameter the id of a wicket panel: So I tried the following: add(new BodyTagAttributeModifier("onload", true, new Model("javascript: initPosition('" + selection.getMarkupId() + "')

Re: Passing Parameter between Multiple Forms on Page.

2010-06-22 Thread Martin Grigorov
Both forms are backed by their models. If possible share the models between the forms, otherwise just *transfer* the respected value from form1's model to form2's model and re-paint form2. On Mon, 2010-06-21 at 16:08 -0700, Andrei Razin wrote: > Hello. > > Here is the example of the task I try t

Re: AjaxFormComponentUpdatingBehavior is not called when the textfield is set as required field.

2010-06-22 Thread Steve Mactaggart
The form will be validated first, and if there is no information entered the "Required" validation will fail and so the form will not be updated. Wicket ensures that the model object is always consistent by ensuring that the components are Validated before their value is pushed into the model. In