Glassfish commandlink error?

UI Components for JSF
Post Reply
sebaxtz
Posts: 19
Joined: 08 Sep 2009, 20:38

08 Sep 2009, 21:01

Hi guys.. I've been testing playing this wonderful sets of UI components, and I've got this from the glassfish server console:

SEC5052: null Subject used in SecurityContext construction.


Every time I click the commandLink, however, it does respond to DOM events in onclick, but do not trigger the eventlistener on the backebean.

Code: Select all

<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:h="http://java.sun.com/jsf/html">
    <head><p:resources/>
    </head>
    <body>

        <h:form>
            <p:commandLink id="aaaa"  value="#"    actionListener="#{bean.click}" >aaaaa</p:commandLink>
            </h:form>

    </body>
</html>

Even if I dont specify the actionListener attribute, the log and console shows that error.
Do I missing set something up ?.. Most of primefaces components I test works well.

Cheers!!

PS: I'm using glassfish v2

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

09 Sep 2009, 19:47

Does the same page work with p:commandButton? What happens if you replace p:commandLink with p:commandButton?

sebaxtz
Posts: 19
Joined: 08 Sep 2009, 20:38

10 Sep 2009, 18:43

Hi!.. thank you for your reply!..
I did test it, the same error in both console and log, no additional messages just:

SEC5052: null Subject used in SecurityContext construction.

cheers!

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

11 Sep 2009, 18:33

Hi, I'll test the page segment you've posted with glassfish 2.1 and update this post soon. Looking into this.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 64 guests