I want create a web application which looks similar as my Windows 7 desktop. I am using JSP and JSF. I wonder how I could create a start button and gadgets. Can anyone give me some hints?
+1
A:
you can :
To emmulate start button & icons use command link
with image wrapped
To emulate menu use menu from RichFaces rich:menu
To open folder file things you can use modal panel
from Rich Faces
To emulate explorer like you can use rich:tree
component.
I feel you can make it better than windows 7 :-)
org.life.java
2010-09-30 18:11:55
+2
A:
PrimeFaces has a Mac OS X dock demo. The main components are:
- Top menu bar:
<p:menubar>
- Dialog:
<p:dialog>
- Dock:
<p:dock>
- Mac OS X theme: with help of jQuery ThemeRoller
(see also View > Source in top menu bar of the demo page)
That said, I would strongly recommend to drop JSP altogether and go ahead with Facelets (XHTML) for JSF. However, your question history hints here and there that you're already using Facelets. Why would you fall back to vintage JSP then?
BalusC
2010-09-30 19:00:54
This is for Mac, what about Windows?
Odelya
2010-09-30 19:35:03
@Odelya: It's a matter of a different theme :) The [Redmond](http://www.primefaces.org/showcase/ui/home.jsf?theme=redmond) theme comes close.
BalusC
2010-09-30 19:41:01
Hi BalusC i wonder use jsp:include and ui:include page can you give me suggest ? thank you
Kency
2010-10-01 04:02:04
`jsp:include` is for JSP and `ui:include` is for Facelets. JSP is not the same as Facelets. They cannot be used together. They are both view technologies. Facelets is the successor of JSP. Facelets is a better choice.
BalusC
2010-10-01 11:06:46
thank you i will choice facelets replace jsp
Kency
2010-10-01 13:10:00