Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the Primefaces 3.2 Client Side API docs?

I downloaded Primefaces 3.2 but I cant find the javadocs for the client side API. They say it has rich client side api so I'd could take a look at it also.

Thanks.

like image 763
Mark Estrada Avatar asked May 17 '12 09:05

Mark Estrada


2 Answers

Though this may sound too trivial, but as a potential work-around, if one cannot find desired property/function name in provided documentation, one can do the following:

1.Add widgetVar to component:

    <p:dataTable widgetVar="caseDataTable" ...>
        ...
    </p:dataTable>

2.Open corresponding page in browser with adequate developers console (I prefer Chrome, but Firefox should also do), open JS console, type name of the JS variable and . and console should show dropdown list of properties/functions available:

Chrome console with dropdown

3.Try to guess which property/function does what :)

Though one should use those functions/properties carefully, because since they are not documented, they may be removed in future releases etc, but as a work-around this may work.

Hope this helps...

like image 120
Yuriy Nakonechnyy Avatar answered Sep 28 '22 20:09

Yuriy Nakonechnyy


Everything about PrimeFaces is here

https://www.primefaces.org/documentation/

like image 39
StepTNT Avatar answered Sep 28 '22 20:09

StepTNT