Facebook注册和JSF

时间:2013-03-05 09:41:19

标签: facebook jsf-2 primefaces

在我的netbeans 7.2中。我正在使用JSF Primefaces 3.5,我正在尝试在应用程序中添加facebook注册,但我收到一条错误消息“实体名称必须立即跟随'&'在实体参考“

<iframe src="https://www.facebook.com/plugins/registration?
                        client_id=113869198637480&
                        redirect_uri=https%3A%2F%2Fdevelopers.facebook.com%2Ftools%2Fecho%2F&
                        fields=name,birthday,gender,location,email"
                        scrolling="auto"
                        frameborder="no"
                        style="border:none"
                        allowTransparency="true"
                        width="100%"
                        height="330">

                </iframe>

我跟着facebook怎么做了......请帮忙......谢谢......初学者在这里......

1 个答案:

答案 0 :(得分:0)

为了记录,你不能使用&amp;直接在xhtml中,你需要html entites,如&amp;。