> >
> >
> >
> >
> > At the beginning "sessionBean.values" is empty.
> > Action 1 : User clicks on "add", the add action adds "form0.xhtml" to
> > "sessionBean.values".
> > Action 2
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}"/>
> *
> *
>
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
For a ppr response, we need to add style sheet programmatically:How to achieve that
in Trinidad ppr call?Thanks,Dave
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:
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
: 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
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
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
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
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
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
> @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
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
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.
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
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
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
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
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
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
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
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
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
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&
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
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
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?
Thanks!
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
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
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
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
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
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
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
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
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
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.
>>
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
> 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
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
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
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('/'
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
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
>
>
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
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
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
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
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
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
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
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:
…….
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
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
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
57 matches
Mail list logo