Re: intercept security check in wicket-auth-roles

2009-07-11 Thread Brill Pappin
I actually took the wicket-auth-roles and rolled a custom solution. I'd put it up but never went back to make sure it was properly tested for distribution :) - brill On 3-Jul-09, at 6:28 AM, fstof wrote: Any luck with this? I'm looking to do the same thing, but how Brill Pappin wrote:

Re: intercept security check in wicket-auth-roles

2009-07-11 Thread Brill Pappin
I actually find it very usable and i love how simple it is... does the new security framework have a similar simple method of securing a site like that? - Brill On 3-Jul-09, at 11:34 AM, Igor Vaynberg wrote: wicket auth roles is an example, not a reusable framework. you should copy and

Re: intercept security check in wicket-auth-roles

2009-07-11 Thread Olger Warnier
The wicket-security framework has possibilities to integrate with SSO mechanisms. Next to that, you can integrate with spring-security and all authentication mechanisms supported by that. The yahoo-bbauth sample may help you to get an idea on how that works. Olger On 11 jul 2009, at 08:09,

Re: congrats to inmethod

2009-07-11 Thread Matej Knopp
Wicket Stuff SVN -Matej On Sat, Jul 11, 2009 at 5:04 AM, mms770medhat.sa...@verizon.net wrote: Where can we download from?  Thanks,  Medhat Cristi Manole wrote: I was trying to see if the inmethod site still links the (best) wicket data/tree table (although i knew it's been moved to

Re: artwork problem while changing background color of liquid canvas

2009-07-11 Thread vineet semwal
We are not even half way mark in the application we are developing :( i will give you a update as soon as the application concludes .. regards, Vineet Semwal On Fri, Jul 10, 2009 at 2:27 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Oh and I'd really like some screenshots of how

Re: Drag Drop

2009-07-11 Thread Joshua Lim
Hi Pierre, I think I need to explain a little the state of Yui Integration with wicket. If you're using the sortable package, with it's Droppable and SortableList. Then don't use the YuiDDTarget. If you want to use YuiDDTarget, then work with the YuiDDList / YuiDDListView / YuiDDListViewPanel.

Re: YUI drag and drop problem in Wicket 1.4 rc4

2009-07-11 Thread Joshua Lim
Hi Johan have you tried the yui-examples, Reordering List ? the list2 and list3 are using YuiDDListView, and works for me. What is your browser though? Regards Josh 2009/6/5 Johan Haleby hal...@gmail.com Hi, I'm using the latest snapshot of the YUI drag and drop component (a

Updating an inmethod grid, looking for hints

2009-07-11 Thread Erik van Oosten
Hi, How can I trigger an inmethod grid to do a /complete/ update of itself? The only thing that I see is markAllDirty(). That will update the items currently in the list, but it will /not/ get new items from the data provider. I researched the code for quite some time but I must have been

Re: Updating an inmethod grid, looking for hints

2009-07-11 Thread Matej Knopp
You need to call the update() method during an ajax request after you have marked the items dirty. -Matej On Sat, Jul 11, 2009 at 11:01 AM, Erik van Oostene.vanoos...@grons.nl wrote: Hi, How can I trigger an inmethod grid to do a /complete/ update of itself? The only thing that I see is

Bug in BaseWicketTester ajax submit?

2009-07-11 Thread Martin Makundi
Hi! The following code (1.4-rc6): // We need to get the form submitted, using reflection. // It needs to be submitted. Form? form = null; try { Field formField =

commit permission wicketstuff jslibraries

2009-07-11 Thread Uwe Schäfer
hi apart from jeremy´s agreement, what would be necessary to get commit permission for wicketstuff-core/jslibraries? it is quite tedious sending patches to jeremy on the long run ;) cu uwe - To unsubscribe, e-mail:

Re: Updating an inmethod grid, looking for hints

2009-07-11 Thread Matej Knopp
are you using treegrid or datagrid? -Matej On Sat, Jul 11, 2009 at 1:43 PM, Erik van Oostene.vanoos...@grons.nl wrote: If I remember correctly that only updates the existing items and ignore new items. I am looking for a way to get the new items too. Regards,   Erik. Matej Knopp wrote:

Re: Help us release 1.4 sooner by helping out with the migration guide

2009-07-11 Thread Major Péter
Hi, I have recently upgraded my project and I did find these changes: - the first parameter of org.apache.wicket.markup.html.tree.LinkTree#onNodeLinkClicked has been changed from TreeNode to Object, so if you had override this method, you need to change the parametertype. - localization

Re: commit permission wicketstuff jslibraries

2009-07-11 Thread Jeremy Thomerson
Just supply your sourceforge.net username and Igor or someone can give you commit permissions for the whole wicketstuff project. -- Jeremy Thomerson http://www.wickettraining.com 2009/7/11 Uwe Schäfer u...@thomas-daily.de: hi apart from jeremy´s agreement, what would be necessary to get

getting child items of a ListView ListItem

2009-07-11 Thread Steve Swinsburg
Hi all, I have a ListView and need to be able to get some child items of a particular ListItem, ie some spans, so that I can update their Models. How can I target some markup elements inside the ListItem container (ie TR tag)? Thanks, Steve

Re: getting child items of a ListView ListItem

2009-07-11 Thread Martin Makundi
ListView returns an iterator of ListItems Each ListItem is a component so you can just do listItem.get(component_id); Does this sound like what you were looking for? ** Martin 2009/7/11 Steve Swinsburg steve.swinsb...@gmail.com: Hi all, I have a ListView and need to be able to get some

Re: getting child items of a ListView ListItem

2009-07-11 Thread Steve Swinsburg
Yeah that sounds like what I need. I need to update some text in a span thats inside my ListItem once I do some processing. Thanks, Steve On 11 Jul 2009, at 10:16, Martin Makundi wrote: ListView returns an iterator of ListItems Each ListItem is a component so you can just do

Re: getting child items of a ListView ListItem

2009-07-11 Thread Martin Makundi
It would be better design to make the span update itself using an abstract readnly model: new Label(automatic, new AbstractReadOnlyModelString() { public String getObject() { return whatever value you need + getSession().getCurrentValueOrState(); } });. ** Martin 2009/7/11 Steve Swinsburg

Re: commit permission wicketstuff jslibraries

2009-07-11 Thread Uwe Schäfer
Jeremy Thomerson schrieb: Just supply your sourceforge.net username and Igor or someone can give you commit permissions for the whole wicketstuff project. fine, thx. it is uschaefer_ (note the underscore at the end) cu uwe -

Re: getting child items of a ListView ListItem

2009-07-11 Thread Steve Swinsburg
I'm opening a ModalWindow from an AjaxLink inside the ListItem. When that closes, in the close handler I need to update a couple of text items in the ListItem then repaint them so they refresh. I've got one Modal/handler per ListView so it needs to know what item it was clicked from so i

Re: getting child items of a ListView ListItem

2009-07-11 Thread Martin Makundi
I've got one Modal/handler per ListView so it needs to know what item it was clicked from so i still need to get a handle on the component itself to update it, even if it gets its text from that model yes? No. You can update multiple components with ajaxRequestTarget.addChildren or you can

Re: getting child items of a ListView ListItem

2009-07-11 Thread Steve Swinsburg
Yeah but I'm asking what is the best way to get a handle on a child component of a ListItem. I understand I can update multiple components or repaint the whole lot, but I have many ListItems in my ListView with the same child components in each, and I need to update one at a time, hence

Re: getting child items of a ListView ListItem

2009-07-11 Thread Martin Makundi
So I am using: -in ListItem and the Link onClick, get the parent Item. Keep a reference to this. Why don't you already add all the necessary children to the ajaxRequestTarget here where you have the references? ** Martin On 11 Jul 2009, at 11:36, Martin Makundi wrote: I've got one

Re: getting child items of a ListView ListItem

2009-07-11 Thread Steve Swinsburg
Ok so I was doing that before but had an instance of a ModalWindow per ListItem, and the associated callback for each. Because it was all inside, it was self contained so I could do all the updating easily. But this mean many MW and callbacks per page. What I have done now is moved the MW

Re: getting child items of a ListView ListItem

2009-07-11 Thread Martin Makundi
Ok so I was doing that before but had an instance of a ModalWindow per ListItem, and the associated callback for each. Because it was all inside, it was self contained so I could do all the updating easily. But this mean many MW and callbacks per page. Sounds wild.. This also means the

Re: Updating an inmethod grid, looking for hints

2009-07-11 Thread Erik van Oosten
DataGrid. DefaultDataGrid mostly. Erik. Matej Knopp schreef: are you using treegrid or datagrid? -Matej On Sat, Jul 11, 2009 at 1:43 PM, Erik van Oostene.vanoos...@grons.nl wrote: If I remember correctly that only updates the existing items and ignore new items. I am looking for a way

Re: getting child items of a ListView ListItem

2009-07-11 Thread Martin Makundi
So you setup a callback when you set the content on the modalWindow? That could work nicely as well. Yes: modalWindow.setTitle(xx); modalWindow.setContent(yy); final AjaxButton ajaxButton = this;

Link from inside of svg to an anchor in TabbedPanel

2009-07-11 Thread Pi Trash
I am using Wicket 1.4 and the Adobe SVG Viewer Applet. I have a TabbedPanel inside of a Panel inside a Page. Inside of the TabbedPanel there is the SvgViewerApplet that displays my SVG-Image. My URL is dynamic and looks something like this:

Re: getting child items of a ListView ListItem

2009-07-11 Thread Steve Swinsburg
So you setup a callback when you set the content on the modalWindow? That could work nicely as well. Here's the new structure for your perusal: div wicket:id=resultsContainer div wicket:id=results-list divsome display stuff from the Item in here/div

Validation and component feedback for editable column component in table/list

2009-07-11 Thread Kenneth NA
I am a new user of wicket and I have been experimenting the last days. I am trying to migrate an existing JSP applikation to wicket. I now have a problem with feedback and validation error display. In the existing applikation, the validation errors are display next to the fields,

Re: getting child items of a ListView ListItem

2009-07-11 Thread Steve Swinsburg
Ok, except remember this is in a ListView so for each ListItem that I set the callback for, the single instance of the modal window is being updated to the latest callback. So when it fires, it will operate on the last item in the list. ie with your method - create a modal window for the

Re: How to setup QuickStart project being able useYUI menubar from Wicket stuff

2009-07-11 Thread Petr Fejfar
  - Finally, if I run the QuickStart application the menu bar is shown, but there is no dynamic behaveour, there ar no pull down menus etc... and I'm not able to find-out what I'm missing in my QucikStart project to use this menu2 bar. I'll reply myself: as I found-out here

Re: getting child items of a ListView ListItem

2009-07-11 Thread Martin Makundi
Ok, except remember this is in a ListView so for each ListItem that I set the callback for, the single instance of the modal window is being updated to the latest callback. So when it fires, it will operate on the last item in the list. No. The callback is issued when you click the button.

Re: commit permission wicketstuff jslibraries

2009-07-11 Thread Igor Vaynberg
you are in. -igor 2009/7/11 Uwe Schäfer u...@thomas-daily.de: Jeremy Thomerson schrieb: Just supply your sourceforge.net username and Igor or someone can give you commit permissions for the whole wicketstuff project. fine, thx. it is uschaefer_ (note the underscore at the end) cu uwe

Re: Validation and component feedback for editable column component in table/list

2009-07-11 Thread Jeremy Thomerson
Seems like you might be missing the part where you have to add a feedback panel to display the error messages in a form. Since you mention that your previous application showed the message near the field, this page might help you:

Re: How to setup QuickStart project being able useYUI menubar from Wicket stuff

2009-07-11 Thread James Carman
I thought someone said this was fixed in the latest version of the code. Are you using the trunk version of YUI menu2? I had the same issues as you. On Sat, Jul 11, 2009 at 3:21 PM, Petr Fejfarpetr.fej...@gmail.com wrote:   - Finally, if I run the QuickStart application the menu bar is shown,