Well, there is no component file as I'm using declarative binding
e.g.

<span jwcid="@htmlarea:HtmlArea" value="ognl:object.instructions" rows="8"
cols="80"/>

        Is the only reference to the htmlarea on one of my pages.

        I'm suspicious that what's happening is that the component is
supposed to link in two scripts e.g. the HtmlArea.html code looks like:

<script jwcid="definitions"/>
<textarea jwcid="theArea" id="ognl:components.theArea.name"/>
<script jwcid="theScript"/>

        While the HtmlArea.jwc code defines definitions and theScript thus:

<component id="theScript" type="Script">
        <static-binding name="script">HtmlArea.script</static-binding>
        <binding name="fullpage" expression="fullPage"/>
        <binding name="table" expression="tableOperations"/>
        <binding name="context" expression="contextMenu"/>
        <binding name="spelling" expression="spellChecker"/>
        <binding name="id" expression="generateId()"/>
        <static-binding name="included"
value="?service=HtmlAreaResourceLoader&amp;sp=Shtmlarea.js"/>
    </component>

    <component id="definitions" type="Script">
        <static-binding
name="script">HtmlAreaDefinitions.script</static-binding>
        <static-binding name="url"
value="?service=HtmlAreaResourceLoader&amp;sp=S"/>
    </component>

        The problem is I'm not seeing either of these scripts show up in my
page at all. I've actually seen this problem with other libraries I've
downloaded off of Tassel or Tacos e.g. the scripts never seem to load and I
have to manually load them e.g. put my own <any> tags in to link the scripts
from physical storage instead of the jar.

        Is there any kind of known "gotcha" that would prevent the component
loading its scripts from its own .jar?

        --- Pat
        

> -----Original Message-----
> From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 26, 2005 10:32 AM
> To: Tapestry users
> Subject: Re: HtmlArea help
> 
> Impossible to tell what is going wrong without seeing your component code,
> ~but~ I have a few ideas even without that.
> 
> Your javascript may not be getting parsed on the server return. (If that
> is
> what your component is relying on). Or...Ummm...Tapestry 3.0.3 does
> something really weird? There are just too many possibilities.
> 
> On 8/26/05, Patrick Casey <[EMAIL PROTECTED]> wrote:
> >
> >
> > You're right, sorry, I meant Tassel and wrote Tacos :).
> >
> > As for Tapestry, I'm on 3.0.3.
> >
> > --- Pat
> >
> > > -----Original Message-----
> > > From: Robert Zeigler [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, August 26, 2005 12:23 PM
> > > To: Tapestry users
> > > Subject: Re: HtmlArea help
> > >
> > > Just to clarify... htmlarea isn't part of the tacos library. :)
> > > Not sure what's going on... what version of tapestry are you using it
> > > with?
> > >
> > > Robert
> > >
> > > Patrick Casey wrote:
> > > >
> > > >
> > > > I'm trying to use the tacos htmlarea component. So far as I
> > > can
> > > > tell, it's downloaded and linked to my application properly. It runs
> > > fine,
> > > > the only problem is I don't get an HTML area out, I get a normal
> > > textarea
> > > > when it renders. No server side errors, no javascript console
> errors,
> > > just a
> > > > text area comes out.
> > > >
> > > >
> > > >
> > > > .application
> > > >
> > > > <library id="htmlarea"
> > > > specification-path="/org/rz/htmlarea/htmlarea.library"/>
> > > >
> > > >
> > > >
> > > > What goes on my .html page
> > > >
> > > > <span jwcid="@htmlarea:HtmlArea" value="ognl:object.instructions"
> > > rows="8"
> > > > cols="80"/>
> > > >
> > > >
> > > >
> > > > What actually comes out:
> > > >
> > > >
> > > >
> > > > <textarea name="theArea" cols="80" rows="8" id="theArea">These are
> the
> > > > Survey &lt;b&gt;Instructions&lt;/b&gt;!</textarea>
> > > >
> > > >
> > > >
> > > > In other words it looks like it's "failing safely" into a text area?
> > > Fails
> > > > identically on fireFox 1.0.6 and IE.
> > > >
> > > >
> > > >
> > > > Can anyone offer any enlightenment?
> > > >
> > > >
> > > >
> > > > --- Pat
> > > >
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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]
> >
> >



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

Reply via email to