+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.korh...@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.k...@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
>

Reply via email to