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

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 tr and td markup. I had the following: table div wicket:id=tabs class=tabpanel /div /table When I should have had: table tr td

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

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,

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 phone:

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 body or header tag to your markup since no Header Container was found but components where found which want to write to the head section. meta http-equiv=refresh content=10/ but my markup already

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

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: 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: 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

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

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

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?

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

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: 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

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

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 does the

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: 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

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 on my

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

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

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:

RE: Re: AutoCompleteTextField and wicket 1.3.5

2008-11-11 Thread Kai Mutz
rzsolt mailto:[EMAIL PROTECTED] 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

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: 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

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 body or header tag to your markup since no Header Container was found

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, I

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,

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

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 form-id.uploadTooLarge to // override default message But I'm still not sure how to override it in a Properties file if

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

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

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: table class=table id=pollList thead tr th wicket:id=orderByIdwicket:message key=poll.id[id]/wicket:message/th th

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

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? -igor

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

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.

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

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]

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 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 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: 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. Here

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 Nov

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: 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 message in

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 a

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: 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 itayh wrote:

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

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

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'. As

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

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

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:

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 which

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 ListViewLink(createLinks, links) { protected void populateItem(ListItemLink item) { Link link =

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:

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

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 : //

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

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

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

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

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

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: td a href=# wicket:id=active-link span wicket:id=poll.active /td td a href=#

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

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

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

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 img src=bar.gif/ is rewritten as img src=../bar.gif/ when the

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 img src=bar.gif/ is rewritten as img src=../bar.gif/ when the page is accessed under its foo mount - which makes

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.

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

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

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

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