[Wicket-user] strip wicket: tags?

2006-10-31 Thread ryan mckinley
Hello-I'm new to wicket, so forgive me if this is posted obviously somewhere...The intro page says, Wicket has a simple setting to strip them all out, resulting in ordinary, standards-compliant HTML. What tag do I use? Where can i look to find this?thanks in advanceryan

Re: [Wicket-user] strip wicket: tags?

2006-10-31 Thread Erik van Oosten
Hi Ryan, This is covered in http://cwiki.apache.org/WICKET/how-to-remove-wicket-markup-from-output.html. Erik. ryan mckinley schreef: Hello- I'm new to wicket, so forgive me if this is posted obviously somewhere... The intro page says, Wicket has a simple setting to strip them all

Re: [Wicket-user] strip wicket: tags?

2006-10-31 Thread Martin Funk
http://cwiki.apache.org/confluence/display/WICKET/How+to+remove+wicket+markup+from+output mf ryan mckinley schrieb: Hello- I'm new to wicket, so forgive me if this is posted obviously somewhere... The intro page says, Wicket has a simple setting to strip them all out, resulting in

Re: [Wicket-user] Live wicket examples demo

2006-10-31 Thread Juergen Donnerstag
I put a cron job in place to restart tomcat everyday. This is because some examples data can be changed by users and the restart resets these data. No other reason. Juergen On 10/31/06, Ryan [EMAIL PROTECTED] wrote: I am still curious as to why the application server stops responding from time

Re: [Wicket-user] varying the presentation of a Panel...

2006-10-31 Thread Erik Brakkee
Thanks for the info. On 10/27/06, Eelco Hillenius [EMAIL PROTECTED] wrote: And ultimately, there is custom markup loading (wicket.examples.customresourceloading), though I would only consider that when working with 2.0. Eelco On 10/26/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:

Re: [Wicket-user] Problem with RestartResponseAtInterceptPageException?

2006-10-31 Thread Johan Compagner
PageBeforeAuthententicationRequiredPage:...onSubmit { setResponsePage(MyPageThatRequiresAnAuthenticatedUser.class); setRedirect(true)}johanOn 10/31/06, Andrew Berman [EMAIL PROTECTED] wrote:Hey Guys, This is the way I have it working.Unfortunately I'm so swamped with work so I can't put

[Wicket-user] Custom form validation/updateFormComponentModels()...

2006-10-31 Thread Erik Brakkee
Hi, I want to implement a custom form validation. Neverhteless, if I use IFormValidator and add the validator to the form, the validator is called before the form component models are updated. As a result I am validating against stale data. Is there a way to make sure that my validator gets

[Wicket-user] AttributeModifier for TextArea

2006-10-31 Thread dzenanr
Hi all, I determine the number of rows and columns for a text area using AttributeModifier. Usually there are more columns than rows and they are derived properly in my code. However, the text area is always displayed as a square, as the number of rows determines, by error?, also the number of

Re: [Wicket-user] strip wicket: tags?

2006-10-31 Thread Gwyn Evans
Just as an aside, please use the http://cwiki.apache.org/WICKET links in preference to the confluence ones where possible! /Gwyn On 31/10/06, Martin Funk [EMAIL PROTECTED] wrote: http://cwiki.apache.org/confluence/display/WICKET/How+to+remove+wicket+markup+from+output mf -- Download Wicket

Re: [Wicket-user] Problem with RestartResponseAtInterceptPageException?

2006-10-31 Thread Andrew Berman
Tried it already, still doesn't work. I also tried putting a dummy page between the PageBeforeAuthententicationRequiredPage and the MyPageThatRequiresAnAuthenticatedUser which simply does a setRedirect to the MyPageThatRequiresAnAuthenticatedUser, but still no dice. Does it make sense for me to

Re: [Wicket-user] (Not a) Bug in getting Model (1.2-snapshot)

2006-10-31 Thread Igor Vaynberg
On 10/30/06, Erik van Oosten [EMAIL PROTECTED] wrote: If did see something else, if you look at Component#initModel there is afor loop that iterates up to the root of the component hierarchy. In theloop body Component#getModel is called. Note however that getModel will potentially recursively call

Re: [Wicket-user] Custom form validation/updateFormComponentModels()...

2006-10-31 Thread Igor Vaynberg
wicket validators do not validate model data, they validate the input. if the input is valid that input is pushed into the componnet's model - that way your component models never contain invalid objects.what you want to work with is formcomponent.getconvertedinput()-igorOn 10/31/06, Erik Brakkee

Re: [Wicket-user] (Not a) Bug in getting Model (1.2-snapshot)

2006-10-31 Thread Erik van Oosten
I understand. Looks like a solid answer to me. Erik. Igor Vaynberg schreef: On 10/30/06, *Erik van Oosten* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: If did see something else, if you look at Component#initModel there is a for loop that iterates up to the root of

Re: [Wicket-user] varying the presentation of a Panel...

2006-10-31 Thread Jonathan Sharp
Does this also take into account package resources such as:add(HeaderContributor.forCss(getClass(), myPanel.css));So if I have a myPanel_foo.css defined it will chose this instead if style is set to foo? -jsOn 10/26/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote: Use styles. You can have several

Re: [Wicket-user] DataTable with column styles and widths

2006-10-31 Thread Jan Mikkelsen
I have run into the same requirement and would also like a more elegant solution. Is something in the works or is there more important stuff to do :) ? Personally I prefer Niels' approach because it is very straightforward. Thanks, /Jan Igor Vaynberg wrote: i think what would be even better

Re: [Wicket-user] DataTable with column styles and widths

2006-10-31 Thread Igor Vaynberg
nothing in the works yet, still trying to figure out the nicest way to do thisniel's idea might be more straightforward but from framework's point of view it is too limited and you can further generalize it to setStyle(rightadjusted width200) and remove setWidth() completely.then the question

Re: [Wicket-user] varying the presentation of a Panel...

2006-10-31 Thread Eelco Hillenius
It should. Eelco On 10/31/06, Jonathan Sharp [EMAIL PROTECTED] wrote: Does this also take into account package resources such as: add(HeaderContributor.forCss(getClass(), myPanel.css)); So if I have a myPanel_foo.css defined it will chose this instead if style is set to foo? -js

[Wicket-user] What is path to component at WicketTester.assertComponent() ??

2006-10-31 Thread Carfield Yim
Is that mean the package name? Or the Relative path? But why will a component have relative path? If it is something extend Panel class? - Using Tomcat but need to do more? Need to support web services, security? Get stuff

[Wicket-user] How to unit test component?

2006-10-31 Thread Carfield Yim
I can see method startPanel() at WicketTester but look like there is no corresponding assertRenderedPanel(), is that only run startPanel() is enough? - Using Tomcat but need to do more? Need to support web services, security?

Re: [Wicket-user] What is path to component at WicketTester.assertComponent() ??

2006-10-31 Thread Igor Vaynberg
i would imagine it is the relative path of the component from the page. every component is in the hierarchy at the top of which is the page.-igorOn 10/31/06, Carfield Yim [EMAIL PROTECTED] wrote: Is that mean the package name? Or the Relative path? But why will acomponent have relative path? If

[Wicket-user] Shades Phonebook --- why each object loaded redundantly

2006-10-31 Thread Geoff hendrey
Ragarding the Phonebook, I looked into why each Contact gets selected, AFTER the first select has retrieved all of them (N+1 loading). The DetachableContactModel is holding onto the ID, then getting the object by ID when it reattaches. If I change the detachableContactModel to just go ahead

Re: [Wicket-user] Shades Phonebook --- why each object loaded redundantly

2006-10-31 Thread Igor Vaynberg
ive been meaning to take a look into this and emberassingly enough it was a bug in the ContactDetachableModel which i have now fixed, the reason i didnt see it in hibernate is also explained below... On 10/31/06, Geoff hendrey [EMAIL PROTECTED] wrote: Ragarding the Phonebook, I looked into why

Re: [Wicket-user] How to unit test component?

2006-10-31 Thread Ingram Chen
for assertRenderedPanel(), it is easy to add by yourself, like: public Panel getLastRenderedPanel() { return (Panel) getLastRenderedPage().get(DummyPanelPage.TEST_PANEL_ID); } public void assertRenderedPanel(Class panelClass) { if

[Wicket-user] Problem of using border

2006-10-31 Thread Carfield Yim
Say I have a page that using a border component like this: div wicket:id = main_border table THEAD TR TH/TH THName/TH THEmail/TH /TR /THEAD TBODY span wicket:id = users TR TDa href=#

[Wicket-user] Problem of using border

2006-10-31 Thread Carfield Yim
Say I have a page that using a border component like this: div wicket:id = main_border table THEAD TR TH/TH THName/TH THEmail/TH /TR /THEAD TBODY span wicket:id = users TR TDa href=#

Re: [Wicket-user] Help needed: Best practise or example for first level navigation model

2006-10-31 Thread Eelco Hillenius
And there are projects wicket-extensions-menubar and wicket-contrib-navmenu in wicket-stuff. Eelco On 10/26/06, Johannes Fahrenkrug [EMAIL PROTECTED] wrote: Hi, I'm not sure because I haven't used it yet, but the components in wicket.markup.html.tree or wicket.extensions.markup.html.tree