You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jorg Heymans <jh...@domek.be> on 2004/09/14 15:35:51 UTC

[CForms] performance problem using repeater widget

Hi,

I have a repeater widget where each rows contains 4 input fields, 3 
static selection list (3-6 elements each) and 1 selection list 
referencing an external source (declared non-dynamic, returns 20 elements).

It takes initialy about one second to add a row - which i think is 
already a lot, after 5-6 rows however it takes more than 6 seconds to 
add a row.

The complexity of my application is along the lines of the simple 
beaneditor application in the supersonic tour (so it's really dead simple).

Any ideas what could be causing this? (or even how to troubleshoot this?)

Regards
Jorg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [CForms] performance problem using repeater widget

Posted by Jorg Heymans <jh...@domek.be>.
Thanks. My stylesheet can't get any simpler though. If there is a way to 
optimize following templates i would love to hear about it.

   <xsl:template match="dir:directory">
     <fd:selection-list>
       <xsl:apply-templates/>
     </fd:selection-list>
   </xsl:template>

   <xsl:template match="dir:file">
     <fd:item>
       <xsl:attribute name="value"><xsl:value-of 
select="@name"/></xsl:attribute>
     </fd:item>
   </xsl:template>

Regards
Jorg

Timur Izhbulatov wrote:
> В Втр, 14.09.2004, в 17:35, Jorg Heymans пишет:
> 
> 
> 
>>Any ideas what could be causing this? (or even how to troubleshoot this?)
> 
> 
> Have you tried to comment out all the map:transform elements in your
> form display pipeline?
> 
> I had a similar problem and rewriting the stylesheet helped. Still don't
> have any idea how could this be, 'cause I didn't change the stylesheet
> before the problem appeared. Or maybe I just don't remember =)
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [CForms] performance problem using repeater widget

Posted by Timur Izhbulatov <ti...@yxo.ru>.
В Втр, 14.09.2004, в 17:35, Jorg Heymans пишет:


> Any ideas what could be causing this? (or even how to troubleshoot this?)

Have you tried to comment out all the map:transform elements in your
form display pipeline?

I had a similar problem and rewriting the stylesheet helped. Still don't
have any idea how could this be, 'cause I didn't change the stylesheet
before the problem appeared. Or maybe I just don't remember =)

-- 
Timur Izhbulatov <tim at yxo dot ru>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org