I need Helping in Creating Template With a good CSS and Html5

143 views
Skip to first unread message

mr.abolila

unread,
May 29, 2014, 2:19:31 AM5/29/14
to adf-met...@googlegroups.com
Hello all ,

  I have been working on oracle ADF  for over a year , and now i'm trying to build a dynamic modules Template with a good CSS design I have some problem using CSS  .

I searched a lot how can i use CSS like php websites with some animation. can any one help me with some examples or samples .

Thanks In Advance

John Flack

unread,
May 29, 2014, 8:28:13 AM5/29/14
to adf-met...@googlegroups.com
Moderator Hat On.
I allowed this message, because it is a good continuation of an earlier thread about use of HTML in ADF.  Abolila - we're not going to answer you in specific terms - that would be a topic for the OTN forum.  But the general methodology for getting the layout and behavior you want, and whether HTML and CSS is a good idea is appropriate here.
Moderator Hat Off.

My two cents:
As I said in the earlier thread, I've been experimenting with HTML inside Facelets pages - which is permitted with Facelets.  It works well to a point, but ADF Faces components still do not play nice with others.  I used HTML in an ADF template, and it looks exactly as it should.  But when I create a page that uses the template, some ADF Faces components work and others do not.  The biggest offender is af:table.  When you put a table inside a template made with Facelets and HTML, the columns do not align with the column headers.  The problem is probably that to enable some of the cool capabilities of an af:table, ADF Faces adds some JavaScript and CSS of its own that expects a DOM that my HTML spoils.  I'm going to try some non-ADF components (trinidad or base JSF).

But for now, I will have to say what I think Oracle would say - JSF is NOT HTML.  Your ADF Faces and other compatible JSF components have lots of capabilities and can do many kinds of layout.  If you can do it with JSF, don't bother with HTML.  As for CSS - that is what the skinning feature of ADF Faces is for.  You can control the look and feel of the components, and you can add your own CSS selectors to the skin.

Jan Vervecken

unread,
Jun 1, 2014, 9:57:42 AM6/1/14
to adf-met...@googlegroups.com
fyi

- about "... an earlier thread about use of HTML in ADF ..."
-- Probably "JSF 2 : to inject HTML into ADF Faces you must use the verbatim tag"
at https://groups.google.com/d/topic/adf-methodology/u7E3f4iYNzM/discussion

- about "... what I think Oracle would say - JSF is NOT HTML ..."
-- Recently Oracle published a related article in the May/June 2014 edition of Java Magazine, "HTML5 and JSF : Mix and match the two technologies to create sophisticated applications." (note it mentions JSF 2.2).
see http://www.oracle.com/technetwork/java/javamagazine/index.html
or with subscription/login at http://www.oraclejavamagazine-digital.com/javamagazine/may_june_2014?folio=59

regards
Jan Vervecken
Reply all
Reply to author
Forward
0 new messages