Re: Howto validate t:dataTable input fields

2008-03-14 Thread Mike Kienenberger
Probably the way to do this is to create a custom validator, and put it on a component (typically inputHidden) after the data table, and have your validator iterate through the UIData components. Here's some threads that have covered this issue to one degree or another in the past: http://mail-ar

Re: Trinidad FileUpload failing with Tomahawk Extension Filter

2008-03-14 Thread Scott O'Bryan
Actually I take that last part back, it will NOT fix the issue now that I look at it. The two are incompatible. Scott On Fri, Mar 14, 2008 at 1:13 PM, Scott O'Bryan <[EMAIL PROTECTED]> wrote: > Samba, this will not work because Tobago's filter is doing the multi-part > form handling. The two m

Re: Trinidad FileUpload failing with Tomahawk Extension Filter

2008-03-14 Thread Scott O'Bryan
Samba, this will not work because Tobago's filter is doing the multi-part form handling. The two mechanisms are incompatible with each other and will be until we have uniform handling of the multi-part form request. (I know Matthias, yes the configurator commons is comming... :) ). Adding the

AW: selectOneListbox> throws on empty map

2008-03-14 Thread Rottstock, Sven
It seems to be a bug in the SimpleSelectOneRenderer. A workaround for this issue is to set the submitted value to an empty String. Here is a short example: public class Bean { public void deleteItem(ActionEvent event) { // your delete stuff goes here deleteSelectedItem();

TreeTable questions

2008-03-14 Thread Jeff Vandenberg
I am working on a small report using the TreeTable for a report that drills down through data and have encountered a slight stumbling block. The report has a drop down component to select the individual that the report is to be on and the treetable component. If you drill down to an area that one

Re: Skin Additions for Custom Components

2008-03-14 Thread Cristi Toth
Hi Jeanne, You're definitely right! I wasn't too attentive. I just thought in one project's scope. But if one wants to ship a custom component in a jar, for use in multiple projects, then indeed skin-additions are needed. In the case of only one project where you have custom skins (usually extend

Howto validate t:dataTable input fields

2008-03-14 Thread Dario
Hi all, I'm quite new to this discussion list, and I found it very interesting. I'm sorry if the problem has been already discussed. I have a dataTable with a checkbox on each row (an extract is below). I'd like to create a custom validator that verifies that at least a checkbox in the list ha

Re: [Trinidad] Skinning - can't get browser hacks working...

2008-03-14 Thread Jeanne Waldman
There was a recent fix for the @agent/@platform for icons. Carsten Pieper wrote, On 2/11/2008 5:42 AM PT: And again... Browser hacks don't help with skinning icons! Which isn't too surprising when you consider how icon skinning things are treated... For example I have the following: /* This l

Re: Javascript inside

2008-03-14 Thread Davide Bonicelli
Hi, here is a javascript I use to conditionlly format rows of a tr:table. You can modify it so that's called on all the rows of your table and invoke it once the table has been loaded: function conditionallyFormatRowBackground(tableId, columnId, columnValue, backgroundColor){ var rows = doc

Re: Skin Additions for Custom Components

2008-03-14 Thread Jeanne Waldman
Hi Cristi, I don't understand how if you wrote a custom component you wouldn't need a skin addition. Skin additions are a way for you to push your skinning into an existing skin. Let's say there is the 'simple' skin and a 'suede' skin and they are defined with skinning for the existing Trinidad

Re: [Trinidad] jsp:include breaks PPR ?

2008-03-14 Thread Davide Bonicelli
Hi Caius, why don't you try JSF Facelets? I'm using jsf-facelets 1.1.14with Trinidad 1.0.6 and it's working like a charm for composition! Here is an example of how I use it: LAYOUT ### http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://java.sun.com/j

[Tobago] Can't build from current sources

2008-03-14 Thread Helmut Swaczinna
Hi, just checkedout the current (1.1.x) sources but get lots of errors when building with mvn install in the main directory: C:\Projekte\jsf\tobago-src>\tools\maven-2.0.7\bin\mvn install [INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/apache/myfaces/myfaces/5/my

Re: Converter error for required Radio field, after validation error

2008-03-14 Thread Nitin Deshmukh
I tried with a sample app and turns out, it happens only when I am using tiles and the links are not in the same page. If I add the links to the body page and do the same thing, it does not give me any error. --- Nitin Deshmukh <[EMAIL PROTECTED]> wrote: > Hi All, > > I am using MyFaces1.1.5, T

Re: inputFileUpload issue when file does not exists

2008-03-14 Thread jorge08
Maybe it is a "feature" of IE, haha. Thanks a lot Martin, I will definitely implement it as suggested. Jorge Martin Marinschek wrote: > > Hi jorge, > > the HTML file-upload behaviour in IE is severely flawed. What you > could do is what Gmail is doing: just not display the file-entry-field > a

h:selectOneListbox onclick - navigation

2008-03-14 Thread markus.pfeiffer
Hi! I tried to use the onClick Event from selectOneListBox for navigation, but the action method get not called: <%@ 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

Re: Trinidad FileUpload failing with Tomahawk Extension Filter

2008-03-14 Thread Samba
Hi! Mathew, Below I pasted the code of the method referrred; * public* String doUpload(){ *try* { BufferedInputStream bis = *new* BufferedInputStream(((UploadedFile)fileOne ).getInputStream()); OutputStream os =*null*; System.*out*.println("ContentType : "+fileOne.getContentType()+"

[Orchestra] Are you using Orchestra ?

2008-03-14 Thread Matthias Wessendorf
Hi, are you using Apache MyFaces Orchestra ? Please add your company to this list, if not already listed. http://wiki.apache.org/myfaces/Companies_Using_Orchestra Thanks! Matthias -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slidesh

[Trinidad] Are you using Trinidad ?

2008-03-14 Thread Matthias Wessendorf
Hi, are you using Apache MyFaces Trinidad ? Please add your company to this list, if not already listed. http://wiki.apache.org/myfaces/Companies_using_Trinidad Thanks! Matthias -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshar

Re: [Trinidad]

2008-03-14 Thread Matthias Wessendorf
Hi, On Wed, Mar 12, 2008 at 5:49 PM, Walter Mourão <[EMAIL PROTECTED]> wrote: > Hi folks, > I wrote a code to re-render a after a dialog > closes but it is not working. The dialog opens as expected and everything > works fine except the panelLabelAndMessage is not being re-rendered after > the di

Re: announcement: Orchestra Core 1.1 released

2008-03-14 Thread Matthias Wessendorf
you are the man! On Wed, Mar 12, 2008 at 8:00 AM, simon <[EMAIL PROTECTED]> wrote: > The Apache MyFaces Orchestra team is pleased to announce the release of > Apache MyFaces Orchestra Core 1.1. > > Apache MyFaces Orchestra is a library which provides a new scope called > "conversation scope" to

Re: [trinidad] Problems with table/column sort and row banding

2008-03-14 Thread Matthias Wessendorf
Hi, On Fri, Mar 14, 2008 at 10:38 AM, Stephan K <[EMAIL PROTECTED]> wrote: > > Hi > > Well guys, it would have been helpfull if someone mentioned the jsp must > include the tr:document tag. or the trh:html, :head, :body > Just one of those things a trinidad beginner stumbles on. sorry, we r

Re: Trinidad FileUpload failing with Tomahawk Extension Filter

2008-03-14 Thread Matthias Wessendorf
Hi, > > > root cause java.lang.NullPointerException > demo.backing.FileUploadTest.doUpload(FileUploadTest.java:84) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > sun.reflect.DelegatingMethod

RE: t:saveState and richfaces ?

2008-03-14 Thread Michael Heinen
Thanks Ognjen. Hmm, I have this issue with 3.1.4 GA but I can't upgrade to myFaces 1.2.2 or any other JSF 1.2 impl. This means it is a richfaces issue in combination with a myfaces 1.1.X version only. I didn't get any feedback from the richfaces people so far. Michael -Original Message--

Re: Testing application that uses Trinidad PPR

2008-03-14 Thread Matthias Wessendorf
Hi, On Fri, Mar 14, 2008 at 8:38 AM, Shankar K <[EMAIL PROTECTED]> wrote: > Hi, > > Can someone suggest a good Testing Tool that I could use to test UI pages > that heavily uses Trinidad components & its PPRs ?? Application is JSF 1.2 + > Seam in WAS 6.1. We are trying out with JSFUnit but it seem

Re: t:saveState and richfaces ?

2008-03-14 Thread Ognjen Blagojevic
I had the same problem, easy reproducible with MyFaces 1.2.2, Tomahawk 1.1.6 and RichFaces 3.1.2 SP1. I switched to RichFaces 3.1.4 GA, and now it works fine. Regards, Ognjen Michael Heinen wrote: I am facing a problem with t:saveState which could be caused by richfaces/ajax4jsf (but not sur

Re: [core] MyFaces 1.2.2 and t:saveState problem

2008-03-14 Thread Ognjen Blagojevic
I reported this problem, but we found that the real cause was the incompatibility between MyFaces 1.2.2 + Tomahawk 1.1.6, and RichFaces 3.1.2 SP1. When we switched to RichFaces 3.1.4 GA, the problem with t:saveState disappeared. Therefore, I won't open issue, since it is not a Tomahawk's probl

Re: [trinidad] Problems with table/column sort and row banding

2008-03-14 Thread Stephan K
Hi Well guys, it would have been helpfull if someone mentioned the jsp must include the tr:document tag. Just one of those things a trinidad beginner stumbles on. Stephan K wrote: > > Hi > I've started converting the myfaces based program I have to trinidad. > I'm having problems with my forme

Testing application that uses Trinidad PPR

2008-03-14 Thread Shankar K
Hi, Can someone suggest a good Testing Tool that I could use to test UI pages that heavily uses Trinidad components & its PPRs ?? Application is JSF 1.2 + Seam in WAS 6.1. We are trying out with JSFUnit but it seems to have limitations in handling PPR's and javascripts and we are also running into

Re: Converter-For-Class : getAsObject does not get called

2008-03-14 Thread Michael Heß
Sure, I´ll look further into it, and keep you posted. bye, Michael Martin Marinschek schrieb: > Hi Michael, > > no, this is not a known problem. Can you please re-test carefully, and > if you keep seeing this problem, file an issue? > > regards, > > Martin > > On Thu, Mar 13, 2008 at 3:40 PM, Mic