You should join us over at the myfaces.apache.org
user list to discuss JSF.
Regards,
David
-Original Message-
From: Mark Benussi [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 27, 2005 4:19 AM
To: 'Struts Users Mailing List'
Subject: [OT] RE: CSS not working with JSF
This is a Struts
[EMAIL PROTECTED] escribió:
Rick, classes seem to work. Thank You. But the requirement is to use ID. May
be I can convince my team. I will go try Geeta's idea now to see how fun that
is...:=)
Keep in mind that ID must be unique in the same HTML page. You can`t
write for example, 2
Just a semi-on-topic aside... I believe the best approach is to use IDs
as their name implies: as a unique ID for a given element, and use class
to mark the element as using a given CSS class. Unless you know you
have a requirement to change a batch of elements together, and its a
change that
Hi Rick, bjester, anyone else who's interested:
As promised, I have uploaded a very trivial app which integrates Shale and
Tiles using the new code which David Geary committed a couple of days back
(btw, I built the jars here using the source from a couple of days back..
so am not sure if they
Sure thing. I would love to work with you and come up with something
useful. I too am currently working on a web app which would demo Shark
(the open source workflow engine). I already had written it using Struts,
but now am attempting to rewrite that using Shale. Not sure how much
success I
, August 26, 2005 11:54 AM
To: Rick Reumann
Cc: [EMAIL PROTECTED]; Struts Users Mailing List
Subject: Re: [Shale] Shale with Tiles web app example - was CSS not
working with JSF
Sure thing. I would love to work with you and come up with something
useful. I too am currently working on a web app which
Walton, Kaleb \(ISS Southfield\) [EMAIL PROTECTED] wrote on 08/26/2005
12:48:16 PM:
Geeta,
I'd like to get your app up and running, although, I'm having trouble. I
keep getting Assertion Failed errors when trying to get to index.faces
or index.jsp. Any ideas? :)
Could you post the stack
)
at java.lang.Thread.run(Thread.java:595)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 26, 2005 12:51 PM
To: Struts Users Mailing List
Subject: RE: [Shale] Shale with Tiles web app example - was CSS not
working with JSF
Walton, Kaleb \(ISS
Walton, Kaleb \(ISS Southfield\) [EMAIL PROTECTED] wrote on 08/26/2005
12:54:19 PM:
javax.faces.FacesException: Assertion Failed
at com.sun.faces.util.Util.doAssert(Util.java:1302)
at
com.sun.faces.taglib.jsf_core.ViewTag.getComponentType(ViewTag.java:241)
at
PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 26, 2005 1:08 PM
To: Struts Users Mailing List
Subject: RE: [Shale] Shale with Tiles web app example - was CSS not
working with JSF
Walton, Kaleb \(ISS Southfield\) [EMAIL PROTECTED] wrote on 08/26/2005
12:54:19 PM:
javax.faces.FacesException
I am having problem with JSF and CSS.
In my css I have
#linkMe:link {
color: #C9C9C9;
}
#linkMe:visited {
color: #C9C9C9;
}
#linkMe:hover, #linkMe:active {
text-decoration: none;
color: #C9C9C9;
}
In my JSP I have:
f:verbatim
h:outputLink styleClass=linkMe value=#h:outputText
[EMAIL PROTECTED] wrote the following on 8/25/2005 3:07 PM:
I am having problem with JSF and CSS.
In my css I have
#linkMe:link {
color: #C9C9C9;
}
#linkMe:visited {
color: #C9C9C9;
}
#linkMe:hover, #linkMe:active {
text-decoration: none;
color: #C9C9C9;
}
In my JSP I have:
Hi Bob, I think I solved my style sheet problem something like 2 minutes
ago.. :)
So assuming yours is the same problem..
Here's how I declared my stylesheet up top of my layout.jsp:
link rel=stylesheet href=h:outputText value
Here is my include:
head
link href=pages/site.css type=text/css rel=stylesheet media=screen
/head
here is the generated source:
a href= value= class=linkMe
jsp:id=C:/Projects/JsfShale/WebContent/pages/main.jsp:47:6click me/a
Rick Reumann [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED]
Beware that some browsers won't use stylesheets if they aren't sent by
the server as text/css. I don't know authoritatively which ones, but
I think Firefox and IE *in strict mode*, require text/css.
[EMAIL PROTECTED] wrote:
Hi Bob, I think I solved my style sheet problem something like 2
[EMAIL PROTECTED] wrote on 08/25/2005 03:19:07 PM:
Here is my include:
head
link href=pages/site.css type=text/css rel=stylesheet
media=screen
/head
How does the source for the head stuff look like? As Rick says it is
possible your stylesheet isn't being found..
Geeta
Neil Erdwien [EMAIL PROTECTED] wrote on 08/25/2005 03:22:23 PM:
Beware that some browsers won't use stylesheets if they aren't sent by
the server as text/css. I don't know authoritatively which ones, but
I think Firefox and IE *in strict mode*, require text/css.
Thanks for the warning!
here is my html source:
html
head
link href=pages/site.css type=text/css rel=stylesheet media=screen
titleTest JSF and Shale/title
/head
body
jsf link test: a href=# class=linkMeclick me/a
/body
/html
I know that this is wrong. It should be a href=# id=linkMeclick me/a
[EMAIL PROTECTED] wrote the following on 8/25/2005 3:29 PM:
I know that this is wrong. It should be a href=# id=linkMeclick me/a
and I do not know how to make jsf to do it.
Oh I should have caught that you were using ids vs classes. For testing
why not make you 'id' a class attribute in
[EMAIL PROTECTED] wrote on 08/25/2005 03:29:57 PM:
here is my html source:
html
head
link href=pages/site.css type=text/css rel=stylesheet
media=screen
titleTest JSF and Shale/title
/head
body
jsf link test: a href=# class=linkMeclick me/a
/body
/html
I know
[EMAIL PROTECTED] wrote the following on 8/25/2005 3:26 PM:
- right now I'm *finally* getting tiles to play nice with JSF/Shale so am
too excited to do much else than play with the app, adding links in
menu.jsp, images in layout.jsp... ah, heaven..!..:))
Care to email me the app zipped up
I would liek it also if please: [EMAIL PROTECTED]
Rick Reumann [EMAIL PROTECTED] wrote:[EMAIL PROTECTED] wrote the following on
8/25/2005 3:26 PM:
- right now I'm *finally* getting tiles to play nice with JSF/Shale so am
too excited to do much else than play with the app, adding links in
Rick, classes seem to work. Thank You. But the requirement is to use ID. May
be I can convince my team. I will go try Geeta's idea now to see how fun that
is...:=)
Rick Reumann [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote the following on 8/25/2005 3:29 PM:
I know that this is wrong.
Rick Reumann [EMAIL PROTECTED] wrote on 08/25/2005 03:35:06 PM:
Care to email me the app zipped up so I can learn from it:) (rick at
reumann.net preferably).
Absolutely!.. But I do have to clean out all the test1.jsp,
test2.jsp,...test567.jsp... first..;) Plus do a *final* check and see
24 matches
Mail list logo