Re: Caching JSF Dropdown Results

2007-05-24 Thread Titi Wangsa
spring + spring-modules-cache + oscache. that's how we do it.. no eager reading in init methods. the data gets stored in the cache the first time it is read next read would just retrive the data from the cache there is a setting so that you can have the cache to be considered stale after a

Re: [Trinidad] Detailstamp facet problem

2007-05-24 Thread Henk Vanhoe
I have tested this problem again with the latest trinidad from the svn repository, and now the test results are a little bit different... When I use CLIENT_STATE_METHOD 'all', it doesn't work anymore and I'm having this exception message (without stacktrace) when I click on a 'Show detail'

Re: MyFaces 1.2 code checkout

2007-05-24 Thread Werner Punz
[EMAIL PROTECTED] schrieb: I am trying to checkout the code for MyFaces 1.2 but I get the following error. Is there a workaround or a different server? C:\Program Files\Subversionsvn co http://svn.apache.org/repos/asf/myfaces/current12 myfaces12 svn: PROPFIND request failed on

AW: [Trinidad] _validateAlert is not defined

2007-05-24 Thread Michael Trompertz
Here is my example. Without the required-attribute in the tr:input-tag ist works. ?xml version=1.0 encoding=ISO-8859-1 ? jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; xmlns:tr=http://myfaces.apache.org/trinidad; xmlns:f=http://java.sun.com/jsf/core; xmlns:ui=http://java.sun.com/jsf/facelets;

Send parameters with ValueChangeListener

2007-05-24 Thread Tuncay A.
Hi, Can anybody give be a hint or solution on how to send parameters when invoking a valueChangeListener on a selectOneRadio component ? This is possible with actionListener using tag t:attribute.. If this is impossible, are there any solution to a scenario: Select an item in a

Re: Why so many problems with MyFaces?

2007-05-24 Thread Werner Punz
Simon Lessard schrieb: Hello, I think what Andrew meant is that since MyFaces is not backed by a corporation, people here are not paid to work on this project. Therefore they spend there own free time for the community's gain without any personal gain. Therefore, it's not very diplomatic to

IceFaces with MyFaces

2007-05-24 Thread Rudi Steiner
Hello, I'm tuning up my application, so I tried to integrate IceFaces do add some ajaxenabled pages. My problem is, that I get a lot of errors and none of the instructions I found so far works. Has anyone a short description how I can get my application up and running with IceFaces. My current

Re: Why so many problems with MyFaces?

2007-05-24 Thread Carsten Kaiser
Let me comment on this from a newbie's point of view: We started using JSF with a little project this year and we really went through all this pains/problems, which caused the project almost to fail at all... I think, it is not the common JSF or even the MyFaces documentation responsible for

Re: Why so many problems with MyFaces?

2007-05-24 Thread Werner Punz
Actually you raise some valid points here, at least for the myfaces subprojects we have this matrix: http://wiki.apache.org/myfaces/CompatibilityMatrix?highlight=%28matrix%29 I personally think such a combined matrix is only maintainable in a wiki way if you do not have a central testing ground

Re: [Trinidad] PPR - getting full page refresh instead of partialrefresh

2007-05-24 Thread Luka Surija
your partial trigger is set to refresh the tr:panelBox, that means, only components inside tr:panelBox and the tr:panelBox will be updated. If you put partialTriggers=preview in tr:form, then the text will be also updated. noah wrote: Maybe I just don't understand how PPR is supposed to

Re: Why so many problems with MyFaces?

2007-05-24 Thread Carsten Kaiser
I know this one, but unfortunately it has not the right granularity for some problems... I had some matrix in mind, wherein the used common extension points and the required configuration scenarios are listed! E.g. component x requires StreamingAddRessource to be configured, component y just

RE: Why so many problems with MyFaces?

2007-05-24 Thread Jesse Alexander \(KSFD 121\)
Are you trying to start a flame-war? regards Alexander -Original Message- From: SiSi'mon [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 23, 2007 5:44 PM To: users@myfaces.apache.org Subject: Why so many problems with MyFaces? Does anyone know why Myfaces sucks so much? It was

Re: Why so many problems with MyFaces?

2007-05-24 Thread Werner Punz
Carsten Kaiser schrieb: I know this one, but unfortunately it has not the right granularity for some problems... I had some matrix in mind, wherein the used common extension points and the required configuration scenarios are listed! E.g. component x requires StreamingAddRessource to be

AW: Re: Why so many problems with MyFaces?

2007-05-24 Thread Carsten Kaiser
I'm not sure whether it is really a bug... It was just an example to stress this point. I had a particular problem with this functionality (since one of these AddRessource implementations attempts to write directly and does not postpone it to the rendering phase!) when trying to use a

[Tomahawk] t:dataTable with dynamic columns

2007-05-24 Thread Francisco Passos
Good day to all. I have a ListListMyType (attribute.tableAttributeData) and am trying to present it in a table like this: t:dataTable value=#{attribute.tableAttributeData} var=lineAttributeData t:columns value=#{lineAttributeData} var=attributeData f:facet name=header t:outputText

[ Tobago ] Regarding variable scope in Sheet and Popup

2007-05-24 Thread Madan Narra
Hi All, I have a sheet which has a column which holds small tumbnail images which has a tc:link surrounded. When the link is clicked , a popup opens which shows the same image (tumbnail) in a bigger version. This is the following code i used for this.. tc:sheet value=#{searchItems.Items}

RE : Re: retrieve text value from textarea oh HtmlEditor

2007-05-24 Thread BAUDOUIN Thierry
thanks but i can't download dojo-faces*.jar. web site is down .. Matthias Wessendorf [EMAIL PROTECTED] a écrit : I am not sure, I'd suggest, go with the dojo-based editor value=#{bean.input}/ ... see [1] [1]

Problem with Trinidad skinning

2007-05-24 Thread Stéphane Poirier
Hi, I'm a new Trinidad user and I'm unable to get the skinning to work. Maybe I did something wrong or forgot something. Trinidad tags are displayed in the webpage (but not skinned). I installed the skin beach from the demo, adding a block that would be supposed to skin a tr:inputText but it

Re: [ Tobago ] Regarding variable scope in Sheet and Popup

2007-05-24 Thread Volker Weber
Hi Madan, it is currently not possible to update content of sheet partially. for your problem there is a workaround: place the popup as direct facet of the sheet and use the tc:popupReference tag inside the tc:link. you need a additional bean property for the codeValue and a actionListener

Re: [ Tobago ] Regarding variable scope in Sheet and Popup

2007-05-24 Thread Madan Narra
Thnx Volker , Its working with your logic... Regards, Madan N

Re: [ Tobago ] Help Regarding custom message for Conversion Errors

2007-05-24 Thread Madan Narra
Hi Helmut, Ya i do have resource-dirtobago-resource/resource-dir this in tobago-config.xml . Am already using a resource bundle messages.properties.xml file which resides the following directory structure tobago-resource\html\standard\standard\property\ . I placed the entries for Conversion

[Tobago] How does tc:validateFileItem check the contentType?

2007-05-24 Thread Helmut Swaczinna
Hi, what mechanism/tool uses tc:validateFileItem to determine the MIME-Type of the uploaded file to check the specified contentType? I want to restrict the file upload to Excel files but it doesn't recognize the upload file as an Excel file. Regards Helmut

Re: [ Tobago ] Help Regarding custom message for Conversion Errors

2007-05-24 Thread Helmut Swaczinna
Place the entries for Conversion Error in tobago.properties.xml in the same directory. Helmut - Original Message - From: Madan Narra To: MyFaces Discussion Sent: Thursday, May 24, 2007 3:25 PM Subject: Re: [ Tobago ] Help Regarding custom message for Conversion Errors Hi

Re: [Trinidad] PPR - getting full page refresh instead of partialrefresh

2007-05-24 Thread Brian Smith
I am also having problems with PPR. I have followed every example but just can't seem to get PPR to work. I am using Facelets. I have a main template that uses a trh:body tag (required for PPR to work) to enclose my content. Here is an example, I am trying to create dependent selectOneInput

Re: [Tobago] How does tc:validateFileItem check the contentType?

2007-05-24 Thread Volker Weber
Hi Helmut, tobago utilises commons-fileUpload and for the contentType FileItem.getContentType(): http://jakarta.apache.org/commons/fileupload/apidocs/org/apache/commons/fileupload/FileItem.html#getContentType() from this doc i think the uploading browser must set the contenttype properly for

I need to override the HtmlNavigationMenuRenderer

2007-05-24 Thread mario.buonopane
I need to override the HtmlNavigationMenuRenderer because I want enable/disable the menu items basing on application logic before rendering it (or during rendering). How can I do it? Thanks in advance Mario This message is for the designated recipient only and may contain privileged,

Re: [ Tobago ] Help Regarding custom message for Conversion Errors

2007-05-24 Thread Madan Narra
Hi Helmut.. Tried the same ..but no success... Still getting the default messafe Conversion Error Madan N On 5/24/07, Helmut Swaczinna [EMAIL PROTECTED] wrote: Place the entries for Conversion Error in tobago.properties.xml in the same directory. Helmut - Original Message -

Re: [Trinidad] PPR - getting full page refresh instead of partialrefresh

2007-05-24 Thread Luka Surija
This should work, as is. There must be something in your configuration file. You are using also seam? May be there is a problem. Brian Smith wrote: I am also having problems with PPR. I have followed every example but just can't seem to get PPR to work. I am using Facelets. I have a main

[PanelNavigation2 ] Find what component a generated id is

2007-05-24 Thread DZISIAK Jean-Paul
Hello, as already posted in this mailing-list has anybody got any solution about the following problem ? Thanks a lot ! Jean-Paul http://www.mail-archive.com/users@myfaces.apache.org/msg36853.html Hi I am having trouble when having 2 (Vertical) PanelNavigation2 components on a page. When I

Re: [Trinidad] PPR - getting full page refresh instead of partialrefresh

2007-05-24 Thread Brian Smith
Yes I am using Seam as well but I have not seen anything that says Trinidad PPR and Seam conflict. Here is my web.xml and faces-config I may trying switching to Trinidad 1.2 and the JSF RI 1.2 to see if that helps at all. JBoss 4.2 now ships with JSF RI 1.2 instead of MyFaces. Thanks, -Brian

ImageMap and JSF

2007-05-24 Thread Balaji Saranathan
Hi, I'm trying to simulate a device UI with JSF. I have defined a h:graphicImage to use a ImageMap that I created. However, I'm not clear how my onclick javascript event on the part of the map can set some value for a h:selectOneMenu in the page and re-render it. I would appreciate

ajaxing the trinidad tree

2007-05-24 Thread nigelm
We've been using the trinidad tree and have managed to make our own TreeModel successfully. We tend to have trees with vast amounts of data in them, so the 1st thing we'd like to do is AJAX the expansion of nodes - so were interested in whether anyone has done this (possibly by adding a custom

RE: IceFaces with MyFaces

2007-05-24 Thread Kito D. Mann
Hello Rudi, You may want to try asking this question in the icefaces.org forums. ~~~ Kito D. Mann - Author, JavaServer Faces in Action http://www.virtua.com - JSF/Java EE consulting, training, and mentoring http://www.JSFCentral.com

Re: [Tobago] How to make tobago pages printable

2007-05-24 Thread Helmut Swaczinna
Hi, nobody had the need to print a Tobago page from the browser? I tried to add my own css style files for printing but I found no way. The tc:style tag generates only style file references for media=screen. If the tc:style tag has a media attribute the problem can be solved. Regards Helmut

[Trinidad] m1-incubating - 1.0.1 SNAPSHOT changes

2007-05-24 Thread Luka Surija
I've just tryed to switch from trinidad-xxx-incubator-m1-SNAPSHOT.jar to trinidad-xxx-1.0.1-SNAPSHOT.jar but my web app doesn't working any more (clicking on links nothing happends). I use also facelets 1.1.11, but till now everything worked fine. Now, all I've changed was replacing

Re: [Trinidad] m1-incubating - 1.0.1 SNAPSHOT changes

2007-05-24 Thread Danny Robinson
_validateAlert is not defined Clear your browser cache. On 5/24/07, Luka Surija [EMAIL PROTECTED] wrote: I've just tryed to switch from trinidad-xxx-incubator-m1-SNAPSHOT.jar to trinidad-xxx-1.0.1-SNAPSHOT.jar but my web app doesn't working any more (clicking on links nothing happends). I

Re: MyFaces 1.2 code checkout

2007-05-24 Thread Rebecca . Peltz
I'm still getting the same error. Is there anything else I check to see if it's just my problem? Rebecca Peltz Java Developer 1015 3rd Ave 206-674-3400 x4120 Werner Punz [EMAIL PROTECTED] Sent by: news [EMAIL PROTECTED] 05/24/2007 12:24 AM Please respond to MyFaces Discussion

Re: Caching JSF Dropdown Results

2007-05-24 Thread bansi
That sounds exciting. Could you please share the process/code snippets on how to do this Titi Wangsa wrote: spring + spring-modules-cache + oscache. that's how we do it.. no eager reading in init methods. the data gets stored in the cache the first time it is read next read would just

Re: [Trinidad] _validateAlert is not defined

2007-05-24 Thread Danny Robinson
Michael, I quickly ran your sample in both JSP and Facelets against the very latest trunk and it works fine. I'm not able to test the 1.2 branch right now, but might be good to know which one you've built against. D. On 5/24/07, Michael Trompertz [EMAIL PROTECTED] wrote: Here is my

Re: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-24 Thread SiSi'mon
all includes and all components have an ID where it is permissable. The thing is that there was no problem with 1.1.4 but there is with 1.1.5 and everyone seems to be having a problem with it so I see a lot of people rolling back because 1.1.5 is utterly useless. thanks Andrew Robinson-5

RE: I need to override the HtmlNavigationMenuRenderer

2007-05-24 Thread mario.buonopane
No responses? Please! Mario From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 24 maggio 2007 15.53 To: users@myfaces.apache.org Subject: I need to override the HtmlNavigationMenuRenderer I need to override the HtmlNavigationMenuRenderer

Re: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-24 Thread Andrew Robinson
everyone seems to be having a problem with it so I see a lot of people rolling back because 1.1.5 is utterly useless. 1.1.4 had quite a few bugs. 1.1.5 is much more aligned with the JSF specification. The bugs that people are having with 1.1.5 are usually are due to them relying on bugs in the

Re: I need to override the HtmlNavigationMenuRenderer

2007-05-24 Thread Andrew Robinson
Google is your friend. This article will hopefully be enough: https://blueprints.dev.java.net/bpcatalog/ee5/ajax/extendingRenderFunctionality.html On 5/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: No responses? Please! Mario From: [EMAIL

Re: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-24 Thread Alexander Wallace
If i recall correctly the current tomahawk bridge to be able to use tomahawk in portlets doesn't work with 1.5... Has this been changed? On May 24, 2007, at 11:47 AM, Andrew Robinson wrote: everyone seems to be having a problem with it so I see a lot of people rolling back because 1.1.5

Re: MyFaces 1.2 code checkout

2007-05-24 Thread Bruno Aranda
It works for me... can you open that address in a web browser? Or can you ping the server? ping svn.apache.org Or what if you try with https? svn co https://svn.apache.org/repos/asf/myfaces/current12http://svn.apache.org/repos/asf/myfaces/current12myfaces12 It seems that you have some kind

converters not being called

2007-05-24 Thread Costa Basil
Currently I have a page with inputText components that don't seem to use the converters specified upon rendering the page the first time (i.e. when I get to the page via a http get). I found this issue: http://issues.apache.org/jira/browse/MYFACES-1561 which seems to describe the same problem

How to Secure Views in JSF

2007-05-24 Thread bansi
Wondering how to secure views in JSF. My JSF backing bean has access to user Roles populated from the database. All i am doing now is using rendered attribute to display or not to display Fields on the Form based on the user Roles Any pointers/suggestions will be highly appreciated Regards

RE: How to Secure Views in JSF

2007-05-24 Thread Cort, Tom
I ran into this problem a few days ago. I solved it by extending UIComponentBase and UIComponentTag to create a hasRole tag. blah:hasRole role=ADMIN h:outputText=#{bundle.TopSecretAdminMessage}/ /blah:hasRole Here's the meat of the UIComponent public void

Re: [Tomahawk] t:dataTable with dynamic columns

2007-05-24 Thread Francisco Passos
Any suggestions on these? I assume it must be a simple issue, but nevertheless I haven't been able to fix it yet. Counting on your help, Francisco Passos On 5/24/07, Francisco Passos [EMAIL PROTECTED] wrote: Good day to all. I have a ListListMyType (attribute.tableAttributeData) and am

Re: [Tomahawk] t:dataTable with dynamic columns

2007-05-24 Thread Stéphane Poirier
You have a h:outputText .../ and t:outputText .../ mixed within your table ... dunno if it could be a problem. Second, just to be sure, sometimes when elements do not display and there si no errors, be sure it's in a t:form/t:form tag. Beeing a new user, I can't help you further. Hope that

Re: [Tomahawk] t:dataTable with dynamic columns

2007-05-24 Thread Mike Kienenberger
You need to have t:dataTable t:columns t:column/ t:column/ t:columns t:column/ t:column/ t:column/ t:dataTable On 5/24/07, Francisco Passos [EMAIL PROTECTED] wrote: Good day to all. I have a ListListMyType (attribute.tableAttributeData) and am trying to

Hot to logic in rendered tag

2007-05-24 Thread SiSi'mon
If someone could help me with this, it is quite puzzeling. I see examples using || in the rendered tag but it does not work for me. I have the following: 193 t:commandLink 194rendered=#{myBean.showBtn myBean.anchor.anchored} MyBean (myBean) has a class called Anchor that has a

Help needed: Undefined component type: GraphicImageDynamic

2007-05-24 Thread tintifaxe
Hi, I try to use the sandbox component graphicImageDynamic. I found posts where this topic is discussed but I could not get an answer for my problem. Maybe somebody can help me with a hint or solution. Every time when I try to open a page where I implemented the tag, I get the

Re: Hot to logic in rendered tag

2007-05-24 Thread Mike Kienenberger
Facelets requires page code to be valid xml, unlike jsp page code. The simplest solution is to use and instead of and or instead of || (and gt, lt, ge, le etc). Or you can try to figure out the correct escaping. Probably something like amp;amp; On 5/24/07, SiSi'mon [EMAIL PROTECTED] wrote:

Re: Help needed: Undefined component type: GraphicImageDynamic

2007-05-24 Thread Mike Kienenberger
You need to make sure that you've compiled and added the class facelets.GraphicImageDynamicComponentHandler to your classpath. It's possible that the GID component has changed renderer or component type names so you'll want to double-check that. And then you'll want to check that the method

Re: Caching JSF Dropdown Results

2007-05-24 Thread Titi Wangsa
something like this for the skeleton ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://www.springframework.org/schema/beans

Re: [Trinidad] PPR - getting full page refresh instead of partialrefresh

2007-05-24 Thread noah
On 5/24/07, Luka Surija [EMAIL PROTECTED] wrote: your partial trigger is set to refresh the tr:panelBox, that means, only components inside tr:panelBox and the tr:panelBox will be updated. If you put partialTriggers=preview in tr:form, then the text will be also updated. I understand that. I

Re: converters not being called

2007-05-24 Thread Andrew Robinson
That looks like a 1.2 issue, not a 1.1.5 issue (but I am not 100% sure on this though). I am also on 1.1.5, and had a look at the MyFaces core source, and it looks fine to me: h:inputText - HtmlInputText uses HtmlTextRenderer HtmlTextRenderer extends HtmlTextRendererBase HtmlTextRendererBase

Re: How to Secure Views in JSF

2007-05-24 Thread Andrew Robinson
I would recommend using the rendered flag to test. If you explicitly set the rendered value, it will never use the EL expression from the view since components always prefer non-null member values over value binding expressions (although Tom's example will work as long as you never try to use the

Unsupported component-family/renderer-type: javax.faces.ViewRoot/javax.faces.Text

2007-05-24 Thread Raymund Nickel
Hi, i posted this problem a few weeks ago, but nobody answered. Now i try it again with some more informations. I have a problem with jscook menu. The first time im opening the mainpage which is containing the jscook menu, everything is fine. But when im hitting a menu item im getting the

Re: How to Secure Views in JSF

2007-05-24 Thread Cagatay Civici
Hi, MyFaces SecurityContext seems to be what you need. http://myfaces.apache.org/sandbox/securityContext.html http://wiki.apache.org/myfaces/SecurityContext Regards Cagatay Civici On 5/24/07, Andrew Robinson [EMAIL PROTECTED] wrote: I would recommend using the rendered flag to test. If

textArea and formatted text

2007-05-24 Thread BAUDOUIN Thierry
Hello, i develop an application which contain forum discussion. I would like to provide formatted functions : break line, bold character color ... i tried HtmlEditor from tomahawq but it is bugged. i listend dojo but website download is off. Have you got an idea ? thanks

Re: converters not being called

2007-05-24 Thread Cagatay Civici
Hi, That looks like a 1.2 issue, not a 1.1.5 issue (but I am not 100% sure on this though). Yes that's an issue related to the early development period of 1.2. Costa, can you give more info about your page and how you specify the converters? Cagatay On 5/24/07, Andrew Robinson [EMAIL

Re: Caching JSF Dropdown Results

2007-05-24 Thread bansi
Thank you so much. I really appreciate you sharing with the Forums A little clarification though... Are the MethodObjectCacheKeyGenerator and ValueCacheKeyGenerator built-in classes provided by the Spring Framework OR is it something we have to write i am confused by the package name com.XXX

Re: I need to override the HtmlNavigationMenuRenderer

2007-05-24 Thread Cagatay Civici
Hi, Just write your renderer and add the following to your project's faces config render-kit renderer component-familyjavax.faces.Panel/component-family renderer-typeorg.apache.myfaces.Navigation/renderer-type

Re: How to Secure Views in JSF

2007-05-24 Thread Josué Alcalde González
El jue, 24-05-2007 a las 10:33 -0700, bansi escribió: Wondering how to secure views in JSF. My JSF backing bean has access to user Roles populated from the database. All i am doing now is using rendered attribute to display or not to display Fields on the Form based on the user

panelTab loosing state (goest to tab 0 after submit on any tab)

2007-05-24 Thread Alexander Wallace
This is kind of wierd, we are using tomahawk 1.1.3 and My Faces 1.1.4 with latest tomahawk bridge (91) to develop portlets... The tabset works fine in other portlets, but I can't find why it doesn't work here ... When a submit button is pressed in, say, tab 1, after submit, the portlet

Re: Caching JSF Dropdown Results

2007-05-24 Thread Titi Wangsa
they are provided by spring, but i need more control, so i write my own, hope this helps you make less trip to the db