Re: Faces append suffix to given id

2008-02-19 Thread Matthias Wessendorf
Hi, *snip* Rendered ID for dataTable in html looks like taskListDataj_id_1:taskListData_tablej_id_1. It is confusing since I expected taskListData:taskListData_table as id. It was as expected just before update to new faces revision. Do you know the cause of this behavior? so, an update to

RE: Faces append suffix to given id

2008-02-19 Thread Vitaly Venediktov
Hi, Yes, I've used myfaces 1.2.0 and it was ok. After I updated the version to 1.2.2 it doesn't worked properly. I just found this (MYFACES-1807) ticket at issues.apache.org which describes similar behavior, but this ticket is still unassigned. :( BR Vitaly -Original Message- From:

Re: [Tobago] Problem migrating to 1.0.15

2008-02-19 Thread yazid
Ifound out; I'm using two component in column tc:link and tc:out not rendred together; just put thmen inside a cell. It work, thanks for all; Udo Schnurpfeil wrote: Hi there, I've tested it and I didn't found any problems. Can you build a simple standalone JSP of your problem? You may

RE: [Tobago] Scrollable text insice tc:sheet

2008-02-19 Thread yazid
Hello ; I've the same problem, but I need to display an Html text (formatted); tc:out is better for this (escape=false) but not scrollable. Helmut Swaczinna wrote: Hello Michael, you can use a tc:in or tc:textArea with readonly=true. Regards Helmut Hello, is there a way to put a

Faces append suffix to given id

2008-02-19 Thread Vitaly Venediktov
Hi, My jsp looks like %@ taglib uri=http://java.sun.com/jsf/html; prefix=h% %@ taglib uri=http://java.sun.com/jsf/core; prefix=f% %@ taglib uri=http://myfaces.apache.org/tomahawk; prefix=t% %@ taglib uri=http://richfaces.org/a4j; prefix=a4j% %@ taglib uri=http://richfaces.org/rich; prefix=rich%

Re: [Tobago] Scrollable text insice tc:sheet

2008-02-19 Thread Volker Weber
Hi Yazid, are you are inside a sheet? if not: tc:out inside tc:cell with scrollbars=auto should do this. if yes: the same, plus forcing the tc:cell to get enough height to render at least the scrollbars. Regards, Volker 2008/2/19, yazid [EMAIL PROTECTED]: Hello ; I've the same

Re: [Trinidad] tr:inputText value change events do not work with IE autocomplete on

2008-02-19 Thread Matthias Wessendorf
Hi, On Feb 19, 2008 3:56 PM, Richard Yee [EMAIL PROTECTED] wrote: Is there a way to output 'autocomplete=off' in a form or inputText element? Since IE, Firefox and Safari do not an onChange JavaScript event if the user picks a item from the browser's autocomplete list. This is causing a

Re: [Trinidad] tr:inputText value change events do not work with IE autocomplete on

2008-02-19 Thread Richard Yee
Is there a way to output 'autocomplete=off' in a form or inputText element? Since IE, Firefox and Safari do not an onChange JavaScript event if the user picks a item from the browser's autocomplete list. This is causing a problem in my application because I am using autosubmit=true and have a

[Tobago] How to use Tobago in a Portal

2008-02-19 Thread Roland Asmann
Hi, Has anybody used tobago in a Portal? I've been trying to get JBoss Portal to deploy my project as a Portlet, but for some reason it keeps on ignoring it. The thing is, my project is correct, because it DOES run as a web-application. Or might that be the mistake I am making? If anybody has

Re: [Tobago] How to use Tobago in a Portal

2008-02-19 Thread Roland Asmann
Sorry, forgot to mention that I do have the correct configuration for Portals in my project (portlet.xml and some other files for JBoss). The thing is, that I am currently unable to load the Portlet in JBoss, no matter what. I'm not even trying to connect to the JSP's yet, I just merged in a

Re: Editable DataTable

2008-02-19 Thread Andrew Robinson
your code is correct. #{person.name} invokes Person instance.getName() #{person.age} invokes Person instance.getAge() On Feb 18, 2008 9:30 PM, Hemanth Abburi [EMAIL PROTECTED] wrote: Hi !! I am a newbie to JSF and am working on datatable. I wanted to create a simple editable

Re: [core] Custom error handling in MyFaces 1.2.2

2008-02-19 Thread Andrew Robinson
This help? http://wiki.apache.org/myfaces/Handling_Server_Errors On Feb 19, 2008 4:59 AM, Ognjen Blagojevic [EMAIL PROTECTED] wrote: Hi all, I am trying to override MyFaces error handling for certain exceptions, and for others to use the default one. Is it possible? I was thinking write my

Re: Faces append suffix to given id

2008-02-19 Thread [EMAIL PROTECTED]
Hi, Adding namespaces, eg taskListData:taskListData_table is fine, as Vitaly notes. Or foo:j_id_1 for the case where the child has no explicit id. But something like tasklistDataj_id_1 just looks like a bug to me. However the odd thing is that it seems to work fine for me. From the app

Re: [Tobago] How to use Tobago in a Portal

2008-02-19 Thread Scott O'Bryan
That is most definately the mistake you are making. Just because something works as a web application does not mean it'll work as a portlet. Most of it depends on the bridge your using and what renderkit you have. I only have experience with Trinidad and the Alpha release of the JSR 301

Re: Faces append suffix to given id

2008-02-19 Thread Andrew Robinson
Isn't that intentionally done when using JSP w/ JSF when there are jsp includes? On Feb 19, 2008 2:17 AM, Vitaly Venediktov [EMAIL PROTECTED] wrote: Hi, My jsp looks like %@ taglib uri=http://java.sun.com/jsf/html; prefix=h% %@ taglib uri=http://java.sun.com/jsf/core; prefix=f% %@

Re: [Trinidad] Partial Page Rendering

2008-02-19 Thread Andrew Robinson
BTW - user questions should be on the user list, not the myfaces developer team list. This reply has been moved to the correct list. How does trinidad just knocks out all the page styling? I have seen many pages with custom CSS styles placed in the document HEAD without any PPR issues. I

Custom Renderer for tr:message doesn't work?...

2008-02-19 Thread Henry Eduardo Iguaro
hi, i'm creating a custom renderer for a org.apache.myfaces.trinidad.component.core.output.CoreMessage component (aka, a tr:message / component), the custom renderer uses javascript to simulate a small balloon message box. After searching in the source code, i've found that the default renderer

Re: Custom Renderer for tr:message doesn't work?...

2008-02-19 Thread Leonardo Uribe
Working with trinidad-sanbox, I experienced the same problem that you have. One workaroud is create a renderer like this: package org.apache.myfaces.trinidadinternal.sandbox.renderkit.core; import org.apache.myfaces.trinidadinternal.renderkit.RenderKitDecorator; import

302 http response in a loop?

2008-02-19 Thread Andrew Robinson
Okay, I have to stop for tonight, but I am wondering if any has heard of having a JSF application continuously return 302 response codes. I am not sure of the offending library at the moment. Here is my stack: JDK 1.6 Maven 2.1-SNAPSHOT Jetty 6.1.7 (also tested w/ same result on tomcat 6)

Re: Editable DataTable

2008-02-19 Thread Hemanth Abburi
Hi, Thanks for the prompt reply. What I meant by getting the values was How can I retrieve the values which the user has entered in the inputText field of the datatable?. I found out a solution but don't know whether it's a standard one or not. I used

Re: Custom Renderer for tr:message doesn't work?...

2008-02-19 Thread Matthias Wessendorf
Hi Henry, I think you have a mistake in the config (like renderer-type). here is a *simple* extended version of MessageRenderer. Java class: package net.wessendorf.trinidad; import java.io.IOException; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import

[Trinidad] Broken links in left navigation bar (on Tag Documentation pages)

2008-02-19 Thread Carsten Pieper
Hi, strange that nobody mentioned this before (at least I can't find any posts here or in JIRA), the broken links seem to be there for quite a while... I'm talking about the links in the top left navigation bar thing on the pages http://myfaces.apache.org/trinidad/trinidad-api/tagdoc.html (tag

Re: Editable DataTable

2008-02-19 Thread Rafa PĂ©rez
This is not neccesary. Because of the ValueBinding for the InputText, when you submit the form every object of the list of persons gets updated with the values you entered in the table. This way, you only have to do: for(Person person : persons) { System.out.println(person.getName());