You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "F. Da Costa" <da...@xs4all.nl> on 2004/02/21 17:59:29 UTC

Re: Form woes, can there be too many elements???

F. Da Costa wrote:

> Hi,
> 
> I've been trying to find a solution to a (IMHO) very straight forward 
> issue.
> 
> It concerns useing a form, a hidden field and 400 form elements (could 
> easily become a couple of 1000).
> I noticed (in a small form test) that the setHiddenField gets called 
> *prior* to dealing with the rest of the fields. Thus making it the ideal 
> point to do some intermittent processing before allowing the form to 
> continue being put back on the screen. This is a correct assumption, i 
> hope?
> 
> In the real thing i'm working on, the process does *not* stop at the 
> setHiddenField point (whilst debugging). Restarted 3M7 several times but 
> to no avail.
> The only difference with the testForm is the fact that there is a 
> .script involved with a <body> and <initialization> bit. Should i expect 
> this to have any influence at all *and* when in the chain of events is 
> it handled (the code in the .script)? The script span is at the very end 
> of the .html.
> 
The script is *not* an issue either. Just expanded the testForm to include 
the exact same bahaviour and things work just fine.

I hope i'm wrong here but it almost feels like a no of elements (?) issue.

2b continued, help still appreciated

> Here is a small snip of the code for the hiddenField.
> 
>   public String getHiddenField() {
>     return _hiddenField;
>   }
> 
>   public void setHiddenField(String value) {
>       _hiddenField = "dynamic";
>       _refreshPage =false;
>     _dynamicallyExpandPage  = true;
>   }
> 
> If anybody has a suggestion that would be great, this has kept me 
> occupied now for approx 4 (long) days. :-((
> 
> TIA
> Fermin DCG
> 
> 
> ---------------------------------------------------------------------
> 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