Re: jquery ui dialog and ajax component updating

2010-12-12 Thread julien roche AKA indiana_jules
Hi, The jQuery UI Dialog (and the others dialogs too) has this comportement (adding elements at the end of the body) to position the dialogs and for the modal approach. So, when you refresh the dialog, you recreate the instance and so regenerate the HTML. You have to destroy properly your dialog w

Re: jquery ui dialog and ajax component updating

2010-12-12 Thread jensiator
Did you solve this problem? Im having the same problem. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/jquery-ui-dialog-and-ajax-component-updating-tp1857058p3085030.html Sent from the Users forum mailing list archive at Nabble.com. -

RE: resource for href="...

2010-12-12 Thread Ladislav DANKO
In img src I can use just path, the constructor for Image will translate it to right path for use in view. Not so ExternalLink. I know doc you pointing me, not suitable for me (I think) because I have images on the same server as app (under Tomcat). Maybe ExternalLink I'm using isn't right class?

Re: multi-window support, pagestores and wicket 1.5

2010-12-12 Thread Igor Vaynberg
On Sat, Dec 11, 2010 at 12:04 PM, Michal Kurtak wrote: > Hi folks, > > I know that there has been a lot of written about pagestores and > multi-window support in wicket 1.5, but i have several other > questions: > > 1. Is multi-window supported for non-versioned pages? > > If page is versioned eve

Re: resource for href="...

2010-12-12 Thread Zilvinas Vilutis
I don't think you can just use the file path ( and that is not secure... ) Please read the following to understand how to use resource reference on external images: https://cwiki.apache.org/WICKET/how-to-load-an-external-image.html Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@g

RE: resource for href="...

2010-12-12 Thread Ladislav DANKO
Snippet of code (note relevant removed): //file list in folder, sorted Folder folder = ((Start)Application.get()).getUploadFolder(); File[] files = folder.getFiles(); List lList = Arrays.asList(files); Collections.sort(lList); //for every image create clickable link with image as link RepeatingView

Re: resource for href="...

2010-12-12 Thread Zilvinas Vilutis
I don't see where your "path" is constructed. Did you want to construct an url for an Image ResourceReference ? Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com 2010/12/13 Ladislav DANKO : > No, I don't need to download it, what I need is right path in href attribute >

RE: resource for href="...

2010-12-12 Thread Ladislav DANKO
No, I don't need to download it, what I need is right path in href attribute in anchor html tag as is in img html tag (created as new Image). > -Original Message- > From: jcar...@carmanconsulting.com > [mailto:jcar...@carmanconsulting.com] On Behalf Of James Carman > Sent: Monday, Decem

[OT] Need Feedback from WicketForge users (IDEA plugin).

2010-12-12 Thread Minas Manthos
Hi I plan to make a core change to WicketForge plugin and need some user feedback. So if you like please follow up to http://groups.google.com/group/wicketforge/t/f5b0f57d184d6f0f Since this is not directly wicket related, please do not reply here. Thanks Minas. -- View this message in conte

Generate markup outside of DataTable relatively to visible data

2010-12-12 Thread Benedikt Schlegel
I have a DefaultDataTable to get my data rendered in HTML which is then postprocessed by a javascript lib to add some UI functionality like moving and hiding columns and scrolling with fixed headers. Now i want to add some checkboxes to make multi actions possible on that table. For that, i want t

Re: resource for href="...

2010-12-12 Thread James Carman
You want it to download the image? Try DownloadLink. On Sun, Dec 12, 2010 at 6:02 PM, Ladislav DANKO wrote: > Hi guys, > > another question -have code (PhotoRepeater extends Panel, view is > RepeatingView): > ... > String compID = view.newChildId(); > PhotoRepeater clickableImg = new PhotoRepeat

resource for href="...

2010-12-12 Thread Ladislav DANKO
Hi guys, another question -have code (PhotoRepeater extends Panel, view is RepeatingView): ... String compID = view.newChildId(); PhotoRepeater clickableImg = new PhotoRepeater(compID); clickableImg.add(new ExternalLink("fotoPath", path).add(new Image("image", path))); view.add(clickableImg); this

Re: Remove busy indicator from ajax timer behavior?

2010-12-12 Thread fachhoch
I have a similar need , I dont want busy indicator for ajaxTimer components , please guide me what how to achieve this, help is appreciated . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Remove-busy-indicator-from-ajax-timer-behavior-tp2195698p3084704.html

RE: repeters with

2010-12-12 Thread Ladislav DANKO
used, works ;-) -see my previous post. thanks for pointing me to this :) > -Original Message- > From: d.bartl.comsy...@googlemail.com > [mailto:d.bartl.comsy...@googlemail.com] On Behalf Of Daniel Bartl > Sent: Sunday, December 12, 2010 10:12 PM > To: users@wicket.apache.org > Subject: R

RE: repeters with

2010-12-12 Thread Ladislav DANKO
Yes, I know this doc. Not suitable for me (not shown case in which html tags are nested -see my original post) > -Original Message- > From: jcgarciam [mailto:jcgarc...@gmail.com] > Sent: Sunday, December 12, 2010 10:10 PM > To: users@wicket.apache.org > Subject: Re: repeters with > >

Re: repeters with

2010-12-12 Thread Daniel Bartl
Use RepeatingView#newChildId() in order to generate unique id for each of your LinkAndImagePanels while iterating through these like this: for (LinkAndImagePanel panel : allPanels) { String id = repeater.newChildId(); repeater.add(new LinkAndImagePanel(id, entry));

Re: repeters with

2010-12-12 Thread jcgarciam
Taken from the Javadoc: http://wicket.apache.org/apidocs/1.4/org/apache/wicket/markup/repeater/RepeatingView.html The usual use of a RepeatingView is: Example: *Java:* RepeatingView view = new Repeating

RE: repeters with

2010-12-12 Thread Ladislav DANKO
will answer myself :-) view.add(new LinkAndImagePanel(view.newChildId())); Laco > -Original Message- > From: Ladislav DANKO [mailto:em...@1ac0.net] > Sent: Sunday, December 12, 2010 10:03 PM > To: users@wicket.apache.org > Subject: RE: repeters with > > Panel added > ... > view.add(new

RE: repeters with

2010-12-12 Thread Ladislav DANKO
Panel added ... view.add(new LinkAndImagePanel("linkandimagepanel")); ... with apropriate panel markup and java code. Looks works when there is just one image but for two or more images there is error: Caused by: java.lang.IllegalArgumentException: A child with id 'linkandimagepanel' already exis

Re: StalePageException and AJAX possible bug

2010-12-12 Thread Michal Kurtak
JIRA issue created https://issues.apache.org/jira/browse/WICKET-3252 2010/12/11 Martin Grigorov : > Yes, please. > Create a ticket with a quickstart. > Even better - with a patch ;-) > > On Sat, Dec 11, 2010 at 10:26 AM, Michal Kurtak > wrote: > >> Hi, >> >> I have encountered a problem when usin

Re: repeters with

2010-12-12 Thread Martin Grigorov
the repeater should add a Panel (or a Fragment) instead of Image The Panel itself will contain something like: ExternalLink link = new ExternalLink("id", href); add(link); link.add(new Image("image", ...); On Sun, Dec 12, 2010 at 11:07 AM, Ladislav DANKO wrote: > How is possible to make a neste

RE: repeters with

2010-12-12 Thread Ladislav DANKO
How is possible to make a nested html tag with AttributeModifier? Laco > -Original Message- > From: Per Newgro [mailto:per.new...@gmx.ch] > Sent: Sunday, December 12, 2010 10:23 AM > To: users@wicket.apache.org > Subject: Re: repeters with > > You could add Links (instead of the image)

Re: repeters with

2010-12-12 Thread Per Newgro
Am 12.12.2010 09:19, schrieb Ladislav DANKO: Hi, from files in dir I do a list of photos. I do it this way: public class InsertPhotos extends WebPage { public InsertPhotos() throws IOException { Folder folder = ((Start)Application.get()).getPhotosFolder();

repeters with

2010-12-12 Thread Ladislav DANKO
Hi, from files in dir I do a list of photos. I do it this way: public class InsertPhotos extends WebPage { public InsertPhotos() throws IOException { Folder folder = ((Start)Application.get()).getPhotosFolder(); File[] files = folder.getFiles();