updateComponents is supposed to replace a div . The div has an If ,
and it renders the form if it's supposed to .

So I'm replacing <div id="toBeUpdated"></div> with <div
id="toBeUpdated">renderedComponentForm stuff... </div>


On 12/4/05, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> And what exactly is replaced in that element div when you do that?
>
>
> On 12/4/05, Cosmin Bucur <[EMAIL PROTECTED] > wrote:
> >
> > I was just starting blankly at that ... seems fine :
> >
> > <response type="element" id="mf">
> >                 <div id="mf">
> >                 <div id="Mform">
> >                 <form method="post" action="/my/app" name="Form"
> id="Form">
> >                 <div style="display:none;">
> >                 <input type="hidden" name="formids" value="notes,Button"/>
> >                 <input type="hidden" name="component"
> value="$MyForm.$Form"/>
> >                 <input type="hidden" name="page" value="Home"/>
> >                 <input type="hidden" name="service" value="direct"/>
> >                 <input type="hidden" name="session" value="T"/>
> >                 <input type="hidden" name="submitmode" value=""/>
> >                 <input type="hidden" name="submitname" value=""/>
> >                 </div>
> >                 <table width="100%">
> >                 <tr>
> >                 <td><textarea name="notes" id="notes"></textarea></td>
> >                 </tr>
> >                 <tr>
> >                 <td>
> >                 <button type="button" name="Button" id="Button"
> value="Save">Save</button>
> >                 </td>
> >                 </tr>
> >                 </table>
> >                 </form>
> >                 </div>
> >                 </div>
> >                 </response>
> >
> > On 12/4/05, Jesse Kuhnert < [EMAIL PROTECTED]> wrote:
> > > How about pasting your raw repsonse content then? (The content output by
> > > dojo.debug ).
> > >
> > >
> > > On 12/4/05, Cosmin Bucur < [EMAIL PROTECTED]> wrote:
> > > >
> > > > no messages from the js console
> > > >
> > > > On 12/4/05, Jesse Kuhnert < [EMAIL PROTECTED]> wrote:
> > > > > Just a guess, open up your javascript console in FF when this
> textarea
> > > isn't
> > > > > rendered correctly. Do you see anything about "not well formed" or
> > > missing
> > > > > "<td>/tr/something" ?
> > > > >
> > > > > IE is forgiving about these things, but FF (when using XML response)
> is
> > > not.
> > > > >
> > > > >
> > > > > On 12/4/05, Cosmin Bucur < [EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hi Jesse , good I have your attention because , I isolated the
> problem
> > > > > > into tacos .
> > > > > >
> > > > > > I'll put some destails , and soon will get a newer build . My
> tacos
> > > > > > build is about  1 week old , but i hope sf won't give me the same
> code
> > > > > > :)
> > > > > >
> > > > > > I am getting the problem when refreshing through AjaxDirectLink
> only ,
> > > > > > if I go to the page normally through a @PageLink TextArea works .
> > > > > >
> > > > > > Template code ... I've tried both divs and tables , both <textarea
> > > > > > jwcid="notes"></textarea> and <textarea jwcid="notes" /> ... the
> lates
> > > > > > coded which i've used to isolate the problem only to tacos ajax
> > > > > > refreshes :
> > > > > >
> > > > > > MyForm.page / MyForm.jwc ( jwc loaded with ajax doesn't work ,
> page
> > > > > > works , same template code )
> > > > > >
> > > > > >   <form jwcid="@Form">
> > > > > > <table width="100%">
> > > > > >         <tr>
> > > > > >                 <td><textarea
> > > > > jwcid="notes">text</textarea></td>
> > > > > >         </tr>
> > > > > >
> > > > > >
> > > > > >         <tr>
> > > > > >         <td>    <span jwcid="@Button" value="Save"/>    </td>
> > > > > >         </tr>
> > > > > >
> > > > > > </table>
> > > > > > </form>
> > > > > >
> > > > > > Home.page div that loads the component during the ajax reload  :
> > > > > > <div jwcid="@If" condition="ognl:showMyForm">
> > > > > > <div id="mf">
> > > > > >                                 <span
> > > jwcid="@MyForm"/>
> > > > > >                         </div>
> > > > > > </div>
> > > > > >
> > > > > > What I will see in the textarea in firefox in this case is :
> > > > > > </td>
> > > > > >         </tr>
> > > > > >
> > > > > >
> > > > > >         <tr>
> > > > > >         <td>    <button type="button" name="Button" id="Button"
> > > > > > value="Save">Save</button>      </td>
> > > > > >         </tr>
> > > > > >
> > > > > > </table>
> > > > > > </form>
> > > > > >
> > > > > >
> > > > > >                         </div>
> > > > > >
> > > > > > Note that the last </div> is from the Home.page actually .
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 12/4/05, Jesse Kuhnert < [EMAIL PROTECTED] > wrote:
> > > > > > > You may want to paste in some of your component template code in
> > > here so
> > > > > > > that people can be more helpful.
> > > > > > >
> > > > > > > On 12/4/05, Cosmin Bucur < [EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > Hi ,
> > > > > > > >
> > > > > > > > I was not able to get a TextArea component working with
> > > tapestry4.0.13
> > > > > > > > yet under Firefox . For some strange reason MSIE displayes it
> fine
> > >  ,
> > > > > > > > but Firefox displays the rest of the markup in the html
> template
> > > of
> > > > > > > > the component that contains the TextArea component ...
> > > > > > > >
> > > > > > > > It's acting preety wierd . I was wondering if anybody else has
> > > been
> > > > > > > > experiencing this or if there's a  known fix in newer code ?
> > > > > > > >
> > > > > > > > I should say i'm using tacos to load the component which
> contains
> > > the
> > > > > > > > TextAreas . I figured i'd post this here because i've changed
> my
> > > code
> > > > > > > > to use @Form and @Button instead of the tacos components and
> it
> > > gave
> > > > > > > > me the same result .
> > > > > > > >
> > > > > > > >
> > > > >
> > >
> ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail:
> > > > > [EMAIL PROTECTED]
> > > > > > > > For additional commands, e-mail:
> > > > > [EMAIL PROTECTED]
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > -------------------------------------------------------
> > > > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through
> log
> > > > > files
> > > > > > for problems?  Stop!  Download the new AJAX search engine that
> makes
> > > > > > searching your log files as easy as surfing the  web.  DOWNLOAD
> > > SPLUNK!
> > > > > >
> http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> > > > > > _______________________________________________
> > > > > > Tacos-devel mailing list
> > > > > > [email protected]
> > > > > >
> > >
> https://lists.sourceforge.net/lists/listinfo/tacos-devel
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> -------------------------------------------------------
> > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > > files
> > > > for problems?  Stop!  Download the new AJAX search engine that makes
> > > > searching your log files as easy as surfing the  web.  DOWNLOAD
> SPLUNK!
> > > > http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> > > > _______________________________________________
> > > > Tacos-devel mailing list
> > > > [email protected]
> > > >
> https://lists.sourceforge.net/lists/listinfo/tacos-devel
> > > >
> > >
> > >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> > for problems?  Stop!  Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> > _______________________________________________
> > Tacos-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/tacos-devel
> >
>
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to