Fórumok

Liferay 6.0.6 XHTML last validation error

thumbnail
alex wom, módosítva 12 év-val korábban

Liferay 6.0.6 XHTML last validation error

Regular Member Bejegyzések: 218 Csatlakozás dátuma: 2009.05.04. Legújabb bejegyzések
Sorry I posted this under another thread in this forum, but I didn't receive any suggestion so I decided to open this new thread, and a JIRA ticket.
My last W3C XHTML+RDFa validator error is (I suppose) in /html/common/portal/layout/view/common.jspf. W3C validator doesn't like
<form action="" id="hrefFm" method="post" name="hrefFm"></form>
it is something like a container filled by javascript in 23 places in portal (I searched hrefFm the code). W3C doesn't like it because it wants some envelope inside form tag like fieldset or span. In this case I have some doubt to put another tag inside because I don't know if the javascript code works again. This error is blocking for W3C validation. We are deploying the Privacy Authority portal and in this case it is necessary W3C validation.
Do you have any suggestion to solve this?
thumbnail
Amos Fong, módosítva 12 év-val korábban

RE: Liferay 6.0.6 XHTML last validation error

Liferay Legend Bejegyzések: 2047 Csatlakozás dátuma: 2008.10.07. Legújabb bejegyzések
As far as I know this form is just used to post to a URL. It should be safe to put an empty span tag in it. Maybe you can do a more in depth search in how it's used to make sure and make a recommendation? =)