Re: facelets errors on tomahawk components

2006-08-28 Thread Dennis Byrne
Mikhail, If you were using the schedule component before it graduated to tomahawk, we can't help you there - anything goes in the sandbox. @border was removed from the graphic tag to be compatible w/ the JSF reference implementation. You can specify the image's border via CSS and @style.

[tomahawk] panelTabbedPane question

2006-08-28 Thread Nicolas Kalkhof
hello folks, iŽm currently struggeling with some basic understanding of the panelTabbedPane element. i always thought, that when i set serverSideTabSwitch=true only the visible tab content is transferred to the client, not the invisible content. but this doesnŽt seem to be the case with

Technical help for datatable

2006-08-28 Thread David Delbecq
Hello, I created a custom component tag. It works ok, except when it is put under a datatable component, where the datatable component generates a NullPointerException the first time the form is displayed. It's strange, it seems datatable is trying to restore state of component despite the fact

output text depending on message

2006-08-28 Thread Michael Heinen
Hi all, I have to output some text in the case that there isn't a message for a component. How can I achieve this? t:inputText id=aField t:message for ="" showDetail t:outputText value=ok rendered=??? aField ??? I remember that this has been discussed here but I can't find

Re: [tomahawk] panelTabbedPane question

2006-08-28 Thread Mr Arvind Pandey
Hi, I m also facing the same situation as you. Currently i am doing some sort of research on it and I will update you as soon as I am some sort of solution for this. Thanks regards.. Arvind Pandey --- Nicolas Kalkhof [EMAIL PROTECTED] wrote: hello folks, i´m currently struggeling

Re: output text depending on message

2006-08-28 Thread Gerald Müllan
Hi, what is about rendering the outputText in case if there are no messages in the FacesContext waiting to be displayed: FacesContext.getCurrentInstance().getMessages().hasNext() Place this in a method-binding in the backend. Should work to me. cheers, Gerald On 8/28/06, Michael Heinen

Re: XHTML support

2006-08-28 Thread R. Müller
for it doesn't work, especially in firefox 1.5. the inline-script is not parsed and executed, if the javascript is marked as comment. what is the right behavior from specification point of view. can someone confirm this ? @andrew : can you check, whether firefox interprets you pages as xhtml

RE: output text depending on message

2006-08-28 Thread Michael Heinen
Thanks, but this would not work in my case. I have to check whether there are messages for specific fields. Better sample: I have a required editable inputField carID and want to output the name of the car if there are no errors for the carID field. If the carID field is changed then I clear

Re: output text depending on message

2006-08-28 Thread Volker Weber
Hi, I hope there is a Map with messages, that would be accessible with the fieldID no, there isn't, but if you realy want you can implement such a map yourselve. Or, as Gerald wrote, put a method like this in your backingBean public void isCarIdError() { return

sandbox eamples nightly version (1.1.5-SNAPSHOT)

2006-08-28 Thread Bogdan Sava
Issues: 1. Horizontal menu page ( hmenu.jsf / hmenu.jsp) is missing. 2. InputSuggestAjax issue : If use keyboard arrows down/up and enter to select a value from list, form is submitted. It shouldn't. Probably because of pressing enterkey on form behavior which should be inhibit as long list

Error in JSF Portlet in Weblogic 8.1

2006-08-28 Thread Kapil Kataria
Hi I am getting the following error when running a JSF page in portlet in Weblogic portal 8.1 server I have used the JSF Portal Bride to render my JSF page in Weblogic Portal portlet descriptionLogin Portlet/description portlet-namerefware.loginPortlet/portlet-name display-nameCustomer Admin

JSF portlet commandLink reloads page

2006-08-28 Thread Pfau, Oliver
Hi, I have made a very simple JSF application switching 2 pages with commandLinks and action/outcome navigation. With JSF all works. Now as JSF portlet in liferay only the page will be reloaded when clicking on a commandLink. It seems that the navigation fails but I get no exception. I am

[REMINDER] This list is subscribers only!

2006-08-28 Thread Manfred Geiler
This mail is sent from time to time and is meant to remind you, that the users@myfaces.apache.org and dev@myfaces.apache.org mailing lists - like most of the ASF lists - are subscribers only. This means that you are only allowed to post to this list if you have subscribed before. Please make

Datascroller layout

2006-08-28 Thread Enrico Nicola Mirco
Hi all, Anyone know how I can render the page index and the navigation bar (f:facet first, next, prev, ecc.) in the same row? My jsp code is: x:dataScroller for=datatable pageCountVar=pageCount pageIndexVar=pageIndex x:outputText value=Page #{pageIndex} of #{pageCount}/

Re: t:schedule mouseListener doesn't work in facelets

2006-08-28 Thread Gus
Thank you so much for your reply. I will try it out. Best wishes, Gus Mikhail Grushinskiy-2 wrote: I have it working in facelets. Google for jbprize and get sample project from CVS On 8/25/06, Gus [EMAIL PROTECTED] wrote: Hi All, Does anybody make t:schedule work with facelets? Thank

Two JSF apps in one web application

2006-08-28 Thread Mikhail Grushinskiy
We have 2 JSF applications (2 separate *-faces-config.xml) within a single web app (.war).One of JSF apps is migrated to facelets from JSP, another will have to stay in JSP for now.web.xml allows only single value for javax.faces.DEFAULT_SUFFIX.(need to be .xhtml for facelets and .jsp for

Re: Forum software with JBOSS/JSF

2006-08-28 Thread Betto McRose G,
yo can goto the jboss seam's forum Dave wrote: I am using JBoss and JSF.Could someone pleaserecommend a forum software? Thanks! All-new Yahoo! Mail - Fire up a more powerful email and get things done faster. No virus found in this incoming message. Checked by AVG Free Edition.

AW: Error in JSF Portlet in Weblogic 8.1

2006-08-28 Thread Pfau, Oliver
I think the apache portals bridge init param should be ViewPage not default-view Von: Kapil Kataria [mailto:[EMAIL PROTECTED] Gesendet: Montag, 28. August 2006 13:31An: MyFaces DiscussionBetreff: Error in JSF Portlet in Weblogic 8.1 Hi I am getting the following error when running a JSF

How to implement a Processing, please wait... page?

2006-08-28 Thread Paul Spencer
I need to implement a Processing, please wait... page that is displayed when a long query is running. The backing bean currently has a method that returns processing or done to indicate the processing state of the query. When processing is returned, the Processing, please wait... page is to

RE: Two JSF apps in one web application

2006-08-28 Thread L Frohman
see: http://wiki.java.net/bin/view/Projects/FaceletsFAQ#How_do_I_use_Facelets_and_JSP_in (if you use prefix mapping) From: Mikhail Grushinskiy [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 7:04 AMTo: MyFaces DiscussionSubject: Two JSF apps in one web application We have 2 JSF

Re: XHTML support

2006-08-28 Thread Andrew Robinson
I do all my testing on firefox on linux -- no issues. The page info suggests html: Type: text/html Render Mode: Standards compliance mode Cace Source: Not cached Encoding: ISO-8859-1 ... -Andrew On 8/28/06, R. Müller [EMAIL PROTECTED] wrote: for it doesn't work, especially in firefox 1.5. the

Re: Tag not recognized error when trying to use tomahawk tag t:tabChangeListener

2006-08-28 Thread Mike Kienenberger
Wendy, that's great! Could you either post your code on the Facelets wiki page for Taghandlers, or better yet, open a MyFaces JIRA issue, and attach it as a contribution to the MyFaces project? We're in the process of including facelets support by default for Tomahawk. Another short-term

dynamic form problem

2006-08-28 Thread Igor devor
Hi, I have a many form included in a t:tree2 : t:tree2 imageLocation=/images id=ProdTree value=#{Builder.tree} var=node varNodeToggler=t

Tobago and Facelets

2006-08-28 Thread Christoph Lassner
Hi everybody! Combining Tabago with Facelets is an intersting topic I thought and tried to get it working. However, I still have some problems. The pages are rendered properly in Tobago style, the tags are working. However, when I set up navigation rules, they don't work. When I press a tobago

Re: How to implement a Processing, please wait... page?

2006-08-28 Thread Jeff Bischoff
Paul, I recently had to implement a please wait page, though my requirements were slightly different. I was redirecting to a non-JSF page (Crystal Reports viewer, from the JRC in fact). Since the crystal JSP would block until the query was finished, I simply displayed my wait page once, and

Re: How to implement a Processing, please wait... page?

2006-08-28 Thread Simon_Lessard
Hello Paul, When I had to do this in a past project, I used ADF Faces/Trinidad's progressIndicator with a poll. The indicator allow you to add an action launched when the process terminates. So what I did was launch the long process on another thread and have the current request load the

Re: How to implement a Processing, please wait... page?

2006-08-28 Thread Andrew Robinson
FYI, most JSF AJAX providers include an AJAX state component that allows you to display a loading or please wait message. a4j and AjaxAnywhere both have one.On 8/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello Paul, When I had to do this in a past project, I used ADF Faces/Trinidad's

Re: How to implement a Processing, please wait... page?

2006-08-28 Thread Martin Grotzke
Hello Paul, you can achieve this with ajax4jsf. Have a look at the following postings: question: https://ajax4jsf.dev.java.net/servlets/ReadMsg?list=usersmsgNo=829 answer: https://ajax4jsf.dev.java.net/servlets/ReadMsg?list=usersmsgNo=830 example:

[Tobago] - why is the sheet's length hard-coded?

2006-08-28 Thread John
The Tobago sheet's width is hard-coded (not set in the css theme), to 85px. (per webpage view-source). I found this out because I tried to set the height explicitly within our custom theme, within tobago-sheet.css, within .tobago-sheet-body-div, and set the layout manager to use 'fixed'.

Re: Tobago and Facelets

2006-08-28 Thread Bernd Bohmann
Hello Christoph, you are using the myfaces jsf impl libs and the sun jsf impl libs. You should include jsf-api.jar jsf-impl.jar or myfaces-api-1.1.2.jar myfaces-impl-1.1.2.jar not both. Regards Bernd Christoph Lassner wrote: Hi everybody! Combining Tabago with Facelets is an

Re: MessageBundle: internationalization problem

2006-08-28 Thread Dennis Klemann
Hi Ronald, that was the problem indeed - thank you very much! :-) Quite strange that BEA didn't include a graphical language element... Cheers, Dennis R. Müller wrote: Hi Dennis, i think you have to provide all supported locales in your faces-conig : Probably the english one is the

Re: Tag not recognized error when trying to use tomahawk tag t:tabChangeListener

2006-08-28 Thread Wendy Chou
OK, I will do that.On 8/28/06, Mike Kienenberger [EMAIL PROTECTED] wrote: Wendy, that's great!Could you either post your code on the Facelets wiki page forTaghandlers, or better yet, open a MyFaces JIRA issue, and attach itas a contribution to the MyFaces project? We're in the process of including

Secure form submission

2006-08-28 Thread Paul Devine
Our web site has some https requirements for secure form submissions. I have seen the s:form tag from the sandbox supports this, and worked easily enough in a little proof of concept page that I wrote. It looks like our easiest path in terms of coding for converting our pages currently written

Re: Two JSF apps in one web application

2006-08-28 Thread Mikhail Grushinskiy
Thanks. I've tried this and it didn't work. Now both application stopped working.Here is exception [java] java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter() [java] at

Re: Secure form submission

2006-08-28 Thread Cagatay Civici
s:form had some compatibility issues in the past but as I remember Martin has taken care of these. There are plans to move it to tomahawk but for now it has to stay at sandbox because we need it for client side validation implementation. On 8/28/06, Paul Devine [EMAIL PROTECTED] wrote: Our web

RE: Two JSF apps in one web application

2006-08-28 Thread L Frohman
Why don't you post your question to the facelets forum? [EMAIL PROTECTED] (you have to subscribe) From: Mikhail Grushinskiy [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 10:35 AMTo: MyFaces DiscussionSubject: Re: Two JSF apps in one web application Thanks. I've tried this and

Re: Two JSF apps in one web application

2006-08-28 Thread Mikhail Grushinskiy
OK. I did nowOn 8/28/06, L Frohman [EMAIL PROTECTED] wrote: Why don't you post your question to the facelets forum? [EMAIL PROTECTED] (you have to subscribe) From: Mikhail Grushinskiy [mailto:[EMAIL PROTECTED]] Sent: Monday, August 28, 2006 10:35 AMTo: MyFaces DiscussionSubject: Re: Two

graphicImage width

2006-08-28 Thread Dave
Is there a way to set maximum width for a h:graphicImage?If a image width is less than 200 pixels, use its actual width. If its width is more than 200 pixels, then resize it to 200 pixels. If I set width="200", the image will always be resized to 200 pixel width, and distorted.Thanks

Re: Error in JSF Portlet in Weblogic 8.1

2006-08-28 Thread Kapil Kataria
Thanks I am getting the following error after changing to ViewPagejava.lang.NullPointerException at java.io.File. (File.java:180) at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.registerStaleModule(AutoRegisterActionServlet.java:673) at

RE: graphicImage width

2006-08-28 Thread Guy Katz
i dont know if there is anything built in to jsf for this. but if you have the image path binded to a bean property than you can bind the width to another property of that bean and have that bean actualy calculate the width of it's image using java existing classes and determine the width at