Re: ObjectAutoCompleteBuilder in wicket 1.5.7 get is not a valid Serializable error.

2012-08-30 Thread Thomas Götz
Are all properties (fields) of HomePage$SearchOptions also Serializable? -Tom On 30.08.2012, at 03:17, Vignesh Palanisamy vign...@mcruncher.com wrote: while implementing Serializable also the same error came martin! On Wed, Aug 29, 2012 at 6:17 PM, Martin Grigorov

Re: override wicket mark up

2012-08-30 Thread Thomas Götz
If you extend a Component/Page and want to provide a different markup you cannot change the component hierarchy, so it's not possible to insert some container (in your case adminGroupTabs) into the tree. -Tom On 30.08.2012, at 05:05, ramlael grambab...@gmail.com wrote: Hi Friends, I

Re: override wicket mark up

2012-08-30 Thread Martin Grigorov
Ramlael's question is not very clear so I'm not sure whether I understand correctly. In the image I see the markup of two Panels. It is perfectly OK to replace one Panel with the other. Both of them have their own component tree (java+markup). On Thu, Aug 30, 2012 at 9:31 AM, Thomas Götz

Re: ObjectAutoCompleteBuilder in wicket 1.5.7 get is not a valid Serializable error.

2012-08-30 Thread Vignesh Palanisamy
This is the Class tom, private class SearchOptions implements Serializable { private String statusKey; public String getStatusKey() { return statusKey; } public void setStatusKey(String statusKey) { this.statusKey =

Re: override wicket mark up

2012-08-30 Thread ramlael
Hey Martin.. I need to override the component with different hierarchy, and need to insert some container (in my case adminGroupTabs) into the tree. Is it possible?. Regards, Rambabu -- View this message in context:

Re: override wicket mark up

2012-08-30 Thread Martin Grigorov
Yes. Just replace panel1 with panel2. See MarkupContainer#replace() and #replaceWith() methods. On Thu, Aug 30, 2012 at 10:22 AM, ramlael grambab...@gmail.com wrote: Hey Martin.. I need to override the component with different hierarchy, and need to insert some container (in my case

Wicket 6 and Atmosphere framework integration

2012-08-30 Thread esajjkh
Hi, I'm trying to use Atmosphere (AtmosphereServlet) with wicket 6. Any example/code snippet that may help me please? I have already checked the example on wicketstuff for the Atmosphere integration but it does not contain any configuration details for the framework e.g. Web.xml etc. Thank you!

Re: override wicket mark up

2012-08-30 Thread ramlael
Hi Martin, Once I call super(model) in extended class, its expecting markup (wicket:ids) should be in same order. Please can you provide sample code, how the replace or replaceWith will work. Regards, Rambabu -- View this message in context:

css style in listview

2012-08-30 Thread Pratibha
Hi team i like to add style in listview as mentioned below item.add(new SimpleAttributeModifier(style, background-colr:red)); Its not working for me but rest others are working -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/css-style-in-listview-tp4651642.html

Re: css style in listview

2012-08-30 Thread Martin Grigorov
Hi, On Thu, Aug 30, 2012 at 12:46 PM, Pratibha pratibha.pari...@gmail.com wrote: Hi team i like to add style in listview as mentioned below item.add(new SimpleAttributeModifier(style, background-colr:red)); Its not working for me but rest others are working Please define it's not working.

Re: css style in listview

2012-08-30 Thread Adam Gray
It could be this: background-colr:red . You're missing an 'o' in there. On Thu, Aug 30, 2012 at 6:55 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, On Thu, Aug 30, 2012 at 12:46 PM, Pratibha pratibha.pari...@gmail.com wrote: Hi team i like to add style in listview as mentioned

Re: Wicket 6 and Atmosphere framework integration

2012-08-30 Thread esajjkh
I stuck with the error pages, this integration is not working to display the customized wicket error pages e.g. error404 as we can not use WicektFilter together with AtmospherServlet. Any help will be appreciated, thanks. -- View this message in context:

Re: Wicket 6 and Atmosphere framework integration

2012-08-30 Thread Martin Grigorov
Please be more specific what exactly you did and what still doesn't work. On Thu, Aug 30, 2012 at 2:05 PM, esajjkh programmer.saj...@gmail.com wrote: I stuck with the error pages, this integration is not working to display the customized wicket error pages e.g. error404 as we can not use

Re: Wicket 6 and Atmosphere framework integration

2012-08-30 Thread esajjkh
I have some error pages that are configured in web.xml e.g. error-page error-code404/error-code location/error/error404/location /error-page and /error/error404 is mounted to PageNotFoundError.class in MyWebApplication class. These error pages only work with WicketFilter but

Re: Wicket 6 and Atmosphere framework integration

2012-08-30 Thread Martin Grigorov
I think AtmosphereServlet should delegate the processing to WicketFilter internally. I.e. if there is a request to /error/error404 then Wicket should be asked to handle it and it will use the configured page. Please create a quickstart application and attach it to a ticket in Jira. On Thu, Aug

Re: Built with Wicket: new entries

2012-08-30 Thread Martijn Dashorst
There are several applications in the queue thanks for suggesting them! Each one will be published once a day, so keep the submissions coming! You can submit your own application by: - taking a screen shot of 1024x768 - fill in the form at http://builtwithwicket.tumblr.com/submit (provide a

Datatables with Expandable rows

2012-08-30 Thread Karen Schaper
Hi All, I am looking to create a datatable that has an expandable rows so that the user can view more information about that row. Basically the user would click a + sign on the row and it would expand. I found this datatable plugin to jquery that does it..

AjaxRequestAttributes.setAllowDefault

2012-08-30 Thread Steve Lowery
We have a dropdown menu based component (based off of twitter bootstrap) that needs to have the links' default allowed so the menu closes. We can create a subclass of AjaxLink that overrides the updateAjaxAttributes and does this, but then developers have to know either to use that specialized

Re: AjaxRequestAttributes.setAllowDefault

2012-08-30 Thread Martin Grigorov
Hi, Making this method 'public' wont help because this method is called by Wicket when rendering the Ajax component. If you call it then you have to pass AjaxRequestAttributes created by you and not used actually by Wicket. It think it will be better if you use AjaxEventBehavior attached to the

Re: css style in listview

2012-08-30 Thread Eric Jablow
On Thu, Aug 30, 2012 at 6:46 AM, Pratibha pratibha.pari...@gmail.com wrote: Hi team i like to add style in listview as mentioned below item.add(new SimpleAttributeModifier(style, background-colr:red)); Its not working for me but rest others are working It is better to use classes instead

RE: Datatables with Expandable rows

2012-08-30 Thread Paul Bors
Wicket is using the MVC design pattern, so just create an Add button/link and add something to the model (I recommend as the first object in the list). I implemented this couple of times and I use labels that turn to form fields (read/edit) toggle mode. See attached screenshots for an example :)

RE: Datatables with Expandable rows

2012-08-30 Thread schaperk
Thanks Paul for your reply. I'm not sure I am following.. I could have a button/link in each row of my table and when the user's clicks the button it would add something to the model and this would expand the row? I want to be able to click the button and see additional rows below the row I

Re: Datatables with Expandable rows

2012-08-30 Thread Martin Grigorov
Hi, On Thu, Aug 30, 2012 at 7:15 PM, schaperk karen.scha...@gmail.com wrote: Thanks Paul for your reply. I'm not sure I am following.. I could have a button/link in each row of my table and when the user's clicks the button it would add something to the model and this would expand the row?

Back button doesn't work with AjaxTabbedPanel

2012-08-30 Thread Alec Swan
Hello, I am using AjaxTabbedPanel to implement an ajax-swappable menu on the Main page which is mounted with mountBookmarkablePage. For some reason the Back button in the browser does not take the user to the previously selected tab. It takes them out to the page which was shown before user saw

Re: Datatables with Expandable rows

2012-08-30 Thread schaperk
Thanks for your response Martin. I've been using wicket for a while but have pretty much used the standard components. This sounds way over my head. So I would subclass the DataTable class? Are there any examples out on the internet of this? I looked but haven't found any. Just to clarify

Re: Back button doesn't work with AjaxTabbedPanel

2012-08-30 Thread Sven Meier
Swapping components via Ajax will not change the browser's page history. Thus the Back button works as expected - it takes you to the previous url. Sven On 08/30/2012 07:55 PM, Alec Swan wrote: Hello, I am using AjaxTabbedPanel to implement an ajax-swappable menu on the Main page which is

Re: Back button doesn't work with AjaxTabbedPanel

2012-08-30 Thread Alec Swan
What can I do to allow user to go back to the previously selected tab with a Back button? I tried the following approach but it doesn't seem to work:

Re: Back button doesn't work with AjaxTabbedPanel

2012-08-30 Thread Sven Meier
Silly question: Why don't you use a non-Ajax Tabbedpanel? Sven On 08/30/2012 08:45 PM, Alec Swan wrote: What can I do to allow user to go back to the previously selected tab with a Back button? I tried the following approach but it doesn't seem to work:

Re: Back button doesn't work with AjaxTabbedPanel

2012-08-30 Thread Alec Swan
Well, I have other ajax interactions and I thought if I could fix Back button for AjaxTabbedPanel I'd be able to fix it for other ajax interactions. On Thu, Aug 30, 2012 at 12:51 PM, Sven Meier s...@meiers.net wrote: Silly question: Why don't you use a non-Ajax Tabbedpanel? Sven On

size method is being called multiple times in dataview

2012-08-30 Thread kshitiz
Hi, I am trying to implement dataview: final IDataProviderPostDomain postDomainDataProvider = new IDataProviderPostDomain() { /** * */ private static final long

Re: size method is being called multiple times in dataview

2012-08-30 Thread Sven Meier
Just tried with breakpoints in the datatable examples (e.g. org.apache.wicket.examples.repeater.SortingPage) and #size() was called once only for each request. Which Wicket version? Sven On 08/30/2012 09:21 PM, kshitiz wrote: Hi, I am trying to implement dataview: final

placeholder fallback component

2012-08-30 Thread tomek
Hi, Am trying to create fallback component for html5 placeholder, I got it kind of working with following: Form form = new Form(); form.add(new FallbackPlaceholder()); public class FallbackPlaceholder extends Behavior { public void onComponentTag(Component component, ComponentTag tag)

image folder causes ClassNotFoundException

2012-08-30 Thread goyahklah
Hello guys, I have a problem, which is caused by the AuthorizationStrategy (I think so) I have created an interface for the Pages, which are accessible only after login: Interface: AuthenticatedWebPage When I try to access a Page, which implements AuthenticatedWebPage, the *folder* where I have