Re: Problem with implementing borders

2008-08-09 Thread Martin Makundi
Hi Igor, another problem relating to the borders: The markup is the same now, but if the content is set to be hidden (visible=false) on the first time I load the page, I get the same error message (Expected close tag for "border"). So it now only works if the contents are visible by default, but c

Re: I do not see my wicket:container rendered?

2008-08-09 Thread Martin Makundi
> it is there for situations where you do not want to render any tag > into the output because it may cause invalid markup, etc. I understood from the specs that it is always allowed (according to the namespace) and in the above example it could be used to ajax-refresh those two table rows. ** Ma

Re: color code options in drop down choice

2008-08-09 Thread Martin Makundi
> it will also break all existing implementations of the interface out there. Well, the effort will nicely blend in with the chores of refactoring to the changes in generics... :) Or should it be made an abstract class? Another possibility would be to just enable suitable hooks in the rendering p

Re: I do not see my wicket:container rendered?

2008-08-09 Thread Igor Vaynberg
wicket:container tag is never rendered into the output, that is kind of the entire point of wicket:container :) eg: 1 2 it is there for situations where you do not want to render any tag into the output because it may cause invalid markup, etc. -igor On Sat, Aug 9, 2008 at 10:35 PM, Martin

I do not see my wicket:container rendered?

2008-08-09 Thread Martin Makundi
Hi! I want to use my wicketContainer (wicket:container tag) for a placeholder for a ajax replace. I have the following settings: // ... getMarkupSettings().setStripWicketTags(true); // ... wicketContainer.setOutputMarkupPlaceholderTag(true).setRenderBodyOnly(false); Nevertheles

Re: Problem with implementing borders

2008-08-09 Thread Igor Vaynberg
thanks -igor On Sat, Aug 9, 2008 at 10:19 PM, Martin Makundi <[EMAIL PROTECTED]> wrote: >> do you call contents.add(getbodycontainer()) so that is >> properly inside the "contents" container? > > Thanx.. now it works. It didn't occur to me to look into the javadoc > as I was following the exampl

Re: color code options in drop down choice

2008-08-09 Thread Igor Vaynberg
it will also break all existing implementations of the interface out there. -igor On Sat, Aug 9, 2008 at 10:21 PM, Martin Makundi <[EMAIL PROTECTED]> wrote: > It would be pretty easy to just add a getDispayStyle method into the > IChoiceRenderer interface and refactor the various classes using it

Re: color code options in drop down choice

2008-08-09 Thread Martin Makundi
It would be pretty easy to just add a getDispayStyle method into the IChoiceRenderer interface and refactor the various classes using it to support it accordingly. Don't you think? ** Martin 2008/8/10 Igor Vaynberg <[EMAIL PROTECTED]>: > so write a component that works the way you want. > > as co

Re: Problem with implementing borders

2008-08-09 Thread Martin Makundi
> do you call contents.add(getbodycontainer()) so that is > properly inside the "contents" container? Thanx.. now it works. It didn't occur to me to look into the javadoc as I was following the example in the wiki. BUT, I have now updated the WiKi accordingly! ** Martin > > On Sat, Aug 9, 2008

Re: color code options in drop down choice

2008-08-09 Thread Igor Vaynberg
so write a component that works the way you want. as core devs we have to maintain a hard balance between simplicity and flexibility. the more pluggable/customizable you make something, the more complicated it becomes. we do not make core components ultra pluggable because they serve as a basis a

Re: color code options in drop down choice

2008-08-09 Thread Martin Makundi
> Take a look http://jweekend.com/dev/ArticlesPage/ here , at the "Wicket > Select And SelectOption" presentation (roughly about half way through). Yes, but with Select And SelectOption you loose the benefits of dropdownchoice (automatic notnull and localization, for example). ** Martin > > Reg

Re: color code options in drop down choice

2008-08-09 Thread jWeekend
Take a look http://jweekend.com/dev/ArticlesPage/ here , at the "Wicket Select And SelectOption" presentation (roughly about half way through). Regards - Cemal http://www.jWeekend.co.uk http://jWeekend.co.uk fulltoos wrote: > > hi > I want to have a dropdown choice in which some of the choic

Re: color code options in drop down choice

2008-08-09 Thread Al Maw
Note that you can style tags in Firefox, but it probably won't work in Internet Explorer, so it may not be worth even bothering with this... Alastair 2008/8/9 Martin Makundi <[EMAIL PROTECTED]>: > Using Select/SelectOption/SelectOptions I loose all the other > encapsulated benfits of DropDownCho

Re: Images not caching in browser

2008-08-09 Thread Timo Rantalaiho
On Fri, 08 Aug 2008, jchappelle wrote: > Every time my pages load all the images load again. I'm not sure how to fix > this. Is it a change in my filter mapping? Does this happen on all browsers? I think that IE 6 needs some more caching headers than the others http://aspnetresources.com/blog

Re: Images not caching in browser

2008-08-09 Thread Igor Vaynberg
it might be, i am not sure. try tomcat 5 without apache infront of it. -igor On Sat, Aug 9, 2008 at 1:19 PM, jchappelle <[EMAIL PROTECTED]> wrote: > > I am using Tomcat 5 running as a mod under the apache http server. > > Do you think it is a configuration in tomcat? > -- > View this message in c

Re: Images not caching in browser

2008-08-09 Thread jchappelle
I am using Tomcat 5 running as a mod under the apache http server. Do you think it is a configuration in tomcat? -- View this message in context: http://www.nabble.com/Images-not-caching-in-browser-tp18901385p18908064.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: Is SAFE_CHILD_ID_PATTERN in AbstractRepeater correct, or does it break CSS spec?

2008-08-09 Thread Igor Vaynberg
because in certain scenarios we use regular expressions to get at certain things, and some of them are hardcoded to skip over [0-9]+ because we consider those reserved for direct children of repeaters... -igor On Sat, Aug 9, 2008 at 12:25 PM, John Patterson <[EMAIL PROTECTED]> wrote: > > Yeah I w

Re: Is SAFE_CHILD_ID_PATTERN in AbstractRepeater correct, or does it break CSS spec?

2008-08-09 Thread John Patterson
Yeah I will do that... but it seems to work OK anyway. So I am curious why the id must be numeric? igor.vaynberg wrote: > > why are you even getting the warning? add an intermediate item if you > want to use the CPM > > repeatingview rv=new repeatingview(); > webmarkupcontainer item=new webma

Re: Is SAFE_CHILD_ID_PATTERN in AbstractRepeater correct, or does it break CSS spec?

2008-08-09 Thread Igor Vaynberg
why are you even getting the warning? add an intermediate item if you want to use the CPM repeatingview rv=new repeatingview(); webmarkupcontainer item=new webmarkupcontainer(rv.newchildid()); rv.add(item); item.add(componentwithwhateveridyouwant) -igor On Sat, Aug 9, 2008 at 11:09 AM, John Pat

Re: Problem with implementing borders

2008-08-09 Thread Igor Vaynberg
do you call contents.add(getbodycontainer()) so that is properly inside the "contents" container? -igor On Sat, Aug 9, 2008 at 7:43 AM, Martin Makundi <[EMAIL PROTECTED]> wrote: > I tried also > > > > > > which gives the same error message. > > ** > Martin > > 2008/8/9 Igor Vaynberg <[E

Re: Is SAFE_CHILD_ID_PATTERN in AbstractRepeater correct, or does it break CSS spec?

2008-08-09 Thread John Patterson
Am I OK to continue ignoring the warning? Or will this bite me somewhere else? igor.vaynberg wrote: > > there are a couple of historical reasons that are hard for us to > remove due to api compatibility requirements in 1.3 and 1.4. > > this is something we can address once work starts on 1.5

Re: Problem with implementing borders

2008-08-09 Thread Martin Makundi
I tried also which gives the same error message. ** Martin 2008/8/9 Igor Vaynberg <[EMAIL PROTECTED]>: > wicket:body should not have a wicket:id > > -igor > > On Sat, Aug 9, 2008 at 2:17 AM, Martin Makundi > <[EMAIL PROTECTED]> wrote: >> Hi! >> >> I am trying to follow the example at

Re: Problem with implementing borders

2008-08-09 Thread Igor Vaynberg
wicket:body should not have a wicket:id -igor On Sat, Aug 9, 2008 at 2:17 AM, Martin Makundi <[EMAIL PROTECTED]> wrote: > Hi! > > I am trying to follow the example at > http://cwiki.apache.org/WICKET/consistent-page-layout-using-borders.html > > However, I keep getting the error > > Expected clos

Re: color code options in drop down choice

2008-08-09 Thread Martin Makundi
Using Select/SelectOption/SelectOptions I loose all the other encapsulated benfits of DropDownChoice or ListChoice. Wouldn't it be a good idea to have IChoiceRenderer or a similar interface with a method getDispayStyle for each option? ** Martin 2008/4/29 Igor Vaynberg <[EMAIL PROTECTED]>: > see

Re: Add markup to ListView's markup

2008-08-09 Thread Kaspar Fischer
On 06.08.2008, at 14:26, Kaspar Fischer wrote: On 06.08.2008, at 13:15, James Carman wrote: Why not make a new panel component that has a ListView and a label at the bottom? I ended up doing exactly this ... I need this component in many places, every time with different markup for betwee

Problem with custom FormComponentPanel and AjaxSubmitLink

2008-08-09 Thread Kaspar Fischer
I want to code a custom form component that allows users to edit the set of tags of some object. When constructed, the component receives a model for the current set of tags. The user can then edit this set using AJAX Add button and Remove links: Current tags: Foo (x), Bar (x) Add tag:

Problem with implementing borders

2008-08-09 Thread Martin Makundi
Hi! I am trying to follow the example at http://cwiki.apache.org/WICKET/consistent-page-layout-using-borders.html However, I keep getting the error Expected close tag for where the test-container is the border block. I cannot seem to find any hierarchy errors from the markup and I do not unde

Re: PageParameters

2008-08-09 Thread Uwe Schäfer
Igor Vaynberg schrieb: done for now thx again. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is SAFE_CHILD_ID_PATTERN in AbstractRepeater correct, or does it break CSS spec?

2008-08-09 Thread Igor Vaynberg
there are a couple of historical reasons that are hard for us to remove due to api compatibility requirements in 1.3 and 1.4. this is something we can address once work starts on 1.5 -igor On Fri, Aug 8, 2008 at 7:20 PM, John Patterson <[EMAIL PROTECTED]> wrote: > > Why are only digits allowed?

Re: Images not caching in browser

2008-08-09 Thread Igor Vaynberg
if the image is in your context dir then it will be streamed by the servlet container. wicket filter will let the url handling fall through to the container... so it is the servlet container that is not setting caching headers? what container are you using? -igor On Fri, Aug 8, 2008 at 6:41 PM,