Re: Wicket-1.3-beta2 validation (conversion) bug?

2007-08-15 Thread Alex Objelean
I found a quick fix for my issue: instead of disabling the Textfield, I make it readonly... still wondering why the change has been made in the convert() method. Matej Knopp-2 wrote: At this point I don't know why the check was removed, but i suppose there was a reason for it. I'm not sure

Ajax refresh of DefaultDataTable in wicket-phonebook

2007-08-15 Thread Tauren Mills
For some reason when I do an ajax refresh of the DefaultDataTable in wicket-phonebook, the FilterToolbar disappears. I see it in the Ajax Debugger, but it doesn't display on the screen. This is only happening in FF, not IE (only tested on WinXP). I cannot see any difference between the html

Using non-string parameters in HibernateContactFinderQueryBuilder

2007-08-15 Thread Tauren Mills
I have a data table based on wicket-phonebook, but have added an additional column that contains non-string data. In the database, the value is an int, but the application maps that to a string using a custom enumeration type with a converter to handle all this. The table display, editing, and

Strange bug in Wicket-1.3.0-beta2

2007-08-15 Thread Alex Objelean
I've got randomly an exception when clicking on the table row which has an AjaxEventBehavior assigned. Below is the stacktrace. Any ideas? [10:34:27.875] ERROR [http-8080-Processor1] RequestCycle - component body:panel:actionListContainer:actionList:form:actionList:14 not found on page

Re: setResponsePage redirects to wrong url

2007-08-15 Thread Andrew Klochkov
Al Maw wrote: Andrew Klochkov wrote: Andrew Klochkov wrote: When I do setResponsePage(MyHomePage.class) IE tries to show me my.site.com/./ url and gets 404 response. Firefox just shows my.site.com without any troubles. I'm using wicket 1.3-beta2 and WicketFilter mapped to /*. Is it a

updateing a component on AjaxTabbedPanel

2007-08-15 Thread fhagen
Hi there, i am very new to wicket an got some problems while using a tree and a AjaxTabbedPanel. I want to update a simple label component at an AjaxTabbedPanel after the user click something at the tree. Here is my code: public class ConfirmPage extends WebPage{ public ConfirmPage()

Re: updateing a component on AjaxTabbedPanel

2007-08-15 Thread [EMAIL PROTECTED]
The ajax tabbed panel should be an instance variable. Then you can use target.addComponent(tabbedPanel). 2007/8/15, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi there, i am very new to wicket an got some problems while using a tree and a AjaxTabbedPanel. I want to update a simple label component

Re: How to replace panelA with panelB using AjaxLink in panelA

2007-08-15 Thread landtuna
Tauren Mills wrote: add(new AjaxLink(createLink) { @Override public void onClick(AjaxRequestTarget target) { Panel panel = new ContactEditPanel(panel, new Model(new Contact()));

Dynamic Markup?

2007-08-15 Thread Brian Gorman
I am writing an open source Wiki component for Wicket.. http://sourceforge.net/projects/wicketwiki I've recently started it so it is still in the development process. I want to make it work completely off of AJAX in order for the component to be completely autonomous without effecting the other

Antwort: Re: updateing a component on AjaxTabbedPanel

2007-08-15 Thread fhagen
Well ok. I tried it this way: public class MyTree extends LinkTree{ public MyTree(String arg0, TreeModel arg1) { super(arg0, arg1); } protected void onNodeLinkClicked(javax.swing.tree.TreeNode node, BaseTree tree, AjaxRequestTarget target) {

wicket-703

2007-08-15 Thread Andrew Klochkov
I reported the bug more that a month ago and attached a patch. But it's still open :-( Is someone going to fix it at all? The bug is here https://issues.apache.org/jira/browse/WICKET-703 -- Andrew Klochkov - To unsubscribe,

Re: image overlays, what's the best solution ?

2007-08-15 Thread Antoine Angénieux
Okay, I found a solution based uniquely based on ResourceReference for both the original icon and the decorators to be applied. If anyone's interested, let me know it and I'll post some code. Cheers, Antoine. Antoine Angénieux a écrit : Hi guys, I've been using Wickets for over 6 months

Fwd: Wickest way to format a label before render

2007-08-15 Thread Francisco Diaz Trepat - gmail
sorry sent to the wrong address. -- Forwarded message -- From: Francisco Diaz Trepat - gmail [EMAIL PROTECTED] Date: Aug 15, 2007 12:02 PM Subject: Wickest way to format a label before render To: [EMAIL PROTECTED] Hi, I have the dumbest request from our functional team. A label

Re: Fwd: Wickest way to format a label before render

2007-08-15 Thread Thijs
Why not use the onComponentTag? Francisco Diaz Trepat - gmail wrote: sorry sent to the wrong address. -- Forwarded message -- From: Francisco Diaz Trepat - gmail [EMAIL PROTECTED] Date: Aug 15, 2007 12:02 PM Subject: Wickest way to format a label before render To: [EMAIL

Re: Fwd: Wickest way to format a label before render

2007-08-15 Thread Thijs
Sorry onComponentTagBody protected void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag) { replaceComponentTagBody(markupStream, openTag, doYourStuffWithTheModel(getModelObject())); } And you can probably add a SimpleAttributeModifier to add a class

Re: Caching the context path

2007-08-15 Thread Igor Vaynberg
so what exactly are you doing? obviously you cant really share an app across actual contexts because they are supposed to be isolated. so what do you do? you have a single application object, but you map two filters with two different paths and share the single instance of application object via

Re: Problem with IE6 and Wicket DropDownChoice using AjaxSelfUpdatingBehavior

2007-08-15 Thread Daryl K
That works fine it only happens on my site. I am assuming you mean this example http://www.wicket-library.com/wicket-examples/ajax/choice.1 igor.vaynberg wrote: can you get the ajax wicket-example with two linked dropdowns to error out on one of your pcs? -igor On 8/15/07, Daryl

Re: Caching the context path

2007-08-15 Thread Eelco Hillenius
Is this a bug? If so, where should I look to fix this? Wicket 1.2 was gready in determining and using the path. I think what you want should work with Wicket 1.3. Didn't test it yet though. Eelco - To unsubscribe, e-mail:

Re: setSerializeSessionAttributes in wicket-1.3.0-beta2

2007-08-15 Thread Eelco Hillenius
Eelco, the ISessionStore interface has a lot of methods.. can you give me an example of how to get rid of the serialization? It really slows down the application. I can imagine those checks did cost something in 1.2, though with Wicket 1.3 and the way we use it with the session stores should

How to get the html combo value in wicket?

2007-08-15 Thread Edi
Hi, I have ordinary html combo, select name=comboTxt option value=oneOne/option option value=twoTwo/option /select How can I get the html combo value using wicket. if ordinary html text box input type=text name=txtbox means I can get getRequest().getParameter(txtbox); But In combo? Please

Re: Wickest way to format a label before render

2007-08-15 Thread Francisco Diaz Trepat - gmail
done. but How about using your book? Come on... Are you intentionally building momentum? kind of like Hollywood blockbusters? :-) Are you enjoing our geeky intrigue? Thats not right mister... /stephen_colbert jaja cheers, f(t) On 8/15/07, Eelco Hillenius [EMAIL PROTECTED] wrote: A

Re: wicket-703

2007-08-15 Thread Martin Funk
whilst you are at it: https://issues.apache.org/jira/browse/WICKET-480 mf Igor Vaynberg schrieb: looks like it got missed when we scheduled thing for beta3 so it was off the radar :( fixed now. -igor On 8/15/07, Andrew Klochkov [EMAIL PROTECTED] wrote: I reported the bug more that a

Re: Wickest way to format a label before render

2007-08-15 Thread Eelco Hillenius
On 8/15/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: done. but How about using your book? Come on... Are you intentionally building momentum? kind of like Hollywood blockbusters? :-) Are you enjoing our geeky intrigue? Thats not right mister... /stephen_colbert jaja

Re: wicket:child in a WebMarkupContainer

2007-08-15 Thread Gerolf Seitz
@ core-devs: The solution that first came to mind was to override add(Component) in SuperComponent so that it would add the added component to myContainer instead of 'this'. Unforunately, the add method is final (why!?), so this can't be done. the javadoc for MarkupContainer#add(Component)

Re: Order-Items master detail page

2007-08-15 Thread Igor Vaynberg
you create a new instance of itemsDataProvider but your listview never gets that new instance, so its using the old one. instead you should change the data that instance returns: IDataProvider itemsDataProvider = new idataprovider() { count() { if (selected==null) return 0; else return

Re: Updates within Panels in datatable

2007-08-15 Thread salmas
I hadn't but I just tried it and no difference. The issue is that when I type into the textfield the value of amount is not changed. Do you have any idea why this would be? I do resue the textfield twice setting it invisible once because if I don't add it to the second row I'll get an exception

How to get HTML source code from a wicket page (was on old list)

2007-08-15 Thread oliver.henlich
Hi, Still trying to get the HTML source from a wicket page. However, the discussion was on the old user group and i don't think anyone is looking there anymore so here is the post with the last state of things. http://www.nabble.com/forum/ViewPost.jtp?post=12044817framed=y Ideas? Oliver --

Re: How to get HTML source code from a wicket page (was on old list)

2007-08-15 Thread oliver.henlich
yeah cheers igor it was just that on the thread i linked to there seemed to be a direct way of doing this and there were some hints that it should work on trunk or beta2. igor.vaynberg wrote: did you see the tip about running wickettester in a separate thread? -igor On 8/15/07,

Re: Wicket vs. ZK

2007-08-15 Thread Eelco Hillenius
I searched the threads on this forum but didn't find any discussion on comparing Wicket with ZK (www.zkoss.org/), the #1 Ajax project on sourceforge.net now. I read a lot on both frameworks and they both seem nice from the feedback of the users. Since I am about to choose one web framework, I

Re: How to get the html combo value in wicket?

2007-08-15 Thread Edi
any reply.. Edi wrote: Hi, I have ordinary html combo, select name=comboTxt option value=oneOne/option option value=twoTwo/option /select How can I get the html combo value using wicket. if ordinary html text box input type=text name=txtbox means I can get

Re: How to get the html combo value in wicket?

2007-08-15 Thread Igor Vaynberg
the final value is put into the model -igor On 8/15/07, Edi [EMAIL PROTECTED] wrote: any reply.. Edi wrote: Hi, I have ordinary html combo, select name=comboTxt option value=oneOne/option option value=twoTwo/option /select How can I get the html combo value

Re: Wicket vs. ZK

2007-08-15 Thread Igor Vaynberg
On 8/15/07, juliez [EMAIL PROTECTED] wrote: First, thanks for the reply! 2. AJAX components (Wicket vs. ZK) you do not implement features like drag and drop or datepicker in wicket, instead you wrap javascript libraries that implement those features with wicket components. I am actually