You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Simon Zambrovski <sz...@gmail.com> on 2010/07/21 19:02:43 UTC

Error during Sorting in Primefaces with ExtVal 2.0.4-SNAPSHOT

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hi Folks,

I noticed that the behavior of ExtVal 2.0.4 changed from during the
development.
Using the SNAPSHOT version of May 20 02:47:54 CEST 2010, the sorting
in p:datatable (Primfaces 2.0.0) works fine. If I switch to the
current SNAPSHOT, the sorting stops working: the table just shows
Loading... but never finishes it.

                <p:dataTable id="items"
value="#{searchController.searchResult}"
                    var="item" paginator="true" rows="8" dynamic="true">
                    <p:column sortBy="#{item.name}">
                        <f:facet name="header">
                            <h:outputText value="Name" />
                        </f:facet>
                        <h:outputText value="#{item.name}" />
                    </p:column>
                    <p:column>
                        <f:facet name="header">
                            <h:outputText value="Action" />
                        </f:facet>
                        <p:commandLink value="Popup"
                           
action="#{searchController.doPrepairCurrentItem(item)}"
                            oncomplete="PopupDialog.show()"
update="PopupDialogForm">
                        </p:commandLink>
                    </p:column>
                </p:dataTable>


Any ideas?

Kind regards,

Simon

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iEYEARECAAYFAkxHKDMACgkQwNq/QDsDo2tupwCfeF5nx/U+q6V/E/zFGIgtl/6X
x9MAn0Ep+ipM6xgDyqi/1nUN/scMnmos
=mhsG
-----END PGP SIGNATURE-----


Re: Error during Sorting in Primefaces with ExtVal 2.0.4-SNAPSHOT

Posted by Simon Zambrovski <sz...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hallo Gerhard,

ich hatte eine 2.0.4 SNAPSHOT (die ich von Ihnen hatte) die das
Problem mit @Valid Tag gelöst hat.
(https://issues.apache.org/jira/browse/EXTVAL-96,
https://issues.apache.org/jira/browse/EXTVAL-97)
Die hatte ich im Einsatz bis heute. Damit funktionierte PrimeFaces
sorting basierend auf sortBy. Hatte aber ja auch den Bug
https://issues.apache.org/jira/browse/EXTVAL-108 entdeckt - und der
Fix löste das Problem mit f:validateBean, aber mein Sorting
funktioniert nicht mehr.

Ich habe heute mehrmals mit verschiedenen Deployments ausprobiert - es
liegt definitiv am ExtVal. Noch eine Sache die mir einfällt: sie haben
für den EXTVAL-96, EXTVAL-97 eine spezielle Version geschickt die
unter Mojarra läuft. Könnte es daran liegen?

Gruß

Simon

Am 21.07.2010 19:10, schrieb Gerhard Petracek:
> hi simon,
>
> please point to the last version which worked for you. (please use
> the tagged milestones [1])
>
> regards, gerhard
>
> [1]
> https://svn.apache.org/repos/asf/myfaces/extensions/validator/tags/
>
>
>
http://www.irian.at
>
> Your JSF powerhouse - JSF Consulting, Development and Courses in
> English and German
>
> Professional Support for Apache MyFaces
>
>
>
> 2010/7/21 Simon Zambrovski <sz...@gmail.com>
>
>>
> Hi Folks,
>
> I noticed that the behavior of ExtVal 2.0.4 changed from during
> the development. Using the SNAPSHOT version of May 20 02:47:54 CEST
> 2010, the sorting in p:datatable (Primfaces 2.0.0) works fine. If I
> switch to the current SNAPSHOT, the sorting stops working: the
> table just shows Loading... but never finishes it.
>
> <p:dataTable id="items" value="#{searchController.searchResult}"
> var="item" paginator="true" rows="8" dynamic="true"> <p:column
> sortBy="#{item.name}"> <f:facet name="header"> <h:outputText
> value="Name" /> </f:facet> <h:outputText value="#{item.name}" />
> </p:column> <p:column> <f:facet name="header"> <h:outputText
> value="Action" /> </f:facet> <p:commandLink value="Popup"
>
> action="#{searchController.doPrepairCurrentItem(item)}"
> oncomplete="PopupDialog.show()" update="PopupDialogForm">
> </p:commandLink> </p:column> </p:dataTable>
>
>
> Any ideas?
>
> Kind regards,
>
> Simon
>
>>
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iEYEARECAAYFAkxHUtMACgkQwNq/QDsDo2v1OQCffrFzXGuwopR/0V16jBRbjYGa
JjIAn1e00pFizh5OmJk4negCx/kyGUb6
=+OBT
-----END PGP SIGNATURE-----


Re: Error during Sorting in Primefaces with ExtVal 2.0.4-SNAPSHOT

Posted by Gerhard Petracek <ge...@gmail.com>.
hi simon,

great to hear that it works! you are welcome!

regards,
gerhard

http://www.irian.at

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

Professional Support for Apache MyFaces


2010/7/22 Simon Zambrovski <sz...@gmail.com>

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> it seems to work with the current snapshot. Sorry for wrong information.
>
> Thanks and kind regards,
>
> Simon
>
> Am 21.07.2010 19:10, schrieb Gerhard Petracek:
> > hi simon,
> >
> > please point to the last version which worked for you. (please use
> > the tagged milestones [1])
> >
> > regards, gerhard
> >
> > [1]
> > https://svn.apache.org/repos/asf/myfaces/extensions/validator/tags/
> >
> >
> >
> >
> http://www.irian.at
> >
> > Your JSF powerhouse - JSF Consulting, Development and Courses in
> > English and German
> >
> > Professional Support for Apache MyFaces
> >
> >
> >
> > 2010/7/21 Simon Zambrovski <sz...@gmail.com>
> >
> >>
> > Hi Folks,
> >
> > I noticed that the behavior of ExtVal 2.0.4 changed from during the
> > development. Using the SNAPSHOT version of May 20 02:47:54 CEST
> > 2010, the sorting in p:datatable (Primfaces 2.0.0) works fine. If
> > I switch to the current SNAPSHOT, the sorting stops working: the
> > table just shows Loading... but never finishes it.
> >
> > <p:dataTable id="items" value="#{searchController.searchResult}"
> > var="item" paginator="true" rows="8" dynamic="true"> <p:column
> > sortBy="#{item.name}"> <f:facet name="header"> <h:outputText
> > value="Name" /> </f:facet> <h:outputText value="#{item.name}" />
> > </p:column> <p:column> <f:facet name="header"> <h:outputText
> > value="Action" /> </f:facet> <p:commandLink value="Popup"
> >
> > action="#{searchController.doPrepairCurrentItem(item)}"
> > oncomplete="PopupDialog.show()" update="PopupDialogForm">
> > </p:commandLink> </p:column> </p:dataTable>
> >
> >
> > Any ideas?
> >
> > Kind regards,
> >
> > Simon
> >
> >>
> >>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkxIEdkACgkQwNq/QDsDo2tmuACbB3CEfv+DA2r6CAjwNGTAl9NU
> g+sAnRFA7/rKz2cCE4nVg+E4PLQI8xn8
> =zFSW
> -----END PGP SIGNATURE-----
>
>

Re: Error during Sorting in Primefaces with ExtVal 2.0.4-SNAPSHOT

Posted by Simon Zambrovski <sz...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hi,

it seems to work with the current snapshot. Sorry for wrong information.

Thanks and kind regards,

Simon

Am 21.07.2010 19:10, schrieb Gerhard Petracek:
> hi simon,
>
> please point to the last version which worked for you. (please use
> the tagged milestones [1])
>
> regards, gerhard
>
> [1]
> https://svn.apache.org/repos/asf/myfaces/extensions/validator/tags/
>
>
>
>
http://www.irian.at
>
> Your JSF powerhouse - JSF Consulting, Development and Courses in
> English and German
>
> Professional Support for Apache MyFaces
>
>
>
> 2010/7/21 Simon Zambrovski <sz...@gmail.com>
>
>>
> Hi Folks,
>
> I noticed that the behavior of ExtVal 2.0.4 changed from during the
> development. Using the SNAPSHOT version of May 20 02:47:54 CEST
> 2010, the sorting in p:datatable (Primfaces 2.0.0) works fine. If
> I switch to the current SNAPSHOT, the sorting stops working: the
> table just shows Loading... but never finishes it.
>
> <p:dataTable id="items" value="#{searchController.searchResult}"
> var="item" paginator="true" rows="8" dynamic="true"> <p:column
> sortBy="#{item.name}"> <f:facet name="header"> <h:outputText
> value="Name" /> </f:facet> <h:outputText value="#{item.name}" />
> </p:column> <p:column> <f:facet name="header"> <h:outputText
> value="Action" /> </f:facet> <p:commandLink value="Popup"
>
> action="#{searchController.doPrepairCurrentItem(item)}"
> oncomplete="PopupDialog.show()" update="PopupDialogForm">
> </p:commandLink> </p:column> </p:dataTable>
>
>
> Any ideas?
>
> Kind regards,
>
> Simon
>
>>
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iEYEARECAAYFAkxIEdkACgkQwNq/QDsDo2tmuACbB3CEfv+DA2r6CAjwNGTAl9NU
g+sAnRFA7/rKz2cCE4nVg+E4PLQI8xn8
=zFSW
-----END PGP SIGNATURE-----


Re: Error during Sorting in Primefaces with ExtVal 2.0.4-SNAPSHOT

Posted by Gerhard Petracek <ge...@gmail.com>.
hi simon,

please point to the last version which worked for you. (please use the
tagged milestones [1])

regards,
gerhard

[1] https://svn.apache.org/repos/asf/myfaces/extensions/validator/tags/

http://www.irian.at

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

Professional Support for Apache MyFaces



2010/7/21 Simon Zambrovski <sz...@gmail.com>

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Folks,
>
> I noticed that the behavior of ExtVal 2.0.4 changed from during the
> development.
> Using the SNAPSHOT version of May 20 02:47:54 CEST 2010, the sorting
> in p:datatable (Primfaces 2.0.0) works fine. If I switch to the
> current SNAPSHOT, the sorting stops working: the table just shows
> Loading... but never finishes it.
>
>                <p:dataTable id="items"
> value="#{searchController.searchResult}"
>                    var="item" paginator="true" rows="8" dynamic="true">
>                    <p:column sortBy="#{item.name}">
>                        <f:facet name="header">
>                            <h:outputText value="Name" />
>                        </f:facet>
>                        <h:outputText value="#{item.name}" />
>                    </p:column>
>                    <p:column>
>                        <f:facet name="header">
>                            <h:outputText value="Action" />
>                        </f:facet>
>                        <p:commandLink value="Popup"
>
> action="#{searchController.doPrepairCurrentItem(item)}"
>                            oncomplete="PopupDialog.show()"
> update="PopupDialogForm">
>                        </p:commandLink>
>                    </p:column>
>                </p:dataTable>
>
>
> Any ideas?
>
> Kind regards,
>
> Simon
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkxHKDMACgkQwNq/QDsDo2tupwCfeF5nx/U+q6V/E/zFGIgtl/6X
> x9MAn0Ep+ipM6xgDyqi/1nUN/scMnmos
> =mhsG
> -----END PGP SIGNATURE-----
>
>