update p:message onload page

UI Components for JSF
Post Reply
Spiderbezno
Posts: 35
Joined: 16 Sep 2010, 10:41

24 Sep 2010, 16:13

I put a p:message to view errors of communication with EJB, but I need update this component on load page, How I can do??

User avatar
michiel
Posts: 240
Joined: 07 Jun 2010, 09:12
Location: Belgium

24 Sep 2010, 16:21

view viewtopic.php?f=3&t=4648&start=0, it's the same for <p:messages>, you have to manually update them.
JSF-2.0, mojarra-2.0.2-FCS and PrimeFaces-2.1 on GlassFish v3.0.1 (build 22)

Spiderbezno
Posts: 35
Joined: 16 Sep 2010, 10:41

24 Sep 2010, 16:26

manually? with javascript??

User avatar
michiel
Posts: 240
Joined: 07 Jun 2010, 09:12
Location: Belgium

24 Sep 2010, 16:34

javaScript or <p:remoteCommand>
JSF-2.0, mojarra-2.0.2-FCS and PrimeFaces-2.1 on GlassFish v3.0.1 (build 22)

Spiderbezno
Posts: 35
Joined: 16 Sep 2010, 10:41

24 Sep 2010, 16:46

remotecomand is the example of the other topic??

User avatar
michiel
Posts: 240
Joined: 07 Jun 2010, 09:12
Location: Belgium

24 Sep 2010, 16:56

indeed, my mistake.

I'll submit a feature request

issue 1263 created
Last edited by michiel on 24 Sep 2010, 17:21, edited 2 times in total.
JSF-2.0, mojarra-2.0.2-FCS and PrimeFaces-2.1 on GlassFish v3.0.1 (build 22)

Spiderbezno
Posts: 35
Joined: 16 Sep 2010, 10:41

24 Sep 2010, 17:18

ok, i in stand by until this submit

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests