Re: Message rendered twice

2007-05-09 Thread Rudi Steiner
Hi, I show the messages on the page like this: h:messages showDetail=true/ Gerald, you are right. If I show the messages with h:messages/, the message is shown just once, so if the detail is not set explicitly on the message-object, the message is also rendered for the detail. Setting up the

RE: Customizing JSCookMenu

2007-05-09 Thread Martinicum
Just wanted to inform that it works fine. sammes wrote: Hi, if you are using facelets, you could do it like this: form jsfc=h:form style=margin:0px;padding:0px; t:jscookMenu layout=hbr theme=YourTheme (name of your menu css folder within /_css/jscookmenu/) action= !-- put the

Re: Message rendered twice

2007-05-09 Thread Gerald Müllan
Hi, you can also set showDetail=false and showSummary=true in the corresponding tag. So, you affect the displaying purpose directly in the view, maybe little bit more elegant. cheers, Gerald On 5/9/07, Rudi Steiner [EMAIL PROTECTED] wrote: Hi, I show the messages on the page like this:

ExtensionsFilter amd compression filter

2007-05-09 Thread Bala Ayalur
Hi, i have implemented a GZIP Filter for a JSF application that compresses the response that is sent to the browser. The response is compressed and rendered properly on the browser (Internet Explorer 6 SP 2) if I configure only the compression filter. However if I add the extensions filter

Re: Multiple calls on isRendered - Performance issue

2007-05-09 Thread Wesley Hales
I am trying to address this at a framework level (i.e. I'm not rewriting the renderer for each component that calls an EL method) On 5/9/07, Adam Winer [EMAIL PROTECTED] wrote: Technically, rendered is supposed to be: - Constant across encodeBegin()/encodeChildren()/encodeEnd() - Constant

Re: ExtensionsFilter amd compression filter

2007-05-09 Thread Mario Ivankovits
Hi! i have implemented a GZIP Filter for a JSF application that compresses the response that is sent to the browser. Can you please let me know how I can get these two working together. Any help or advice will be very useful. Check the ordering of your filter-mapping. It should be: 1)

JSCookMenu

2007-05-09 Thread Martinicum
Hi, Im having problem with a dynamic menu of JSCookMenu. I have a jscookMenu set up, I know my basic setup works because if I can build a menu in jsf, but now I want to have a dynamicly created menu. Im using Jsf1.2, Seam1.2GA, Tomahawk 1.5, JBoss 4.0.5 My setup is: f:view h:form input

The absolute uri: http://myfaces.apache.org/sandbox cannot be resolved in either web.xml or the jar files deployed with this application

2007-05-09 Thread Bjørn T Johansen
I am suddenly getting this error but I am not sure what I have done to get this: The absolute uri: http://myfaces.apache.org/sandbox cannot be resolved in either web.xml or the jar files deployed with this application Any idea how to fix this? (I have tomahawk-sandbox-1.1.5-SNAPSHOT.jar

Re: Using JscookMenu

2007-05-09 Thread Martinicum
As far as I know it should be the input type=hidden name=jscook_action / problem. I have similar problem but, frst i hade a jscookmenu setup like this: h:form t:jscookMenu layout=hbr theme=ThemeOffice t:navigationMenuItem itemLabel=#{messages['Statistics']} action=newFile/

Re: The absolute uri: http://myfaces.apache.org/sandbox cannot be resolved in either web.xml or the jar files deployed with this application

2007-05-09 Thread Bjørn T Johansen
Found the problem... the jar file was not copied to the exploded directory when I ran the webapp inside my IDE. :-| BTJ On Wed, 09 May 2007 14:37:32 +0200 David Delbecq [EMAIL PROTECTED] wrote: Check the tag-lib is present in the jar (META-INF/) folder. It can be a case of bad snapshot

dataScroller problem with navigation-button

2007-05-09 Thread mathias °ö°
hi i get back filled table with many values, but i can not navigate with navigation-button (they are not linked). Only naviagtion with table-page-numbers (between buttons) is possible. t:dataScroller id=dts1 for=al3 fastStep=10 pageCountVar=pageCount pageIndexVar=pageIndex styleClass=scroller

Re: Multiple calls on isRendered - Performance issue

2007-05-09 Thread Wesley Hales
So the architect I am working with (Chris Kulinski) came up with the following patch to 1.1.5... Index: src/main/java/javax/faces/component/UIComponent.java === --- src/main/java/javax/faces/component/UIComponent.java(revision

Re: Multiple calls on isRendered - Performance issue

2007-05-09 Thread Andrew Robinson
Sorry for the 2 emails, I don't think you are allowed to add methods to the javax.faces API classes. That will break TCK compatibility right? If that is true, MyFaces would no longer be an official JSF provider. On 5/9/07, Andrew Robinson [EMAIL PROTECTED] wrote: You may want to submit a

Re: Multiple calls on isRendered - Performance issue

2007-05-09 Thread Wesley Hales
Yeah, not sure how to approach this one... Craig or any comitters have any ideas? Thanks for the help GuysAnybody who cares about performance will definitely be able to use this enhancement. On 5/9/07, Andrew Robinson [EMAIL PROTECTED] wrote: Sorry for the 2 emails, I don't think you are

Re: Using JscookMenu

2007-05-09 Thread Francisco Passos
Thank you for your responde. Unfortunately that's not the case. I'm going to post the files so you can see what I'm attempting. This is the main page: ?xml version='1.0' encoding='utf8'? f:view xmlns=http://www.w3.org/1999/xhtml; xmlns:trh=http://myfaces.apache.org/trinidad/html;

Re: FacesMessage Serverity

2007-05-09 Thread Scott O'Bryan
Shawn, Oracle did something similar. Our solution was that we created a custom FacesMessage which also took an enumeration of our allowed severity types. These severity types could be mapped to the standard JSF severity types (Confirmation was mapped to Severity.INFO for instance) if a

Re: Using JscookMenu

2007-05-09 Thread Martinicum
Im in a hurry at the moment, but I took a glance and noticed the Início, could this cause any problem? Have you tried standard ASCII? /Martin Francisco Passos wrote: Thank you for your responde. Unfortunately that's not the case. I'm going to post the files so you can see what I'm

Documentation about MyFacesGenericPortlet

2007-05-09 Thread Kevin Irmscher
Hi is there any documentation available about the structure of MyFaces, especially about MyFacesGenericPortlet. I'm looking for an overview how the JSF lifecycle is mapped to the portlet lifecycle, sequence diagrams and so on. I couldn't find this information on the web. Can anybody provide

RE: Access portal user information in JSF Portlet application

2007-05-09 Thread Nebinger, David
Unfortunately I still can't get user information like name or email address. (String) userInfo.get(liferay.user.id) and PortletRequest.getRemoteUser() return a user id (here: liferay.com.1) but not the actual name of the user. But if you have the key you can retrieve the information for

RE: Message rendered twice

2007-05-09 Thread Nebinger, David
I show the messages on the page like this: h:messages showDetail=true/ showSummary is true by default. Since you used both flags you were shown both messages. Try setting showSummary to false to only have the detail shown.

Re: Access portal user information in JSF Portlet application

2007-05-09 Thread Scott O'Bryan
You could The answer to David's issue may be retrieving the userPrincipal. Anyone know if liferay provides this information in the userPrincipal? Kevin, a userPrincipal exposes the schema of the user to you. But I'm not sure what liferay's user repository looks like. You can generally

Re: Access portal user information in JSF Portlet application

2007-05-09 Thread Scott O'Bryan
You could The answer to Kevin's issue may be retrieving the userPrincipal. Anyone know if liferay provides this information in the userPrincipal? Kevin, a userPrincipal exposes the schema of the user to you. But I'm not sure what liferay's user repository looks like. You can generally

Re: selectOneRadio in tree2 ?

2007-05-09 Thread scottymo
Michael, Michael Heinen wrote: Could anybody give me a hint how to use a selectOneRadio inside tree2? Every node should have a radio button but only one of them should be selected. I was trying to get the same behavior that you describe, and my initial attempts to use t:selectOneRadio

RE: FacesMessage Serverity

2007-05-09 Thread Garner, Shawn
I used the warn level since I'm already using the error and info level. I just don't like using warn instead of my own custom one. I saw the ordinal and ordering in the source code. I don't see any reason why you couldn't override the order or create a new severity. I could make them display

Re: FacesMessage Serverity

2007-05-09 Thread Scott O'Bryan
The problem comes in the fact that there are defined constants in FacesMessage. Consider this: A renderkit looks to see if the Faces Severity is FacesMessage.SEVERITY_INFO. If you changed the ordinal value in CustomFacesMessage, your CustomFacesMessage's SEVERITY_INFO will not be the same

Re: Documentation about MyFacesGenericPortlet

2007-05-09 Thread Ryan Wynn
On 5/9/07, Kevin Irmscher [EMAIL PROTECTED] wrote: Hi is there any documentation available about the structure of MyFaces, especially about MyFacesGenericPortlet. I'm looking for an overview how the JSF lifecycle is mapped to the portlet lifecycle, sequence diagrams and so on. From what I've

Re: Documentation about MyFacesGenericPortlet

2007-05-09 Thread Scott O'Bryan
Mostly correct. On the initial request though (which will always be a renderRequest, all phases run in the RenderRequest phase. Ryan Wynn wrote: On 5/9/07, Kevin Irmscher [EMAIL PROTECTED] wrote: Hi is there any documentation available about the structure of MyFaces, especially about

RE: FacesMessage Serverity

2007-05-09 Thread Garner, Shawn
The problem comes in the fact that there are defined constants in FacesMessage. Redeclare the constants that are declared in FacesMessage. If these weren't final then you could re-declare them and initialize the map and list values including my new Serverity: public static final

Re: FacesMessage Serverity

2007-05-09 Thread Scott O'Bryan
Shawn, The FacesMessage class is inside of Faces. You can't change that. Anything you add needs to be added on TOP of FacesMessage. I mean if you can figure it out without violating JSF spec, more power to you. MyFaces is doing the correct thing. Scott Garner, Shawn wrote: The problem

RE: FacesMessage Serverity

2007-05-09 Thread Garner, Shawn
Where do I go to comment on the spec? I've sent the email feedback before but I can't find the page on Sun's website. Also is there any way to sign up to contribute to future specs without paying a fee? Shawn -Original Message- From: Scott O'Bryan [mailto:[EMAIL PROTECTED] Sent:

Tomahawk 1.1.5 and MyFaces 1.2 ?

2007-05-09 Thread Josué Alcalde González
Is Tomahawk 1.1.5 compatible with JSF 1.2? Can I use Tomahawk 1.1.5 with JSF RI 1.2 or a MyFaces 1.2 snapshot?

Re: FacesMessage Serverity

2007-05-09 Thread Scott O'Bryan
You can file bugs and stuff against the ri and you can always comment on public drafts of the spec. To become a spec EG member though you have to be a member of the JCP and get accepted by the spec lead. JSF-RI is here: https://javaserverfaces.dev.java.net/ Scott Garner, Shawn wrote:

RE: FacesMessage Serverity

2007-05-09 Thread Garner, Shawn
I don't want to file problems with the RI. I want them to fix/change the spec. I found this page: http://jcp.org/en/jsr/detail?id=127 Shawn -Original Message- From: Scott O'Bryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 09, 2007 3:47 PM To: MyFaces Discussion Subject: Re:

s:subForm

2007-05-09 Thread Kevin Gutch
I am looking into the use of s:subForm to get around the validation error ID jsf_tree already defined. when I have multiple forms in a page. Can s:subForm be used for navigation? If so does anyone have an example? Thanks, Kevin smime.p7s Description: S/MIME Cryptographic Signature

Re: How do you make t:inputFileUpload work?

2007-05-09 Thread Alexander Wallace
The way we got it to work is by using the tomahawk bridge 091 as explained here: http://palab.blogspot.com/2007/01/tomahawk-bridge-091- released.html along with tomahawk 113 along with myfaces 114 ... And of course followed the instructions presented here to configure the component and the

Re: s:subForm

2007-05-09 Thread Mike Kienenberger
It's unclear what you're asking. However, as far as I know, there's nothing that you can do with multiple forms that you cannot also do with a single form and s:subForm. On 5/9/07, Kevin Gutch [EMAIL PROTECTED] wrote: I am looking into the use of s:subForm to get around the validation error