Re: [Tobago] a listbox in a popup

2008-05-22 Thread Volker Weber
Hi Tobias, you need a converter to convert the selected value (which is a string at postback time) back into a Autor object. Also the selectedAuthor should be type Author, not SelectItem. As an alternative you can make the selectedAuthor of type String and create the selectItems from

Re: [Orchestra] Session is closed

2008-05-22 Thread Dan Tran
Also, the most common problem with entity close is your service bean is not marked as Transational. -D Mario Ivankovits wrote: Hi Cagatay! I'm trying to convert an existing application to use Orchestra. Followed the installation documentation but I'm getting

Re: [Orchestra] Session is closed

2008-05-22 Thread Cagatay Civici
Yeah, I wasn't using transactions when reading data in service methods, using read-only transactions fixed my problem. Now I can make most of the Orchestra features work with an exception. Whenever I try to remove an entity, I get message: the detached instance cant be removed, try to merge it

Re: what is SERIALIZE_STATE_IN_SESSION

2008-05-22 Thread simon
On Wed, 2008-05-21 at 10:02 -0700, hbMailingList wrote: Hello, I was reading the performance wiki page, and it is suggesting that SERIALIZE_STATE_IN_SESSION should be set to false. I had 2 questions: 1. What does this flag actually do? Does this mean the view and its component tree is

Re: what is SERIALIZE_STATE_IN_SESSION

2008-05-22 Thread Renzo Tomaselli
Hi, I recently had bad experiences while using t:saveState with client-side state, using Myfaces + Trinidad. In this case Trinidad uses a numeric token in the page, while real state contents are saved on the server without any serialization. Although not explicitely set, I guess that

[ANNOUNCE] Release of Apache MyFaces Trinidad 1.2.8

2008-05-22 Thread Scott O'Bryan
The Apache MyFaces Trinidad team is pleased to announce the release of Apache MyFaces Trinidad Core 1.2.8. Apache MyFaces Trinidad is a JavaServer(tm) Faces 1.2 component library. Trinidad Core 1.2.8 is available in both binary and source distributions: *

[ANNOUNCE] Release of Apache MyFaces Trinidad 1.0.8

2008-05-22 Thread Scott O'Bryan
The Apache MyFaces Trinidad team is pleased to announce the release of Apache MyFaces Trinidad Core 1.0.8. Apache MyFaces Trinidad is a JavaServer(tm) Faces 1.1 component library. Trinidad Core 1.0.8 is available in both binary and source distributions: *

Re: what is SERIALIZE_STATE_IN_SESSION

2008-05-22 Thread Scott O'Bryan
Yes, Trinidad implemented this optimization early.. I think JSF1.2's implementation of this feature was actually taken from the Trinidad requirements and proposed by Adam. Renzo Tomaselli wrote: Hi, I recently had bad experiences while using t:saveState with client-side state, using

PPR with s:pprPanelGroup and resource bundles

2008-05-22 Thread Guy Bashan
Hi All, I am having a little problem doing PPR with resource bundles. It seems like the values containing resource bundles are empty after PPR. When page loads the resources are loaded properly. Thanks, Guy.

Invalid PPR Response

2008-05-22 Thread Varun Shingal
Hi I have been trying to work with the selection and sort listeners in the trinidad table component and have been getting the Invalid PPR response in the Common1_0_3.js file(Line 10458).(as seen using Firebug). I am using trinidad1.0.3 jar for my implementation. I tried to search for this

[Tomahawk][Myfaces] how to prevent scattered js/css file references and loading

2008-05-22 Thread Renzo Tomaselli
Hi all, I'm trying to concentrate js/css references on pages through jawr (https://jawr.dev.java.net/), to improve loading performance. I use almost Trinidad components, plus t:inputDate (more appealing than Trinidad) and t:jscookMenu (the only dropdown menu component around) from Tomahawk.

Re: Trinidad Light Weight Dialogs Issue

2008-05-22 Thread sbalac
Thanks for pointing me to the bug. I voted on it so hopefully it will start getting some attention. Thanks to everybody who replied. Richard Yee-3 wrote: I believe that this is the same issue that I reported in February. https://issues.apache.org/jira/browse/TRINIDAD-941 Go vote on this

[Trinidad] Invalid PPR response

2008-05-22 Thread Varun Shingal
Hi I have been trying to work with the selection and sort listeners in the trinidad table component and have been getting the Invalid PPR response in the Common1_0_3.js file(Line 10458).(as seen using Firebug). I am using trinidad1.0.3 jar for my implementation. I tried to search for this

Re: [Tomahawk][Myfaces] how to prevent scattered js/css file references and loading

2008-05-22 Thread Scott O'Bryan
I don't know about Tomahawk, but you will not be able to wire Trinidad in with jawr. Here is the thread where we discussed this. http://www.mail-archive.com/users@myfaces.apache.org/msg48242.html Renzo Tomaselli wrote: Hi all, I'm trying to concentrate js/css references on pages through

Re: [Trinidad] Invalid PPR response

2008-05-22 Thread Scott O'Bryan
Hey Varun, does this issue reproduce in Trinidad 1.0.7? I know most of the developers on the Trinidad project test primarily on JSF 1.2, so it's possible that something slipped though the cracks, but this seems like an issue we would have run across before. Scott Varun Shingal wrote: Hi I

Re: [Tomahawk][Myfaces] how to prevent scattered js/css file references and loading

2008-05-22 Thread Renzo Tomaselli
Scott, yes I know. But Trinidad is less important in this context, since it manages to bundle its own stuff in two files, one for js and another for css. Tomahawk is a disaster: those two components I mentioned below include *nine* single files in the page header. -- Renzo Scott O'Bryan

Re: [Trinidad] Invalid PPR response

2008-05-22 Thread Varun Shingal
Hi Scott Thanks for the reply. I just tested the same issue with trinidad-1.0.8 and got the same Invalid PPR response. Thanks Varun Scott O'Bryan wrote: Hey Varun, does this issue reproduce in Trinidad 1.0.7? I know most of the developers on the Trinidad project test primarily on JSF 1.2,

Trinidad PPR behaving irratically on different servers

2008-05-22 Thread F . P . G . Segers
Hi, I'm using Trinidad 1.0.7 with MyFaces 1.1.5. On my local development machine (running in Tomcat of Websphere 6.1) everything runs fine. On a testserver however (running Websphere 6.1) in some cases Trinidad doesn't update page parts. In the PPR response the replacement element just isn't

Re: [Tobago] a listbox in a popup

2008-05-22 Thread Tobias Reifenstuel
Hi Volker, hi Helmut; thanks a lot. Now I'm using a converter, it's really easy. I solved my problem now without a popup, it is not the best way but it works. :-) Regards, Tobi Volker Weber schrieb: Hi Tobias, you need a converter to convert the selected value (which is a string at

Re: [Trinidad] Invalid PPR response

2008-05-22 Thread Scott O'Bryan
Can you send us a code fragment showing us what your table looks like and the code for the relivent listeners? Maybe it's something in the usecase. If not, you may want to open up a JIRA ticket on it. I have no idea what's going on here. Scott Varun Shingal wrote: Hi Scott Thanks for

Re: NUMBER_OF_VIEWS_IN_SESSION

2008-05-22 Thread hbMailingList
Hello again :-) I'd really like to understand this setting, because I'm worried that I'm missing something fundemental. I guess another way I can ask the question is: - why/when would it be necessary to have more than one view in the session? Thanks in adv. hbMailingList wrote: Hello, I’m

Re: what is SERIALIZE_STATE_IN_SESSION

2008-05-22 Thread hbMailingList
Thanks Simon Renzo for explaining this feature! Renzo Tomaselli wrote: Hi, nbsp;nbsp;nbsp; I recently had bad experiences while using t:saveState with client-side state, using Myfaces + Trinidad. In this case Trinidad uses a numeric token in the page, while real

Trinidad Label wrapping

2008-05-22 Thread sbalac
Hi everybody, I am wondering if there is a way to have the labels for trinidad components like tr:inputText etc wrap after a certain length rather than appear all in one line. The problem is that I am using a tr:formLayout and I have multiple input text components. If one of the labels is much

Re: [Orchestra] Session is closed

2008-05-22 Thread Dan Tran
My wild guess here is that your entity was not created by your conversion by any chance, specially where your is in access scope. I never encounter this problem since I only remove entity using its key. Cagatay Civici wrote: Yeah, I wasn't using transactions when reading data in service

[Tobago] sheet language

2008-05-22 Thread Bravo Villegas Salvador Francisco
Hi All, I'm have a doubt, i'm using the tc:sheet but I put the showRowRange and showDirectLinks, the page show the the following legends, Rows 1 to 10 of 88 and Page 1 of 9, but I need them in Spanish. Also I need to change the tooltip for the headers. Somebody know where I can change the

Re: NUMBER_OF_VIEWS_IN_SESSION

2008-05-22 Thread Scott O'Bryan
This one is easy but not very intuitive. Lets say you navigate from one page to another and then hit the back button. When you then try to resubmit the previous page, there is no view state corresponding to the token unless you've saved more then one. This setting allows you to configure

Re: NUMBER_OF_VIEWS_IN_SESSION

2008-05-22 Thread hbMailingList
Thanks Scott, I understand your explanation...but wouldn't the framework recreate the view its component tree if the view isn't there (when we resubmit the pervious page)? Thanks in advance. Scott O'Bryan wrote: This one is easy but not very intuitive. Lets say you navigate from one