[Trinidad] trinidad behaves strangely with seam+facelets

2008-03-05 Thread Ravindra Adireddy
Hi all, I am using trinidad table in seam and facelets environment. One strange behavior i absorbed is, when ever i send a ppr request to table, new instance of CoreTable is created, this happens only if i use seam. is this the expected behavior with seam or Is it a bug?? Is there any

Re: help me decide when to populate my datatable?

2008-03-05 Thread Stephen Friedrich
IMHO the best way to deal with this is to use either JBoss Seam or Apache Orchestra and put the bean in conversation or page scope (though there aren't always natural boundaries to such a conversation, so that may turn out to be not that easy, too). david delbecq wrote: simon a écrit : Yes, it

Re: help me decide when to populate my datatable?

2008-03-05 Thread david delbecq
simon a écrit : Yes, it's a common issue. In JSF 1.2 it is possible to detect whether a postback is in progress. In your case, if you know that there are no editable fields then you could then just return null, or an empty list. Of course you then need to go back to really fetching data in the

Re: [Trinidad] Server Exception during PPR

2008-03-05 Thread Shane Petroff
OK, back to my real problem... I can't seem to use PPR in cases where I modify the component tree at runtime. I want to use a simple dialog. Eventually, the components which launch and handle data 'returned' from the dialog will need to be created via java code. My first attempt resulted in t

Re: help me decide when to populate my datatable?

2008-03-05 Thread simon
On Wed, 2008-03-05 at 12:20 -0800, h b wrote: > Hello, I'm new to jsf. > > Background: > I have a page that shows a table of items using the datatable > component. The datatable is bound to my backing beans items field. > . > > myBean has a request scope. > > myBean.getItems() is implemented

Re: PDF+JSF question

2008-03-05 Thread Laurie Harper
That code creates a new PDF file from two existing byte arrays(?) on the file system. The same code should work identically under JSF, the only thing needing to be changed being context.getRealPath() -- is that the bit you're asking for help with? You should be able to replace that with someth

help me decide when to populate my datatable?

2008-03-05 Thread h b
Hello, I'm new to jsf. Background: I have a page that shows a table of items using the datatable component. The datatable is bound to my backing beans items field. . myBean has a request scope. myBean.getItems() is implemented as follows: if (items == null) items = createItems(); return items;

Re: my faces and trinidad

2008-03-05 Thread Gerhard Petracek
hello bill, please have a look at [1] and [2]. regards, gerhard [1] http://myfaces.apache.org/trinidad/FAQ.html [2] http://wiki.apache.org/myfaces/CompatibilityMatrix 2008/3/5, Zigc Junk <[EMAIL PROTECTED]>: > > I am wondering if tranidad works with other jsf implementation (such as > RI) oth

my faces and trinidad

2008-03-05 Thread Zigc Junk
I am wondering if tranidad works with other jsf implementation (such as RI) other than myfaces? thanks Bill

users@myfaces.apache.org

2008-03-05 Thread Jan Linders
Meanwhile I've upgraded my Tomahawk libs to 1.1.5 Everything works fine now... :-)) Keep in mind to configure the Tomahawk extensions as in : HYPERLINK "http://myfaces.apache.org/tomahawk/extensionsFilter.html"http://myfaces.apa che.org/tomahawk/extensionsFilter.html     -Original Message-

Re: [Trinidad] Rendering Context

2008-03-05 Thread Shane Petroff
Henry Eduardo Iguaro wrote: I also had this problem before, Ugh... IDE's can make things too easy. Apparently I hadn't done a real 'clean' since downloading the latest trinidad jars. I had both the 1.0.5 and 1.0.6 jars under my target dir. Given how easy it is to invoke an ant task from with

Re: Loop through the Mbeans in Session Scope

2008-03-05 Thread Gerhard Petracek
hello reto, did you already consider to use the observer pattern? (i already implemented this pattern for managed-beans.) maybe such an approach is too complex for your scenario. (i don't know your concrete goal.) regards, gerhard 2008/3/5, Reto Huber <[EMAIL PROTECTED]>: > > Hi Gerhard > > T

AW: PDF+JSF question

2008-03-05 Thread Sertic Mirko, Bedag
Use a ByteArrayOutputStream to write the result to a byte array, and then use the following method in your backing bean to send it to the browser, and that's it: (Adapted from the MyFaces Wiki http://wiki.apache.org/myfaces/Sending_Files ) public void sentFileToBrowser(FacesContext aCont

Re: PDF+JSF question

2008-03-05 Thread daniel ccss
Sorry but this user group was made to ask, so I ASK, in fact many users maybe don´t saw the email yesterday and when I ask again if anybody knows? [EMAIL PROTECTED] answer me, so I think YOU should stop sending mails with not answers and saying that do a google search jajajaja if you don´t know th

MYFACES-1310

2008-03-05 Thread Zigc Junk
Hi, I run into a problem with running myfaces on weblogic 10.0. This problem is the same as MYFACES-1310. That case is marked as resolved but it still happens on myfaces 1.2.2. Is there any myfaces developer here who can take a look at it? thanks Bill

Re: PDF+JSF question

2008-03-05 Thread Matthias Wessendorf
Hello, On Wed, Mar 5, 2008 at 2:56 PM, daniel ccss <[EMAIL PROTECTED]> wrote: > Anybody?? sending emails every 10 hours doesn't encourage folks to answer. The topic PDF and JSF was already discussed here (and in other forums). Doing a google search (or on the myfaces archives) mostly helps. -M

Re: PDF+JSF question

2008-03-05 Thread daniel ccss
Thanks for the answer, but I think this is not what I need. What i need is a way to join 2 or more reports in one pdf file, like is done in struts, with JSF: *PdfReader reader1 = new PdfReader(bytes); PdfReader reader2 = new PdfReader(bytes2); PdfCopyFields copy = new PdfCopyFields(new FileOutpu

Re: [Trinidad] Rendering Context

2008-03-05 Thread Henry Eduardo Iguaro
I also had this problem before, but after playing around with the configuration files the 'issue' stop showing... to tell you the truth i don't know what i did, but check my configuration files, maybe there is something you're missing ---

AW: PDF+JSF question

2008-03-05 Thread Sertic Mirko, Bedag
Hi If you want to send a text as a download file to the browser, so something like this. You can also Send a binary file the same way by modifying this method a little bit : public void sentFileToBrowser(FacesContext aContext, String aFileName, String aContent, boolean aAttachment) {

Re: Checkbox and required=true

2008-03-05 Thread Mike Kienenberger
Well, if you're going to be a purist, the proper thing would be to create a drop-in component subclass of checkbox that only accepted checked=true input. :-) But that's overkill. The most simple reusable way to do this is to create a validator. I have a project, which when eventually converted

PDF+JSF question

2008-03-05 Thread daniel ccss
Anybody??

Re: [Trinidad] tr:table skinning

2008-03-05 Thread Ravindra Adireddy
Hi cristi, Thanks for your reply. I need to implement this feature, i am ready to write a renderer can you help me please. thanks ravi On Tue, Mar 4, 2008 at 12:26 PM, Cristi Toth <[EMAIL PROTECTED]> wrote: > This is currently not supported by Trinidad skinning. > But it would imply some client

AW: MyFaces, Facelets + t:aliasBbean

2008-03-05 Thread Sertic Mirko, Bedag
Hi Unfortunatly we cannot upgrade to 1.2 at the moment. I took a deeper look at the code and found a bug in the facelets AliasBeanTagHandler. I posted an issue to the tomahawk-facelets project with a patched version of the taghandler. Regards Mirko -Ursprüngliche Nachricht- Von: Martin

Re: Sandbox component graduation (was: Re: New Apache MyFaces Sandbox component (CAPTCHA))

2008-03-05 Thread [EMAIL PROTECTED]
Leonardo has been organising this in last week or so, and a list of sandbox components have been chosen for promotion. See the dev list archives for details. I'm not sure the captcha component should be immediately promoted from sandbox to tomahawk though. At least it needs some real-world testing

Sandbox component graduation (was: Re: New Apache MyFaces Sandbox component (CAPTCHA))

2008-03-05 Thread Bruno Aranda
I really do think that we should do a major graduation for sandbox components. It is very likely that most of us always include the sandbox as a production dependency. We should create a list of candidates (maybe we could do a poll?) and graduate those components. What do you think? Bruno On 04/

Re: Checkbox and required=true

2008-03-05 Thread Michael Heß
Thanks for you input. I gave this some more thought on my way home last night. When I think about it - is a validator the right place to do this kind of "business logic" (e.g. user has checked the box)? Shouldn't validators be all about semantics like correct value range or format? For a thing li

Re: Loop through the Mbeans in Session Scope

2008-03-05 Thread Reto Huber
Hi Gerhard Thank you for your answer. In my application the user triggers a function (by pressing a button) that affects all instances of a special type of Mbean within his session. For this I have to call a method on those Mbeans. It isn't a high performance solution but i think I can go with