Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Valeria P
W3C Validate problems
January 4, 2012 8:22 AM
Answer

Valeria P

Rank: New Member

Posts: 3

Join Date: August 8, 2011

Recent Posts

Hello all,

I'm trying to validate my liferay portal, but I have two problems.
The first concerns the attribute action on form. In the source code I saw that the value of attribute action is ""
The error is:
1
2•Line 1, column 15399: Bad value for attribute action on element form: Must be non-empty.
3…d="hrefFm" method="post" name="hrefFm"></form> </div> <footer id="footer" role…


I don't know where is the element form and how to change the value of the attribute action.

The second error is:
1
2•Line 1, column 15822: Stray end tag script.
3…</body> <script type="text/javascript">/*<![CDATA[*/Liferay.Util.addInputFocus…

By the source code I think that the problem is in the code included throught the string "$theme.include($bottom_include)" in the portal-normal of my theme, but I don't know where I have to modify the code.

I hope someone can help me.

Thank you

Valeria
Luca kk
RE: W3C Validate problems
January 5, 2012 4:15 AM
Answer

Luca kk

Rank: Expert

Posts: 284

Join Date: December 7, 2010

Recent Posts

Hi Valeria,
I have the same problem.
Julio Camarero
RE: W3C Validate problems
January 5, 2012 4:51 AM
Answer

Julio Camarero

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1662

Join Date: July 15, 2008

Recent Posts

Hi guys,

the first one is a known issue and will be fixed for GA.

the second one you can avoid it adding this to your portal-ext.properties in the GA (this will make the performance of js slower):

1com.liferay.portal.servlet.filters.validhtml.ValidHtmlFilter=true


cheers!
Luca kk
RE: W3C Validate problems
January 5, 2012 6:55 AM
Answer

Luca kk

Rank: Expert

Posts: 284

Join Date: December 7, 2010

Recent Posts

Hi Julio,
thanks for reply.
What's GA?
Luca
Mirosław Dąbrowski
RE: W3C Validate problems
September 4, 2012 8:56 PM
Answer

Mirosław Dąbrowski

Rank: New Member

Posts: 2

Join Date: June 1, 2011

Recent Posts

General Awesomeness of Portal Technology emoticon ...

read here: http://en.wikipedia.org/wiki/Development_stage#General_availability_.28GA.29