Re: [Wicket-user] AjaxLink not updating Image

2007-07-04 Thread Sven Schliesing
Done: https://issues.apache.org/jira/browse/WICKET-720 But unfortunately the TestCase works as expected, while the in the wild test fails. -- View this message in context: http://www.nabble.com/AjaxLink-not-updating-Image-tf3915168.html#a11425908 Sent from the Wicket - User mailing list

Re: [Wicket-user] [wicket 1.2.6]Listview and item.getModelObject()?

2007-07-04 Thread Nino Saturnino Martinez Vazquez Wael
Ok, thanks. Igor Vaynberg wrote: On 7/3/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi I have this setup: ListView blockContainer = new ListView(blockContainer, model) { protected void populateItem(ListItem

Re: [Wicket-user] 401 HTTP authentication?

2007-07-04 Thread Maurice Marrink
Very interesting question indeed. I did some digging in the code and found the following: using the RequestCycle you can get the Response. which is most likely a WebResponse from there you can get the HttpServletResponse and set the statuscode to 401. Question remains how to tell wicket to stop

Re: [Wicket-user] DatePicker broken on beta2 and snapshot?

2007-07-04 Thread Gerolf Seitz
eelco, speaking of wicket-datetime. is it possible to change the default implementation of notifyComponentOnDateSelected to return true? when telling other people (happend twice up to now) about how to use the datepicker, i always felt the urge to tell them to override this method if they wanted

Re: [Wicket-user] 401 HTTP authentication?

2007-07-04 Thread Johan Compagner
you can use a Page that you also display and then in the configureResponse() you can set the right status like the AccessDeniedPage does: protected void configureResponse() { super.configureResponse(); getWebRequestCycle().getWebResponse().getHttpServletResponse().setStatus(

Re: [Wicket-user] Tree - override onNodeLinkClicked(...)?

2007-07-04 Thread kenixwong
the reason i using the tree is my menu will be cover a lot of reports ( i m develop the report module). So if using the tree style, the interface will be look more nicer and structure. Plus the dynamic feel to the user :p (more attractive). is that the wicket - tree is hard to maintain? Actually

[Wicket-user] AuthorizeAction and !Role

2007-07-04 Thread David Leangen
Is there an elegant way to do the opposite of what the AuthorizeAction annotation was intended for? I have an unregister function that any user _except_ the admin user should be able to use. If the admin unregisters, I'm f*. Essentially, I'd really like to be able to do something like this:

[Wicket-user] Passing parameters to PageExpired page

2007-07-04 Thread Thies Edeling
Hi all, Rather than using the default session expiry page I registered my LoginPage with getApplicationSettings().setPageExpiredErrorPage(LoginPage.class); Is there a way to pass along parameters to the LoginPage when it's registered as the expiry page? On the LoginPage I want to let the

Re: [Wicket-user] Passing parameters to PageExpired page

2007-07-04 Thread Carl-Eric Menzel
Is there a way to pass along parameters to the LoginPage when it's registered as the expiry page? On the LoginPage I want to let the user know that he has to relogin because his session expired however within the LoginPage I cannot determine the cause anymore. How about ExpiredPage extends

Re: [Wicket-user] Wicket with JExcel

2007-07-04 Thread Ayodeji Aladejebi
thats why the source is open for you to hack into :) however, 1. for the Not Set Stuff, check the XCell class for modification 2. the one without ajax is easy, Look up the ExcelGridPanel class and make these modifications final XCell cell = ... TextField celltx = new TextField(cell, new

Re: [Wicket-user] Passing parameters to PageExpired page

2007-07-04 Thread Thies Edeling
Carl-Eric Menzel wrote: Is there a way to pass along parameters to the LoginPage when it's registered as the expiry page? On the LoginPage I want to let the user know that he has to relogin because his session expired however within the LoginPage I cannot determine the cause anymore. How

Re: [Wicket-user] Passing parameters to PageExpired page

2007-07-04 Thread Carl-Eric Menzel
Ah didn't think of that, that'll work. Does Wicket travel up the hierarchy tree to look for the markup file? If ExpiredPage.html doesn't exist, will it use LoginPage.html? I don't really know and can't test it right now. I just thought of that off the top of my head ;-) Simply give it a

Re: [Wicket-user] Filterable DefaultDatatable

2007-07-04 Thread Ox
Hello, thx a lot for your input! In fact the value are sticking well after the submit. But I was explicitly reloading a new page with the values of the checkboxes. So that was bad but my Form model should be oK. What I don't understant is that I created a Form that I added to my Page. I didn't

Re: [Wicket-user] Wicket ModalWindow, MaskType and opacity

2007-07-04 Thread Matej Knopp
Unfortunately, there is no control of the opacity. The problem is that for certain browsers, the opacity attribute doesn't work well and we need to use a masking transparent picture. -Matej On 7/4/07, Sean Sullivan [EMAIL PROTECTED] wrote: Hello, I am using a Wicket 1.3.0 SNAPSHOT from the

Re: [Wicket-user] Tree - override onNodeLinkClicked(...)?

2007-07-04 Thread Matej Knopp
I believe, that what you want, is not to set response page, but rather to switch panel components. At least that sounds much more reasonable to me. -Matej On 7/4/07, kenixwong [EMAIL PROTECTED] wrote: the reason i using the tree is my menu will be cover a lot of reports ( i m develop the

Re: [Wicket-user] Why wicket-phonebook 1.3 doesn't reload and run in glassfish?

2007-07-04 Thread Gwyn Evans
On Wednesday, July 4, 2007, 3:25:33 AM, Lec [EMAIL PROTECTED] wrote: I have been trying to figure out a reason as to why wicket-phonebook 1.3 couldn't be executed anymore after reloading in glassfish but it can be done in tomcat 5.x...I could reload it in glassfish without seeing error on the

Re: [Wicket-user] Can I get a 'Nice URL' when form validation fails?

2007-07-04 Thread Philip Wilkinson
Thanks for that Dave. It does make sense. But I know the values are stored in the session pagemap, so I'd like to be able to get them from there. I was hoping that a combination of a bookmarked url, and maybe cookie or hidden field, managed by wicket, would be enough for wicket not to stray

Re: [Wicket-user] Can I get a 'Nice URL' when form validation fails?

2007-07-04 Thread David Leangen
Philip, But I know the values are stored in the session pagemap, so I'd like to be able to get them from there. I was hoping that a combination of a bookmarked url, and maybe cookie or hidden field, managed by wicket, would be enough for wicket not to stray from my 'nice' bookmarked url,

[Wicket-user] Image questions

2007-07-04 Thread Gohan
I'm using wicket 1.2.6 and I'd like to display simple gif images. I have the following code in my constructor for WelcomePage: add(new Image(toplogo, new ResourceReference(WelcomePage.class, toplogo.gif))); The html looks like: .. trtd /img/td/tr .. The

Re: [Wicket-user] Passing parameters to PageExpired page

2007-07-04 Thread Janos Cserep
Ah didn't think of that, that'll work. Does Wicket travel up the hierarchy tree to look for the markup file? If ExpiredPage.html doesn't exist, will it use LoginPage.html? Yes janos - This SF.net email is sponsored

Re: [Wicket-user] Filterable DefaultDatatable

2007-07-04 Thread Igor Vaynberg
On 7/4/07, Ox [EMAIL PROTECTED] wrote: What I don't understant is that I created a Form that I added to my Page. I didn't relate the form to the DefaultDataTable you need to relate it to the dataprovider rather then the table This table has a DataProvider. Do I have to use an instance

Re: [Wicket-user] Can I get a 'Nice URL' when form validation fails?

2007-07-04 Thread Igor Vaynberg
On 7/4/07, David Leangen [EMAIL PROTECTED] wrote: What I can't figure out here is this: when the form's submit button gets pressed on the current page, obvious a new HttpServletRequest gets sent to the server, and the onSubmit() method gets invoked. 1. What URL is sent to the server? the

Re: [Wicket-user] Image questions

2007-07-04 Thread Igor Vaynberg
On 7/4/07, Gohan [EMAIL PROTECTED] wrote: I'm using wicket 1.2.6 and I'd like to display simple gif images. I have the following code in my constructor for WelcomePage: add(new Image(toplogo, new ResourceReference(WelcomePage.class, toplogo.gif))); The html

Re: [Wicket-user] Can I get a 'Nice URL' when form validation fails?

2007-07-04 Thread Igor Vaynberg
On 7/4/07, Philip Wilkinson [EMAIL PROTECTED] wrote: Thanks for that Dave. It does make sense. But I know the values are stored in the session pagemap, so I'd like to be able to get them from there. I was hoping that a combination of a bookmarked url, and maybe cookie or hidden field, managed

[Wicket-user] Modifying attributes of tabs in TabbedPanel

2007-07-04 Thread Erik Dreyer
Hi, I'm trying to update the provided TabbedPanel to be able to provide a new CSS style to each tab so I can control the color of each tab. I tried subclassing TabbedPanel and adding this method: @Override protected void onBeforeRender() { super.onBeforeRender(); // get

[Wicket-user] Model.getObject non-processing form submits

2007-07-04 Thread dx74a19
Hi How do I make that IModel.getObject of FormComponets gets called on every request? I have a form, wich dislpays a record from a database. On the form I have put buttons for navigation - previos and next records and so on. These buttons have DefaultFormProcessing set to false (needs to be,

Re: [Wicket-user] Model.getObject non-processing form submits

2007-07-04 Thread dx74a19
Thank god, I fixed it :) I had to iterate trough FormComponents and call valid(). modelChanged() shoud work also, I think. -- View this message in context: http://www.nabble.com/Model.getObject---non-processing-form-submits-tf4025837.html#a11435495 Sent from the Wicket - User mailing list

Re: [Wicket-user] Can I get a 'Nice URL' when form validation fails?

2007-07-04 Thread Philip Wilkinson
I've thought of a way of making my question clearer. I have a web page with a form which is accessed thru a bookmarked url so the address looks like http://localhost:8080/MyApp/myform I submit the form and the validation fails, the url in the address bar now looks like this

[Wicket-user] London Wicket Event - Tuesday, 7th August, 2007

2007-07-04 Thread jweekend
The first London Wicket Users Group went well; it was informative, interesting and entertaining. Our generous hosts at Arclight Media took really good care of us and Matt Dudbridge rounded the evening off with a nice presentation about the impressive http://zoomf.com zoomf.com . Alastair Maw's

[Wicket-user] inline frame usage

2007-07-04 Thread Ed _
Hi,New to wickets - trying to figure out how to dynamically add i fra mes to a page.Both the url to be set in the iframe and the body of the I want to dynamically add i fr ames to external urls (i.e. urls not in the wicket pkg. - some external entities. , i.e. i do not know how many of these

Re: [Wicket-user] Problem with the InlineFrame

2007-07-04 Thread Eelco Hillenius
I would like to use the InlineFrame, but the InlineFrame does not work. The codes are as follows: body span wicket:id=libBorder iframe wicket:id=bFrame src=[source] name=bottom/ /span /body public class Map extends WebPage { public static final String

Re: [Wicket-user] DatePicker broken on beta2 and snapshot?

2007-07-04 Thread Eelco Hillenius
On 7/4/07, Gerolf Seitz [EMAIL PROTECTED] wrote: eelco, speaking of wicket-datetime. is it possible to change the default implementation of notifyComponentOnDateSelected to return true? when telling other people (happend twice up to now) about how to use the datepicker, i always felt the

Re: [Wicket-user] Foldable border

2007-07-04 Thread Eelco Hillenius
I'm trying to create a foldable box component - not unlike the quick contacts and labels boxes in gmail. I want to render some markup around a border's contents - particulary, an open/close link. So far, I've made it toggle the value of Border.setBorderBodyVisible() and it works fine. But. I

Re: [Wicket-user] inline frame usage

2007-07-04 Thread Eelco Hillenius
New to wickets - trying to figure out how to dynamically add i fra mes to a page. Both the url to be set in the iframe and the body of the I want to dynamically add i fr ames to external urls (i.e. urls not in the wicket pkg. - some external entities. , i.e. i do not know how many of these

Re: [Wicket-user] RestartResponseAtInterceptPageException / continueToOriginalDestination

2007-07-04 Thread Eelco Hillenius
I have an authorization scheme where by the user is presented with a sign in page. After signing in, a check is made to see if they need to change their password. If so, they are redirected to a change password page. After that they should be redirected back to their intended page.

Re: [Wicket-user] Passing parameters to PageExpired page

2007-07-04 Thread Eelco Hillenius
Ah didn't think of that, that'll work. Does Wicket travel up the hierarchy tree to look for the markup file? If ExpiredPage.html doesn't exist, will it use LoginPage.html? Yes That's a nice idea. But for the record, alternatively you could use a custom request cycle, override public Page

Re: [Wicket-user] State selection from imagemap

2007-07-04 Thread Eelco Hillenius
I know this is long winded, and I apologize. But it would be nice to know the best way to deal with a large imagemap like this. I would be happy to post this information on the wiki, but I don't want to do it if there are better solutions. So any advice would be appreciated. Tbh, I never

[Wicket-user] Dataview and panels

2007-07-04 Thread Ed _
I am trying to render two columns of panels of a given type on a page.I want to use the dataview to get the content from the DB and make use of the pagenavigation.I want to set up a maximum of 5 panels per column and essentially have navigation to the next page if there is more to render.All

Re: [Wicket-user] Modifying attributes of tabs in TabbedPanel

2007-07-04 Thread Erik Dreyer
On 7/4/07, Erik Dreyer [EMAIL PROTECTED] wrote: Hi, I'm trying to update the provided TabbedPanel to be able to provide a new CSS style to each tab so I can control the color of each tab. I tried subclassing TabbedPanel and adding this method: @Override protected void

Re: [Wicket-user] Dataview and panels

2007-07-04 Thread Igor Vaynberg
On 7/4/07, Ed _ [EMAIL PROTECTED] wrote: I am trying to render two columns of panels of a given type on a page. I want to use the dataview to get the content from the DB and make use of the pagenavigation. I want to set up a maximum of 5 panels per column and essentially have navigation to

Re: [Wicket-user] Modifying attributes of tabs in TabbedPanel

2007-07-04 Thread Igor Vaynberg
On 7/4/07, Erik Dreyer [EMAIL PROTECTED] wrote: Hi, I'm trying to update the provided TabbedPanel to be able to provide a new CSS style to each tab so I can control the color of each tab. I tried subclassing TabbedPanel and adding this method: @Override protected void

Re: [Wicket-user] Can I get a 'Nice URL' when form validation fails?

2007-07-04 Thread David Leangen
On Wed, 2007-07-04 at 12:14 -0700, Philip Wilkinson wrote: I've thought of a way of making my question clearer. I have a web page with a form which is accessed thru a bookmarked url so the address looks like http://localhost:8080/MyApp/myform I submit the form and the validation fails,

Re: [Wicket-user] Can I get a 'Nice URL' when form validation fails?

2007-07-04 Thread David Leangen
Thanks, Igor, that makes sense. But still one more question before I really understand onSubmit(): I could have this in my onSubmit: if( isValidated ) setResponsePage( PageOne.class ); else setResponsePage( PageTwo.class ); So, what gets sent back in the HttpServletResponse is different

Re: [Wicket-user] Can I get a 'Nice URL' when form validation fails?

2007-07-04 Thread Igor Vaynberg
On 7/4/07, David Leangen [EMAIL PROTECTED] wrote: Thanks, Igor, that makes sense. But still one more question before I really understand onSubmit(): I could have this in my onSubmit: if( isValidated ) setResponsePage( PageOne.class ); else setResponsePage( PageTwo.class ); So, what

Re: [Wicket-user] Modifying attributes of tabs in TabbedPanel

2007-07-04 Thread Erik Dreyer
snip b) we can add this functionality to the tabbed pael in core, making it a bit more bloated. i dont mind (b) if its just adding tab1, tab2 class attributes. /snip That would be much appreciated... item.add(new AttributeAppender(class, true, new Model(tab+index), )); On 7/4/07, Igor

Re: [Wicket-user] Dataview and panels

2007-07-04 Thread Ed _
Maybe this helps---| _Prev /1/2/Next_ ||| P1 | | P2 | || - --- || _ | || P3 | | P4 | | | - --- || _ | || P5 | |

Re: [Wicket-user] Can I get a 'Nice URL' when form validation fails?

2007-07-04 Thread David Leangen
Igor, hope this helps some Yep. Helps me to understand how this works. Very clever. Thanks! Hopefully it will also help Philip, who was asking the questions about this. Cheers, Dave On Wed, 2007-07-04 at 20:31 -0700, Igor Vaynberg wrote: On 7/4/07, David Leangen [EMAIL PROTECTED]

Re: [Wicket-user] Dataview and panels

2007-07-04 Thread Igor Vaynberg
On 7/4/07, Ed _ [EMAIL PROTECTED] wrote: Maybe this helps --- | _Prev /1/2/Next_ | | | P1 | |P2| | | - --- | | _ | | | P3 | |P4| | | - --- | | _

Re: [Wicket-user] Modifying attributes of tabs in TabbedPanel

2007-07-04 Thread Timo Rantalaiho
On Wed, 04 Jul 2007, Erik Dreyer wrote: snip b) we can add this functionality to the tabbed pael in core, making it a bit more bloated. i dont mind (b) if its just adding tab1, tab2 class attributes. /snip That would be much appreciated... item.add(new AttributeAppender(class, true, new

Re: [Wicket-user] onSubmit() called twice

2007-07-04 Thread Timo Rantalaiho
On Tue, 03 Jul 2007, Igor Vaynberg wrote: the problem here is that onchange is fired when the focus is lost from the field. so if you are on that field and you click the submit button this will result in two form-submittals that are very very close to each other. thus the double submit that