Re: Issue with FileUpload.writeToTempFile()

2008-11-11 Thread Johan Compagner
If you use eclipse you should use the project specific format we have defined for it. You should have a .settings dir or something like that. Look at the wicket project preferences and look what formatter you use there On 11/12/08, Bruno Borges <[EMAIL PROTECTED]> wrote: > sure igor... :-) your op

Re: mounts and resources

2008-11-11 Thread Johan Compagner
I think that is what happens. If pages are mounted we will fix the images so that they are not screwed up because of the mount. What is ecactly in the html? I guess ../images/xxx right? On 11/11/08, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > wicket should be rewriting static urls for you so it sho

Re: Re: Issue with FileUpload.writeToTempFile()

2008-11-11 Thread Bruno Borges
sure igor... :-) your opinion is more than welcome. about the binary search specially. I will keep that in mind for future codes :-) (and not just for wicket) but, about the formatting, I really don't know what's going on. I'm using Ganymede and I've been applying the EclipseCodeFormat.xml withou

Pretty url for tabs

2008-11-11 Thread rmoskal
I'm familiar with the a lot of the strategies that make for nicer urls in Wicket, but am at a loss for how to make the urls for a tabpanel friendlier. Instead of /Home:1:1, /Home:2:1, etc. I'd like to have /Home:Account:1, /Home:Alerts:1, etc. It would be nice to lose the last bit on the right

Re: Re: Issue with FileUpload.writeToTempFile()

2008-11-11 Thread Igor Vaynberg
hi bruno. first off let me say that we really appreciate the patches... but :) i would like to make a couple of small comments: it would be nice if you used the same formatting settings as us. your patches contain 90% noise which makes them hard to read. try to use simpler names. "normalizeFile

Re: mounts and resources

2008-11-11 Thread Igor Vaynberg
wicket always rewrites links to be context-relative. just because something is mounted as /foo/page doesnt mean that is the only way to access it. the behavior he is seeing is that his is rewritten as when the page is accessed under its foo mount - which makes the url context-relative. this is th

Re: mounts and resources

2008-11-11 Thread Craig Tataryn
On 11-Nov-08, at 2:44 PM, Igor Vaynberg wrote: wicket always rewrites links to be context-relative. just because something is mounted as /foo/page doesnt mean that is the only way to access it. the behavior he is seeing is that his is rewritten as when the page is accessed under its foo mount

Re: SessionHandling: WicketRuntimeException: There is no application attached to current thread http-8080-1

2008-11-11 Thread Igor Vaynberg
you can retrieve the application context via the servlet context and use vanilla spring to do whatever it is you are trying to do. you only need the proxies when dealing from inside wicket - which you do not appear to be doing. -igor On Tue, Nov 11, 2008 at 1:06 PM, Agent Mahone <[EMAIL PROTECTED

Re: wicket 1.4 - Localizer getCacheKey BUG

2008-11-11 Thread Ned Collyer
actually.. found out what it was (and the example i gave was incorrect - oops). the new Localizer#getCacheKey(String, Component) assumes that for a given key in the markup, there will only ever be a single translation. I have my own resource resolver, which allows for resolution of the keys base

Re: wicket 1.4 - Localizer getCacheKey BUG

2008-11-11 Thread Ned Collyer
I'm in the process of updating to 1.4m3. The following is resulting in the same cache key for each item. (which did not happen in 1.4m1) ListView createLinks = new ListView("createLinks", links) { protected void populateItem(ListItem item) { Link link = item.g

Re: image link inside of table problem

2008-11-11 Thread itayh
Thanks Ned, that was the problem Ned Collyer wrote: > > if you have em's wrapped around the link, its probably disabled. > > Eg, from > if(poll.getStatus().equals(VidgetStatus.ACTIVE)) > deleteLink.setEnabled(false); > > Rgds > > Ned > > > > itay

Re: mounts and resources

2008-11-11 Thread Craig Tataryn
On 11-Nov-08, at 10:13 AM, Igor Vaynberg wrote: wicket should be rewriting static urls for you so it should work transparently. what usecase exactly does not work? -igor Basically he has a setup like this: Apache2.2 -> Tomcat. He has Rewrite rules setup to make Apache serve the static cont

AW: SessionHandling: WicketRuntimeException: There is no application attached to current thread http-8080-1

2008-11-11 Thread Agent Mahone
Hello guys The only thing what I was trying to do was, to execute some code if a time out occurs. (mark that user is not anymore available or online). How then can I achieve this behaviour? Am I forced to use the classic instantiation through the new operator? Or is there any other solution? _

Re: image link inside of table problem

2008-11-11 Thread Ned Collyer
if you have em's wrapped around the link, its probably disabled. Eg, from if(poll.getStatus().equals(VidgetStatus.ACTIVE)) deleteLink.setEnabled(false); Rgds Ned itayh wrote: > > Hi Charlie, > You are correct, I removed some not relevant data. > He

Re: Why don't I get onSubmit() for my form?

2008-11-11 Thread Jim Pinkham
Thanks to all who helped find this - yes, it was failing to validate my input numeric "123.45". I came up with this fix in my application class: protected IConverterLocator newConverterLocator() { converterLocator.set(Double.class, new AbstractDecimalConverter() { private

Re: Why don't I get onSubmit() for my form?

2008-11-11 Thread Christopher Lyth
Is the onError getting called for the form? -- Christopher J Lyth [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Why don't I get onSubmit() for my form?

2008-11-11 Thread Jim Pinkham
Thanks! That helped me find the problem - I broke it when I added this to get $ prefix for my Double (in this app all doubles are currency) values: converterLocator.set(Double.class, new AbstractDecimalConverter() { private static final long serialVersionUID = 1L;

Re: Why don't I get onSubmit() for my form?

2008-11-11 Thread Marcus Mattila
> Any tips for me? I feel like I'm missing something really simple... Override the Form's onError() -method, to check whether there's a validation error you haven't noticed. -Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Why don't I get onSubmit() for my form?

2008-11-11 Thread jWeekend
Jim, Temporarily add a FeedbackPanel to make sure you are successfully getting through validation. There's much too much irrelevant code there (to demonstrate such a problem), but I did notice, for instance, that you're using a RequiredTextField which means that the form must have a value for th

Re: Wicket & IE7 Ajax problem

2008-11-11 Thread JohannesK
Terribly sorry about that... http://markmail.org/message/3llzlsmoa7jrbe32 here's a better link igor.vaynberg wrote: > > umm, the link you gave points to a thread about a problem with > wicket-velocity...? > > do you have the right link to the mailing list thread and the jira issue? > > -i

Re: image link inside of table problem

2008-11-11 Thread itayh
Hi Charlie, You are correct, I removed some not relevant data. Here is my table full markup: [id] [name] [description] [question] [maxVotes]

Why don't I get onSubmit() for my form?

2008-11-11 Thread Jim Pinkham
I can't figure out why my form's onSubmit isn't firing when I click my submit button. Can anyone see what I've done wrong? Here's the HTML: http://pastebin.com/m5b1440a0 Here's Java code: http://pastebin.com/m4a217d31 At line#114, onSubmit is not being called. I've tried lots of different thi

Re: How to use TextTemplateHeaderContributor.forCss method?

2008-11-11 Thread shetc
ERROR SharedResourceRequestTarget:185 - shared resource com.test.wicket.MyApplication/skins/${brand}/someImage.jpg not found -- View this message in context: http://www.nabble.com/How-to-use-TextTemplateHeaderContributor.forCss-method--tp20411565p20446152.html Sent from the Wicket - User mailing

Re: Re: Issue with FileUpload.writeToTempFile()

2008-11-11 Thread bruno . borges
JIRA issue created - *with patch included* https://issues.apache.org/jira/browse/WICKET-1930 cheers, Bruno On Nov 11, 2008 4:11pm, Igor Vaynberg <[EMAIL PROTECTED]> wrote: please open a jira issue. -igor On Tue, Nov 11, 2008 at 1:59 AM, Lauri Piispanen - Conmio Ltd wrote: > Hi all, >

Re: Overriding builtin error messages

2008-11-11 Thread Charlie Dobbie
Unless I'm missing something, hopefully your wicket:id in markup matches the id you're giving the component... :-) Charlie. 2008/11/11 Steve Swinsburg <[EMAIL PROTECTED]> > Ah so is the form-id in the docs the wicket:id which is static in the HTML > or is it the markup id of the form which is

Re: image link inside of table problem

2008-11-11 Thread Charlie Dobbie
That can't be your real markup - you've not closed the span or anchor tags, and Wicket won't accept that at all. Please post your real markup! Charlie. 2008/11/11 Igor Vaynberg <[EMAIL PROTECTED]> > what url is generated for that link (look in source). how is the url > different from what i

Re: Wicket & IE7 Ajax problem

2008-11-11 Thread Igor Vaynberg
umm, the link you gave points to a thread about a problem with wicket-velocity...? do you have the right link to the mailing list thread and the jira issue? -igor On Tue, Nov 11, 2008 at 7:22 AM, JohannesK <[EMAIL PROTECTED]> wrote: > > Hello > > I am having the problem discussed here: > http://

Re: mounts and resources

2008-11-11 Thread Igor Vaynberg
wicket should be rewriting static urls for you so it should work transparently. what usecase exactly does not work? -igor On Mon, Nov 10, 2008 at 5:22 PM, Craig Tataryn <[EMAIL PROTECTED]> wrote: > If one were to mount a page like so: > > mount(new QueryStringUrlCodingStrategy("foo/HomePage.html"

Re: Issue with FileUpload.writeToTempFile()

2008-11-11 Thread Igor Vaynberg
please open a jira issue. -igor On Tue, Nov 11, 2008 at 1:59 AM, Lauri Piispanen - Conmio Ltd <[EMAIL PROTECTED]> wrote: > Hi all, > > I seem to be having a small portability glitch with > FileUpload.writeToTempFile(). Looking at the source code it seems to be > using item.getFieldName(), which o

Re: How to use TextTemplateHeaderContributor.forCss method?

2008-11-11 Thread Eelco Hillenius
The substitution doesn't happen at all? Any errors you see in the logs? Eelco On Sun, Nov 9, 2008 at 2:16 PM, shetc <[EMAIL PROTECTED]> wrote: > > Hi All, > > I've had success using the TextTemplateHeaderContributor.forJavaScript > method but can't get the equivalent TextTemplateHeaderContributor

Re: image link inside of table problem

2008-11-11 Thread Igor Vaynberg
what url is generated for that link (look in source). how is the url different from what it is supposed to be? you need to learn how to provide more *useful* information if you want help. -igor On Tue, Nov 11, 2008 at 8:09 AM, itayh <[EMAIL PROTECTED]> wrote: > > Hi, > > I am having a table with

Re: FallbackSubmitLink (yes it sounds crazy)

2008-11-11 Thread Igor Vaynberg
On Tue, Nov 11, 2008 at 9:53 AM, Ryan <[EMAIL PROTECTED]> wrote: > Thanks again Igor, your always quick to respond and a huge help! you are welcome -igor > -Ryan > > On Tue, Nov 11, 2008 at 09:26:44AM -0800, Igor Vaynberg exclaimed: > >>the naming is bad since in wicket "fallback" means it still

Re: FallbackSubmitLink (yes it sounds crazy)

2008-11-11 Thread Ryan
Yes, the name I chose was misleading. There was a discussion back in January about PagingNavigator.newPagingNavigationIncrementLink and PagingNavigator.newPagingNavigationLink returning Link objects and not AbstractLink objects. I could not find a JIRA issue for the enhancement so I created one htt

Re: SessionHandling: WicketRuntimeException: There is no application attached to current thread http-8080-1

2008-11-11 Thread Igor Vaynberg
wouldnt say its a bug, looks like a method invocation is done on a wicket-spring proxy outside a wicket request and it cannot find the application when it tries to resolve the application context. those proxies are not mean to be used outside wicket requests. -igor On Tue, Nov 11, 2008 at 7:11 AM

Re: Overriding builtin error messages

2008-11-11 Thread Igor Vaynberg
max size is available via ${maxSize}, not sure if we have the actual size availabel as a variable. -igor On Tue, Nov 11, 2008 at 8:01 AM, Steve Swinsburg <[EMAIL PROTECTED]> wrote: > Ah so is the form-id in the docs the wicket:id which is static in the HTML > or is it the markup id of the form wh

Re: FallbackSubmitLink (yes it sounds crazy)

2008-11-11 Thread Igor Vaynberg
the naming is bad since in wicket "fallback" means it still does the exact same thing albeit without ajax/js. i think if you want that kind of behavior you will have to roll your own link, possibly extending from abstractsubmitlink. -igor On Tue, Nov 11, 2008 at 9:14 AM, Ryan <[EMAIL PROTECTED]>

Re: FallbackSubmitLink (yes it sounds crazy)

2008-11-11 Thread Ryan
Currently SubmitLink sets the to href='#', instead it would have a valid href (similar to a regular Link). The onclick would still submit the form but return false to prevent the href being followed in javascript browswers. Then the you have 1 of 2 cases: 1) the browswer has javascript and runs th

Re: Adding a header contributor raise an error in logs

2008-11-11 Thread Igor Vaynberg
create a quickstart and attach it to a jira issue. -igor On Tue, Nov 11, 2008 at 1:30 AM, eyalbenamram <[EMAIL PROTECTED]> wrote: > > Hi, > I get a message: > http-8095-Processor20 ERROR html.WebPage - You probably forgot to add a > or tag to your markup since no Header Container was > found bu

Re: AjaxFallbackDefaultDataTable with ajax lazy loading - sorting and paging throws an IllegalStateException

2008-11-11 Thread Igor Vaynberg
create a quickstart and i will take a look. -igor On Tue, Nov 11, 2008 at 12:38 AM, Yazeed Isaacs <[EMAIL PROTECTED]> wrote: > Hi Igor > > I am still having a problem with the paging & sorting of the > AjaxFallbackDefaultDataTable when it is used within a LazyLoadPanel ie. > LazyLoadPanel.getLazy

Re: FallbackSubmitLink (yes it sounds crazy)

2008-11-11 Thread Igor Vaynberg
you cannot have a submitLINK and not have javascript. what would your href be? links do not submit forms, only buttons do. -igor On Mon, Nov 10, 2008 at 2:03 PM, Ryan <[EMAIL PROTECTED]> wrote: > I have a DataView component and each row has a CheckBox to select that > row. I prefer not to have an

image link inside of table problem

2008-11-11 Thread itayh
Hi, I am having a table with deactivate and delete link columns. In the delete column I want to have delete image, so pressing on the image will activate the delete function on the server. My html code: < a href="#" wicket:id="active-link" >< span wicket:id="poll.active" > < a href="#" wicket:i

Re: Overriding builtin error messages

2008-11-11 Thread Steve Swinsburg
Ah so is the form-id in the docs the wicket:id which is static in the HTML or is it the markup id of the form which is dynamic? Does this then mean that in my Application properties I should put: myForm.uploadTooLarge=No way dude, far too large! What about including the actual size ( ie 2M)

Re: Overriding builtin error messages

2008-11-11 Thread bruno . borges
How dynamic is your form's id? Shouldn't be static because of HTML reference? On Nov 11, 2008 1:53pm, Steve Swinsburg <[EMAIL PROTECTED]> wrote: I'd like to override the default form feedback messages (also so I can localise them). ie 'Upload must be less than' In Form.java I found this : /

Overriding builtin error messages

2008-11-11 Thread Steve Swinsburg
I'd like to override the default form feedback messages (also so I can localise them). ie 'Upload must be less than' In Form.java I found this : // Resource key should be .uploadTooLarge to // override default message But I'm still not sure how to override it in a Properties file if the for

RE: wicket prepends unnecessary ../ before href/src html element attributes

2008-11-11 Thread Anirban Basak
Exactly... I have seen discussions regarding index.html and tomcat issue several times before. But, since I'm using jboss, it haven't come to my mind that jboss uses tomcat internally. Thanks a lot :) Warm Regards, Anirban Basak Ph : 91 33 2357 7177 Extn: 277 -Original Message- From: A

Re: IDataProvider Implementation.

2008-11-11 Thread Graeme Knight
Hi guys, I am using hibernate and it is caching (which is great) so that overhead is not a problem - after some reflection I think it appears to me that because you get rid of the loadabledetachablemodel to 'save database hits' (which if cached, doesn't really) then the affect is more serialized

Re: wicket prepends unnecessary ../ before href/src html element attributes

2008-11-11 Thread Erik van Oosten
Anirban, Your resources still start with "xxweb". If you want them to be served by wicket replace it with "xx/web" or something like that. If you want them to be served by something else (context xxweb?) prepend a "/". Regards, Erik. Alan Romaniusc wrote: Could it be anything like this?

Wicket & IE7 Ajax problem

2008-11-11 Thread JohannesK
Hello I am having the problem discussed here: http://www.mail-archive.com/users@wicket.apache.org/msg02284.html I see that in that thread and also in Jira several different solutions are suggested to the problem but I don't think any of them made it to Wicket 1.3.5? Do you have any plans on impl

Re: wicket prepends unnecessary ../ before href/src html element attributes

2008-11-11 Thread Alan Romaniusc
Could it be anything like this? http://www.nabble.com/Wicket-1.4-m3,-wicket-auth-roles-and-Context-Path-td20249711.html On Tue, Nov 11, 2008 at 9:51 AM, Anirban Basak <[EMAIL PROTECTED]> wrote: > (replacing proprietary names/texts with xx) > > > > I'm running wicket web app with context 'xx'. > >

Re: SessionHandling: WicketRuntimeException: There is no application attached to current thread http-8080-1

2008-11-11 Thread Martijn Dashorst
I guess org.apache.wicket.spring.SpringWebApplication$1.getSpringContext(SpringWebApplication.java:51) has a bug because it assumes it is always called inside the scope of a wicket request. Martijn On Tue, Nov 11, 2008 at 12:59 PM, Agent Mahone <[EMAIL PROTECTED]> wrote: > Hi guys > > I´m just t

London Wicket Event - December 3rd @ Google

2008-11-11 Thread jWeekend
Our next London Wicket Event will be on December 3rd (most likely at Google's offices at Victoria station). We'll be ordering the Pizza to be there by 18:15. I am still working on the schedule but it is almost finalised; registration and up-to-date details are http://www.jweekend.com/dev/LWUGReg

Re: IDataProvider Implementation.

2008-11-11 Thread Martijn Dashorst
That, and that typically your ORM (hibernate, etc) will put the object in second level cache. The LDM should hit that cache most of the time between requests. Martijn On Tue, Nov 11, 2008 at 3:58 PM, Erik van Oosten <[EMAIL PROTECTED]> wrote: > Not a good idea for large objects. A few days back I

Re: IDataProvider Implementation.

2008-11-11 Thread Erik van Oosten
Not a good idea for large objects. A few days back I improved load time of a page from more then 40 sec to about 5 sec by replacing "new Model(object)" with a proper LoadableDetachableModel. Nevertheless, there is no reason to let the LoadableDetachableModel get the object if you already have

Re: IDataProvider Implementation.

2008-11-11 Thread Graeme Knight
Hey Jeremy, Thanks for the heads up - actually that's what I ended up doing this morning. Works like a charm! Cheers, Graeme. Jeremy Thomerson-5 wrote: > > In my apps, I bring them all in whenever the first call to iterator or > size > is done, and cache them until detach. It's a very reason

Re: Question on PageMap

2008-11-11 Thread Erik van Oosten
I am not sure what the default is set to Look at the constructors of DiskPageStore. My end goal is to try and squeeze more performance out of my application. If that is your goal you are on the wrong track. The disk store is a rotating logging based, mostly write-only store. Logging based as n

Re: IDataProvider Implementation.

2008-11-11 Thread Jeremy Thomerson
In my apps, I bring them all in whenever the first call to iterator or size is done, and cache them until detach. It's a very reasonable pattern. Then in the model method, I basically do new Model(object) -- Jeremy Thomerson http://www.wickettraining.com On Tue, Nov 11, 2008 at 8:03 AM,

Re: internationalising error messages

2008-11-11 Thread Steve Swinsburg
Hi Jurrie, Interesting. The property was in my main Application properties file, not in the properties for the class that threw this error (lets say TestPage.java). I'm not too keen on having multiple properties files for lots of different Classes so I keep them all in one spot, I was und

Re: Howto mark a FormComponent as invalid without having a feedbackmessage?

2008-11-11 Thread Jim Pinkham
Matt, Try using a CheckGroup - Jim. On Tue, Nov 11, 2008 at 5:50 AM, Matthias Keller <[EMAIL PROTECTED]>wrote: > Hi > > I'm using a custom FormValidator to validate a group of checkboxes. I want > to raise an error whenever none of the checkboxes is checked. > In the effect I must have all che

Re: internationalising error messages

2008-11-11 Thread Jurrie Overgoor
Steve Swinsburg wrote: That throws a java.util.MissingResourceException: Unable to find resource: error.empty.file.uploaded for component: . Is there a reason why StringResourceModel is not preferred. Its just as localisable as the other method right? I'm not saying that StringResourceM

Re: Size of session cache

2008-11-11 Thread Johan Compagner
See: /** * Creates a new [EMAIL PROTECTED] DiskPageStore} instance. * * @param maxSizePerPagemap *the maximum size of pagemap file (in bytes) * @param maxSizePerSession *the maximum size of session (in bytes) * @param fileChannelPoolCapaci

IDataProvider Implementation.

2008-11-11 Thread Graeme Knight
Hi. >From the examples I've seen the IDataProvider implementation of the iterator method brings back (for example) a list of keys from the database. The model method uses something like a LoadableDetachableModel to populate a model for use by the consumer using the list of keys previously retrie

Re: internationalising error messages

2008-11-11 Thread Steve Swinsburg
That throws a java.util.MissingResourceException: Unable to find resource: error.empty.file.uploaded for component: . Is there a reason why StringResourceModel is not preferred. Its just as localisable as the other method right? Steve On 11 Nov 2008, at 13:34, Jurrie Overgoor w

Question on PageMap

2008-11-11 Thread David R Robison
I have been monitoring the size of the pm-null file stored in the Work directory from Tomcat. I assume that it is the serialized version of the PageMap. I have an application where, if I navigate from page A to page B and then back to page A, the pm-null file keeps growing. I understand that I

Re: Size of session cache

2008-11-11 Thread David R Robison
The size the session takes up on the disk. David Johan Compagner wrote: which size exactly are you talking about? On Mon, Nov 10, 2008 at 11:03 PM, David R Robison < [EMAIL PROTECTED]> wrote: Is there a convenient way to tell the size of user's session cache? David -- David R Robison Op

Re: internationalising error messages

2008-11-11 Thread Jurrie Overgoor
Steve Swinsburg wrote: Cool, ended up doing this: error(new StringResourceModel("error.empty.file.uploaded", this, null).getString()); Reckon thats the best solution? It's a bit heavier than just ResourceModel, for simple strings with no param substitution would it still be ok? I suppose

Re: internationalising error messages

2008-11-11 Thread Steve Swinsburg
Cool, ended up doing this: error(new StringResourceModel("error.empty.file.uploaded", this, null).getString()); Reckon thats the best solution? It's a bit heavier than just ResourceModel, for simple strings with no param substitution would it still be ok? cheers, Steve On 11 No

Re: How to use TextTemplateHeaderContributor.forCss method?

2008-11-11 Thread shetc
bump -- View this message in context: http://www.nabble.com/How-to-use-TextTemplateHeaderContributor.forCss-method--tp20411565p20439494.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-m

Re: internationalising error messages

2008-11-11 Thread James Carman
Component has a getString() method that you can use to access its message bundle. On Tue, Nov 11, 2008 at 8:17 AM, Steve Swinsburg <[EMAIL PROTECTED]> wrote: > Is there a way to internationalise the error messages? I'd like them to come > from my resource bundle: > error(new ResourceModel("error.e

internationalising error messages

2008-11-11 Thread Steve Swinsburg
Is there a way to internationalise the error messages? I'd like them to come from my resource bundle: error(new ResourceModel("error.empty.file.uploaded")); doesnt work and gives: Model:classname=[org.apache.wicket.model.ResourceModel] as the output. Alternatively I'll need to look at using

SessionHandling: WicketRuntimeException: There is no application attached to current thread http-8080-1

2008-11-11 Thread Agent Mahone
Hi guys I´m just trying to execute some code after a session timeout occurs. I´m using spring / wicket / hibernate frameworks. Why do I get this error "WicketRuntimeException: There is no application attached to current thread http-8080-1"? I´m not getting it...I appreciate any hints. Thanks in

wicket prepends unnecessary ../ before href/src html element attributes

2008-11-11 Thread Anirban Basak
(replacing proprietary names/texts with xx) I’m running wicket web app with context ‘xx’. As long I’m mounting pages with mountBookmarkablePage(..) or other URL encoding strategies (http://www.test-server.com/xx/web/page/partner) or mentioning /xx/* as the filter pattern, everything is runn

Re: combining target.addComponent and javascript

2008-11-11 Thread Steve Swinsburg
Hi Timo, No I don't have the normal markup of the panel in the HTML as I didn't really want to create it then hide it. So I just have the placeholder tag. Then clicking the button is meant to replace the contents of the placeholder tag with the actual content. And that works. I just can't

Re: Re: AutoCompleteTextField and wicket 1.3.5

2008-11-11 Thread rzsolt
There is another typo in AutoCompleteTextField.java. Line 257 should be like this: tag.put("autocomplete", "off"); instead of this tag.put("autocomplete", "false"); A temporary workaround: myActf.add(new SimpleAttributeModifier("autocomplete", "off")); -- View this messa

RE: Re: AutoCompleteTextField and wicket 1.3.5

2008-11-11 Thread Kai Mutz
rzsolt wrote: > I have the same problem using IE6. I get an 'Error on page' message > when I press the first key in my AutoCompleteTextField type field. > The complete IE6 error massage as: > Line: 288 > Char: 9 > Error: Type mismatch > > Inspecting the recent changes in

Howto mark a FormComponent as invalid without having a feedbackmessage?

2008-11-11 Thread Matthias Keller
Hi I'm using a custom FormValidator to validate a group of checkboxes. I want to raise an error whenever none of the checkboxes is checked. In the effect I must have all checkboxes marked as invalid so that I can apply some style to them to visually display this too. Unfortunately when I add

Issue with FileUpload.writeToTempFile()

2008-11-11 Thread Lauri Piispanen - Conmio Ltd
Hi all, I seem to be having a small portability glitch with FileUpload.writeToTempFile(). Looking at the source code it seems to be using item.getFieldName(), which on my page translates to "filefields:1:upload". Windows doesn't really like colons, which gives me the following stacktrace: .

Adding a header contributor raise an error in logs

2008-11-11 Thread eyalbenamram
Hi, I get a message: http-8095-Processor20 ERROR html.WebPage - You probably forgot to add a or tag to your markup since no Header Container was found but components where found which want to write to the section. but my markup already contains and ")); HTML code: http://www.wapforum.org

Re: Size of session cache

2008-11-11 Thread Johan Compagner
which size exactly are you talking about? On Mon, Nov 10, 2008 at 11:03 PM, David R Robison < [EMAIL PROTECTED]> wrote: > Is there a convenient way to tell the size of user's session cache? David > > -- > > David R Robison > Open Roads Consulting, Inc. > 103 Watson Road, Chesapeake, VA 23320 > p

RE: AjaxFallbackDefaultDataTable with ajax lazy loading - sorting and paging throws an IllegalStateException

2008-11-11 Thread Yazeed Isaacs
Hi Igor I am still having a problem with the paging & sorting of the AjaxFallbackDefaultDataTable when it is used within a LazyLoadPanel ie. LazyLoadPanel.getLazyLoadComponent() returns the AjaxFallbackDefaultDataTable. The AjaxFallbackDefaultDataTable loads correctly within the LazyLoadPanel, bu

Re: Re: AutoCompleteTextField and wicket 1.3.5

2008-11-11 Thread rzsolt
I have the same problem using IE6. I get an 'Error on page' message when I press the first key in my AutoCompleteTextField type field. The complete IE6 error massage as: Line: 288 Char: 9 Error: Type mismatch Inspecting the recent changes in wicket-autocomplete.js (1.3.4 -> 1.3.5), I found that t

RE: WebMarkupContainer with AjaxTabbedPanel - duplicating panel data

2008-11-11 Thread Yazeed Isaacs
Hi Igor Forgot it. I made a really foolish mistake. I must have been in a hurry and that I left out the and markup. I had the following: When I should have had: It works

RE: WebMarkupContainer with AjaxTabbedPanel - duplicating panel data

2008-11-11 Thread Yazeed Isaacs
Hi Igor Here is my code: final WebMarkupContainer terminalsContainer = new WebMarkupContainer("terminalsContainer"); terminalsContainer.setOutputMarkupId(true); terminalsContainer.add(new ListView("terminalDetails", new ArrayList()) { @Override protected void popu