I think it was actually a cache issue of some sort. After flushing
my cache and restarting tomcat, rows, cols, and the tableOperations flag
seem to be working just fine now. I think I'm running into some sort of CSS
issue on IE though atm as the editor shows up w/o the grey background on the
toolbars and w/o a frame around the editable area on IE, but shows up just
fine under gecko.
I'm gonna bang on that for a bit and see if I can figure out what's
afoot with the demon IE.
Thanks for all the help,
--- Pat
> -----Original Message-----
> From: Robert Zeigler [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 26, 2005 2:05 PM
> To: Tapestry users
> Subject: Re: One more HTML Area Question
>
> 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]