Is it possible to provide some way of specifying your own javax.faces.ViewState param?

2011-03-15 Thread Hampus Wingren
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

Re: ProjectStage and ResourceDependency

2011-03-15 Thread Jakob Korherr
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 =

Re: Upgrading from myfaces 1.0 to 2.0

2011-03-15 Thread Anton Gavazuk
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

Upgrading from myfaces 1.0 to 2.0

2011-03-15 Thread 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. planning to upgrade to the latest version of my faces and tomahawk. is facelets also to be upgraded to the newe

Upgrading from myfaces 1.0 to 2.0

2011-03-15 Thread 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. planning to upgrade to the latest version of my faces and tomahawk. is facelets also to be upgraded to the newe

AW: ProjectStage and ResourceDependency

2011-03-15 Thread Eisenträger , Tobias
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

Re: Possible bug jsf.js (or error on my pat)

2011-03-15 Thread Cédric Durmont
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

Re: Possible bug jsf.js (or error on my pat)

2011-03-15 Thread Rudy De Busscher
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

Re: ProjectStage and ResourceDependency

2011-03-15 Thread Jakob Korherr
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

ProjectStage and ResourceDependency

2011-03-15 Thread Eisenträger , Tobias
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

[Trinidad] PPR blocking cannot be disabled

2011-03-15 Thread Paul Mander
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