Re: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor [SOLVED ]

2007-02-07 Thread Marcus Thiesen
Am Mittwoch 31 Januar 2007 18:55 schrieb Shing Hing Man: > I created that jira. Marcus has a different problem > from the one mentioned in the jira. > > Shing Ok, stupid me. It works. I had a validation filter in my tomcat (from http://tuckey.org/validation/) and it caused the problem. I still b

RE: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor

2007-01-31 Thread Shing Hing Man
jira/browse/TAPESTRY-1210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > > I've been waiting for the fix. > > -Original Message- > From: Marcus Thiesen > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 31, 2007 5:59 AM > To: Tapestry users > Subject

RE: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor

2007-01-31 Thread Leffel, Daniel
PROTECTED] Sent: Wednesday, January 31, 2007 5:59 AM To: Tapestry users Subject: Re: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor Am Mittwoch 31 Januar 2007 14:01 schrieb Shing Hing Man: > To be more specific, the following is the version o

Re: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor

2007-01-31 Thread Marcus Thiesen
Am Mittwoch 31 Januar 2007 14:01 schrieb Shing Hing Man: > To be more specific, the following is the version of > Tapestry 4.1.2 Snapshot I am using. > > org.apache.tapestry:tapestry-framework:4.1.2-20070121.182918-9 > > org.apache.tapestry:tapestry-contrib:4.1.2-20070121.182918-7 > > org.apache.ta

Re: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor

2007-01-31 Thread Shing Hing Man
To be more specific, the following is the version of Tapestry 4.1.2 Snapshot I am using. org.apache.tapestry:tapestry-framework:4.1.2-20070121.182918-9 org.apache.tapestry:tapestry-contrib:4.1.2-20070121.182918-7 org.apache.tapestry:tapestry-annotations:4.1.2-20070121.182918-7 I a

Re: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor

2007-01-31 Thread Marcus Thiesen
Hi Shing, > When you click on 'Hello world', the static text will > be replaced by an editiable text box, and there are > also the Save and cancel buttons. Yes, I've seen the widget in action, but it doesn't work for me. > > I am using your code/page with the additional > @Initial to initialis

Re: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor

2007-01-31 Thread Marcus Thiesen
Am Mittwoch 31 Januar 2007 13:07 schrieb Peter Schröder: > is there also a linebreak in your code, or is it only in the email-text? No, that's just a linebreak introduced by my email program. So this doesn't seem to be the issue. Have fun, Marcus -- Marcus Thiesen Bachelor of Science (

AW: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor

2007-01-31 Thread Peter Schröder
s Thiesen [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 31. Januar 2007 12:21 An: Tapestry users Betreff: Re: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor Hi Peter, Am Mittwoch 31 Januar 2007 12:07 schrieb Peter Schröder: > the reason was, that there

Re: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor

2007-01-31 Thread Shing Hing Man
> I don't see the Save button or anything that should > be dynamically rendered > into the page. When you click on 'Hello world', the static text will be replaced by an editiable text box, and there are also the Save and cancel buttons. I am using your code/page with the additional @Initial

Re: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor

2007-01-31 Thread Marcus Thiesen
Hi Peter, Am Mittwoch 31 Januar 2007 12:07 schrieb Peter Schröder: > the reason was, that there were linebreaks in the init-code, which the js > did not like. Can you tell me what you mean by init-code? Most of the code is generated by tapestry anyway, so either there is a general bug or my prob

AW: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor

2007-01-31 Thread Peter Schröder
. Januar 2007 11:52 An: Tapestry users Betreff: Re: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor Hi Shing, Am Mittwoch 31 Januar 2007 11:39 schrieb Shing Hing Man: > I have run the page/code given in your original mail > with property text set to &

Re: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor

2007-01-31 Thread Marcus Thiesen
Hi Shing, Am Mittwoch 31 Januar 2007 11:39 schrieb Shing Hing Man: > I have run the page/code given in your original mail > with property text set to 'Hello world'. > After I edit 'Hello world' and click the save button, > the listener method onTextUpdate is called. > > I have no javascript errors

Re: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor

2007-01-31 Thread Shing Hing Man
I have run the page/code given in your original mail with property text set to 'Hello world'. After I edit 'Hello world' and click the save button, the listener method onTextUpdate is called. I have no javascript errors and I am using Tapestry 4.1.2 Snapshot. Shing --- Marcus Thiesen <[EMA

Re: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor

2007-01-31 Thread Marcus Thiesen
Hey Shing, Am Mittwoch 31 Januar 2007 11:07 schrieb Shing Hing Man: > The displayed html is blank because you have not given > > the property text a value. > Well, this didn't really do the trick. I see that the generated Javscript changed to tapestry.widget.synchronizeWidgetState("testEdit",

Re: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor

2007-01-31 Thread Shing Hing Man
The displayed html is blank because you have not given the property text a value. Try giving the property text an initial value by @InitialValue("literal:Hello World") public abstract String getText(); or set it in the pageBeginRender method. Shing --- Marcus Thiesen <[EMAIL PROTEC

Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor

2007-01-31 Thread Marcus Thiesen
Hi List, I'm currently playing with the new and fancy AJAX components in Tapestry 4.1.1 but I can't get them to work. My minimal test case is: Java: package pages; import org.apache.tapestry.annotations.EventListener; import org.apache.tapestry.html.BasePage; public abstract class TestInlineE