Hi,
I´m trying to write a really lightweight portal implementation based on
JSF and one thing that´s quite limiting is that you can´t specify more
than one view state. Wouldn´t it be possible to work around this issue
by having a context-param which states the ViewState-id?
I´m writing the portal
That's great - you're welcome :)
However, you can cache isDevelopmentStage no matter what ProjectStage
you have. It won't change unless you redeploy your webapp.
Thus I recommend this code:
private Boolean developmentStage = null;
public boolean isDevelopmentStage()
{
if (developmentStage =
http://stackoverflow.com/questions/4441713/migrating-from-jsf-1-2-to-jsf-2-0
2011/3/15 ravi J
>
> I would like to know that any one on this forum has ever involved in
> upgrading from myfaces 1.0 to 2.0.
>
> The current environment is myfaces-1.2.3, tomahawk-1.1.6 and
> facelets-1.1.14. plannin
I would like to know that any one on this forum has ever involved in
upgrading from myfaces 1.0 to 2.0.
The current environment is myfaces-1.2.3, tomahawk-1.1.6 and
facelets-1.1.14. planning to upgrade to the latest version of my faces and
tomahawk. is facelets also to be upgraded to the newe
I would like to know that any one on this forum has ever involved in
upgrading from myfaces 1.0 to 2.0.
The current environment is myfaces-1.2.3, tomahawk-1.1.6 and
facelets-1.1.14. planning to upgrade to the latest version of my faces and
tomahawk. is facelets also to be upgraded to the newe
Thank you Jacob - that worked great.
Here's the code for reference:
Faces-config.xml:
de.example.jsf2.sample.application.CustomResourceHandler
CustomResourceHandler.java:
package de.example.jsf2.sample.application;
import javax.faces.application.ProjectStage;
import javax.f
Hi,
Your sample xhtml does not look very "Trinidad-ish". Maybe it was
intended for plain JSF.
a more Trinidad-oriented approach would be :
http://www.w3.org/1999/xhtml";
xmlns:ui="http://java.sun.com/jsf/facelets";
xmlns:h="http://java.sun.com/jsf/html";
xmlns:f="http://jav
Hi Bob,
Not sure why you want to use the javascript directly. Can be done easier
with
regards
Rudy
On 14 March 2011 18:24, Robert Hodges wrote:
> To all,
>
> I'm new to web coding (especially JSF). I'm looking at Trinidad as my
> component library of choice. I'm trying out simple samples f
Hi Tobias,
You could write your own ResourceHandler (--> ResourceHandlerWrapper)
which wraps the createResource() methods and adjusts the filenames
depending on the current ProjectStage.
Regards,
Jakob
2011/3/15 Eisenträger, Tobias :
> Hello list,
>
> Is it possible to have different ResourceDep
Hello list,
Is it possible to have different ResourceDependencies for components depending
on the Project Stage?
Example - when the project is in Development Stage the context param
javax.faces.PROJECT_STAGE is set to Development
javax.faces.PROJECT_STAGE
Development
I want
I'm using trinidad for ajax requests in an ipad web app as the underlying
application was written in jsf/trinidad. the vast majority of my application
is PPR and I require most actions to be blocked which appears to work fine.
When a PPR request is issued the window is blocked until a response is
11 matches
Mail list logo