You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Cosmin Bucur <co...@gmail.com> on 2005/12/05 01:43:21 UTC

Probblems with TextArea ?

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: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Probblems with TextArea ?

Posted by Cosmin Bucur <co...@gmail.com>.
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 <jk...@gmail.com> 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 <co...@gmail.com> 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: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Probblems with TextArea ?

Posted by Jesse Kuhnert <jk...@gmail.com>.
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 <co...@gmail.com> 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: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>