myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Marinschek <mmarinsc...@apache.org>
Subject Re: [core] performance: performance hints
Date Thu, 21 Apr 2011 10:18:57 GMT
+1!

best regards,

Martin

On 4/20/11, Gerhard Petracek <gerhard.petracek@gmail.com> wrote:
> +1
>
> regards,
> gerhard
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
> 2011/4/20 Jakob Korherr <jakob.korherr@gmail.com>
>
>> Hi,
>>
>> That's a great idea! Please do that :)
>>
>> IMO there is still a lot of potential in the state saving area. I
>> think every idea for an improvement is appreciated here!
>>
>> Regards,
>> Jakob
>>
>> 2011/4/19, Martin Koci <martin.kocicak.koci@gmail.com>:
>> > Hi,
>> >
>> > is it possible to introduce performance hints in myfaces-core? Hints
>> > similar to javax.faces.component.visit.VisitHint but related to
>> > performance improvements. Example:
>> >
>> > For dataTable like:
>> > <a:dataTable
>> >   <a:column>
>> >     #{aExpression}
>> >
>> > it's completely unnecessary to save per-row state. Currently there is no
>> > elegant way how to do read-only table (state per-row is always
>> > maintained). If user wants (fast) readOnly table, he/she must extend
>> > UIData and re-implemenent setRowIndex method. But hint say
>> > "org.apache.myfaces.core.UIData.saveRowState"=false can solve it
>> > elegantly - if present (in component.getAttributes()) UIData skips
>> > row-state-saving and restoring methods entirely.
>> >
>> > Lifespan of those hints can be request (faceContext.attributes) or view
>> > (component.attributes)
>> >
>> > WDYT?
>> >
>> > Regards,
>> >
>> > Kočičák
>> >
>> >
>> > See https://issues.apache.org/jira/browse/MYFACES-3111 too.
>> >
>> >
>>
>>
>> --
>> Jakob Korherr
>>
>> blog: http://www.jakobk.com
>> twitter: http://twitter.com/jakobkorherr
>> work: http://www.irian.at
>>
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Mime
View raw message