User's Guide Errata

UI Components for JSF
Post Reply
cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

10 Feb 2011, 20:05

Dear all,

Please post all the typos and errors you've identified in User's Guide here. We appreciate your help to make the Guide better.

Regards,

Cagatay Civici
PrimeFaces Lead

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

11 Feb 2011, 11:26

1) In the Preview of the Guide, section "Toggle Event", there is a small typo. Instead of

Code: Select all

<p:accordionPanel effect="hover">
    //..tabs
</p:accordionPanel>
should be

Code: Select all

<p:accordionPanel event="hover">
    //..tabs
</p:accordionPanel>
2) Description for dblClickSelect in the section for DataTable is wrong (copy & paste error from the prev. description).

3) In the section "Partial Processing" for AjaxBehavior you wrote
Partial processing is used with process option which defaults to @this, meaning the ajaxified component, following example processes all form and validation will fail as there is required field.
Should the default not be @form?

4) Next typo in Autocomplete. The method

Code: Select all

public List<Player> complete(String query)
should be

Code: Select all

public List<Player> completePlayer(String query)
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

User avatar
neijunior
Posts: 74
Joined: 15 Jul 2010, 04:46
Location: São Paulo - Brasil

14 Feb 2011, 12:44

In the "Client Side API"of the "DataTable" (page 142) is not missing methods?

One would be the "selection", which returns the selected object in the dataTable.
Mojarra 2.2.x, Facelets, Glassfish V4.1, Primefaces 5.1, Eclipse Mars 1, JPA 2, EJB 3

Nei Alcantara Jr.
http://twitter.com/NeiAlcantaraJr

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

14 Feb 2011, 14:03

5) Menuitem chapter, description for "icon" attribute is "Path of the menuitem image". This is misleading because "icon" defines CSS selector containing background image url.

6) Sub chapter "Push Buttons" of CommandButton. The example is wrong with type="button". It should be type="push".
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

14 Feb 2011, 19:21

6) Sub chapter "Push Buttons" of CommandButton. The example is wrong with type="button". It should be type="push".
No, name of type is button not push.

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

14 Feb 2011, 19:29

Okey, then it's here wrong http://www.primefaces.org/showcase/ui/toolbar.jsf

You have there <p:commandButton type="push" title="Save" image="ui-icon-disk"/> etc.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

14 Feb 2011, 19:34

Yes that example has wrong source code.

zbindere
Posts: 22
Joined: 02 Feb 2011, 17:20

15 Feb 2011, 10:52

Page 426

Wrong:

Code: Select all

url("images/ui-bg_highlight-hard_100_f9f9f9_1x100.png")
Correct:

Code: Select all

url(images/ui-bg_highlight-hard_100_f9f9f9_1x100.png)

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

15 Feb 2011, 11:26

W3C says quotes are optional so it is valid usage.

patbuck
Posts: 15
Joined: 20 Aug 2010, 21:46

15 Feb 2011, 23:24

Version of dependency Apache commons-fileupload is stated as 1.2.1 but should presumably be 1.2.2 ?

Cheers,
Patrik

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 34 guests