Re: Feedback panel don't show messages of child component

2011-08-23 Thread Florian B.
Hi, you're right I found the following message: /WARN - WebSession - Component-targetted feedback message was left unrendered. This could be because you are missing a FeedbackPanel on the page. Message: [FeedbackMessage message =

Re: Feedback panel don't show messages of child component

2011-08-23 Thread nino martinez wael
You are not doing any ajax are you? 2011/8/23 Florian B. florian.bernst...@gmail.com: Hi, you're right I found the following message: /WARN  - WebSession                 - Component-targetted feedback message was left unrendered. This could be because you are missing a FeedbackPanel on the

Basic l10n / i18n question: must page be re-rendered?

2011-08-23 Thread Alexandros Karypidis
Hello, I have written a locale selector by extending DropDownChoice (you can see the essential stuff of the implementation below). The problem is that when the user changes the locale, the page needs to be re-rendered using the newly selected locale. This does NOT happen. Instead, only the

Wizard step - adding multiple addresses to one client

2011-08-23 Thread nebojsa.nedic
Hello all, In second wizard step I would like to have an option to add several addresses for one client (that is created in the first wizard step). I have tried several options but none work out. The best one that I currently have is that I have added additional add button to the wizard step

Re: StatelessForm on BookmarkablePage and its action url

2011-08-23 Thread Doug Leeper
Urgghhh. It does work. Just have to pass the PageParameters to the super class in the constructor. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/StatelessForm-on-BookmarkablePage-and-its-action-url-tp3761160p3763192.html Sent from the Users forum mailing list

Attach multiple javascript file to a page

2011-08-23 Thread m.ugues
Hallo all. I'm new to this mailing list. I'm joking with wicket 1.4.18. I have this simple problem: I'm trying to attach 2 js files on my page in this way: class MyPage extends WebPage { add(new StyleSheetReference(ui-lightness, getClass(), css/ui-lightness/jquery-ui-1.8.16.custom.css));

Cannot render slider inside modal window

2011-08-23 Thread Rodrigo Heffner
Hi all, I have a modal window and I want to add a jqwicket slider to it. The slider works normally if it's added directly to my page, but not inside the modal window (I can inspect the html and see that my WebMarkupContainer is rendered, but the slider isn't shown). Here's the code: add(new

Sorting Feedback Messages

2011-08-23 Thread Christian Huber
Hi, I was wondering if there is a way to have feedback messages show up in certain order. Like, when you have multiple messages for the user you might want to have the most general one (e.g. success/failure) at the top and other detail messages shown below. From what I have seen so far it

Re: Sorting Feedback Messages

2011-08-23 Thread Martin Grigorov
I think org.apache.wicket.markup.html.panel.FeedbackPanel.setSortingComparator(ComparatorFeedbackMessage) is for that On Tue, Aug 23, 2011 at 8:10 PM, Christian Huber hub...@butterbrot.org wrote: Hi, I was wondering if there is a way to have feedback messages show up in certain order. Like,

Re: Attach multiple javascript file to a page

2011-08-23 Thread Martin Grigorov
Try with console.log() instead of alert() On Tue, Aug 23, 2011 at 7:25 PM, m.ugues m.ug...@gmail.com wrote: Hallo all. I'm new to this mailing list. I'm joking with wicket 1.4.18. I have this simple problem: I'm trying to attach 2 js files on my page in this way: class MyPage extends

Re: AJAXDownload Example Doesn't Support Content-Disposition (Save As)

2011-08-23 Thread Igor Racic
Hi, I am not able to get save dialog. Here is the code: final AJAXDownload download = new AJAXDownload() { @Override protected IResourceStream getResourceStream() { return new StringResourceStream(info.srcString, text/plain); } @Override protected String getFileName() { return

Re: Basic l10n / i18n question: must page be re-rendered?

2011-08-23 Thread Gregor Kaczor
I have exactly the same problem, though i use an xml file for the translations. Any help out there? On 08/23/2011 02:09 PM, Alexandros Karypidis wrote: Hello, I have written a locale selector by extending DropDownChoice (you can see the essential stuff of the implementation below). The

[CVE-2011-2712] Apache Wicket XSS vulnerability

2011-08-23 Thread Martin Grigorov
Severity: Important Vendor: The Apache Software Foundation Versions Affected: Apache Wicket 1.4.x Apache Wicket 1.3.x and 1.5-RCx are not affected Description: With multi window support application configuration and special query parameters it is possible to execute any kind of JavaScript on a

Re: Sorting Feedback Messages

2011-08-23 Thread Christian Huber
Yes, as i wrote this would be the way to impose a custom sorting on messages but at the moment the FilterMessage class does not provide dedicated fields that could be used for a sorting metric. So i was wondering if there are plans to provide such a thing or if we will be bound to incooperate

Re: Basic l10n / i18n question: must page be re-rendered?

2011-08-23 Thread Alexandros Karypidis
Hi Gregor, I've found a way to do this by manipulating the request cycle. However, it will only work if you don't mind losing any page state, as it generates a new page rendering. I do this by overriding onSelectionChanged(...) of the DropDownChoiceLocale as follows: @Override

Re: Basic l10n / i18n question: must page be re-rendered?

2011-08-23 Thread Igor Vaynberg
the pub and form input examples works correctly, take a look at those. -igor On Tue, Aug 23, 2011 at 11:13 AM, Gregor Kaczor gkac...@gmx.de wrote: I have exactly the same problem, though i use an xml file for the translations. Any help out there? On 08/23/2011 02:09 PM, Alexandros Karypidis

Re: AJAXDownload Example Doesn't Support Content-Disposition (Save As)

2011-08-23 Thread eugenebalt
Igor, Don't use the AJAXDownload class. There's another way to do it via Ajax, and get the Save As dialog. Click this page: https://cwiki.apache.org/WICKET/best-practices-and-gotchas.html Go down to the example that starts with or do it like this: (the 2nd example in the section Starting

Re: AJAXDownload Example Doesn't Support Content-Disposition (Save As)

2011-08-23 Thread Sven Meier
Hi, are you sure proposedFileName is non-null? Sven On 08/23/2011 07:29 PM, Igor Racic wrote: Hi, I am not able to get save dialog. Here is the code: final AJAXDownload download = new AJAXDownload() { @Override protected IResourceStream getResourceStream() { return new

Re: Wizard step - adding multiple addresses to one client

2011-08-23 Thread Sven Meier
Now I am thinking to create a component ... but I don't know is this a good approach Sure, a panel allowing to manage addresses, sounds good. when I put component.setRequired(true) that component checks whether there is at least one address added into the model? You could use

Re: AJAXDownload Example Doesn't Support Content-Disposition (Save As)

2011-08-23 Thread Igor Racic
Yes, it initialized. Thank you, Igor 2011/8/23 Sven Meier s...@meiers.net Hi, are you sure proposedFileName is non-null? Sven On 08/23/2011 07:29 PM, Igor Racic wrote: Hi, I am not able to get save dialog. Here is the code: final AJAXDownload download = new AJAXDownload()

ConcurrentModificationException since Update to 1.4.18

2011-08-23 Thread Johannes Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi guys, I tried to upgrade to the latest Wicket version (security issues...). But now I suddently get that exception: Any hints? I didn't change anything knowingly. So I have no idea where to search for the solution... Thanks a lot, Johannes

Re: CSS Change not being picked up when using TextTemplateResourceReference

2011-08-23 Thread Doug Leeper
I have just encountered this issue and have tried overriding the newResource but in 1.4.18 the variables textTemplate, and variablesModel are private. Any suggestion how I might be rectify this w/o creating my own TextTemplateResourceReference? BTW...Can't move to 1.5 Thanks in advance - Doug

Re: JavaScriptReference with TextTemplate only returns the first retrieved value

2011-08-23 Thread Doug Leeper
I have encountered this issue as well...and I believe I know the reason for this behavior. The TextTemplateResourceReference eventually is bound to the Application shared resources. It never gets reset. So the TextTemplateResourceReference will always use the first variables used to substitute