[Wicket-user] shades code comitted to phonebook

2006-10-20 Thread Geoff hendrey
I finally got shades added to the maven repo. So I've comitted the shades code to the phonebook, now that it builds seemlessly without requiring any separate download. If anyone finds any problems let me know. It should build and run as seemlessly as the Hibernate and ibatis examples. I'm h

Re: [Wicket-user] Nice Url

2006-10-20 Thread Eelco Hillenius
> That is sending state back to the client - I'm talking about passing a > key back, just not in the URL. Yeah, I got that. What you mean is the part that now makes the path to the request target (like pagemap/ page(version)/ component combi). > But yes, you are showing that hidden > fields can b

Re: [Wicket-user] Nice Url

2006-10-20 Thread Upayavira
Eelco Hillenius wrote: > Such a strategy would be possible, but one downside of it is that that > only works with submits. We have some testing code for client side > state saving (serialized page written to a hidden field). We haven't > put a lot of effort in it to complete it - though the basic i

Re: [Wicket-user] Adding nodes to ajax TreeTable.

2006-10-20 Thread Sean C. Sullivan
Ed, Instead of adding the new TreeNode to the TreeNode that the user clicked on, you should insert the new TreeNode into your DefaultTreeModel object. DefaultTreeMethod provides this method: public void insertNodeInto(MutableTreeNode newChild, MutableTreeNode

[Wicket-user] Adding nodes to ajax TreeTable.

2006-10-20 Thread Johnson, Ed A
Title: Adding nodes to ajax TreeTable. I have a TreeTable that I want to add nodes to when it is clicked.  I am able to catch the event and add the node, but the webpage doesn't show the new nodes.  It does change the node on the page to show an icon that indicates there are children nodes, b

Re: [Wicket-user] enable/remove added behaviors

2006-10-20 Thread ChuckDeal
OK, so I did all that and nothing changed, then I remembered the move to the Incubator, but apparently the Wiki didn't remember that :). Could someone update the Wiki to point to the apache svn instead of sourceforge? Specifically, http://cwiki.apache.org/WICKET/wicket-from-source.html referen

Re: [Wicket-user] Nice Url

2006-10-20 Thread Eelco Hillenius
Such a strategy would be possible, but one downside of it is that that only works with submits. We have some testing code for client side state saving (serialized page written to a hidden field). We haven't put a lot of effort in it to complete it - though the basic idea works - as it is not someth

[Wicket-user] Using DatePicker with iframe

2006-10-20 Thread Marieke Vandamme
Hello, I'm using a wicket.extensions.markup.html.datepicker.DatePicker with underneath it an iframe. When I open the datepicker, my iframe disappears. When the datepicker is closed, my iframe reappears. I was looking for the Dynarch includes, and those give no trouble. Is there a way to solve th

Re: [Wicket-user] ModalWindow's initial size (Wicket 2)

2006-10-20 Thread Matej Knopp
Hi, the initial size really only works with height, and only if the window has a panel content and is not resizable. There's no default width, nor width and height for window with page. This is a limitation of html, there's no way to support that. The idea is that if you use panel in window, yo

Re: [Wicket-user] enable/remove added behaviors

2006-10-20 Thread Eelco Hillenius
I don't know how often those snapshots are being build. Building from source is easy though. Eelco On 10/20/06, ChuckDeal <[EMAIL PROTECTED]> wrote: > > Excellent! That was the solution I was hoping for! > > You mentioned that you committed this change, to where? 1.2-SNAPSHOT? If > so, are th

Re: [Wicket-user] enable/remove added behaviors

2006-10-20 Thread ChuckDeal
Agreed, I was not looking forward to attempting that! Anyway, Eelco's solution is more of what I was looking for. Thanks for the help. Chuck Erik van Oosten wrote: > > Yes indeed. > Although I would not attempt to make the div look exactly like a text > area, that would be a very painful ex

Re: [Wicket-user] enable/remove added behaviors

2006-10-20 Thread ChuckDeal
Excellent! That was the solution I was hoping for! You mentioned that you committed this change, to where? 1.2-SNAPSHOT? If so, are there any other maven2 repos that host the SNAPSHOT builds? This repo "http://maven.sateh.com/repository"; is giving me grief. Otherwise, I suppose that I could

Re: [Wicket-user] Wicket With Acegi

2006-10-20 Thread Eelco Hillenius
Nope, not at this time. How do you want to/ need to employ Acegi? URL-based authentication could be rather tricky to achieve, but if you just use the authorization model of Acegi, you should be able to plug in your own IAuthorizationStrategy that uses Acegi without too much of a hassle. Eelco On

Re: [Wicket-user] enable/remove added behaviors

2006-10-20 Thread Erik van Oosten
Yes indeed. Although I would not attempt to make the div look exactly like a text area, that would be a very painful exercise. My thoughts were along the lines of: .readonlytextearea { width: 500px; height: 150px; overflow: auto; border: thin solid #000; } Erik. ChuckDeal s

Re: [Wicket-user] enable/remove added behaviors

2006-10-20 Thread Eelco Hillenius
Yeah, sorry about that. I committed a fix for this. Added method protected void onDisabled(final ComponentTag tag) to FormComponent, which is called during rendering when the component is disabled. By default, an disabled="disabled" attribute is added, but clients may override this method. In your

Re: [Wicket-user] enable/remove added behaviors

2006-10-20 Thread ChuckDeal
To be clear, you are proposing that I create a new component that generates a div with css that makes it appear to be a TextArea, then when I determine (determination based upon the user/data) that I want a readonly TextArea, I replace the real TextArea with a FakeTextArea prior to rendering? Bef

Re: [Wicket-user] enable/remove added behaviors

2006-10-20 Thread ChuckDeal
That actually happens via some other code that I snipped. But because TextArea (specifically FormComponent) also puts the disabled attribute, I need to make sure that the disabled attribute gets removed prior to rendering because even though I put the readonly attribute on it, the disabled attrib

Re: [Wicket-user] enable/remove added behaviors

2006-10-20 Thread Erik van Oosten
His problem is that the disabled attribute is added by a behavior and that he can not remove the behavior. Erik. Frank Bille schreef: > On 10/20/06, *ChuckDeal* <[EMAIL PROTECTED] > wrote: > > Then to use it, in my code: > > TextArea description = new Tex

Re: [Wicket-user] enable/remove added behaviors

2006-10-20 Thread Frank Bille
On 10/20/06, ChuckDeal <[EMAIL PROTECTED]> wrote: Then to use it, in my code:TextArea description = new TextArea("description");add(description);TextAreaFixer.updateTextArea(description);Is ther a better way to do what I am trying to accomplish? I'm not sure what it is that you want but can't you

Re: [Wicket-user] enable/remove added behaviors

2006-10-20 Thread Erik van Oosten
Hi, It is up to the component on how to interpreted the disabled property. In your case you could make a new form component (use TextArea as template) that shows a div with scroll bars instead of an input element. If you still need the input element, simply add it, but make it hidden. Regards,

[Wicket-user] enable/remove added behaviors

2006-10-20 Thread ChuckDeal
I'm not sure about other browsers, but IE6 doesn't allow scrolling of a disabled TextArea. TextArea extends FormComponent and form component has an internal Behavior that adds the disabled attribute when the field is set to disabled (setEnabled(false)). This causes my project grief because we ne

Re: [Wicket-user] Nice Url

2006-10-20 Thread Upayavira
Eelco Hillenius wrote: > On 10/20/06, Johan Compagner <[EMAIL PROTECTED]> wrote: >> all bookmarkable pages can have forms.. >> that is already possible at the moment we had bookmarkable pages (like >> wicket 0.x) >> >> Again you mixup the notion of Bookmarkable and Stateless >> Those are NOT the sa

Re: [Wicket-user] Nice Url

2006-10-20 Thread Eelco Hillenius
On 10/20/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > all bookmarkable pages can have forms.. > that is already possible at the moment we had bookmarkable pages (like > wicket 0.x) > > Again you mixup the notion of Bookmarkable and Stateless > Those are NOT the same, especially bookmarkable in

Re: [Wicket-user] Nice Url

2006-10-20 Thread Johan Compagner
all bookmarkable pages can have forms..that is already possible at the moment we had bookmarkable pages (like wicket 0.x)Again you mixup the notion of Bookmarkable and StatelessThose are NOT the same, especially bookmarkable in regards to stateless. the other way around, Stateless pages are most li

[Wicket-user] ModalWindow's initial size (Wicket 2)

2006-10-20 Thread Stefan Lindner
I have a modal window with a Panel inside. If I understand the javadoc for ModalWindow, it's size can be determinded by it's contents by setting setResizable(false) setUseInitialHeight(true) Is this only true for it's height? I can't find a similar method for the width of the ModalWindow. Ok,

[Wicket-user] unique snobbery

2006-10-20 Thread Isolde Lake
Immediate results are sometimes not much productive. This is why designers are taking advantage of the versatility of digital printing more than ever. You are completely in the dark whether it's good or bad images. If cost is no option and you want to have the best customer service warranty in

Re: [Wicket-user] Nice Url

2006-10-20 Thread Dipu
Hi Gwyn ,   I added a constructor with page parameters and mounted it on application init, but it didnt help either i tried both the following options mountBookmarkablePage("/flights/results", FlightSearchResultPage.class); mount("/flights",PackageName.forClass(FlightSearch.class));   I am u

[Wicket-user] Wicket CMS

2006-10-20 Thread Ted Roeloffzen
Here are a few suggestions to start out with.  You can repost on the list if you want.I would say you should break this project up into 2 parts, like how I did for wicket-cms. wicket-cms and wicket-cms-example This will create a very modular design so others can reuse wicket-cms in their own applic

[Wicket-user] 瑞海贸易公司

2006-10-20 Thread 瑞海贸易公司
您好! 本公司是经政府注册的正规公司,在广州等广东各大中城市,以及全国各大城市均有分公司, 本公司与国内各省市区多家企业合作,现有{普通国税商品销售、电脑版运输发票、广告发票、 建筑安装发票、装饰工程发票、餐饮业发票、租赁发票、服务业发票}等各类专用统一发票可开, 所有票据均可上网查询验证!欢迎来电咨询!贵公司(企业)若有以下情况请来联系: 1、公司为一般纳税企业没有优惠政策而想减低税收的。 2、对外销售商品或提供技术服务而本公司暂时没有领发票的。 3、外出采购或公干而服务商没有提供可以报销的发票。 4、公司帐目进项与出项差额大,需补充差额的。 5、公司在做帐或

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

2006-10-20 Thread Igor Vaynberg
i think what would be even better is if icolumn had add(IBehavior) that would get attached to the headerright now what you have to do is something like thisnew MyColumn() { Component getHeader() {    Component c= super.getHeader();    c.add(new MyAttributeModifier());   }}which is tricky for newbie

[Wicket-user] Wicket With Acegi

2006-10-20 Thread Sajeev Nair
Hi, Are there any samples for Wicket with Acegi ? I am working on a project which requires me to work with Wicket and Acegi for security. Any help in this regard will be highly appreciated. Thanks in advance. Sunraider _ Sexy, su

Re: [Wicket-user] Using AjaxEventBehavior On A Page Component

2006-10-20 Thread Igor Vaynberg
see wicketKeyCode() func in wicket.js that might be of some help.-IgorOn 10/20/06, Frank Bille <[EMAIL PROTECTED] > wrote:Do you have some example code for that? I can't reproduce it (FF1.5), when I'm doing something like this:FrankOn 10/20/06, Frank Bille <[EMAIL PROTECTED]> wrote: > On 10/20/

Re: [Wicket-user] Using AjaxEventBehavior On A Page Component

2006-10-20 Thread Frank Bille
Do you have some example code for that? I can't reproduce it (FF1.5), when I'm doing something like this: Frank On 10/20/06, Frank Bille <[EMAIL PROTECTED]> wrote: > On 10/20/06, Matthew P. Tilchen <[EMAIL PROTECTED]> wrote: > > > > Unfortunately the mozilla-based browsers do not > > includ

Re: [Wicket-user] How to create this component

2006-10-20 Thread Igor Vaynberg
the trick is to use a border not a panel - that way you can put anything you want into it.then via ajax control setrenderborderbody property and repaint the border - pretty simple-Igor On 10/19/06, blackboy zabaha <[EMAIL PROTECTED]> wrote: Hi,I think do via ajax would be nice.Indeed, I dont have m