How to replace panelA with panelB using AjaxLink in panelA

2007-08-13 Thread Tauren Mills
My use case can best be described as making wicket-phonebook work within a single tab of a tabbed panel using AjaxLink for create, edit, and delete. Thus, I have a page that contains a TabbedPanel. One tab of TabbedPanel contains ContactListPanel. ContactListPanel contains createContact link and

Re: Phone book example

2007-08-13 Thread Igor Vaynberg
that is not the svn url for wicket-stuff repo, see sf.net project site -igor On 8/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi I am new to Wicket and java and am trying to get the phone book example to at https://svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-phonebook/

Re: Empty CSS

2007-08-13 Thread Eelco Hillenius
IResourceSettings.setDisableGZipCompression() is not available in the version of Wicket that I'm using (1.2.6). We didn't provide compression of resources in Wicket, so it's correct that setting doesn't exist. Eelco - To

Re: Ajax submit form with empty file input

2007-08-13 Thread Igor Vaynberg
no, ajax submits do not support multipart forms. -igor On 8/13/07, Carlos Pita [EMAIL PROTECTED] wrote: Hi all, is it possible to ajax submit a form that has a file input between its fields, even if this input is always empty at the time of submission? For example, the following example

Re: RequestDispather.forward()

2007-08-13 Thread hillj2
I didn't know you could still use the servlet in 1.3. As it turns out, switching to using the servlet did fix the problem. I don't know if that's a problem with the filter or with the way I had things set up. The downside, I've now discovered, is that after doing the forward the app now thinks

Re: Still need a little help putting hyperlinks in a CheckBox's label

2007-08-13 Thread Justin Morgan (Logic Sector)
Thanks very much for your help. I tried this and it looks correct on the page. However, there are two problems that I still need help with. PROBLEM 1 -- Requiredness message is wrong Submitting the form results in: field 'cb' is required The requiredness message needs to be:

Re: Replacing panels inside a ModalWindow

2007-08-13 Thread Matej Knopp
Does this happen in all browsers? -Matej On 8/13/07, al que [EMAIL PROTECTED] wrote: Hello Sean, thanks for your suggestion. I have upgraded to 1.3.0-SNAPSHOT but i still have the same problem :(. Alina. --- Sean Sullivan [EMAIL PROTECTED] wrote: Did you say that you

Re: Border and Template

2007-08-13 Thread Dariusz Wojtas
Yes, this technique works perfectly, I found it recently myself. Sample may be found here: http://svn.apache.org/repos/asf/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/library See class 'Home.java' and it's parent class. Regards Dariusz Wojtas igor.vaynberg

Re: Replacing panels inside a ModalWindow

2007-08-13 Thread Matej Knopp
I need a quickstart that can be use to reproduce the problem to be able to help here. -Matej On 8/13/07, al que [EMAIL PROTECTED] wrote: Hello Matej, i have tested the application in Iceweasel 2.0, IE 6.0, Opera 9.22 and Konqueror 3.5.5 and i had problems with all these

Re: Submit button issue in wicket-phonebook

2007-08-13 Thread Tauren Mills
Hi Martijn, When I was looking at the diffs, it looked like it went from a Button to a Link during your commit. But I certainly could have messed up. Tauren On 8/13/07, Martijn Dashorst [EMAIL PROTECTED] wrote: According to the revision log, I had nothing to do with this... My commit only

AjaxTabbedPanel Problem

2007-08-13 Thread Eric Woerner
I have a interesting problem with the AjaxTabbedPanel. If one of that tabs has a panel that has forms with in it they are not displayed when you click on that tab. None of the textareas or TextFields will display. Nothing between the form tags will display. Has anyone ever seen this problem?

Re: sharing a context menu across components

2007-08-13 Thread Igor Vaynberg
what i am suggesting is this: if you only want to have a single instance of behavior per table, yet have onclick react per row you need to have some javascript on the clientside that can tell what row is clicked by appending something meaningful to the behavior's callback url. you do not need

nuke the sourceforge lists!

2007-08-13 Thread Eelco Hillenius
Hey Martijn, others, Can we go ahead and remove all users from the sourceforge lists and make sure no-one can every subscribe again? Or is there a better way? Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: AjaxTabbedPanel Problem

2007-08-13 Thread Tauren Mills
Eric, After reading your message, I just tested my problem out again. I described my problem in a message last night with the subject How to replace panelA with panelB using AjaxLink in panelA. I'm now thinking that that I did have it working, but that the content is just not showing. I have a

Re: AjaxTabbedPanel Problem

2007-08-13 Thread Tauren Mills
Eric, Will you test in IE? The form content shows in IE6, but not in FF2 on WinXP. Tauren On 8/13/07, Tauren Mills [EMAIL PROTECTED] wrote: Eric, After reading your message, I just tested my problem out again. I described my problem in a message last night with the subject How to

Re: AjaxTabbedPanel Problem

2007-08-13 Thread Igor Vaynberg
you probably have the span/div problem. make sure you do not nest any block level elements like div inside spans -igor On 8/13/07, Tauren Mills [EMAIL PROTECTED] wrote: Eric, Will you test in IE? The form content shows in IE6, but not in FF2 on WinXP. Tauren On 8/13/07, Tauren Mills

Re: AjaxTabbedPanel Problem

2007-08-13 Thread Tauren Mills
A quick fix to this is to wrap your form in this: div style=clear: both form ... /form /div But I think the TabbedPanel CSS should deal with it more elegantly. Tauren On 8/13/07, Tauren Mills [EMAIL PROTECTED] wrote: Eric, I did some more tests and I just discovered that for me, the HTML

Re: AjaxTabbedPanel Problem

2007-08-13 Thread Matej Knopp
There is no such thing as tabbed panel CSS. Tabbed panel doesn't come with any CSS. I put div.tab-panel { clear: left; } to styles.css in wicket examples, just in case someone takes the styles from there. -Matej On 8/14/07, Tauren Mills [EMAIL PROTECTED] wrote: A quick fix to this is

Re: AjaxTabbedPanel Problem

2007-08-13 Thread Tauren Mills
Matej, Thanks for doing that. That's where I got the css from, and is what I was referring to. Tauren On 8/13/07, Matej Knopp [EMAIL PROTECTED] wrote: There is no such thing as tabbed panel CSS. Tabbed panel doesn't come with any CSS. I put div.tab-panel { clear: left; } to

Re: Dynamic AJAX Tabs

2007-08-13 Thread Ballist1c
Opppsss!!! hahaha.. gotta get into that habit, at the moment, the tabs display a unique id just to see if i can get it working. also... I am currently using a list, cause I cant add a AbstractTab to the 'item' in populate item :( final List tabs = new ArrayList(); chatSessionTabs =

Re: Dynamic AJAX Tabs

2007-08-13 Thread Igor Vaynberg
hmm, its still pretty difficult to tell what is going on. how about a quickstart that reproduces the problem. you want to have an ajax tabbed panel where the number of tabs is variable, so when you recalculate the number of tabs why not simply replace the tabbedpanel with a new instance and add

Re: Dynamic AJAX Tabs

2007-08-13 Thread Ballist1c
hrmm... i might have to resort to that... I was hoping not to have to access any POJO data directly by the rendering components my aim was to keep all the UI components to only access models only... and keep all the scripting to custom models keeping it transparent from the UI classes. But

Extend Border

2007-08-13 Thread Joe Toth
Is it possible to extend an extended Border? In my class TemplateBorder extends Border, I need to have both wicket:child / and wicket:body / in order for Wicket to be able to render AccountTemplateBorder, which extends TemplateBorder. But, then the child is rendered either before or after the