Re: Can't get statusIndicator or progressIndicator to work.

2009-08-12 Thread Shaun Campbell
Matthias Finally got it!!! http://www.nabble.com/SEVERE:-No-RenderingContext-has-been-created.-td21636677.html I needed to remove this entry from my faces-config.xml: view-handlercom.sun.facelets.FaceletViewHandler/view-handler Thanks for your help and suggestions. hth Shaun

Re: Can't get statusIndicator or progressIndicator to work.

2009-08-11 Thread Shaun Campbell
Thank you for your help Matthias. I've since seen the progressIndicator example and status indicator examples on the Trinidad site, and I've downloaded the source. I've tried putting the code from progressIndicator.jspx into my xhtml file (making sure I have the tr:document tag). I've created

Re: Can't get statusIndicator or progressIndicator to work.

2009-08-11 Thread Matthias Wessendorf
please make sure the composed page is still a valid JSF/Trinidad page Why not starting with a very simple step (e.g. get rid of the template, etc) also make sure you are not nesting h:form / tr:form -Matthias On Tue, Aug 11, 2009 at 1:59 PM, Shaun Campbellcampbell.sh...@gmail.com wrote: Thank

Re: Can't get statusIndicator or progressIndicator to work.

2009-08-11 Thread Matthias Wessendorf
...and make sure your configuration (e.g. renderkit in faces-config) is correct; -M On Tue, Aug 11, 2009 at 3:08 PM, Matthias Wessendorfmat...@apache.org wrote: please make sure the composed page is still a valid JSF/Trinidad page Why not starting with a very simple step (e.g. get rid of the

Re: Can't get statusIndicator or progressIndicator to work.

2009-08-11 Thread Shaun Campbell
One more piece of information. I put progressIndicator.jspx into my project and tried to run it. I get an error: java.lang.RuntimeException: FacesContext not found javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:238)

Re: Can't get statusIndicator or progressIndicator to work.

2009-08-11 Thread Matthias Wessendorf
not really sure what you are doing, mixing jspx / xhtml ? I'd never use JSPX... and on facelets you don't need f:view please check the facesgoodie, that is a working example (including facelets) -M On Tue, Aug 11, 2009 at 3:10 PM, Shaun Campbellcampbell.sh...@gmail.com wrote: One more piece

Re: Can't get statusIndicator or progressIndicator to work.

2009-08-11 Thread Richard Yee
What URL are you using? You probably are missing the 'faces/' on your URL that is mapped to the faces servlet. Try viewing the source of your web page to see if the tags are getting processed. Richard Sent from my iPhone On Aug 11, 2009, at 6:10 AM, Shaun Campbell campbell.sh...@gmail.com

Re: Can't get statusIndicator or progressIndicator to work.

2009-08-11 Thread Shaun Campbell
Matthias I just put the jspx file in to see if it would work - but it didn't :( I hadn't got a renderKit in my faces-config.xml and I thought that was it. I put this line in: application default-render-kit-idorg.apache.myfaces.trinidad.core/default-render-kit-id /application but it didn't

Re: Can't get statusIndicator or progressIndicator to work.

2009-08-11 Thread Shaun Campbell
Richard Thanks for the help. I'm not sure what you mean by the URL. I've not been using faces/ in my URL and they've been working fine until I tried to get this progress indicator to work. I did view the source of the page earlier and I wasn't getting anything from within the tr:document.

Re: Can't get statusIndicator or progressIndicator to work.

2009-08-11 Thread Matthias Wessendorf
On Tue, Aug 11, 2009 at 5:49 PM, Shaun Campbellcampbell.sh...@gmail.com wrote: Richard Thanks for the help.  I'm not sure what you mean by the URL.  I've not been using faces/ in my URL and they've been working fine until I tried to get this progress indicator to work. I did view the source

Re: Can't get statusIndicator or progressIndicator to work.

2009-08-11 Thread Matthias Wessendorf
html   xmlns=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://java.sun.com/jsf/core;   xmlns:tr=http://myfaces.apache.org/trinidad; f:view   tr:document    tr:form    /tr:form here is an

Re: Can't get statusIndicator or progressIndicator to work.

2009-08-11 Thread Matthias Wessendorf
On Tue, Aug 11, 2009 at 6:19 PM, Shaun Campbellcampbell.sh...@gmail.com wrote: Matthias I checked out your facesgoodies but they wouldn't build for some reason due to missing artifacts. I haven't had time to look into it yet. I need to replace orchestra version :-) But the pages -itself-

Re: Can't get statusIndicator or progressIndicator to work.

2009-08-11 Thread Shaun Campbell
Matthias I checked out your facesgoodies but they wouldn't build for some reason due to missing artifacts. I haven't had time to look into it yet. [INFO] [ERROR] BUILD ERROR [INFO]

Can't get statusIndicator or progressIndicator to work.

2009-08-10 Thread Shaun Campbell
I'm trying to write a page that displays a Please wait... or progress indicator while my long running process runs. I've based my code on examples I have found but I just don't get anything displayed. I've never done this before so I'm not exactly sure what they need to produce anything. I've

Re: Can't get statusIndicator or progressIndicator to work.

2009-08-10 Thread Matthias Wessendorf
you need tr:document as the child under f:view. That component triggers the inclusion of CSS and JS for Trinidad -M On Tue, Aug 11, 2009 at 12:06 AM, Shaun Campbellcampbell.sh...@gmail.com wrote: I'm trying to write a page that displays a Please wait... or progress indicator  while my long

Re: Can't get statusIndicator or progressIndicator to work.

2009-08-10 Thread Matthias Wessendorf
On Tue, Aug 11, 2009 at 12:06 AM, Shaun Campbellcampbell.sh...@gmail.com wrote: I'm trying to write a page that displays a Please wait... or progress indicator  while my long running process runs. also- my facesgoodies sample has some example, when you are deleting a row in a table =