Re: Resource lookup/caching in OSGI environment

2009-04-06 Thread Kristof Jozsa
https://issues.apache.org/jira/browse/WICKET-2212 thanks, K On Mon, Apr 6, 2009 at 4:02 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: open a jira issue for this -igor On Sun, Apr 5, 2009 at 4:38 PM, Kristof Jozsa kristof.jo...@gmail.com wrote: Hi all, I'd put together a simple

Re: Using Prince XML to generate PDF of wicket page

2009-04-06 Thread Peter Ross
On Mon, Apr 6, 2009 at 12:18 PM, Peter Ross pdr...@gmail.com wrote: Hi, I'm new to wicket and I am looking at integrating Prince XML with Wicket. Prince supplies a method  public boolean convert(InputStream xmlInput, OutputStream pdfOutput) throws IOException What I would like to do is

Re: Display other page in panel

2009-04-06 Thread reiern70
I would use a panel (as Igor already suggested) but in case you decide to use a Page there is already an org.apache.wicket.markup.html.link.InlineFrame class that can be handy. Ernesto TradeMark wrote: Hi there, -i would like to ask whether it is possible to display other page in

Re: validation message-keys differences on m3 to rc2

2009-04-06 Thread Gianni Doe
ComponentStringResourceLoader's javadoc is very helpful here: quote assume a component hierarchy like page1.form1.input1 and your are requesting a key named 'Required'. Wicket will search the property in the following order: page1.properties = form1.input1.Required page1.properties =

Re: IMarkupCacheKeyProvider - getCacheKey Problem

2009-04-06 Thread flb
Hi there! I have a question regarding your code below: @Override public IResourceStream getMarkupResourceStream( final MarkupContainer container, final Class containerClass ) { String markup = call to method to get the markup string ( creates it on the fly

Re: Pop up window after file upload

2009-04-06 Thread Kevin Logue
It could probably be done using an AjaxSelfUpdatingBehavior, though you'll need to off load the actual uploading to a separate thread. Once the upload is complete set some flag/messages in the session and have the behaviour show the modal window based upon this(could use a second behaviour on

Runtime error with TabbedPanel and AbstractTab (I know it's my mistake somewhere)

2009-04-06 Thread Branden Tanga
Hello all, I'm trying to follow the examples given on wicketstuff.org for TabbedPanel here: http://tinyurl.com/cpzkas My code compiles fine, but when I run it I get a noclassdeffound error for AbstractTab. Here's my snippet of code: import org.apache.wicket.markup.html.WebPage; import

Re: Runtime error with TabbedPanel and AbstractTab (I know it's my mistake somewhere)

2009-04-06 Thread mailingl...@jorgenpersson.se
Hi. Seems like you're missing a jar file. The java.lang.NoClassDefFoundError means just what it sais. The class can not be found in the classpath. It has nothing to do whether the class is abstract or not. /Jörgen Branden Tanga skrev: Hello all, I'm trying to follow the examples given on

Re: Dojo Tooltip JS Error (And Mootips)

2009-04-06 Thread nino martinez wael
wicketstuff core.. But the common js lib are something that the libraries so use internally. Like Dojo, scriptaculous or minies.. So the thing would be to patch both to use that.. 2009/4/4 TH Lim ssh...@gmail.com: Are you refering to Wicket core or  wicketsutff-core? Where do I find this

Re: Extending wicket for non webapp implementations

2009-04-06 Thread Erik van Oosten
Tip: search for rendering to String. Regards, Erik. James Carman wrote: On Wed, Apr 1, 2009 at 9:57 AM, Brill Pappin br...@pappin.ca wrote: I'd love to use wicket as a more general template library. My immediate problem is that I need to build email template library. Has anyone done

Tips to implement this switch technique

2009-04-06 Thread HHB
Hey, For our application layout we decided to go with switching panels technique. The Index page contains the navigation panel which contains links to switch panels. I know how to implement this technique but only when the links that are supposed to switch panels are on the same Index page, not

Re: Dojo Tooltip JS Error (And Mootips)

2009-04-06 Thread TH Lim
As I went thru the new wicketstuff-core, I found there is a lightbox for JQuery. I suppose we could use lightbox for JQuery for those who move to Wicket-1.4. Sorry I haven't gone in details but I presume it has the same style and serves the same purpose. nino martinez wael wrote:

Spring integration problem

2009-04-06 Thread HHB
Hey, I'm trying to integrate Spring 2.5 into our Wicket application, I did the following: web.xml: context-param param-namecontextConfigLocation/param-name param-valueclasspath:applicationContext.xml/param-value /context-param listener

Re: Spring integration problem

2009-04-06 Thread Leandro Féres
You must tell where's your spring context (applicationContext.xml). Try this: listener listener-classorg.springframework.web.context.ContextLoaderListener/listener-class /listener context-param param-namecontextConfigLocation/param-name

Re: Spring integration problem

2009-04-06 Thread Leandro Féres
Sorry, didn't see (at first) that you've already done something similar. Anyway, try replacing classpath:applicationContext.xml for WEB-INF/applicationContext.xml. I'm not sure if this classpath param works there. Regards, Leandro. 2009/4/6 Leandro Féres leandro.fe...@gmail.com You must tell

Re: Spring integration problem

2009-04-06 Thread HHB
I tried what you suggested, no luck, the same error. Leandro Féres wrote: Sorry, didn't see (at first) that you've already done something similar. Anyway, try replacing classpath:applicationContext.xml for WEB-INF/applicationContext.xml. I'm not sure if this classpath param works there.

Re: Tips to implement this switch technique

2009-04-06 Thread Sergey Podatelev
Although it'd probably be more correct to check the state of the navPanel within a switchingPanel ( switchingPanel.getPage().get(navPanel) ) and render it accordingly. On Mon, Apr 6, 2009 at 8:00 PM, Sergey Podatelev brightnesslev...@gmail.com wrote: Not sure if I understand your problem

publish resources in webapp

2009-04-06 Thread Fernando Wermus
Hi all! I have several swf files in webapp/ folder and I need to publish them for any user. How can I achieve that in wicket? Thanks in advance! -- Fernando Wermus. www.linkedin.com/in/fernandowermus http://mientretiempo.blogspot.com/

problems with form submits and AJAX modal window

2009-04-06 Thread Alexander Elsholz
hi, i've problems with submitting my form in a modal window. when i use the same component (surrounded with a panel) directly on a page everything works fine. the problem is, that all component-models are set to null. in the request-map i found these parameters: -random:0.5499189677089167

Updating form components in list view

2009-04-06 Thread Jeff Palmer
I have a list view that has some form components (a checkbox and a RadioChoice). All of the data from the ListView is getting displayed on the page properly, but when I try to modify one of the form values, it isn't getting updated as expected. If anyone has any idea what I might be doing

Re: Updating form components in list view

2009-04-06 Thread Ryan Gravener
have you tried ListView#setReuseItems(true) ? Ryan Gravener http://ryangravener.com/flex | http://twitter.com/ryangravener On Mon, Apr 6, 2009 at 4:57 PM, Jeff Palmer jpal...@citytechinc.com wrote: I have a list view that has some form components (a checkbox and a RadioChoice). All of the

Button markup id is missing on Modal Window

2009-04-06 Thread Warren Bell
I have a Modal Window that acts like a progress indicator. It has an AbstractAjaxTimerBehavior that checks to see if a condition is met. When it is met an image on the Modal Window is removed and a form with an AjaxButton is added. The image starts with isVisible() = true and the form and

Re: Security in a Spring Wicket layered application

2009-04-06 Thread Eduardo Nunes
Are you using something else together with wicket-jsecurity? I saw the example in the svn and there is no annotation based authorization or something like this. How did you implement the authorization in your (big) application? Thanks, Eduardo S. Nunes On Tue, Mar 10, 2009 at 2:53 PM, Les

Custom validation

2009-04-06 Thread Chris Carlson
New to wicket trying to figure out the best way to do custom validation. I have a dropdown and a textfield, only 1 of which is required. I want the user to select from the dropdown, and if their option is not listed, be able to enter anything in the textfield

AppleTV!

2009-04-06 Thread John Armstrong
I think this may be a first but I am now running wicket on my AppleTV under Jetty. This is for a home automation project where wicket will be the glue between serial port communications and a USB-UIRT infrared input device. Hooray for Wicket, new frontiers.. Well, it wasn't that hard but I think

Re: AppleTV!

2009-04-06 Thread Igor Vaynberg
thats pretty freaking cool :) -igor On Mon, Apr 6, 2009 at 8:52 PM, John Armstrong siber...@gmail.com wrote: I think this may be a first but I am now running wicket on my AppleTV under Jetty. This is for a home automation project where wicket will be the glue between serial port

Re: Custom validation

2009-04-06 Thread Martin Makundi
You might want to use ajax to show the textfield only after a specific option in the dropdown is chosen. Add, for example, OnChangeAjaxBehavior to the dropdown where you add the textfield to the target. In the textfield's isVisible method you evaluate whether to show it or not. textfield = new

Re: Custom validation

2009-04-06 Thread Igor Vaynberg
make both of your components not required, and use IFormValidator to make sure at least one is filled in. alternatively you can override form.onvalidate() and perform custom validation there. remember to use component.getconvertedinput() and not getmodelobject() during validation. -igor On Mon,