You don't have a jwcid="$remove$" somewhere on that page, do you?  That's the 
only way I've gotten that message and it would explain why your simple input 
button wasn't being rendered, as well.

On Tuesday 08 August 2006 12:15, zqzuk wrote:
> Hi, i wonder how can i do this. in my html template, i have a button, on
> click a javascript method will be called, and fill some form components.
> this method should not submit the page. all work fine in plain html.
>
> then when i do this in tapestry, i got problems.  if i dont give this
> button compoent a jwcid as such,
>
> <input type="button" name="calcTotalButton" value="Calculate"
> onClick="calcTotals()"/>
>
> as it works in original html template, tapestry wont render the button, so
> i end up with a page without this button.
>
>
> well then i added a jwcid to this component and specify it as a Button ( i
> can not be submit), i got this error:
>
> <input type="button" name="calcTotalButton" value="Calculate"
> onClick="calcTotals()" jwcid="calcTotalButton"/>
>
> org.apache.tapestry.parse.TemplateParseException
> Tag <input> on line 373 is a dynamic component, and may not appear inside
> an ignored block.
>
>
> is there anyway i can get around with this? how can i make call to a
> javascript method on button click?
>
> thanks!!

-- 
QOTD:
        On a scale of 1 to 10 I'd say...  oh, somewhere in there.
--------------
Jason Dyer
BlueTarp Financial, inc.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to