Re: Need to turn off Markupparser : Problem with tag

2008-04-25 Thread hjuturu
disable/turn off the WidgetParser for certain pages so that they can be rendered. Thanks Haritha Martijn Dashorst wrote: > > use instead > > On 4/24/08, hjuturu <[EMAIL PROTECTED]> wrote: >> >> Hi All >> I have some tags in my page whose html representation do

Need to turn off Markupparser : Problem with tag

2008-04-24 Thread hjuturu
Hi All I have some tags in my page whose html representation doesnt have a end tag. When i try to invoke the page using wicket i get a parse exception java.text.ParseException: Tag '' (line 1, column 1822) has a mismatched close tag . Is there anyway i can turn off the parser in wicket or have

Re: Validate HTML generated from getMarkupResourceStream()

2008-04-03 Thread hjuturu
sponseException(ParseError.class); } Thanks Haritha hjuturu wrote: > > Hi Igor,All > I tried to use MarkupParser as u suggested > This is how my code looks > public IResourceStream getMarkupResourceStream(MarkupContainer container, > Class containerClass){ >

Re: Validate HTML generated from getMarkupResourceStream()

2008-04-03 Thread hjuturu
go to the response page that i set in the catch block. I am not sure why this happens ? Thanks Haritha igor.vaynberg wrote: > > you can probably user our markupparser... > > -igor > > > On Tue, Apr 1, 2008 at 1:26 PM, hjuturu <[EMAIL PROTECTED]> wrote: >> &g

Validate HTML generated from getMarkupResourceStream()

2008-04-01 Thread hjuturu
Hi All I use a class which implements IMarkupResourceStreamProvider, IMarkupCacheKeyProvider to generated HTML dynamically and sent it to wicket as a IResourceStream. //code snippet public IResourceStream getMarkupResourceStream(MarkupContainer container, Class containerClass){ return new St

Validate HTML generated from getMarkupResourceStream()

2008-04-01 Thread hjuturu
Hi All I use a class which implements IMarkupResourceStreamProvider, IMarkupCacheKeyProvider to generated HTML dynamically and sent it to wicket as a IResourceStream. //code snippet public IResourceStream getMarkupResourceStream(MarkupContainer container, Class containerClass){ re

Re: Add attributes to markup

2008-03-18 Thread hjuturu
> > On Tue, Mar 18, 2008 at 2:42 PM, hjuturu <[EMAIL PROTECTED]> wrote: >> >> Hi All >> In wicket we can use AttributeModifier or AttributeAppender to make >> changes >> to already existing attributes . But is there anyway we can add a new >> at

Add attributes to markup

2008-03-18 Thread hjuturu
Hi All In wicket we can use AttributeModifier or AttributeAppender to make changes to already existing attributes . But is there anyway we can add a new attribute to markup using wicket API e.g : if i have jhsakjhas i would like to add a class attribute jhsakjhas This attribute has to be done

AjaxEditableMultiLineLabel in does not work in safari

2008-03-13 Thread hjuturu
Hi All, i am using a AjaxEditableLabel and AjaxEditableMultiLineLabel wicket components inside a tag. They both work fine on Firefox and IE7. But when i try it on safari, the AjaxEditableMultiLineLabel component doesnt expand when clicked on. The AjaxEditableLabel component works fine though. I

Re: Hide "Wicket AJAX Debug" window

2008-03-13 Thread hjuturu
Thanks Ryan and Gerolf. I put the settings in the init() method and it works fine. hjuturu wrote: > > Hi All > i have a label on my webpage on which i do a in line edit using > AjaxEditableLabel. > I have included wicket-event.js and wicket-ajax.js javascripts in my page.

Hide "Wicket AJAX Debug" window

2008-03-12 Thread hjuturu
Hi All i have a label on my webpage on which i do a in line edit using AjaxEditableLabel. I have included wicket-event.js and wicket-ajax.js javascripts in my page. When i start editing the label the "wicket ajax debug" window appears on the lower right corner. how can i hide that window. Thanks H

form submit using document.form.submit() in wicket

2008-03-06 Thread hjuturu
Hi All I have a form in my html page . I am trying to simulate form submit from tag using onclick="document.myForm.submit();". The onSubmit() method my wicket class doesnt get called when i do this. Do i have to use to achieve this. i am using tag so that i can style the buttons as required.

java.lang.IllegalAccessError: tried to access method org.apache.wicket.Component.onModelChanging()V::: when using AjaxEditableLabel

2008-03-05 Thread hjuturu
Hi All, I have a "edit in place" label in my wicket page . When i try to edit it i get this exception. I am using wicket 1.3.1 and Tomcat 6.0.14. Can anyone tell me what is the problem. DEBUG - EditableSNLabel.onSubmit(41) | == in SUBMIT=== Mar 5, 2008 5:58:01

Adding wicket-ajax.js file to my wicket page

2008-03-05 Thread hjuturu
Hi All, I am trying to do an inline edit ajax label . This is the snippet of code i am using add(new EditableSNLabel("title"+snote.getId(),new Model(snote.getName(; in my wicket panel. EditableSNLabel extends AjaxEditableLabel class. When i click the label nothing happens. So i am wonderi