Re: IE8 + No Page found for component

2011-04-12 Thread Thierry Peng
On 04/12/2011 04:36 PM, Thierry Peng wrote: On 04/12/2011 03:20 PM, Tejash Tarun wrote: Hi, I am using tabs in my page. When switching between the tabs I get this exception frequently (and not every time). java.lang.IllegalStateException: No Page found for component [MarkupContainer

Re: IE8 + No Page found for component

2011-04-12 Thread Thierry Peng
On 04/12/2011 03:20 PM, Tejash Tarun wrote: Hi, I am using tabs in my page. When switching between the tabs I get this exception frequently (and not every time). java.lang.IllegalStateException: No Page found for component [MarkupContainer [Component id = link]] at org.apache.wicket.Component.

Re: textarea

2011-03-30 Thread Thierry Peng
On 03/30/2011 11:19 AM, Martin Grigorov wrote: no, it doesn't cache it seems the textarea is not involved at all in the ajax request processing and its model is not needed On Wed, Mar 30, 2011 at 10:52 AM, Thierry Peng wrote: Quick question about textareas I have on a panel two compone

textarea

2011-03-30 Thread Thierry Peng
Quick question about textareas I have on a panel two component, a textarea with a xml and a label. the label gets updated (via ajax)but the textarea not. form2.add(area = new TextArea("userdata", new LoadableDetachableModel() { @Override protected String load() { log.de

Re: Hints for creating a form-embedded Grid

2010-11-10 Thread Thierry Peng
MattyDE schrieb: As i mentioned in a another thread i build my own GridView Component from Scratch (just extending Panel). But now our customer want a special, editable Grid. Its no problem on my side to add "TextboxColumns", "DropDownColumns" and so on, but i cant figure out how to connect them

Re: Which component to use for Data Grid's with selectable items?

2010-09-29 Thread Thierry Peng
It is ASL2 from the inmethod-grid-parent pom: The Apache Software License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0.txt repo I don't know about the "state of the art" in terms of grids but I'm using this library in several proj

Re: AbstractDefaultAjaxBehavior - Could not find root element

2010-08-19 Thread Thierry Peng
Some additional info;rmation; this error occurs with the mozilla firefox 3.6.8 while the same code works with the internet explorer 8. Now I'm really confused... I works also with chrome v5 and opera 10.10 Thierry Peng schrieb: Hello I have a resourcelink where I need to add an ajaxcal

AbstractDefaultAjaxBehavior - Could not find root element

2010-08-19 Thread Thierry Peng
Hello I have a resourcelink where I need to add an ajaxcallback to recalculate and update the current panel. I added an AbstractDefaultAjaxBehavior to that link with the callback, but the respond method was never invoked. In the wicket ajax debug i saw the following input: *INFO: *Using XML

Re: getPage() Question

2010-08-13 Thread Thierry Peng
I figured it out. For who is interested: The first getPage().addOrReplace replaced the middlepanel which was also the current changepasswordpanel. The second call on getParent() can only yield null because the panel in question was already swapped. So there are two valid solutions: first us

getPage() Question

2010-08-13 Thread Thierry Peng
Hi I have a Singlepage Application where I swap some panels on the main page depending what the user does. Specifically I have a Panel for changing the password which looks like: @SuppressWarnings("serial") public class ChangePasswordPanel extends Panel { @Inject private ChangePasswordActi

Re: inmethod grid / Delete/add a row?

2010-04-28 Thread Thierry Peng
Hello I solved this problem some months ago and created a SubmitCancelDeleteColumn. A custom Grid Class provides the possibility to add a row. I had to fork the inmethod-grid because some changes were necessary. Drop me an email if you want the source code of this fork and the client code.

Re: TextField hosting an Integer

2010-03-22 Thread Thierry Peng
lic IConverter getConverter(Class type) { NumberConverter fc = new NumberConverter() { @Override public String convertToString(Object value, Locale locale) { //insert your conversion logic here } }; return fc; } best -- Thierry Peng -

Re: InMethod Grid: resizing rowcount

2010-03-15 Thread Thierry Peng
Pointbreak schrieb: On Mon, 15 Mar 2010 15:06 +0100, "Thierry Peng" wrote: Pointbreak schrieb: The public interface of the inmethod DataGrid/DefaultDataGrid does not seem to provide functionality to expand the number of rows after an ajax-call that e.g. adds data to the

Re: InMethod Grid: resizing rowcount

2010-03-15 Thread Thierry Peng
target.addComponent(getGrid()); } } This takes place in a custom subclass of the defaultdatagrid. The onAddRow method is called from an ajaxbutton (onsubmit) I hope this helps -- Thierry Peng __ ___