Re: [Wicket-user] Wicket & YUI

2007-05-31 Thread Eelco Hillenius
> There is a little project coming up for me that will require heavy use > of the yui drag and drop functions, so I'll do some checking some time > soon Good, more contributions! :) Eelco - This SF.net email is sponsored by

Re: [Wicket-user] Wicket & YUI

2007-05-31 Thread Maurice Marrink
Hi James, There is a little project coming up for me that will require heavy use of the yui drag and drop functions, so I'll do some checking some time soon and will let you know if i have any questions. Since this is gonna be my first encounter with yui i have no doubt i will come come up with so

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Eelco Hillenius
Lowell, Sorry for my bad answers today, I was doing too many things at the same time, and now that I re-read your use case I think I understand better what you want. If I'm correct, you want to decorate a label with a star, and use some css class or id with that star and have the ability to turn

Re: [Wicket-user] How to refresh a wicket.markup.html.panel.Panel

2007-05-31 Thread Frank Bille
resultPanel.setOutputMarkupId(true); Frank On 6/1/07, Frank Bille <[EMAIL PROTECTED]> wrote: You have to call setOutputMarkupId(true) so the javascript can locate it in the HTML. Frank On 6/1/07, wicket0123 < [EMAIL PROTECTED]> wrote: > > > I have a web page that adds the panel as a compon

Re: [Wicket-user] How to refresh a wicket.markup.html.panel.Panel

2007-05-31 Thread Frank Bille
You have to call setOutputMarkupId(true) so the javascript can locate it in the HTML. Frank On 6/1/07, wicket0123 <[EMAIL PROTECTED]> wrote: I have a web page that adds the panel as a component. On the same page, I've three ajax links. The goal is to clic on the links will add different co

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Lowell Kirsh
> Some CSS gurus claim that CSS could be used to append or > prepend content to elements, so maybe you would be easier > off by doing just that and toggling the css class > programmatically. That would work. I tried googling how to do that, with no luck. Anybody have any pointers or links? lowell

Re: [Wicket-user] Exception Strategy in 1.3

2007-05-31 Thread Jonathan Locke
this sure seems familiar. didn't we have a nice plan to address this a few months back? Eelco Hillenius wrote: > > You can return the page you want to be displayed and have full > control. I know the API currently is non-obvious; I complained about > this in another thread. > > For example,

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Timo Rantalaiho
On Thu, 31 May 2007, Lowell Kirsh wrote: > Basically what I want to do is from this markup: > > * Is this legal HTML? You should maybe use e.g. wicket:container in place of the inner span, I think that span cannot contain container tags. Some CSS gurus claim that CSS could be used to append or

[Wicket-user] How to refresh a wicket.markup.html.panel.Panel

2007-05-31 Thread wicket0123
I have a web page that adds the panel as a component. On the same page, I've three ajax links. The goal is to clic on the links will add different components to the panel then refresh the panel on the page. It seems that I cannot do that. Here's my code: public class MyWegPage extends WebPa

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Lowell Kirsh
Oh, if this helps, what I want could be achieved with this: TEXT * and then doing something like: foobar = new MarkupContainer("foobar"); foobar.add(new Label("text", ...)) foobar.add(new WebMarkupContainer("removeMe") { public boolean isVisible() { return sometimesFalse(); } }); ad

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Lowell Kirsh
Basically what I want to do is from this markup: * I'd like to replace 'TEXT' with some text from my java code, and would like to set the visibility of the 'star' span from within my code. Replacing TEXT seems similar to what a Label does, but a Label won't support the embedded 'star' span. So

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Lowell Kirsh
And which Panel method do I need to call to set its text without removing the star Component? On 5/31/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > LabelWithStar should extend Panel. > > Eelco > > On 5/31/07, Lowell Kirsh <[EMAIL PROTECTED]> wrote: > > But I get the following error: > > > > ...

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Lowell Kirsh
Well, I need some way of setting the text from within my java code so i don't see how I could get away without it. On 5/31/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Actually, do you need at all? > > Eelco > > On 5/31/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > LabelWithStar should e

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Eelco Hillenius
Actually, do you need at all? Eelco On 5/31/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > LabelWithStar should extend Panel. > > Eelco > > On 5/31/07, Lowell Kirsh <[EMAIL PROTECTED]> wrote: > > But I get the following error: > > > > ...WicketMessage: Expected close tag for '' > > Possible at

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Eelco Hillenius
LabelWithStar should extend Panel. Eelco On 5/31/07, Lowell Kirsh <[EMAIL PROTECTED]> wrote: > But I get the following error: > > ...WicketMessage: Expected close tag for '' > Possible attempt to embed component(s) '' in > the body of this component which discards its body > > Doesn't that mean m

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Lowell Kirsh
But I get the following error: ...WicketMessage: Expected close tag for '' Possible attempt to embed component(s) '' in the body of this component which discards its body Doesn't that mean my approach is flawed? On 5/31/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Then you should be able to

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Eelco Hillenius
Then you should be able to use that label idea and embed it in your component. Eelco On 5/31/07, Lowell Kirsh <[EMAIL PROTECTED]> wrote: > Once again I left out a detail - the reason I have the span is that I > want to apply a CSS class to the star. Also, I like to have the star > as a child of t

Re: [Wicket-user] creating a tree - not using the wicket tree classes

2007-05-31 Thread Lowell Kirsh
At a glance, that looks like what I want. Thanks. On 5/31/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Take a look at the nested example and see if that helps you. > > Eelco > > On 5/31/07, Lowell Kirsh <[EMAIL PROTECTED]> wrote: > > I'd like to create a tree on a page and have something like

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Lowell Kirsh
Once again I left out a detail - the reason I have the span is that I want to apply a CSS class to the star. Also, I like to have the star as a child of the other component, because that way I don't have to assign unique names to each star, and also, I can package the text and the star as one objec

Re: [Wicket-user] creating a tree - not using the wicket tree classes

2007-05-31 Thread Eelco Hillenius
Take a look at the nested example and see if that helps you. Eelco On 5/31/07, Lowell Kirsh <[EMAIL PROTECTED]> wrote: > I'd like to create a tree on a page and have something like this in my > template: > > Tree Goes Here > > and have the rendered result look something along the lines of: > >

[Wicket-user] Parameter access at Page creation not consistent with request object

2007-05-31 Thread mchack
I am using a mounted, bookmarkable page. I am passing in a parameter using the url syntax. This works fine when I access it via the Parameter object passed in at Page creation time. I would also expect that the parameter would be accessible via the request object and the parameter is not visible.

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Eelco Hillenius
On 5/31/07, Lowell Kirsh <[EMAIL PROTECTED]> wrote: > My use case is actually turning out slightly more complex than I > posted. What I actually have is: > > TEXT* > > and I'd like to sometimes remove the star. So my java (which doesn't > work) looks like: > >private static class LabelWithStar

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Lowell Kirsh
My use case is actually turning out slightly more complex than I posted. What I actually have is: TEXT* and I'd like to sometimes remove the star. So my java (which doesn't work) looks like: private static class LabelWithStar extends WebMarkupContainer { public LabelWithStar(Strin

Re: [Wicket-user] Wicket & Acegi ?

2007-05-31 Thread Jan Kriesten
hi johan, > hmm then i have to stopp working on it right now... > because i am already passed the hour again good work! thanx for doing so! have you seen my example how to use acegi without using filters? best regards, --- jan. --

[Wicket-user] Prototype scoped Spring beans

2007-05-31 Thread Rüdiger Schulz
Hello everybody, I already tried to chat on ##wicket about this, but it's probably too complex for IRC... I'm using Wicket 1.3.0 snapshot and Spring 2.0 on JDK6 / Jetty. For a more complex form I wanted to use a "stateful" Springbean, to which I applied scope="prototype". The idea is to have one

[Wicket-user] creating a tree - not using the wicket tree classes

2007-05-31 Thread Lowell Kirsh
I'd like to create a tree on a page and have something like this in my template: Tree Goes Here and have the rendered result look something along the lines of: foobar baz baz2 baz3 bang How do I do this? Thanks, Lowell ---

Re: [Wicket-user] Creating Image on the fly

2007-05-31 Thread Jean-Baptiste Quenot
* Johannes Schneider: > Of course I don't want to add the mail address as url > parameter. Therefore I have to store the address as session > parameter. You can still use PageParameters, but maybe it would be safer to use CryptedUrlWebRequestCodingStrategy so that email address

Re: [Wicket-user] Wicket & YUI

2007-05-31 Thread Jean-Baptiste Quenot
Hi James, Could you please put the examples online? I'd like to give 'em a shot but I'm too lazy to set it up by myself. Cheers, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - This

Re: [Wicket-user] Escaping German Umlauts

2007-05-31 Thread Jean-Baptiste Quenot
* Johannes Schneider: > can anyone tell me how I can escape German umlauts when using > TextFields or Labels? Component.setEscapeModelStrings( true) > does not replace them. And I really don't want to create a > custom IModel for every component I add Have a look at Strings#escap

Re: [Wicket-user] Adding more onclick script to ajax link?

2007-05-31 Thread James McLaughlin
Well, it should be much easier to get the AjaxBehavior that is making the PagingNavigatorLink act like an ajax link, so you can decorate the onclick in the manner you suggested. You can create a jira issue here http://issues.apache.org/jira/browse/WICKET Describe your problem, what would make an e

Re: [Wicket-user] Creating Image on the fly

2007-05-31 Thread Eelco Hillenius
> I would like to create an image on the fly (I try to avoid posting mail > addresses as text). See for instance the images exaple in wicket-examples. > Can I use Wicket to register a > Page/Component/Servlet under a special URL? Either as an image component or - if you want an image to be avail

Re: [Wicket-user] Wicket & YUI

2007-05-31 Thread James McLaughlin
There is a wicket-contrib-yui project included in wicket-stuff on sourceforge: http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-yui I've been working on it a little, mostly on the menu module. The drag and drop is somewhat broken, and I haven't had time to look at

Re: [Wicket-user] Applying TextTempate on the component's markup

2007-05-31 Thread Jean-Baptiste Quenot
* James McLaughlin: > Have you had a look at the VelocityPanel in wicket-velocity? If not, > it will probably do what you are looking for. Indeed, and have a close look at parseGeneratedMarkup() -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ -

Re: [Wicket-user] form silently failing to load data when template and pojo are different

2007-05-31 Thread Jean-Baptiste Quenot
* Florian Hehlen: > I have just found that if a form contains an type="text"/> and the corresponding pojo contains myForm.add(new > TextAre(...)) then wicket fails to load data into the form but > it will correctly read the data onSubmit. > > is this a known bug it sure took m

[Wicket-user] Creating Image on the fly

2007-05-31 Thread Johannes Schneider
Hi, I would like to create an image on the fly (I try to avoid posting mail addresses as text). Can I use Wicket to register a Page/Component/Servlet under a special URL? Of course I don't want to add the mail address as url parameter. Therefore I have to store the address as session paramet

Re: [Wicket-user] Adding more onclick script to ajax link?

2007-05-31 Thread Tremelune
I doubt I've enhanced anything. This is a rather roundabout solution at best...You mean edit the Wicket source and post it somewhere? James McLaughlin-3 wrote: > >>From what I can tell, since it is not really an ajax link but rather a > regular link with an ajax behavior, the ajax behavior ne

Re: [Wicket-user] Adding more onclick script to ajax link?

2007-05-31 Thread Tremelune
Fixed this last bit by wrapping the return call decorator in a CancelEvent one (it chains): final AjaxPagingNavigationBehavior behavior = new AjaxPagingNavigationBehavior(this, pageable, "onclick") { protected IAjaxCallDecorator getAjaxCallDecorator() { return ne

[Wicket-user] Wicket & YUI

2007-05-31 Thread howzat
Are there any examples/tutorials that re using YUI with Wicket. I see there is also a wicket YUI project but could not find much getting started help. -- View this message in context: http://www.nabble.com/Wicket---YUI-tf3848786.html#a10901677 Sent from the Wicket - User mailing list archive at

Re: [Wicket-user] Exception Strategy in 1.3

2007-05-31 Thread Jean-Baptiste Quenot
* craigdd: > > Thanks Eelco, your example was extremely helpful and I agree that the API is > not obvious when it comes to this type of stuff. It also doesn't help when > the javadoc for RequestCycle.onRuntimeException refers to > "DefaultExceptionResponseStrategy" which does not exist in 1.3. I

Re: [Wicket-user] Wicket & Acegi ?

2007-05-31 Thread Johan Compagner
Hey, one hour per day contributing to Open Source is already a lot! hmm then i have to stopp working on it right now... because i am already passed the hour again johan - This SF.net email is sponsored by DB2 Express

Re: [Wicket-user] Wicket & Acegi ?

2007-05-31 Thread Jean-Baptiste Quenot
* Erik van Oosten: > As apparently not every author in this thread sees all the steps > needed to use Acegi with Wicket, I am currently writing a howto > on the Wicket wiki. The howto is extracted from a production > system and describes the combination of Wicket, Acegi and > Wicket-au

Re: [Wicket-user] How To Test with getApplication method

2007-05-31 Thread Jean-Baptiste Quenot
* Johan Compagner: > we fixed this in 1.3 so that you can use your own application > class, So in 1.2 there isn't really a right way to reuse your > webapplication object Indeed, users that need this feature will have to backport MockWebApplication and WicketTester on their 1.2.x ve

Re: [Wicket-user] Adding more onclick script to ajax link?

2007-05-31 Thread James McLaughlin
>From what I can tell, since it is not really an ajax link but rather a regular link with an ajax behavior, the ajax behavior needs to prevent the onclick from bubbling to the anchors clickhandler. Your ajaxcalldecorator will need to do that as well. It would be great if once you are done you could

Re: [Wicket-user] Adding more onclick script to ajax link?

2007-05-31 Thread Tremelune
Scratch that, the solution below causes a page refresh... getAjaxCallDecorator() returns new CancelEventIfNoAjaxDecorator() it works fine, but if it returns the defined decorator, the page refreshes after the ajax call is complete. Why would that be? Should decorator extend CancelEventIfNoAjaxDeco

[Wicket-user] Escaping German Umlauts

2007-05-31 Thread Johannes Schneider
Hi, can anyone tell me how I can escape German umlauts when using TextFields or Labels? Component.setEscapeModelStrings( true) does not replace them. And I really don't want to create a custom IModel for every component I add Any hints? Johannes Schneider -- Johannes Schneider Im Linden

Re: [Wicket-user] Wicket & Acegi ?

2007-05-31 Thread Erik van Oosten
As apparently not every author in this thread sees all the steps needed to use Acegi with Wicket, I am currently writing a howto on the Wicket wiki. The howto is extracted from a production system and describes the combination of Wicket, Acegi and Wicket-auth-roles. It will take a couple of days m

Re: [Wicket-user] Stable URLs (Was: Bookmarkable pages and transparent login)

2007-05-31 Thread Eelco Hillenius
Pretty much yeah. Though the concept of what is bookmarkable is strechable when you work with custom url coding strategies. Eelco On 5/31/07, Thomas Singer <[EMAIL PROTECTED]> wrote: > In other words: when something more should be done than just linking to > another (bookmarkable) page, then alwa

Re: [Wicket-user] Stable URLs (Was: Bookmarkable pages and transparent login)

2007-05-31 Thread Thomas Singer
In other words: when something more should be done than just linking to another (bookmarkable) page, then always the resulting link is non-bookmarkable? -- Tom Eelco Hillenius wrote: >> Thanks. One further question regarding links and bookmarkable pages: When I >> add following PageLink, will t

Re: [Wicket-user] [Nuub] Best practise: Navigation Component

2007-05-31 Thread Johannes Schneider
Hi, thanks for your answer. I was a surprised that there is no model abstraction of link in wicket... I will take a deeper look at the tabs package - thanks for the hint. Johannes Schneider John Krasnay wrote: One idea would be to create a class that represents the logical idea of a link, e

Re: [Wicket-user] Stable URLs (Was: Bookmarkable pages and transparent login)

2007-05-31 Thread Eelco Hillenius
> Thanks. One further question regarding links and bookmarkable pages: When I > add following PageLink, will the resulting href always be not bookmarkable? Indeed. That is because you're using an inner class, and Wicket wouldn't know how to interpret and can't do anything else than execute it (for

Re: [Wicket-user] Adding more onclick script to ajax link?

2007-05-31 Thread Tremelune
Well, that works...I think this would be made easier if there were a getAjaxBehavior() method in AjaxPagingNavigationIncrementLink. As it stands, there are a few methods in my class that were copied/pasted directly from AjaxPagingNavigationLink: public class DecoratableAjaxPagingNavigationIncreme

Re: [Wicket-user] Stable URLs (Was: Bookmarkable pages and transparent login)

2007-05-31 Thread Thomas Singer
Thanks. One further question regarding links and bookmarkable pages: When I add following PageLink, will the resulting href always be not bookmarkable? public class DownloadFile extends OurWebPage { public DownloadFile(final PageParameters parameters) { page.add(new PageLink("linkId", ne

Re: [Wicket-user] SVN access broken?

2007-05-31 Thread Frank Bille
Hi Ravindra. When using trunk there is sometimes tests that fails. We have just had a similar discussion about it here: http://www.nabble.com/Build-Failed-tf3815817.html#a10802004 It shouldn't be stopping you from working. Frank On 5/23/07, Ravindra Wankar <[EMAIL PROTECTED]> wrote: OK, I

Re: [Wicket-user] Applying TextTempate on the component's markup

2007-05-31 Thread James McLaughlin
Have you had a look at the VelocityPanel in wicket-velocity? If not, it will probably do what you are looking for. best, jim On 5/18/07, Alex Objelean <[EMAIL PROTECTED]> wrote: > > Is it possible to apply TextTempate inside the markup of the component? > > More specifically, for the following ma

Re: [Wicket-user] Adding more onclick script to ajax link?

2007-05-31 Thread James McLaughlin
Yeah, I see what you mean. The AjaxPagingNavigationIncrementLink is not really an AjaxLink, but has had an AjaxBehavior grafted in. I think your best bet would be to build a PagingNavigationIncrementLink and add a behavior similar to AjaxPagingNavigationBehavior to it, but with the scriptaculous st

Re: [Wicket-user] Force page refresh after Ajax request completes?

2007-05-31 Thread James McLaughlin
Its a shameless hack, but you could try it in a setTimeout. Or possibly, target.appendJavascript("Wicket.Window.unloadConfirmation=false;window.location.reload()") Otherwise, I believe the semantics of onClose make it necessary for the modal to be around until onClose returns. hth, jim On 5/31/

Re: [Wicket-user] Force page refresh after Ajax request completes?

2007-05-31 Thread dukejansen
Any chance anyone has any input on this? I still think this is a bug in Wicket, that I can't set Javascript to reload the page after the modal window is closed, since the page still thinks the modal is open. dukejansen wrote: > > Yup. That's why I was trying to do it using > target.appendJavasc

Re: [Wicket-user] Applying TextTempate on the component's markup

2007-05-31 Thread Eelco Hillenius
I don't think we should go that route, as that would open up a very big can of worms. Markup and logic are seperated in Wicket and allowing such interpolation would open the door for scripting-like use of Wicket, which I think is something we shouldn't support. Eelco On 5/18/07, Alex Objelean <[E

Re: [Wicket-user] Adding more onclick script to ajax link?

2007-05-31 Thread Tremelune
I misspoke a earlier, the method I need to override is newPagingNavigationIncrementLink(). Looks like this: public AjaxPagingNavigationIncrementLink(final String id, final IPageable pageable, final int increment) { super(id, pageable, increment); a

Re: [Wicket-user] Changing validation rules on the fly

2007-05-31 Thread Eelco Hillenius
> I wondered why there appears to be no way to remove one or all validators? We have talked about it, but not yet decided whether we were going to add a remove option. I'm one of the people who isn't sure whether we really need it. Why not instead of removing validators make their execution optio

Re: [Wicket-user] Adding more onclick script to ajax link?

2007-05-31 Thread James McLaughlin
Is this not possible for you: protected Link newPagingNavigationLink(String id, IPageable pageable, int pageNumber) { return new AjaxPagingNavigationLink(id, pageable, pageNumber) { @Override protected IAjaxCallDe

Re: [Wicket-user] Adding more onclick script to ajax link?

2007-05-31 Thread Tremelune
Sooo...getAjaxCallDecorator() is in AjaxPagingNavigationBehavior, which is constructed in AjaxPagingNavigationLink, which is constructed in AjaxPagingNavigator.newPagingNavigatorLink(), which my subclass overrides. Is there a way to add this decorator without having to pass an object up the whole

[Wicket-user] Changing validation rules on the fly

2007-05-31 Thread John RDF
I have a complex form split into panels in a wizard and some validation requirements in a panel change depend ing on changes in the model made by previous panels. I was expecting to be able to remove one type of validator previously added and add a new one that covers the changed circumstances bu

Re: [Wicket-user] Best Practices for accessing/repainting sibling/cousin components?

2007-05-31 Thread ChuckDeal
Mats Norén-2 wrote: > > It would be great of you had some code to share, it makes it easier to > follow... :) > Yeah, no kidding.. :) Here is a quickstart (minus the lib folder, see below for list of jars) that should illustrate what I am trying to accomplish, yes it's pretty stupid, but hope

Re: [Wicket-user] Using Loop with ajax?

2007-05-31 Thread Nino Saturnino Martinez Vazquez Wael
thanks.. Martijn Dashorst wrote: > http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html > > Same applies for Loop > > On 5/31/07, Nino Saturnino Martinez Vazquez Wael > <[EMAIL PROTECTED]> wrote: > >> forgot to mention that its wicket 1.2.6.. >> >> Nino Saturnino Martinez Vazq

Re: [Wicket-user] Dynamic number of columns in TreeTable

2007-05-31 Thread Mats Norén
Ok, I tried to switch the column-array to a IModel with a list and I got the tree to render...once... :) Seems like I missed a couple of spots... Thanks for the quick reply. I guess an alternate approach for my usecase could be to only add two columns, one tree column and one panel containing a l

Re: [Wicket-user] Dynamic number of columns in TreeTable

2007-05-31 Thread Matej Knopp
I'm affraid this is not possible at the moment and I can see some issues with implementing this. What you can do now is either override isVisible to hide particular columns, or recreate the tree every time the columns change. -Matej On 5/31/07, Mats Norén <[EMAIL PROTECTED]> wrote: > Hi, > Would

Re: [Wicket-user] Chicken-and-egg w/ Data Provider

2007-05-31 Thread Al Maw
So you need two queries in your data layer, one which returns a subset of the query results for the particular page, and one which returns the size of the potential result set (i.e. COUNT(*)). There's no other way to implement this sensibly. For Hibernate Criteria queries, this can look like th

Re: [Wicket-user] Dynamic number of columns in TreeTable

2007-05-31 Thread Martijn Dashorst
It is discussed in this thread on @dev. [1] You could join and ask for the change... It is not too big a change, but Igor mentioned some problems. Martijn [1] http://www.nabble.com/-proposal--Make-columns-of-repeaters-List%3CIColumn%3E-instead-of-IColumn---tf3785568.html#a10705320 On 5/31/07,

Re: [Wicket-user] Wiki reference page on custom converter is outdated

2007-05-31 Thread Johan Compagner
We should really first divide wiki a bit i think 1.2 and 1.3 because converters are really changed now. johan On 5/30/07, Anto Paul <[EMAIL PROTECTED]> wrote: Hi all, The reference about using custom converter in apache wiki is outdated(http://cwiki.apache.org/confluence/display/WICKET/U

Re: [Wicket-user] DateTimeField surviving Ajax updates

2007-05-31 Thread Johan Compagner
do you have a quickstart/example code for this ? johan On 5/30/07, Aaron Hiniker <[EMAIL PROTECTED]> wrote: I have a AjaxTabbedPanel that contains the Yahoo DateTimeField from extensions. The calendar works fine on a page refresh, but when clicking to other tabs with Ajax loading each tab,

Re: [Wicket-user] Problem with AjaxLink and images in snapshot from this morning (1.3.0-incubating-SNAPSHOT)

2007-05-31 Thread Al Maw
Hi all, This was due to the RelativePath handler not using the depth param on ajax requests inside its behaviours. This should now be fixed. Regards, Al Mats Norén wrote: > Hi, > The problem is still there, unfortunately... > > /Mats > > On 5/28/07, Mats Norén <[EMAIL PROTECTED]> wrote: >> I

Re: [Wicket-user] Best Practices for accessing/repainting sibling/cousin components?

2007-05-31 Thread Mats Norén
It would be great of you had some code to share, it makes it easier to follow... :) /Mats On 5/31/07, ChuckDeal <[EMAIL PROTECTED]> wrote: > > I had the same (at least it sounds similar) problem. My pages use a > role-based authorization strategy. Sometimes the role is based upon the > data on

Re: [Wicket-user] Best Practices for accessing/repainting sibling/cousin components?

2007-05-31 Thread ChuckDeal
I had the same (at least it sounds similar) problem. My pages use a role-based authorization strategy. Sometimes the role is based upon the data on the page. A good example of this is Responsible Individual (RI); if you are not an RI, you have read-only access, but as soon as you are added to

Re: [Wicket-user] Using Loop with ajax?

2007-05-31 Thread Martijn Dashorst
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html Same applies for Loop On 5/31/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > forgot to mention that its wicket 1.2.6.. > > Nino Saturnino Martinez Vazquez Wael wrote: > > I doesnt seem that loop works wi

Re: [Wicket-user] Stable URLs (Was: Bookmarkable pages and transparent login)

2007-05-31 Thread Johan Compagner
that url that you get doesn't have anything to do with a page being versioned or not. that url you just get when you redirect to a page instance. if you want to keep that bookmarkable then use this constructor public RestartResponseAtInterceptPageException(final Class interceptPageClass) On 5/

Re: [Wicket-user] Using Loop with ajax?

2007-05-31 Thread Nino Saturnino Martinez Vazquez Wael
forgot to mention that its wicket 1.2.6.. Nino Saturnino Martinez Vazquez Wael wrote: > I doesnt seem that loop works with ajax? I've created a quickstart > project that displays this. Should I use a listview instead? > > heres the quickstart(http://localhost:8080/quickstart/app): > http://www.ba

Re: [Wicket-user] Using Loop with ajax?

2007-05-31 Thread Nino Saturnino Martinez Vazquez Wael
I doesnt seem that loop works with ajax? I've created a quickstart project that displays this. Should I use a listview instead? heres the quickstart(http://localhost:8080/quickstart/app): http://www.badongo.com/file/3249801 regards Nino Nino Saturnino Martinez Vazquez Wael wrote: > Hi > > Im ha

Re: [Wicket-user] Stable URLs (Was: Bookmarkable pages and transparent login)

2007-05-31 Thread Thomas Singer
> If you just click on a bookmarkable link and then the url does change in the > browser then somewhere > a setRedirect(true) is done. So the URL "http://localhost:8080/?wicket:interface=:2::"; comes from the throw new RestartResponseAtInterceptPageException(this)? At least the second time, wh

Re: [Wicket-user] How To Test with getApplication method

2007-05-31 Thread Johan Compagner
i think this was a problem in 1.2 we fixed this in 1.3 so that you can use your own application class, somebody please correct me if i am mistaken here So in 1.2 there isn't really a right way to reuse your webapplication object johan On 5/30/07, tma tma <[EMAIL PROTECTED]> wrote: Hi I am n

[Wicket-user] Using Loop with ajax?

2007-05-31 Thread Nino Saturnino Martinez Vazquez Wael
Hi Im having some trouble with loop and ajax. Now when the page initially are created the loop are empty, this makes the loop not render. When I get the ajax request I try to add the loop with addcomponent, however this tells me this: Component with id [[gmap_gmapContainer_gmarkersLoop]] a was

Re: [Wicket-user] [BUG]

2007-05-31 Thread Alex Objelean
Maybe the topic title is a little confusing... [BUG] is related to IE, not wicket... This is useful when you want to append a js script somewhere inside the body as a result of an ajax response, and you want it to be evaluated on the client side also by IE (not only gecko browsers).. Johan Comp

[Wicket-user] Dynamic number of columns in TreeTable

2007-05-31 Thread Mats Norén
Hi, Would it be possible to let the TreeTable take a model of columns instead of a fixed array? So that it would be possible to dynamically alter the number of columns based on a model? My usecase is a timeplanning tree with activities as rows and time as columns. Looking at the code it seems that

Re: [Wicket-user] [BUG]

2007-05-31 Thread Johan Compagner
But do we have components or behaviors that output this kind of ajax scripts that aren't working in IE7? So the question is who is generating that code/script? johan On 5/31/07, Alex Objelean <[EMAIL PROTECTED]> wrote: Not necessarily, only if you (core developers) consider that it worth the

Re: [Wicket-user] Problem with AjaxLink and images in snapshot from this morning (1.3.0-incubating-SNAPSHOT)

2007-05-31 Thread Mats Norén
Hi, The problem is still there, unfortunately... /Mats On 5/28/07, Mats Norén <[EMAIL PROTECTED]> wrote: > I've got a small snag with images inside an ajaxlink: > > My template looks like this: > > title="Bakåt"> src="img/button_goBack.gif"> > > The generated output when the page loads for the f

Re: [Wicket-user] Have to click 2 times to get my search results

2007-05-31 Thread Johan Compagner
that code doesn't say much (for example where is the ajax code?) don't you have a small quickstart application ? On 5/30/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]> wrote: Johan many thanks for answering I think so. Here is the structure of the code: 1) A panel that contains a For

Re: [Wicket-user] modalwindow open fails

2007-05-31 Thread Johan Compagner
one thing that was helpful in tracking this down was turning on the AJAX debugging window. yeah that is a great debug feature ! Now only being able to resize that window (MATEJ!!! :)) johan - This SF.net email is sponsor

Re: [Wicket-user] Stable URLs (Was: Bookmarkable pages and transparent login)

2007-05-31 Thread Johan Compagner
nothing is wrong if you click on a wicket link (or submit a form) then we do a redirect to the page that is then rendered What is strange (if that happens at your place) is that if you click on a bookmarkable link then that link should stay there (until you press a none bookmarkable link or submi

Re: [Wicket-user] Wicket & Acegi ?

2007-05-31 Thread Per Ejeklint
Eelco Hillenius wrote: > >> I thought about that too but then I still have to drag in some JSP's for >> the login page and somehow >> integrate Acegi's authz taglib for conditional content. Not that it's a >> big deal but it literally all feels >> a bit mixed, I prefer to keep it pure. > > For

Re: [Wicket-user] Stable URLs (Was: Bookmarkable pages and transparent login)

2007-05-31 Thread Thomas Singer
No one knows what's wrong? Tom Thomas Singer wrote: > OK, I've tried to create an unversioned page to keep the URL stable using > following page code: > >> public class DownloadFile extends TemplatePage { >> >> // Constants >> =

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Timo Rantalaiho
On Thu, 31 May 2007, Lowell Kirsh wrote: > Cool. So no need to 'add' it? Yes of course. You must add to a parent every component that you want to render, otherwise it's just garbage (for the JVM). - Timo -- Timo Rantalaiho Reaktor Innovations Oyhttp://www.ri.fi/ > -

Re: [Wicket-user] Is it possible to remove something from a page?

2007-05-31 Thread Lowell Kirsh
Cool. So no need to 'add' it? On 5/30/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > new WebMarkupContainer("removeMe") { > > protected void onBeforeRender() { > > super.onBeforeRender(); > > setVisible(sometimesFalse()); > > } > > } > > That, or alternatively, > > new