Re: New wicketstuff progress bar component / project

2008-03-26 Thread luciolrv
I downloaded svn from the link below, but running maven2 on any of the 3 project gives the error: Missing com.resoap.wicket:wicket-progressbar:jar:0.1-SNAPSHOT Is this a repository problem? Lucio Rodriguez Christopher Hlubek wrote: > > I always wondered why there was no progress bar component

Re: ListView not updating when changed

2008-03-26 Thread Igor Vaynberg
since its in a different page there isnt much you can do except something like outputting window.opener.refresh(); window.close(); after the form has been submitted -igor On Wed, Mar 26, 2008 at 6:39 PM, taygolf <[EMAIL PROTECTED]> wrote: > > The popup is a different page. Just a simple pa

Re: ListView not updating when changed

2008-03-26 Thread taygolf
The popup is a different page. Just a simple page with 2 textfields and a few check boxes and a submit button and I submit it via a regular post right now but I can change that to ajax if that is what I need to do. igor.vaynberg wrote: > > your popup is a different page or a div inside the cur

Re: Back button problem

2008-03-26 Thread bhitai
Hi Igor thanks for the prompt reply..I'm trying to figure out how exactly to do that. This is because I have the following situation and I don't know where to apply the url coding strategy: 1. there are two pages, one is a menu and one detail page 2. menu page displays objects in a hierarchy - to

Re: How to make form/link response jump to an anchor in the page, not the top of page?

2008-03-26 Thread Igor Vaynberg
On Wed, Mar 26, 2008 at 3:28 PM, Matthew Young <[EMAIL PROTECTED]> wrote: > >link has overridable String getAnchor() > > It's actually 'Component getAnchor()' and I don't understand where to get > this anchor component. There is little javadoc in getAnchor() but > setAnchor(Component c) has mor

Re: How to make form/link response jump to an anchor in the page, not the top of page?

2008-03-26 Thread Matthew Young
>link has overridable String getAnchor() It's actually 'Component getAnchor()' and I don't understand where to get this anchor component. There is little javadoc in getAnchor() but setAnchor(Component c) has more details but I don't understand it at all. My page is like this: === top of page ==

Re: Deploying quickstart application in Jboss

2008-03-26 Thread surya009
Yes all I did was took the quickstart sample application and added jboss-web.xml as shown below / Did I miss anything here, I tried added classloader config below to jboss-web.xml but even then I got the same exception. wicket.quickstart:

Re: ListView not updating when changed

2008-03-26 Thread Igor Vaynberg
your popup is a different page or a div inside the current page? do you submit the form in it via ajax or a regular post? -igor On Wed, Mar 26, 2008 at 3:00 PM, taygolf <[EMAIL PROTECTED]> wrote: > > THanks for explaining it to me igor. I have been doing some searching about > my other problem

Re: ListView not updating when changed

2008-03-26 Thread taygolf
THanks for explaining it to me igor. I have been doing some searching about my other problem. Again my new problem is that I really do not want this listview to refresh on a timer. Here is the process of my app. The user can click on a link that says add member. that link inturn creates a popup pa

Re: Ajax in popup update to parent page?

2008-03-26 Thread Casey McGuire
Johan Compagner wrote: sharing the same model is also dangerous What you should do is in the onSubmit of the ajaxbutton in the second page get the first page (hold on to it somehow that doesn't matter) and then do page.getModel().setObject(x) johan Thanks. Will give this a go. -

Re: Updating text content with BookmarkablePageLink

2008-03-26 Thread Scott Sauyet
Igor Vaynberg wrote: On Wed, Mar 26, 2008 at 1:06 PM, Scott Sauyet <[EMAIL PROTECTED]> wrote: Igor Vaynberg wrote: you dont need to create bookmarkable page link components for this. all you need is a url which you can construct by calling urlfor(page.class, params) and replace with that. T

Re: Relative URLs and Crawlers

2008-03-26 Thread Igor Vaynberg
On Wed, Mar 26, 2008 at 1:11 PM, Ritz123 <[EMAIL PROTECTED]> wrote: > > Hi, > > Seems like since Wicket 1.3, links within a given page are all relative. I > have couple of questions > > 1. If someone wanted to override this knowingly and put absolute URLs, is it > possible? it will be quiet s

Re: Updating text content with BookmarkablePageLink

2008-03-26 Thread Igor Vaynberg
probably easier to just subclass loadabledetachablemodel and simply give that to a label with setescapemodlestrings(false) -igor On Wed, Mar 26, 2008 at 1:06 PM, Scott Sauyet <[EMAIL PROTECTED]> wrote: > Igor Vaynberg wrote: > > you dont need to create bookmarkable page link components for this

Re: What is the best way to reset (or clear or set) a model value every time when page rendered?

2008-03-26 Thread Igor Vaynberg
onbeforerender is as good as any -igor On Wed, Mar 26, 2008 at 1:02 PM, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote: >What is the proper location for the setModelObject () method to be > called from? ...onBeforeRender ()? > >P.S. Sorry... a spell checker doen't help... true... :)) > > > >

Relative URLs and Crawlers

2008-03-26 Thread Ritz123
Hi, Seems like since Wicket 1.3, links within a given page are all relative. I have couple of questions 1. If someone wanted to override this knowingly and put absolute URLs, is it possible? 2. How is SEO affected, if at all with the use of these types of relative URLs. Will crawlers be able to

Re: Deploying quickstart application in Jboss

2008-03-26 Thread Johan Compagner
are you sure you deployed your webapp ok? ClassNotFound does tell a lot On Wed, Mar 26, 2008 at 6:54 PM, surya009 < [EMAIL PROTECTED]> wrote: > > Hello All, > I am evaluating wicket for the first time and trying to deploy > the quickstart application from jboss but no luck so far, I get

Re: Updating text content with BookmarkablePageLink

2008-03-26 Thread Scott Sauyet
Igor Vaynberg wrote: you dont need to create bookmarkable page link components for this. all you need is a url which you can construct by calling urlfor(page.class, params) and replace with that. Thank you. So this could just be an extension to Label? Do I simply need to override onComponen

Re: What is the best way to reset (or clear or set) a model value every time when page rendered?

2008-03-26 Thread Vitaly Tsaplin
What is the proper location for the setModelObject () method to be called from? ...onBeforeRender ()? P.S. Sorry... a spell checker doen't help... true... :)) On Wed, Mar 26, 2008 at 8:40 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > On Wed, Mar 26, 2008 at 11:40 AM, Vitaly Tsaplin > <[EM

Re: Page templates per virtual host

2008-03-26 Thread James Carman
On Wed, Mar 26, 2008 at 3:36 PM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > If he meant that the cms should be available via multiple > vhosts(apache2), but share the same application base then what? > > Lets say: > mycompA.com --> myapplication on tomcat server via apache

Re: Exception adding a SimpleAttributeModifier to a TextField

2008-03-26 Thread Martijn Dashorst
See the "Reporting bugs" link in the left side menu. Martijn On 3/26/08, Miguel Munoz <[EMAIL PROTECTED]> wrote: > I couldn't find a link to Jira on the Apache Wicket web site. Can you send me > a link? > > > -- Miguel Munoz > > > > -Original Message- > From: Johan Compagner [mailto:[

Re: What is the best way to reset (or clear or set) a model value every time when page rendered?

2008-03-26 Thread Igor Vaynberg
On Wed, Mar 26, 2008 at 11:40 AM, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote: >Hi gays, i guess even a spellchecker wouldnt be of much help here... :) >What is the best way to reset (or clear or set) a model value every > time when page rendered? > I am trying to do it in onBeforeRender (

Re: Page templates per virtual host

2008-03-26 Thread Nino Saturnino Martinez Vazquez Wael
If he meant that the cms should be available via multiple vhosts(apache2), but share the same application base then what? Lets say: mycompA.com --> myapplication on tomcat server via apache2 mycompB.com --> myapplication on tomcat server via apache2 using a vhost config some what like this: S

RE: Exception adding a SimpleAttributeModifier to a TextField

2008-03-26 Thread Miguel Munoz
I couldn't find a link to Jira on the Apache Wicket web site. Can you send me a link? -- Miguel Munoz -Original Message- From: Johan Compagner [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2008 3:27 PM To: users@wicket.apache.org Subject: Re: Exception adding a SimpleAttributeModi

Re: Updating text content with BookmarkablePageLink

2008-03-26 Thread Igor Vaynberg
you dont need to create bookmarkable page link components for this. all you need is a url which you can construct by calling urlfor(page.class, params) and replace with that. -igor On Wed, Mar 26, 2008 at 12:32 PM, Scott Sauyet <[EMAIL PROTECTED]> wrote: > I would like to do something in Wicke

Updating text content with BookmarkablePageLink

2008-03-26 Thread Scott Sauyet
I would like to do something in Wicket I've never had to do before, and I'm wondering if someone more experienced could offer some guidance. I have some text content in my database being displayed on Wicket pages that includes snippets like: ... and if you use a you must ... The text in

Re: Back button problem

2008-03-26 Thread Igor Vaynberg
mount your pages using hybridurlcodingstrategy -igor On Wed, Mar 26, 2008 at 12:05 PM, bhitai <[EMAIL PROTECTED]> wrote: > > I am a new wicket user, and have been trying to develop an application for > the past few weeks. What I initially did was to use some databinder API to > fetch persiste

Re: Extending Button

2008-03-26 Thread Eyal Golan
many thanks On Wed, Mar 26, 2008 at 7:44 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > class mybutton extends button { > > public mybutton(...) { > add(new abstractbehavior() { > beforerender(component c) { >c.getresponse().write(""); > } > afterrende

Re: DataView size() iterator() call order issue

2008-03-26 Thread Igor Vaynberg
On Wed, Mar 26, 2008 at 11:37 AM, Hoover, William <[EMAIL PROTECTED]> wrote: > 2) Although AbstractPageableView does ensure the cached item count is used > before calling the data provider size() in getRowCount(), the cached item > count is "cleared" in onBeforeRender() before the call is made t

Back button problem

2008-03-26 Thread bhitai
I am a new wicket user, and have been trying to develop an application for the past few weeks. What I initially did was to use some databinder API to fetch persistent objects, and heavily using AJAX to refresh parts of pages rather than reloads. Now I'm having an issue with back button. Let's say

What is the best way to reset (or clear or set) a model value every time when page rendered?

2008-03-26 Thread Vitaly Tsaplin
Hi gays, What is the best way to reset (or clear or set) a model value every time when page rendered? I am trying to do it in onBeforeRender () but it seems to not work. Vitaly - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: DataView size() iterator() call order issue

2008-03-26 Thread Hoover, William
If we are caching the data as well as the size then we get that from the cache. The call that gets data/size can check the cache. If it is not cached then make the query call to get it. public final int size() { if (getItemCountCache() > 0 || getDataCache() == null) {

RE: DataView size() iterator() call order issue

2008-03-26 Thread Hoover, William
If we are caching the data as well as the size then we get that from the cache. The call that gets data/size can check the cache. If it is not cached then make the query call to get it. public final int size() { if (getItemCountCache() > 0 || getDataCache() == null) {

RE: DataView size() iterator() call order issue

2008-03-26 Thread Hoover, William
The size is cached in AbstractPageableView via getRowCount() -> setCachedItemCount(count), but how does the data provider access it without making a reference to the pageable view? Also, seeing that it is getting cached, why is size() getting called twice when paginating using PagingNavigator?

Re: How to make form/link response jump to an anchor in the page, not the top of page?

2008-03-26 Thread Igor Vaynberg
On Wed, Mar 26, 2008 at 11:13 AM, Matthew Young <[EMAIL PROTECTED]> wrote: > My form is at the bottom of a long page. I have before > the form. Is there a way to: > > 1) on fail form validation, response jump to the form? this is a bit tricky. perhaps you can subclass the feedbackpanel and if

How to make form/link response jump to an anchor in the page, not the top of page?

2008-03-26 Thread Matthew Young
My form is at the bottom of a long page. I have before the form. Is there a way to: 1) on fail form validation, response jump to the form? 2) Same for [EMAIL PROTECTED](): response jump to the form?

Deploying quickstart application in Jboss

2008-03-26 Thread surya009
Hello All, I am evaluating wicket for the first time and trying to deploy the quickstart application from jboss but no luck so far, I get following exceptions. Looks like the jboss class loader is having problem loading wicket classes. wicket.WicketRuntimeException: Unable to create

disabling navigation in AjaxFallbackDefaultDataTable

2008-03-26 Thread Beyonder Unknown
Hi All, Is there a way to disable the navigation (AjaxNavigationToolbar) in AjaxFallbackDefaultDataTable? I want to set the rowsPerPage to a certain number, but when i do that, the navigation automatically appears. I was wondering if there's a good way to disable it, aside from extending the

Re: Extending Button

2008-03-26 Thread Igor Vaynberg
class mybutton extends button { public mybutton(...) { add(new abstractbehavior() { beforerender(component c) { c.getresponse().write(""); } afterrender(component c) { // ditto } } } } -igor On Wed, Mar 26, 2008 at 10:40 AM, Eyal Golan <[

Re: Trees and DnD?

2008-03-26 Thread Thomas Kappler
On Wed, Mar 26, 2008 at 3:27 PM, James Carman <[EMAIL PROTECTED]> wrote: > On Wed, Mar 26, 2008 at 9:04 AM, Thomas Kappler <[EMAIL PROTECTED]> wrote: > > We're currently working on it. We use wicketstuff-scriptaculous, and > > so far it seems to work, but some things are still missing. > > >

Re: Trees and DnD?

2008-03-26 Thread Thomas Kappler
On Wed, Mar 26, 2008 at 3:04 PM, Ryan Sonnek <[EMAIL PROTECTED]> wrote: > > We're currently working on it. We use wicketstuff-scriptaculous, and > > so far it seems to work, but some things are still missing. > > Please let me know if you run into anything that's "missing". Sorry, I meant mis

Re: Extending Button

2008-03-26 Thread Eyal Golan
thanks, can you please explain it more detailed ? On Wed, Mar 26, 2008 at 7:25 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > personally, if all you really need are the img tags i would use a > behavior and spit out the img tags in before/after render > > -igor > > > On Wed, Mar 26, 2008 at 9:43

Re: Problem with DatePicker

2008-03-26 Thread Igor Vaynberg
do you have joda jars which wicket-datetime depends on??? -igor On Wed, Mar 26, 2008 at 8:25 AM, Fabien D. <[EMAIL PROTECTED]> wrote: > > I've just migrated to wicket 1.3.2 and added the good librairies. > > And I have exactly the same error! That means I've done a mistake in my > code? > >

Re: DataView size() iterator() call order issue

2008-03-26 Thread Igor Vaynberg
we are getting off track though. suppose class result { int size; iterator data } and idataprovider { result getdata(int first, int count); } how do we handle usecases where we just need the size and dont know first/count yet? -igor On Wed, Mar 26, 2008 at 7:19 AM, Hoover, William <[EMAIL PROT

Re: Extending Button

2008-03-26 Thread Igor Vaynberg
personally, if all you really need are the img tags i would use a behavior and spit out the img tags in before/after render -igor On Wed, Mar 26, 2008 at 9:43 AM, Eyal Golan <[EMAIL PROTECTED]> wrote: > Hello all, > we want to create a styled button for our application. > Each button can be of

Re: Busy indicator for AjaxFallbackDefaultDataTable

2008-03-26 Thread Igor Vaynberg
first subclass headerstoolbar and override the link factories to return inidicating links. then create your own subclass instead of using default and add your own toolbar to it -igor On Wed, Mar 26, 2008 at 8:22 AM, Kaspar Fischer <[EMAIL PROTECTED]> wrote: > I am using a AjaxFallbackDefaultData

Extending Button

2008-03-26 Thread Eyal Golan
Hello all, we want to create a styled button for our application. Each button can be of different size and we want to use localization for the text so we thought about creating 3 images for our buttons. left gif, middle gif and right gif. I want to create a new component that rendered itself to so

Re: Ajax enabled radiogroup

2008-03-26 Thread Johan Compagner
Which new fix are you talking about? What is currently in svn/snapshot doest traverse anymore It let the document handle that for use by calling: wicketGet(markupId).getElementsByTagName('input') and markupId is the Choice itself. So it should get all the inputs that are below that parent johan

Re: Problem with DatePicker

2008-03-26 Thread Johan Compagner
you run it against 1.5? try to do it against 1.6 somehow you still miss something On Wed, Mar 26, 2008 at 4:25 PM, Fabien D. <[EMAIL PROTECTED]> wrote: > > I've just migrated to wicket 1.3.2 and added the good librairies. > > And I have exactly the same error! That means I've done a mistake in m

Re: Ajax enabled radiogroup

2008-03-26 Thread TonyVegas
We encountered problems with the new fix because it traverses 2 levels deep instead of 1. The effect was that in our project, the Radios didn't work either. So we did the traversal in the Java code: public abstract class CustomAjaxFormChoiceComponentUpdatingBehaviour extends AjaxFormChoiceCompon

Re: clustering failover error

2008-03-26 Thread Scott Swank
That did not take care of our problem. We are examining our session to see whether it mistakenly contains some sort of cglib proxy -- our typesafe model, or maybe something from Hibernate. Thank you again for the help. Scott On Tue, Mar 25, 2008 at 9:55 AM, Scott Swank <[EMAIL PROTECTED]> wrote

Re: DataView size() iterator() call order issue

2008-03-26 Thread Johan Compagner
dont know if we really can do that I dont know if the size() call really always in the same request returns the same.. You as a developer can know that but we as a framework, dont know about that. I thought the size was already cached in specific places But you can easily make a wrapper ofcourse..

Re: Removing a class from a component

2008-03-26 Thread Eyal Golan
thanks, That's what I thought. I just wasn't sure... On Wed, Mar 26, 2008 at 6:07 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > override oncomponenttag and add the class there dynamically instead of > using an attribute modifier > > -igor > > > On Wed, Mar 26, 2008 at 5:23 AM, Eyal Golan <[EMAIL

RE: DataView size() iterator() call order issue

2008-03-26 Thread Hoover, William
What I was referring to as default behavior is a possible abstraction class for the data provider so that implementers would not have to deal with duplicate calls to the size() (and dealing with checking if the size has been queried already in the same request). The issue still remains even wit

Re: DataView size() iterator() call order issue

2008-03-26 Thread Johan Compagner
default behavior? what do you mean? IDataprovider is an interface, how can this have default behavior You can cache your results if you want So if you want in the size() call you can do anything you want, for example getting already the data. If that is not possible then yes you have to wait for t

Re: ListView not updating when changed

2008-03-26 Thread Igor Vaynberg
On Wed, Mar 26, 2008 at 6:57 AM, taygolf <[EMAIL PROTECTED]> wrote: > > that worked prefect Thanks for the help. I decided to go with the Model > example. I do have a few more questions though. First why cant I use a > PropertyModel instead of a AbstractReadOnlyModel. I tried to do this: > > Ne

Re: Removing a class from a component

2008-03-26 Thread Igor Vaynberg
additionally you can override isenabled() on the attribute modifier to disable it... -igor On Wed, Mar 26, 2008 at 9:07 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > override oncomponenttag and add the class there dynamically instead of > using an attribute modifier > > -igor > > > > > On We

Re: Removing a class from a component

2008-03-26 Thread Igor Vaynberg
override oncomponenttag and add the class there dynamically instead of using an attribute modifier -igor On Wed, Mar 26, 2008 at 5:23 AM, Eyal Golan <[EMAIL PROTECTED]> wrote: > Hi, > I have a DataTable that I want to add to it a class name in a specific > situation. > Otherwise, I want to re

Re: Customising DateTimeField

2008-03-26 Thread Charlie Dobbie
Apologies, spoke too soon - my Behaviour idea is also a non-starter. They have predictable wicket:ids, but no DOM ids at all, so I cannot locate the fields via JavaScript. I'm guessing at this point that I should just copy the DateTimeField component entirely and modify to fit! :-) Charlie. O

Re: Setting text content of component

2008-03-26 Thread Jörn Zaefferer
Thanks Maurice, that was exactly what I was looking for! Jörn On Wed, Mar 26, 2008 at 4:30 PM, Maurice Marrink <[EMAIL PROTECTED]> wrote: > In wicket you have to assign a Label to an Item or a Link. The > corresponding markup would then be something like: > > However it is possible to remove

RE: DataView size() iterator() call order issue

2008-03-26 Thread Hoover, William
Wouldn't it be more flexible if this were the default behavior? The size() method is called (sometimes multiple times- such is the case with pagination or the check igor described) before the iterator(first, count) method. We use only one call to our DAOs to retrieve both the results and the cou

Re: Correct use of DateLabel in DataTable/AjaxFallbackDefaultDataTable

2008-03-26 Thread rzechner
Kai Mütz schrieb: rzechner wrote: Hello! I am not sure about how to correctly use the DateLabel in a AjaxFallbackDefaultDataTable. The code below is oriented on the samples found in http://www.wicket-library.com/wicket-examples/repeater/ I want to display a table o

Re: Setting text content of component

2008-03-26 Thread Maurice Marrink
In wicket you have to assign a Label to an Item or a Link. The corresponding markup would then be something like: However it is possible to remove the span for the label from the final markup send to the browser by using label.setRenderBodyOnly(true); So where you markupfile would look like the ab

Re: Page templates per virtual host

2008-03-26 Thread Maurice Marrink
If you place contextfiles in /conf/catalina/ and place your war anywhere but in /webapps you can reuse 1 war for multiple applications. In each of the context files you could then set a variable you can retrieve through jndi. for example we have the following setup: /conf/catalina/localhost -ap

Re: Problem with DatePicker

2008-03-26 Thread Fabien D.
I've just migrated to wicket 1.3.2 and added the good librairies. And I have exactly the same error! That means I've done a mistake in my code? Thank you for your help :) Gerolf Seitz wrote: > > this is fixed in 1.3.2 > > Gerolf > > On Wed, Mar 26, 2008 at 11:42 AM, Fabien D. <[EMAIL PROT

Busy indicator for AjaxFallbackDefaultDataTable

2008-03-26 Thread Kaspar Fischer
I am using a AjaxFallbackDefaultDataTable data table and would like the sort links to show an AJAX busy indicator next to the link itself when it gets clicked. How can I do this? If this turns out to be a little complicated, I'd also be happy with a single div somewhere on the page that gets show

RE: Correct use of DateLabel in DataTable/AjaxFallbackDefaultDataTable

2008-03-26 Thread Kai Mütz
rzechner wrote: > Hello! > > I am not sure about how to correctly use the DateLabel in a > AjaxFallbackDefaultDataTable. The code below is oriented on the > samples found in > http://www.wicket-library.com/wicket-examples/repeater/ > I want to display a table of events (

Setting text content of component

2008-03-26 Thread Jörn Zaefferer
I keep stumbling about components where I'm (afaik) forced to add child components just to set their text content. Common examples are ListView items and Links. I'd like to set the text content of a "li" or "a" element without adding another child component (to give it a wicket:id and add a Label).

Correct use of DateLabel in DataTable/AjaxFallbackDefaultDataTable

2008-03-26 Thread rzechner
Hello! I am not sure about how to correctly use the DateLabel in a AjaxFallbackDefaultDataTable. The code below is oriented on the samples found in http://www.wicket-library.com/wicket-examples/repeater/ I want to display a table of events (id, name, dateBegin, dateEnd) which can also be sel

Re: Page templates per virtual host

2008-03-26 Thread Johan Compagner
the host can maybe be get from the WebRequest.getHttpServletRequest(). but you could be virtual hosted/behind apache or what ever so i would make the host name an configurable param. johan On Wed, Mar 26, 2008 at 3:30 PM, kman <[EMAIL PROTECTED]> wrote: > > to assign a style you must get

Re: DataView size() iterator() call order issue

2008-03-26 Thread Johan Compagner
yes you can cache those values IDataProvider does extends IDetachable and in detach() you can clear those values. On Wed, Mar 26, 2008 at 3:19 PM, Hoover, William <[EMAIL PROTECTED]> wrote: > see below... > > -Original Message- > From: Igor Vaynberg [mailto:[EMAIL PROTECTED] > Sent: Mond

Re: LoadableDetachableModel and ListView - changes in the list items is lost when saving

2008-03-26 Thread Nick Heudecker
Did you call setReuseItems(true) on your ListView? On Wed, Mar 26, 2008 at 9:12 AM, lizz <[EMAIL PROTECTED]> wrote: > > I have a page that contains a compound property model that refers to a > loadableDetachable model. > > The domain object in the loadable detachable model contains a collection

Re: Page templates per virtual host

2008-03-26 Thread kman
to assign a style you must get the name of the host so basically i didnt find any way to do this inside session or somewhere else jwcarman wrote: > > Have you looked into Wicket's "skin" support? Basically, you can > assign a "style" to each session. > > On Wed, Mar 26, 2008 at 6:08 AM, kman <

Re: Trees and DnD?

2008-03-26 Thread James Carman
On Wed, Mar 26, 2008 at 9:04 AM, Thomas Kappler <[EMAIL PROTECTED]> wrote: > We're currently working on it. We use wicketstuff-scriptaculous, and > so far it seems to work, but some things are still missing. > > The basic idea is straightforward: each node is a DraggableTarget (for > accepting

Re: Ajax enabled radiogroup

2008-03-26 Thread TonyVegas
In which version is this fix being applied? We are running 1.3.2 and it seems not to be there. -Tony igor.vaynberg wrote: > > thank you for testing > > -igor > > > On Jan 14, 2008 1:43 PM, Martijn Lindhout <[EMAIL PROTECTED]> > wrote: >> ok, I did >> >> 1. a svn co http://svn.apache.org/re

RE: DataView size() iterator() call order issue

2008-03-26 Thread Hoover, William
see below... -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 5:13 PM To: users@wicket.apache.org Subject: Re: DataView size() iterator() call order issue how are we going to cover these usecases: * pagination toolbar needs to call dataprovie

LoadableDetachableModel and ListView - changes in the list items is lost when saving

2008-03-26 Thread lizz
I have a page that contains a compound property model that refers to a loadableDetachable model. The domain object in the loadable detachable model contains a collection of Person Objects (Person contains a first name and a last name and an age). I want to display the persons in a ListView and

Re: Trees and DnD?

2008-03-26 Thread Ryan Sonnek
> We're currently working on it. We use wicketstuff-scriptaculous, and > so far it seems to work, but some things are still missing. Please let me know if you run into anything that's "missing". Anything that's supported by the core scriptaculous library should be possible in the wicket library

Customising DateTimeField

2008-03-26 Thread Charlie Dobbie
Hi all, Date handling in my application is rather shoddy at the moment, and I'm trying to clean it up and make things work properly. I've added wicket-datetime-1.3-SNAPSHOT and want to use the DateTimeField, but there are a couple of extra things I need that are stumping me at the moment. Firstl

RE: ListView not updating when changed

2008-03-26 Thread taygolf
that worked prefect Thanks for the help. I decided to go with the Model example. I do have a few more questions though. First why cant I use a PropertyModel instead of a AbstractReadOnlyModel. I tried to do this: New Label("kmname", new PropertyModel(kmd, "name"); but that did not work. I am gue

Re: Wicket Amsterdam Community Meetup Tuesday April 8th

2008-03-26 Thread Martijn Dashorst
We just received another sponsor! Func. graciously sponsors this Wicket event. Thanks to our sponsors this community event is free for all! Register for free at: http://cwiki.apache.org/WICKET/wicket-community-meetups-amsterdam.html Learn more about our sponsors: * hippo: http://www.hippo

Re: Size of TextFilter TextField

2008-03-26 Thread Nino Saturnino Martinez Vazquez Wael
You can still reach all input fields within the TextFilter with css. form input{ ... } Some that may work: input:text { width: 400px; } input[type=text] { } input[type=text] { width: 300px; background-color: cyan; } input.text { width: 300px; background-color: yellow; } regards

Re: Trees and DnD?

2008-03-26 Thread Thomas Kappler
On Wed, Mar 26, 2008 at 1:50 AM, James Carman <[EMAIL PROTECTED]> wrote: > Is there a way to enable drag-n-drop in a Wicket tree? Our users have > a usecase where they want to be able to build a hierarchical list of > "stuff" and they want to be able to move stuff around easily and > reorder no

Re: Size of TextFilter TextField

2008-03-26 Thread Erik van Oosten
In that case I would add a class attribute to the input element in the html markup, and use CSS to style the width. Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ Kai Mütz wrote: Erik van Oosten wrote: That depends on what size Kai meant. If you mean the wi

RE: Size of TextFilter TextField

2008-03-26 Thread Kai Mütz
Erik van Oosten wrote: > That depends on what size Kai meant. > > If you mean the width in pixels, I agree, that is CSS stuff. I meant the width in pixels. But as TextFilter is a panel within wicket-extensions I can not edit the markup directly. Thus I decided to subc

Removing a class from a component

2008-03-26 Thread Eyal Golan
Hi, I have a DataTable that I want to add to it a class name in a specific situation. Otherwise, I want to remove it. Here's the class: package com; import org.apache.wicket.behavior.AttributeAppender; import org.apache.wicket.behavior.HeaderContributor; import org.apache.wicket.extensions.ma

Re: Size of TextFilter TextField

2008-03-26 Thread Erik van Oosten
That depends on what size Kai meant. If you mean the width in pixels, I agree, that is CSS stuff. If you mean the number characters that may be typed, then I do not, that is domain model stuff. Anyway, to answer the question for the last case. You can add a SimpleAttributeBehavior to the text

Re: Size of TextFilter TextField

2008-03-26 Thread greeklinux
Hello, why do you want to set the size of a textfield via java? I think it is better to use CSS for presentation stuff. Kai Mütz wrote: > > Hi, > > I want to set the size of a textfield within the FilterForm. How can I do > that? Subclass TextFilter or is there a better way? > > Regards,

Re: Problem with DatePicker

2008-03-26 Thread Gerolf Seitz
this is fixed in 1.3.2 Gerolf On Wed, Mar 26, 2008 at 11:42 AM, Fabien D. <[EMAIL PROTECTED]> wrote: > > Hi, > > I try to use a DatePicker like this : > >TextField date_version = new TextField("date_version", > model_date_version, Date.class); >date_version.setRequired(true); >

Re: Panel problem

2008-03-26 Thread James Carman
On Wed, Mar 26, 2008 at 4:45 AM, Johan Compagner <[EMAIL PROTECTED]> wrote: > hmm we should make Panel abstract i guess. > It has to be overridden > That sounds like a good way to do it. It won't any existing code, since it wouldn't work in the first place. At least it won't break it anymore th

Re: Page templates per virtual host

2008-03-26 Thread James Carman
Have you looked into Wicket's "skin" support? Basically, you can assign a "style" to each session. On Wed, Mar 26, 2008 at 6:08 AM, kman <[EMAIL PROTECTED]> wrote: > > i am currently working on a simple CMS based on wicket. > I want the resulting application to support multiple sites based on h

Wicket Amsterdam Community Meetup Tuesday April 8th

2008-03-26 Thread Martijn Dashorst
The Wicket Community will come together in Amsterdam on Tuesday April 8th for the second Amsterdam community meetup from 3pm until 9pm. Thanks to Hippo and Topicus this event will be free! Join us in Amsterdam and register now: http://cwiki.apache.org/WICKET/wicket-community-meetups-amsterdam.htm

Problem with DatePicker

2008-03-26 Thread Fabien D.
Hi, I try to use a DatePicker like this : TextField date_version = new TextField("date_version", model_date_version, Date.class); date_version.setRequired(true); date_version.add(new DatePicker()); this.form_ajoutinfgeneral.add(date_version); I have import : im

Page templates per virtual host

2008-03-26 Thread kman
i am currently working on a simple CMS based on wicket. I want the resulting application to support multiple sites based on host name. i have a CustomResourceStreamLocator which lookups templates inside WEB-INF folder. is there an easy way to customize ResourceStreamLocator to lookup html files ba

Re: Is there any way to query if the page is still valid during an ajax handling method invocation?

2008-03-26 Thread Vitaly Tsaplin
Sorry... It seems it is my fault. Something wrong in my code :) On Wed, Mar 26, 2008 at 10:09 AM, Vitaly Tsaplin <[EMAIL PROTECTED]> wrote: >Hi everyone, > >It seems I have a problem with an ajax request interapted by a page > reload. I suspect it happens because my page is reloaded befor

Is there any way to query if the page is still valid during an ajax handling method invocation?

2008-03-26 Thread Vitaly Tsaplin
Hi everyone, It seems I have a problem with an ajax request interapted by a page reload. I suspect it happens because my page is reloaded before the request is finished. Is there any way to query if the page is still valid during an ajax handling method invocation? Vitaly --

Re: Panel problem

2008-03-26 Thread Johan Compagner
hmm we should make Panel abstract i guess. It has to be overridden On Tue, Mar 25, 2008 at 10:27 PM, Ryan O'Hara <[EMAIL PROTECTED]> wrote: > Hello, > > I have a Login.html/Login.java which adds a TabbedHeader component > (which extends Panel). When I try to add a panel component to > TabbedHead

Re: Wicket-Security Back Button and Login more than once

2008-03-26 Thread Maurice Marrink
I can't think of any other immediate problems, but i do find it strange that the session is not invalidated. Maurice On Wed, Mar 26, 2008 at 1:10 AM, Warren <[EMAIL PROTECTED]> wrote: > I did not mess with WaspSession.logoff at all. I am doing the following: > > 1. Set all my references I may ha