Re: Duplicate id on stylesheet inserted with ResourceDependency

2013-02-17 Thread Nicolas Labrot
> > > > > > > > > > At the beginning "sessionBean.values" is empty. > > Action 1 : User clicks on "add", the add action adds "form0.xhtml" to > > "sessionBean.values". > > Action 2

Re: Duplicate id on stylesheet inserted with ResourceDependency

2013-02-16 Thread Leonardo Uribe
tml" to > "sessionBean.values". > Action 2 : User clicks on "add", the add action adds "form1.xhtml" to > "sessionBean.values". > > *form0.xhtml contains : * > fileUploadListener="#{sessionBean.handleFileUpload}"/> > * > * >

Duplicate id on stylesheet inserted with ResourceDependency

2013-02-16 Thread Nicolas Labrot
action 2 returns a duplicate id exception: java.lang.IllegalStateException j_id4 is the stylesheet of the fileUpload component : @ResourceDependency(library="primefaces", name="fileupload/fileupload.css"), This stylesheet is inserted with action 1. And it seems myfaces tries to insert it with action 2 too. Do I do something wrong ? Thanks for your help! Nicolas

trinidad ppr: how to add stylesheet ?

2009-06-10 Thread Dave
For a ppr response, we need to add style sheet programmatically:How to achieve that in Trinidad ppr call?Thanks,Dave

Re: Skinning Trinidad - dynamic path in stylesheet files?

2009-01-12 Thread Andrew Robinson
IMPORT statements or am I doing > something wrong? > No it doesn't > > > Regards, > > > > Felix > > > -- > > *From:* Becker, Felix > *Sent:* Thursday, January 08, 2009 8:57 AM > *To:* users@myfaces.apache.org > *Subject:

RE: Skinning Trinidad - dynamic path in stylesheet files?

2009-01-11 Thread Felix.Becker
From: Becker, Felix Sent: Thursday, January 08, 2009 8:57 AM To: users@myfaces.apache.org Subject: RE: Skinning Trinidad - dynamic path in stylesheet files? Oh, i just saw that trinidad automatically rewrites the url when using an absolute path like /icons/foo.png - cool. That so

RE: Skinning Trinidad - dynamic path in stylesheet files?

2009-01-07 Thread Felix.Becker
: Skinning Trinidad - dynamic path in stylesheet files? Hi Guys, i'm using an own css file (defined in the trinidad-skins.xml) for many of my components. My faces application pages are available on different paths, e.g. the news page is on /appname/pages/news/news.jsf and the login page

Skinning Trinidad - dynamic path in stylesheet files?

2009-01-07 Thread Felix.Becker
Hi Guys, i'm using an own css file (defined in the trinidad-skins.xml) for many of my components. My faces application pages are available on different paths, e.g. the news page is on /appname/pages/news/news.jsf and the login page is on /appname/pages/security/login/login.jsf. In my style.css

Re: Help with Trinidad + Facelets + Stylesheet

2008-10-21 Thread Andrew Robinson
tr:document has a metaContainer facet: http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_document.html On Tue, Oct 21, 2008 at 4:37 AM, Walter Mourão <[EMAIL PROTECTED]> wrote: > You can use the like below: > > ... > > > #{messages['application.name']} > ~ ${viewTitle} > hr

Re: Help with Trinidad + Facelets + Stylesheet

2008-10-21 Thread Walter Mourão
You can use the like below: ... #{messages['application.name']} ~ ${viewTitle} ... Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Mon, Oct 20, 2008 at 9:29 PM, Shailaja Jain <[EMAIL PROTECTED]>wrote: > Hi, > > Is it possible

Help with Trinidad + Facelets + Stylesheet

2008-10-21 Thread Shailaja Jain
Hi, Is it possible to apply css stylesheets to trinidad componenets without using tr:document tag? Our new application has been designed to use facelets templating for various parts of a web page. Please find below a defined template in our web app. As you can see we have defined the various parts

AddResource: how to prevent adding session id to stylesheet URL

2008-10-13 Thread Dave
Hi, We are using AddResource to add stylesheet dynamically, like:   addResource.addStyleSheet(context, AddResource.HEADER_BEGIN, "/main.css");   In the generated HTML, the current session id is in the URL, like:     This breaks web browser caching. Style sheet is static. We want browser

Re: orchestra conversation closed by stylesheet

2008-04-08 Thread Martin Marinschek
> @Mario: your comment makes sense, we all should certainly try to work > around bugs in other libraries! cause else, our users will have to do it, and this we will want to prevent. regards, Martin

Re: orchestra conversation closed by stylesheet

2008-04-08 Thread Martin Marinschek
To sum it up: Orchestra is certainly not to blame here, this is a RichFaces bug. @Mario: your comment makes sense, we all should certainly try to work around bugs in other libraries! regards, Martin On Tue, Apr 1, 2008 at 12:38 AM, Scott O'Bryan <[EMAIL PROTECTED]> wrote: > Configurators work o

Re: orchestra conversation closed by stylesheet

2008-03-31 Thread Scott O'Bryan
Configurators work off of a custom FacesContext. It works very well. Mario Ivankovits wrote: Hi! Weblets for instance allows a zeroconf resource loading via phase listeners which trigger, usually this triggering is done before phase1, but there are portlet cases where it happens later.

Re: orchestra conversation closed by stylesheet

2008-03-31 Thread Werner Punz
normal JSF lifecycle, including all the post-render phase listeners when rendering its custom resources (the ".xcss" file in this case). I wonder what "viewId" it uses when processing the stylesheet request. Does the server see a request for viewId "foo.jsf", then sudden

Re: orchestra conversation closed by stylesheet

2008-03-30 Thread simon
Orchestra will have no problems with it either. The problem with richfaces is that it appears from the original post that it runs a completely normal JSF lifecycle, including all the post-render phase listeners when rendering its custom resources (the ".xcss" file in this case). I w

Re: orchestra conversation closed by stylesheet

2008-03-30 Thread Werner Punz
Mario Ivankovits schrieb: Hi! Weblets for instance allows a zeroconf resource loading via phase listeners which trigger, usually this triggering is done before phase1, but there are portlet cases where it happens later. What are the JSF phases executed by weblets then? Probably we find a patter

Re: orchestra conversation closed by stylesheet

2008-03-29 Thread Mario Ivankovits
Hi! > Weblets for instance allows a zeroconf resource loading > via phase listeners which trigger, usually this triggering > is done before phase1, but there are portlet cases where > it happens later. What are the JSF phases executed by weblets then? Probably we find a pattern which allows us to d

Re: orchestra conversation closed by stylesheet

2008-03-29 Thread Werner Punz
Hi Mario this is not weird at all, usually this technique is used by resource loading frameworks if they want to provide some automatisms. Weblets for instance allows a zeroconf resource loading via phase listeners which trigger, usually this triggering is done before phase1, but there are portle

Re: orchestra conversation closed by stylesheet

2008-03-28 Thread Mario Ivankovits
Hi! > many thanks for your tips. I checked the phase-listener solution, but > it's a little dirty. > The resource request skips phases 2-5. And the after RESTORE_VIEW > callback is not called. > In the before callback I do not know how to get the view id. As a > solution i check the source componen

Re: orchestra conversation closed by stylesheet

2008-03-28 Thread Bernd Winterstein
Hi Simon, many thanks for your tips. I checked the phase-listener solution, but it's a little dirty. The resource request skips phases 2-5. And the after RESTORE_VIEW callback is not called. In the before callback I do not know how to get the view id. As a solution i check the source compone

Re: orchestra conversation closed by stylesheet

2008-03-28 Thread simon
Hi Bernd, On Fri, 2008-03-28 at 12:11 +0100, Bernd Winterstein wrote: > Hi > I have a one page conversation with access-scope. The page contains > several tabs which are switched by Ajax calls. > The first time the page is loaded the last request is a css download, > upon which orchestra close

orchestra conversation closed by stylesheet

2008-03-28 Thread Bernd Winterstein
Hi I have a one page conversation with access-scope. The page contains several tabs which are switched by Ajax calls. The first time the page is loaded the last request is a css download, upon which orchestra closes the conversation. The following requests for other tabs works perfect, the c

Re: where the Components 'status Indicator' and 'styleSheet'?

2007-11-11 Thread Gerhard Petracek
hello, as i know (please correct me if it's wrong): @styleSheet component: trh:styleSheet is available in version 1.0.1 did you use the trh namespace? here a small example: http://java.sun.com/JSP/Page"; version="2.0" xmlns:f="http://java.sun.com/jsf/core&

where the Components 'status Indicator' and 'styleSheet'?

2007-11-11 Thread Vasista
Hi, I'm with Trinidad Components with the mentioned Details below ,Here my request is, I didn't found the components 'status Indicator' and 'styleSheet' that were given in Demo (http://www.irian.at/trinidad-demo/faces/componentDemos.jspx). In think th

Stylesheet issue: defaultStyles.css returned when using Facelets

2006-11-28 Thread Romanowski, Tim
simply defines my layout using , and at the top of the file I have the snippet listed below. My initial page looks great, but when I navigate to another page in which only the body changes, the header and footer do not continue to use the stylesheet. Could someone please explain to me what I might

Re: what JSF tag renders a stylesheet HTML element?

2006-11-11 Thread Andrew Robinson
http://myfaces.apache.org/tomahawk/stylesheet.html On 11/11/06, Stephen Osella <[EMAIL PROTECTED]> wrote: What JSF tag renders a stylesheet HTML element? Thanks!

what JSF tag renders a stylesheet HTML element?

2006-11-11 Thread Stephen Osella
What JSF tag renders a stylesheet HTML element? Thanks!

RE: JSCookMenu Stylesheet and Facelets Problem

2006-09-15 Thread Tom Innes
I use the version that comes with Exadel Studio from around June.  My guess is that it is the 1.11 Release.   The message occurs the first time the page is compiled.   When I finish with the changes to the Stylesheet I will see if I can modify the _javascript_ and have it behave

Re: JSCookMenu Stylesheet and Facelets Problem

2006-09-15 Thread Murat Hazer
zer [mailto:[EMAIL PROTECTED]] Sent: Friday, September 15, 2006 3:41 AM To: MyFaces Discussion Subject: Re: JSCookMenu Stylesheet and Facelets Problem   I had the same problem and following jscookmenu definition solved my problem...                org.apache.myfaces.STY

RE: JSCookMenu Stylesheet and Facelets Problem

2006-09-15 Thread Tom Innes
age- From: Murat Hazer [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 3:41 AM To: MyFaces Discussion Subject: Re: JSCookMenu Stylesheet and Facelets Problem   I had the same problem and following jscookmenu definition solved my problem...                org.apache.my

Re: JSCookMenu Stylesheet and Facelets Problem

2006-09-15 Thread Murat Hazer
ing to override the Stylesheet on JsCookMenu.  I am using Facelets.   I have tried the work around to the bug referenced here   https://issues.apache.org/jira/browse/TOMAHAWK-575   I have taken the theme.css from 1.15 Snapshot of about a month ago and placed it in a new file location under my

JSCookMenu Stylesheet and Facelets Problem

2006-09-14 Thread Tom Innes
I am trying to override the Stylesheet on JsCookMenu.  I am using Facelets.   I have tried the work around to the bug referenced here   https://issues.apache.org/jira/browse/TOMAHAWK-575   I have taken the theme.css from 1.15 Snapshot of about a month ago and placed it in a new file

Re: panelnavigation2 stylesheet not working in form?

2006-07-11 Thread ldr
Hi all Im still in a deadend on this problem and would like to know if there is anyone I can address with problem: style isn't rendered with panelnavigation2 when inside a form? thanks, chris -- View this message in context: http://www.nabble.com/panelnavigation2-stylesheet-not-worki

Re: panelnavigation2 stylesheet not working in form?

2006-07-10 Thread ldr
The problem is that Im using the panelnavigation inside tabbedpane where I have to have enclosed it in a form. :( /ldr_ -- View this message in context: http://www.nabble.com/panelnavigation2-stylesheet-not-working-in-form--tf1915469.html#a5249220 Sent from the MyFaces - Users forum at

panelnavigation2 stylesheet not working in form?

2006-07-09 Thread ldr
When panelNavition2 is inside a form the stylesheet doesnt work? do anyone know a workaround for this problem? thanks in advance, ldr_ -- View this message in context: http://www.nabble.com/panelnavigation2-stylesheet-not-working-in-form--tf1915469.html#a5243964 Sent from the MyFaces - Users

RE: Problem with Stylesheet loading after returning to the site by pressing the cancel button

2005-11-28 Thread Yee CN
ROTECTED] On Behalf Of Craig McClanahan Sent: Monday, 28 November 2005 12:41 PM To: MyFaces Discussion Subject: Re: Problem with Stylesheet loading after returning to the site by pressing the cancel button     On 11/27/05, Simon Kitching <[EMAIL PROTECTED]> wrote: Wayne Fay wrot

Re: Problem with Stylesheet loading after returning to the site by pressing the cancel button

2005-11-27 Thread Craig McClanahan
On 11/27/05, Simon Kitching <[EMAIL PROTECTED]> wrote: Wayne Fay wrote:>> Maybe your page is in a subfolder, so on the next page the path to the>> stylesheet  has  a  wrong base. Try to change the path to the css file>> to an absolute path instead of a relative one. >>

Re: Problem with Stylesheet loading after returning to the site by pressing the cancel button

2005-11-27 Thread Simon Kitching
Wayne Fay wrote: Maybe your page is in a subfolder, so on the next page the path to the stylesheet has a wrong base. Try to change the path to the css file to an absolute path instead of a relative one. I have had numerous problems with stylesheets in JSF. The only way I could get things

Re: Problem with Stylesheet loading after returning to the site by pressing the cancel button

2005-11-27 Thread Wayne Fay
> Maybe your page is in a subfolder, so on the next page the path to the > stylesheet has a wrong base. Try to change the path to the css file > to an absolute path instead of a relative one. I have had numerous problems with stylesheets in JSF. The only way I could get thing

Re: Problem with Stylesheet loading after returning to the site by pressing the cancel button

2005-11-27 Thread Steffen Hankiewicz
Hi, > problem? I have other pages with stylesheets and cancel buttons, but the > problem occurs only in one example. Maybe your page is in a subfolder, so on the next page the path to the stylesheet has a wrong base. Try to change the path to the css file to an absolute path instea

Problem with Stylesheet loading after returning to the site by pressing the cancel button

2005-11-26 Thread Matthias Kahlau
Hi! I have a JSF page with stylesheets used by , and the stylesheets are correctly applied. The page links to another JSF page. When I navigate to the other JSF page, and then return to the first page by pressing the cancel button, the first page is shown, but without any stylesheets applied. Doe

Re: Getting the ContextPath to set stylesheet href properly

2005-11-12 Thread Francesco Consumi
How are the rest of you doing this? we use: rel="stylesheet" type="text/css"> in JSF EL we use instead: #{facesContext.externalContext.requestContextPath} and, finally, in javascript: location.pathname == ('/' + location.pathname.split('/'

Re: Getting the ContextPath to set stylesheet href properly

2005-11-12 Thread Volker Weber
Hi Wayne, I'm not shure about the 'best' way to solve this, but one of the easyest is to provide a bean method for getting the contectPath. public static String getContextPath() { return FacesContext.getCurrentInstance().getExternalContext().getRequestContextPath(); } Put this in a ManagedBean

RE: Getting the ContextPath to set stylesheet href properly

2005-11-11 Thread Warren Bell
I had the same problem with images. It seemed to work some times and not others, depending on the previous page path. I ended up using absolute paths or ../../ . I get an empty string when I use anywhere, how come? > Subject: Getting the ContextPath to set stylesheet href properly > >

Re: Getting the ContextPath to set stylesheet href properly

2005-11-11 Thread Wayne Fay
Here's the equivalent using "old" style JSP. This works! But I'd prefer to make it work the "other" way. <%@ page contentType="text/html; charset=utf-8" buffer="none"%> <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%> <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%> <%@ tagli

Re: Getting the ContextPath to set stylesheet href properly

2005-11-11 Thread Wayne Fay
I thought I should provide version info for all the pieces... JDK 1.4.2 Oracle App Server 10g 10.1.2 J2EE 1.3 JSP 1.2 Servlets 2.3 EJB 2.0 MyFaces 1.1.0 Tomahawk 1.1.0 The next version of OAS 10g (10.1.3) will support J2EE 1.4 JSP 2.0 Servlets 2.4 EJB 2.1 and 3.0 but of course its not out yet. Ju

Getting the ContextPath to set stylesheet href properly

2005-11-11 Thread Wayne Fay
Hi guys, Having some real problems with paths in my Faces app for some reason! I am using Oracle App Server 10g 10.1.2 with MyFaces 1.1.0, JSP 1.2 & Web-app 2.3. Wish I could use Web-app 2.4 but 10.1.2 does not support it, and it requires DTDs in config xml files etc. Lots of fun. File structure

Re: stylesheet> error when uUpgrading from 1.0.9 to 1.1.0

2005-09-22 Thread Enrique Medina
It seems your problem is related to JIRA issue MYFACES-579, which has been solved as not being really a bug ;-)2005/9/21, Burke, Rodney <[EMAIL PROTECTED] >: All,   I was able to resolve this problem by downloading the night build 20050920. But still have no idea what the root cause

Re: stylesheet> error when uUpgrading from 1.0.9 to 1.1.0 > Same error but now fixed

2005-09-22 Thread Bruno Aranda
You are completely true Simon. A problem in the release build made the faces-config.xml not to be included in the myfaces-all.jar. Another option if you want to use the myfaces-all.jar is to download a recent nightly, as those are not affected by this issue, Regards, Bruno 2005/9/22, Simon Kitch

Re: stylesheet> error when uUpgrading from 1.0.9 to 1.1.0 > Same error but now fixed

2005-09-21 Thread Simon Kitching
Christian wrote: Like you I just switched form 1.0.9 to 1.1.0. I deleted all myfaces-jars and replaced them with "myfaces-all.jar" of 1.1.0, updated the tld-references and cleaned my build-directory. [snip] I got this error Undefined component type org.apache.myfaces.HtmlColumn It might

RE: stylesheet> error when uUpgrading from 1.0.9 to 1.1.0 > Same error but now fixed

2005-09-21 Thread Christian
Title: Nachricht Like you I just switched form 1.0.9 to 1.1.0.   I deleted all myfaces-jars and replaced them with "myfaces-all.jar" of 1.1.0, updated the tld-references and cleaned my build-directory.   Then I had the same error but for other tags, not the stylesheet one but with

RE: stylesheet> error when uUpgrading from 1.0.9 to 1.1.0

2005-09-21 Thread Burke, Rodney
All,   I was able to resolve this problem by downloading the night build 20050920. But still have no idea what the root cause is.   Thanks Rodney From: Burke, Rodney [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 21, 2005 3:04 PM To: users@myfaces.apache.org Subject:

RE: Stylesheet

2005-08-18 Thread Keel, Paul
…….               From: Shibi Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, August 18, 2005 5:09 AM To: users@myfaces.apache.org Subject: Stylesheet   i would like to use stylesheets in myfaces.    this is the code

Stylesheet

2005-08-18 Thread Shibi Thomas
i would like to use stylesheets in myfaces.    this is the code ... .         i got the following error:   11:05:50.091 WARN!! [P1-19] org.apache.myfaces.renderkit.html.HtmlRenderKitImpl.getRenderer(HtmlRenderKitImpl.java:67) >36> Unsupported component-family/renderer-type: javax.f

Modify stylesheet

2005-03-21 Thread Ducret, Gilles (CH)
Hi all,   We are using the jcook menu and have problems to modify the stylesheets. The only stylesheet we could modify was the one for ThemeIE.   But one problem remains: it displays a shadow as a background of the menu and the effect is not beautiful with our style. We would like to