Like I posted earlier... it's a bit quirky in regards to (esp) rows, and
also cols.
The "htmlarea" js code essentially attempts to place an iframe the same
size the the original textarea. But.. you have to include the toolbar
set in that area, as well. So... try adjusting the rows expression to
something larger. Also... not an issue, but, I'm curious as to why
you're using the expression binding instead of a static binding, since
the values are static...?
For the cols... it should work, but... I'll look at things again later.
Same goes for the tableOperations... what you've got looks correct.
I've got some meetings for the next couple of hours, but when I get
back, I'll look at things more closely to see what's up.
Robert
Patrick Casey wrote:
>
>
> Sorry for all the questions, but this ended up being my "get the
> HTML component working" day so I'm trying to bang through it all at once.
>
>
>
> The issue I'm having now is that I've defined an htmlarea thus
> on my .page file:
>
>
>
> <component id="patArea" type="htmlarea:HtmlArea">
>
> <binding name="value" expression="object.instructions" />
>
> <binding name="tableOperations" expression="false" />
>
> <binding name="rows" expression="16" />
>
> <binding name="cols" expression="120" />
>
> </component>
>
>
>
> And linked it thus on my .html file:
>
>
>
> <textarea jwcid="patArea" />
>
>
>
> The thing is, I'm always getting out an 8 X 80 HTML Area with
> the table operations toolbars in place. If I'm understanding the component
> properly, shouldn't I be getting a 16 X 120 area with no table toolbar?
>
>
>
> Could somebody give me a nudge as to what the right syntax is?
>
>
>
> --- Pat
>
>
>
> PS The output:
>
>
>
> <textarea name="theArea" cols="80" rows="8" id="theArea">These are the
> Survey <b>Instructions</b>!</textarea>
>
>
>
>
>
> The initialization block as output:
>
>
>
> initializeEditor('theArea',false,true,true,true);
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]