Re: [Wicket-user] Bookmarkable links

2006-02-28 Thread David Leangen
On Tue, 2006-02-28 at 23:32 -0800, Igor Vaynberg wrote: > if /context is your context path then yes. Hmmm... Well, in that case, I'll try to get my local wicket to actually build in Eclipse so I can set up Jetty Launcher with it and try to step through to see why this isn't happening as I expect

Re: [Wicket-user] Bookmarkable links

2006-02-28 Thread Igor Vaynberg
if /context is your context path then yes.-IgorOn 2/28/06, David Leangen <[EMAIL PROTECTED]> wrote: On Tue, 2006-02-28 at 22:05 -0800, Igor Vaynberg wrote:> how old is the snapshot you are using? do you have the source > attached? if so take a look at sourcecode for MarkupParserFactory, do> you see

Re: [Wicket-user] is IValidatorResourceKeyFactory being used

2006-02-28 Thread Martijn Dashorst
Deprecate and remove in 1.3 Martijn On 3/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > so you do have a straight forward migration path away from it? maybe i will > deprecate it for 1.2 and remove in 1.3 then. or ask again before we release > 1.2 in case you had time to move. > > -Igor > > >

Re: [Wicket-user] Bookmarkable links

2006-02-28 Thread David Leangen
On Tue, 2006-02-28 at 22:05 -0800, Igor Vaynberg wrote: > how old is the snapshot you are using? do you have the source > attached? if so take a look at sourcecode for MarkupParserFactory, do > you see the prepender added in the constructors? I'm using 20060227-0200. Yes, I did notice the Prepen

Re: [Wicket-user] Still link problems (was: Is wicket on the "right" path?)

2006-02-28 Thread Mark Derricutt
On 3/1/06, Thomas Singer <[EMAIL PROTECTED]> wrote: I've converted my tiny project to Wicket 1.2, but encounter the sameproblems as with Wicket 1.1.1.One difference I noticed between yours and mine (which was based off the quickstart) is that I have my wicket servlet mapped to /app and not / This w

Re: [Wicket-user] Bookmarkable links

2006-02-28 Thread Igor Vaynberg
the prepending is done via PrependContextPathHandler class. this handler was not enabled by default because it was experimental. as of a recent 1.2 snapshot it is enabled by default. how old is the snapshot you are using? do you have the source attached? if so take a look at sourcecode for MarkupP

Re: [Wicket-user] Bookmarkable links

2006-02-28 Thread David Leangen
> Wait a second do you use wicket:id tags in the >so when i see this: > > public Object getObject( final Component c ) >{ >if ( ContentPage.this.isLocaleJapan > ese() ) >return "styles/main_jp.css"; >else >retu

Re: [Wicket-user] is IValidatorResourceKeyFactory being used

2006-02-28 Thread Igor Vaynberg
so you do have a straight forward migration path away from it? maybe i will deprecate it for 1.2 and remove in 1.3 then. or ask again before we release 1.2 in case you had time to move. -Igor On 2/28/06, Nick Heudecker <[EMAIL PROTECTED]> wrote: We're using it.  We should move away from it, but I

Re: [Wicket-user] is IValidatorResourceKeyFactory being used

2006-02-28 Thread Nick Heudecker
We're using it.  We should move away from it, but I don't have the time to update everything in my app right now. On 2/28/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:i would like to remove IValidatorResourceKeyFactory and so i want to know if anyone is using it and thus be affected. since we now h

Re: [Wicket-user] Apply global CSS font styles......

2006-02-28 Thread David Leangen
Hi, Chris, Try taking a look at the wiki. I'd give you the exact link, but I'm unable to access the wiki at this time. There is a page there that shows how to embed css and javascript. It should give you some helpful hints. Cheers, Dave On Tue, 2006-02-28 at 16:00 -0600, Wolff, Chris (JIS -

[Wicket-user] is IValidatorResourceKeyFactory being used

2006-02-28 Thread Igor Vaynberg
i would like to remove IValidatorResourceKeyFactory and so i want to know if anyone is using it and thus be affected. since we now have a good search order for resource keys instead of always trying formname.inputname.validator-class the factory is more or less obsolete.so if you are using it plea

Re: [Wicket-user] Still link problems (was: Is wicket on the "right" path?)

2006-02-28 Thread David Leangen
Hi, I took a look at your project, but I am definitely not the right guy to ask about this. I have no experience with what you're trying to do. Good luck! Dave On Tue, 2006-02-28 at 21:50 +0100, Thomas Singer wrote: > Hi David and others, > > I've converted my tiny project to Wicket 1.2, bu

Re: [Wicket-user] [Wicket 1.1.1] Modifying attributes of the HTML body tag

2006-02-28 Thread Eelco Hillenius
And programatically you can do: /** * @see wicket.Component#renderHead(wicket.markup.html.internal.HtmlHeaderContainer) */ public void renderHead(HtmlHeaderContainer container) { ((WebPage)getPage()).getBodyContainer().addOnLoadModifier(

Re: [Wicket-user] relative resources(css/images...) in HTML

2006-02-28 Thread Johan Compagner
what problem?it works fine if you have all youre resources in the classes dirin a html file you can do this:

Re: [Wicket-user] [Wicket 1.1.1] Modifying attributes of the HTML body tag

2006-02-28 Thread Juergen Donnerstag
In 1.1.1 has a special wicket container associated. I assume you have Panel and that Panel has some to contribute something to the pages header. Than simply add a javascript ... Juergen On 2/28/06, Timo Stamm <[EMAIL PROTECTED]> wrote: > Hi. > > > I have to modify the onload attribut

Re: [Wicket-user] relative resources(css/images...) in HTML

2006-02-28 Thread Thomas Singer
OK, but what do you say about the reported problem with the relative resource paths and links? -- Best regards, Thomas Singer Johan Compagner schrieb: i have to say that i don't find that the prefered (wicket) way. Ofcourse it is possible, but the best thing would be to package all resources

[Wicket-user] Apply global CSS font styles......

2006-02-28 Thread Wolff, Chris (JIS - Applications)
Am trying to apply a global/base font style for all text on Wicket pages with CSS.   On my local machine, the following code works as desired and is applied to all text.   This does not seem to work when specified in my .css file for my Wicket application….     *

[Wicket-user] [Wicket 1.1.1] Modifying attributes of the HTML body tag

2006-02-28 Thread Timo Stamm
Hi. I have to modify the onload attribute of the body tag. I thought it would be sufficient to add a new WebMarkupContainer in my base Page and link it to the body tag in the markup. But unfortunately it doesn't seem to be so easy. (I have to override the "add" methods of Page, and Wicket c

Re: [Wicket-user] relative resources(css/images...) in HTML

2006-02-28 Thread Johan Compagner
i have to say that i don't find that the prefered (wicket) way.Ofcourse it is possible, but the best thing would be to package all resources in the classes dir or jar.(jar is a requirement ofcourse if you make a component that you want to reuse) johanOn 2/28/06, Thomas Singer <[EMAIL PROTECTED]> wr

Re: [Wicket-user] Refreshing dynamic images

2006-02-28 Thread Johan Compagner
By default resources are cachable.You have to turn that off first:SpclChartResource resource = new SpclChartResource() { /// fooo };resource.setCacheable(false);Image tmpImage2 = new Image("image2", resource);johanOn 2/28/06, Anders Peterson < [EMAIL PROTECTED]> wrote: Hi,On one page I'm displaying

Re: [Wicket-user] relative resources(css/images...) in HTML

2006-02-28 Thread Johan Compagner
That is the best thing you can do in wicket. They are called PackageResources which are added to our SharedResources (in application object)quite a lot of examples do use them.Just lookf for example that use the PackageResource, PackageResourceReference, SharedResources For example we have _javasc

Re: [Wicket-user] relative resources(css/images...) in HTML

2006-02-28 Thread Thomas Singer
Therefore , if I open PersonPanel.html with DreamWeaver or HTML editor , it will report resource not found error. How to solve it ? Seems to be related to my problem sent immediately before your posting. To load markups from a different location, please take a look at my code sample. -- Best

Re: [Wicket-user] relative resources(css/images...) in HTML

2006-02-28 Thread Eelco Hillenius
> the src="..." seems should be relative to the context root , not relative to > the HTML file. Nope, for header contributions it should be relative to the html file. There's multiple ways, but that's the prefered one. Eelco --- This SF.Net em

[Wicket-user] relative resources(css/images...) in HTML

2006-02-28 Thread smallufo
Hi , I am new to Wicket.I learn Wicket from the three tutorials in JavaLobby .In the third tutorial : Let Components Contribute to the Header Section( http://www.javalobby.org/java/forums/t61002.html )The author added to PersonPanel.html

Re: [Wicket-user] Still link problems (was: Is wicket on the "right" path?)

2006-02-28 Thread Thomas Singer
Hi David and others, I've converted my tiny project to Wicket 1.2, but encounter the same problems as with Wicket 1.1.1. - the image on the first page is not found, - clicking the About link shows the about page, but does not render the links correctly (About is still a link). My "exploded" dire

Re: [Wicket-user] Refreshing dynamic images

2006-02-28 Thread Riyad Kalla
Cool trick Igor, I didn't think of this before. On 2/28/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > the trick is to append a random number as a query parameter. that way the > browser has to fetch it again because it thinks its a different document. > > -Igor > > > On 2/28/06, Martijn Dashorst

Re: [Wicket-user] Refreshing dynamic images

2006-02-28 Thread Igor Vaynberg
the trick is to append a random number as a query parameter. that way the browser has to fetch it again because it thinks its a different document.-IgorOn 2/28/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote: Set the headers on the response.The browser support is a bit flaky as I understand it, fro

Re: [Wicket-user] Refreshing dynamic images

2006-02-28 Thread Martijn Dashorst
Set the headers on the response.The browser support is a bit flaky as I understand it, from the numerous caching problems with pages across browsers (safari, IE and FF work differently).Martijn On 2/28/06, Anders Peterson <[EMAIL PROTECTED]> wrote: Hi,On one page I'm displaying dynamic charts (JFre

[Wicket-user] Refreshing dynamic images

2006-02-28 Thread Anders Peterson
Hi, On one page I'm displaying dynamic charts (JFreeChart) as images. The charts, the data they're based on, are constantly changed by the users. The problem (as I understand it): The web browser doesn't know that the image has changed and therefore (sometimes) uses a cached image. Which mea

[Wicket-user] Re: Re: Source of application using Wicket

2006-02-28 Thread jan_bar
Hi, I cannot deploy it in JBoss jboss-4.0.3SP1: 13:05:32,090 ERROR [[/burgerweeshuis]] Servlet /burgerweeshuis threw load() exception java.lang.NoClassDefFoundError: wicket/AjaxHandler I think something is missing in the war. I use wicket-1.2-20060227-0200.jar, wicket-extensions-1.2-20060227-0200

[Wicket-user] Re: Source of application using Wicket

2006-02-28 Thread jan_bar
Building with 1.5.0_05 and 1.5.0_06 ends with internal compiler error in UserDetailsPage.java at this line: public RolesListView(String id) { super(id, new LoadableDetachableModel() { @Override protected Object load() { return getUserDao().findRoles();// this line crashes javac

Re: [Wicket-user] Onsubmit giving error? Missing model?

2006-02-28 Thread Johan Compagner
You don't specify a model at all form or youre form (compound model) or the radiochoice.Where should the submit values go into if you don't supply a model under youre form components.johan On 2/28/06, Nino Wael <[EMAIL PROTECTED]> wrote: HiIm having some trouble getting my onsubmit to work, looking

[Wicket-user] Onsubmit giving error? Missing model?

2006-02-28 Thread Nino Wael
Hi Im having some trouble getting my onsubmit to work, looking at one of the simple examples it looks like im doing the right thing(ive been looking at http://www.wicket-library.com/wicket-examples/signin). So hints on what im doing wrong and possible howto fix it will be much appreciated.

Re: [Wicket-user] Bookmarkable links

2006-02-28 Thread Johan Compagner
Wait a second do you use wicket:id tags in the and  Then you have to do it yourself!We don't touch urls generated by developer code.so when i see this:public Object getObject( final Component c )            {                if ( ContentPage.this.isLocaleJapan ese() )                    return "styl

Re: [Wicket-user] Bookmarkable links

2006-02-28 Thread Johan Compagner
What test i do with the "/.temp/www" context path it works always.I tested in the the PrependContextPathHandlerTest we have in our unit test.And also when i do this in our FormInputApplication.init() method example: getApplicationSettings().setContextPath("/.temp/www");Then the stylesheet is altere

Re: [Wicket-user] Re: Source of application using Wicket

2006-02-28 Thread Eelco Hillenius
Just get the latest or build a fresh one yourself. Eelco On 2/27/06, jan_bar <[EMAIL PROTECTED]> wrote: > Thanks Martijn, > > I have latest version of burgerweeshuis, but it doesn't compile. It seems > that the wicket SNAPSHOT in the lib/wicket is out fo date. Which snapshot > should I use? > > J

[Wicket-user] Re: Source of application using Wicket

2006-02-28 Thread jan_bar
I tried with latest snapshot of wicket and wicket-extension (did not found latest dojo). It's better but I cannot compile either, with javac 1.5.0_05 I get compiler internal error (java.lang.AssertionError). Jan "jan_bar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks Marti