RE: RCF, what's the current status?

2009-06-26 Thread Bertrand, Shawn R
I only speak of some of the features of other well-known JSF frameworks - skins, for instance, sticks out in my mind. The out-of-the-box look and feel doesn't present well in demos, but what Trinidad lacks in packaged skins MORE than makes up in enterprise-level performance. We're still on

RE: RCF, what's the current status?

2009-06-25 Thread Bertrand, Shawn R
Ugh. There were (rather, hopefully are) some bright people on this project, and I sincerely hope to see it hit open source eventually. It sure is a great framework - just lacking some pretty-ness, in my opinion. All the best, Shawn Bertrand, Principal Software Developer HARRIS CORPORATION

[Trinidad] Icons Text in selected list of shuttle?

2009-06-19 Thread Bertrand, Shawn R
(Trinidad 1.0.2 - updating soon, hopefully) I'm wondering if there is a way to get icons displayed along with the text in the right-hand list of the selectManyShuttle. We'll have several toggle-type operations one can perform on items in the right-hand list, and think icons displayed next to

[Trinidad] onunload to launch JSF event (and close session)

2009-05-21 Thread Bertrand, Shawn R
Any possible way this could work? I'm getting beat up by my colleagues about this, as GWT has the ability to launch an event to the server, allowing the session close, and Trinidad/JSF doesn't appear to. I'd love to prove them wrong :) Thanks in advance, Shawn Bertrand

[Trinidad] 'Action' column in CoreTable

2009-04-17 Thread Bertrand, Shawn R
I'd like to have an action-type column in which we place an image for each row that, when clicked, will display a dialog with detail about that row. The column part is easy, but how do I reference the clicked row's data in the action method? Thanks in advance, Shawn Bertrand

RE: [Trinidad] 'Action' column in CoreTable

2009-04-17 Thread Bertrand, Shawn R
: Bertrand, Shawn R Sent: Friday, April 17, 2009 1:44 PM To: MyFaces Discussion Subject: [Trinidad] 'Action' column in CoreTable I'd like to have an action-type column in which we place an image for each row that, when clicked, will display a dialog with detail about that row. The column part

RE: Facelets+Trinidad 1.2.x examples

2009-03-18 Thread Bertrand, Shawn R
. Max Bertrand, Shawn R wrote: I'm looking for some basic Facelets+Trinidad 1.2 examples, as I'm considering a move from Trinidad 1.0.x and JSPs to facelets and JSF 1.2. I've seen facesgoodies (thanks Matthias), but I'd like just a simple WAR file to peruse to see how the 2 technologies can

Facelets+Trinidad 1.2.x examples

2009-03-17 Thread Bertrand, Shawn R
I'm looking for some basic Facelets+Trinidad 1.2 examples, as I'm considering a move from Trinidad 1.0.x and JSPs to facelets and JSF 1.2. I've seen facesgoodies (thanks Matthias), but I'd like just a simple WAR file to peruse to see how the 2 technologies can be utilized together. Thanks in

RE: [Trinidad] Problem with upgrade to 1.2.x

2009-01-02 Thread Bertrand, Shawn R
in Jira. Bertrand, Shawn R wrote: I'm migrating my app from 1.0.2 to 1.2.10 (along with JBoss 4.0.5 to 4.2.3 and everything that goes with it, including of course JSF 1.2), and I've made all the code changes and such related to Bindings-Expressions... But I'm running into a problem with a custom

[Trinidad] Problem with upgrade to 1.2.x

2008-12-29 Thread Bertrand, Shawn R
I'm migrating my app from 1.0.2 to 1.2.10 (along with JBoss 4.0.5 to 4.2.3 and everything that goes with it, including of course JSF 1.2), and I've made all the code changes and such related to Bindings-Expressions... But I'm running into a problem with a custom component I've subclassed from

[Trinidad] PPR not working over VPN connection

2008-12-23 Thread Bertrand, Shawn R
Can anyone think of a reason why PPR wouldn't work over a VPN connection? We have some situations (not reproducible, of course) where a partialSubmit button is clicked, a dialog pops up, some fields are entered, the dialog closes, and a tr:table should update via PPR, but it doesn't until one

RE: [Trinidad] Fixed column widths in tr:table (or no wrapping)

2008-12-23 Thread Bertrand, Shawn R
From: Max Starets [mailto:max.star...@oracle.com] Sent: Monday, December 22, 2008 11:09 AM To: MyFaces Discussion Subject: Re: [Trinidad] Fixed column widths in tr:table (or no wrapping) Shawn, Have you tried the with attribute on tr:column? Happy Holidays, Max Bertrand, Shawn R wrote: I'd

[Trinidad] Fixed column widths in tr:table (or no wrapping)

2008-12-22 Thread Bertrand, Shawn R
I'd like to control the width of a column in my table, but I'm not sure how to get there from here. I'm sure I can use CSS, but it's not clear to me where I'd specify it. Any ideas? Shawn

Trinidad and NetBeans 6.x

2008-09-17 Thread Bertrand, Shawn R
Hey all, This is probably a long shot, but has anyone tried to create a .complib file for Trinidad that would be used to add the Trinidad component set to the palette for visual page editing in NetBeans 6.x? Some of the people in my company are using NetBeans and wanted to stick with Trinidad

Table variable not available via VariableResolver during stamping

2008-07-01 Thread Bertrand, Shawn R
(Trinidad 1.0.8, JSF 1.1_01) We have a situation where we need to access the object of each table row during stamping in order to render the detailStamp facet. Our table tag looks like this: tr:table id=pickTable binding=#{SnmpSsMacHelper.servicesTable}

RE: [TRINIDAD] resizing the size(width and height) of a dialog window

2008-05-08 Thread Bertrand, Shawn R
It already automatically resizes the dialog to fit its contents, though it is better at it in IE and Firefox in my experience. It is my understanding this resizing behavior is built into Trinidad, so if it isn't happening for you, there may be a problem with your JSP or in the parsing of such.

RE: [TRINIDAD] Resizing the window size(height and width) of a dialog box

2008-05-06 Thread Bertrand, Shawn R
Veena, You can achieve this either through use of the windowWidth and windowHeight attributes of the commandButton/commandLink tags, or programmatically via injection of the width and height properties into a LaunchEvent: public void processLaunch(LaunchEvent event) {

[Trinidad] TrPollManager and self._pollManager

2008-04-30 Thread Bertrand, Shawn R
I've noticed the following in the client side window code (in Window.js, openWindow method): // If there are any poll commands registered, they should be deactivated when the // modal window gets launched. They need to be reactivated upon closing the // modal dependent using

[Trinidad 1.0.7] enter key in a form doesn't activate statusIndicator

2008-04-23 Thread Bertrand, Shawn R
Other than clicking the form's action button or hitting enter while focus is on said button, is there any way to get the status indicator to activate when the enter key is pressed while in the form? We have the defaultCommand on the tr:form set appropriately, but the statusIndicator doesn't move

[Trinidad 1.0.7] IE error during polling with dialogs displayed

2008-04-22 Thread Bertrand, Shawn R
I'm getting a strange error in IE 7, but only when polling occurs (via the tr:poll tag) and a dialog is currently displayed via the dialog framework: An outgoing call cannot be made since the application is dispatching an input-synchronous call. (error code is 8001010D) This error appears

[Trinidad] actionListener not called when spacebar used on command button?

2008-04-01 Thread Bertrand, Shawn R
(Trinidad 1.0.7) We have a dialog in our application which is displayed via the dialog framework, and it has a command button (say, button A) on it which spawns another dialog NOT via the dialog framework but just with plain javascript (window.open). The secondary dialog is a JSF page with

[Trinidad] PPR of table not happening on button click in IE7

2008-03-28 Thread Bertrand, Shawn R
I'm using Trinidad 1.0.7, and have PPR of a table occurring when a particular button is clicked. The table updates fine in Firefox 2.0, but doesn't in IE 7. Anything I should look for? I even call addPartialTarget(table) during the button's actionListener, but it doesn't have the desired

[Trinidad] panelChoice with showDetailItem and disclosed value binding

2008-03-17 Thread Bertrand, Shawn R
(This is a problem in Trinidad 1.0.2, and is reproducible in 1.0.7.) Inside a JSP we display in a dialog, we have a panelChoice, which has 5 showDetailItem children, each of which has a value binding defined for the disclosed property (see below). The disclosed bindings, all of which use the

[Trinidad] ID reference issue

2007-11-15 Thread Bertrand, Shawn R
I'm getting this warning when running my app: 08:43:08,614 ERROR [STDERR] Nov 15, 2007 8:43:08 AM org.apache.myfaces.trinidadinternal.context.RequestContextImpl addPartialTriggerListeners WARNING: Could not find partial trigger ::download from

Transition support in Trinidad components

2007-11-08 Thread Bertrand, Shawn R
Are there any hooks or just plain CSS ways to implement transitioning effects on any of the Trinidad components? It would be nice to have fade in/fade out/shrink/etc effects on components like the showDetail component, for instance. I realize there are lots of other frameworks out there we

RE: [Trinidad] newbie PPR problem

2007-11-08 Thread Bertrand, Shawn R
Jessica, Because you are using Trinidad 1.0.1, you'll need to use the tr:document or trh:html/head/body tags to ensure the iframe mechanism is in place. Iframes are used in 1.0.1 to handle PPR, while versions 1.0.3+ use XmlHttpRequest. All the best, Shawn Bertrand Tyco Electronics

RE: Selenium and badboy on JSF

2007-11-05 Thread Bertrand, Shawn R
You could use the location strategy feature introduced in Selenium Remote Control 0.9.2: http://release.openqa.org/selenium-remote-control/0.9.2/doc/java/com/tho ughtworks/selenium/DefaultSelenium.html#addLocationStrategy(java.lang.St ring,%20java.lang.String) We use it for the Trinidad

[Trinidad] Poll disabling during dialog lifespan

2007-11-01 Thread Bertrand, Shawn R
Is the poll mechanism supposed to be disabled when a dialog is displayed via the Trinidad dialog framework? We're using 1.0.2 in our application, and have a poll on our main page. When a dialog is displayed, it seems the poll is still occurring. This is usually a good thing, as it allows us

[Trinidad] Tree faster in Firefox

2007-10-29 Thread Bertrand, Shawn R
Not sure if anyone else has noticed this, but the Tree works many times faster in Firefox compared to IE (version 6 at least). Could anyone comment on why this is?The tree can be small or large - doesn't matter. I'd love to be able to say to our customers Use Firefox, but the fact of the

RE: [Trinidad] Update from 1.0.1 to 1.0.3 breaks PPR

2007-10-17 Thread Bertrand, Shawn R
: [Trinidad] Update from 1.0.1 to 1.0.3 breaks PPR By the way, did you manage to get a work-around for your specific problem or did you revert to 1.0.1? Francisco Passos On 10/16/07, Bertrand, Shawn R [EMAIL PROTECTED] wrote: During the PPR request, do you happen to disable the component which

RE: [Trinidad] Update from 1.0.1 to 1.0.3 breaks PPR

2007-10-16 Thread Bertrand, Shawn R
During the PPR request, do you happen to disable the component which originated the request? We see something similar to this, though not the same error, when a commandButton is clicked to start PPR and we disable the button in an actionListener. We had been using 1.0.2 and had to leave our

RE: [Trinidad 1.0.3] returnListener is broken

2007-10-10 Thread Bertrand, Shawn R
I see the same behavior (lack of a returnListener call) with buttons in the actions component, FWIW. All the best, Shawn -Original Message- From: Adam Winer [mailto:[EMAIL PROTECTED] Sent: mardi 9 octobre 2007 17:54 To: MyFaces Discussion Subject: Re: [Trinidad 1.0.3] returnListener

[Trinidad] pageFlowScope and request parameter handling

2007-10-09 Thread Bertrand, Shawn R
Our main application page features a tr:table, and users can modify the details of each entry in that table using dialogs displayed via the dialog framework. Here is the app flow: 1. A row in the table is selected 2. The modify button is clicked and a dialog displays with that

[Trinidad] PPR logic with non-rendered components (was: Console is undefined)

2007-09-14 Thread Bertrand, Shawn R
We have some situations where we set up PPR between components, and some of the components which should trigger an update may not be rendered based on some value binding. What is the policy with respect to this? If a button, for instance, isn't rendered but is expected to trigger an update on a

RE: [Trinidad] Table and PPR of action components

2007-09-13 Thread Bertrand, Shawn R
this will, of course, redraw the buttons for every action on the table, not just selection. If you just want selection, you'd have to add a selectionListener and explicitly call RequestContext.addPartialTarget(table.getFacet(actions)); -- Adam On 9/12/07, Bertrand, Shawn R [EMAIL

RE: [Trinidad] console is undefined?

2007-09-13 Thread Bertrand, Shawn R
window variable (plug-in for firefox) I think the following code may be more IE friendly: if (window.console window.console.error) { ... } On 9/12/07, Bertrand, Shawn R [EMAIL PROTECTED] wrote: I'm getting error generated from the first line of the following function in Common1_0_2.js

RE: [Trinidad] console is undefined?

2007-09-13 Thread Bertrand, Shawn R
that I am aware of. What do you think Adam? -Andrew On 9/13/07, Bertrand, Shawn R [EMAIL PROTECTED] wrote: The error dialog indeed doesn't appear in Firefox, though would it if Firebug wasn't installed? There doesn't appear to be any sort of error when running in Firefox - all I

RE: Dialog issue during ADF-Trinidad migration

2007-09-12 Thread Bertrand, Shawn R
- is intentional (and was the way things worked back in ADF, FWIW). What should be happening next is that a frameset gets generated where the frame's source is the URL of the desired page - so your dialog does show up. Is that not working? -- Adam On 9/11/07, Bertrand, Shawn R [EMAIL

[Trinidad] Table and PPR of action components

2007-09-12 Thread Bertrand, Shawn R
My table looks like this: tr:table id=genTable binding=#{TableFactoryBean.genTable} value=#{HelperHolderBean.helper.tmpTable} rows=#{HelperHolderBean.helper.tmpTableSize} first=0 var=row rowBandingInterval=1 rowSelection=single

[Trinidad] console is undefined?

2007-09-12 Thread Bertrand, Shawn R
I'm getting error generated from the first line of the following function in Common1_0_2.js: TrRequestQueue._logError=function(a118) { if(consoleconsole.error) console.error(arguments); } This is running in IE 6. Is this console object related to the Acrobat console window?

RE: Dialog issue during ADF-Trinidad migration

2007-09-12 Thread Bertrand, Shawn R
, that you are using myfaces 1.2 ? and *.faces mapping ? try, /faces/* as your mapping On 9/12/07, Bertrand, Shawn R [EMAIL PROTECTED] wrote: Thanks for the clarification. Unfortunately, it isn't working in Trinidad as it did in ADF Faces. FredJSP.getRedirectURL generates a baseURL

Dialog issue during ADF-Trinidad migration

2007-09-11 Thread Bertrand, Shawn R
(Trinidad 1.0.2 - build from July - the current one). I've migrated our application to use Trinidad, and see some PPR issues that are likely ours, but for the most part everything is working as expected. Except We use the dialog framework extensively, and every time we attempt to

[Trinidad] PPR/ReturnEvent not queued after many nested dialogs

2007-09-07 Thread Bertrand, Shawn R
I'm at a loss on this one, and am hoping for some help. While I'm using Trinidad in development, this is a problem with the latest ADF Faces (haven't tried a reproducible case for Trinidad at this point) and being that one derived from the other, I'm hoping some of the experts can comment. I'm

[Trinidad] Disabling tr:poll

2007-08-13 Thread Bertrand, Shawn R
Is it possible to disable a polling component, such as when the user enters a dialog? In our application, the polling component continues its timer even when the dialog is displayed, which leads to a refresh of the dialog contents and an unnecessary blink. Further, our polling consists of

[Trinidad] PPR and Javascript events

2007-08-02 Thread Bertrand, Shawn R
Are there any Javascript events to which I can respond after a PPR request reports back to the browser? I'm trying to restore a scroll position in IE (works in Firefox, as usual) that I've saved off in a cookie but can't reliably respond to any events to restore the position. I've tried

RE: Testing JSF Components

2007-07-27 Thread Bertrand, Shawn R
Anu, I wouldn't give up on Selenium for testing your more complicated JSF components (from Trinidad and the like). We had a few hurdles to overcome (namely with respect to trees and shuttles), but once you add some customizations to handle these, your generated tests should prove fairly

RE: [Trinidad] JSF components and div scroll position

2007-07-26 Thread Bertrand, Shawn R
: [Trinidad] JSF components and div scroll position Hello, It's probably not the problem, but do you have a default constructor in your component class? On 7/25/07, Bertrand, Shawn R [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Sounds good - a very cool extension indeed. So for the time

RE: [Trinidad] JSF components and div scroll position

2007-07-25 Thread Bertrand, Shawn R
for you return false; } -- Adam On 7/24/07, Bertrand, Shawn R [EMAIL PROTECTED] wrote: I've taken my tree component and added some CSS to enable a scroll bar around it when it becomes large enough: inlineStyle=width: 200px; height: 400px; max-height: 400px

[Trinidad] JSF components and div scroll position

2007-07-24 Thread Bertrand, Shawn R
I've taken my tree component and added some CSS to enable a scroll bar around it when it becomes large enough: inlineStyle=width: 200px; height: 400px; max-height: 400px; overflow: auto; This works well, but as I expand and collapse nodes in the tree, the scroll position

[Trinidad] Multiple available lists in selectManyShuttle (using filter)

2007-06-22 Thread Bertrand, Shawn R
I have the need to use the selectManyShuttle, but have a requirement of using multiple available lists. So, I might have 3 lists, each with 3 users (say, 1-3, 4-6, and 7-9), and I need to allow the user to select choices from each list and aggregate them into the one selected list. I have a

[Trinidad] Reverse positioning of components

2007-06-22 Thread Bertrand, Shawn R
I'm running into a very weird problem in which two components in my panelPage - a tree and a panel group containing another panel group and a table - are switched on the page. That is, they should be positioned with tree on the left and panel group (with table) on the right, but they instead

[Trinidad] Setting initial expanded state in tree

2007-05-08 Thread Bertrand, Shawn R
I'd like to set the initial expanded state in my tree such that only the top-level root node is expanded. In my case, there is only one root node and it may have one or more child nodes. I thought the following would do it, but the second call to getKeySet() on the PathSet object returns

[Trinidad] Dialog auto sizing problem/request

2007-05-03 Thread Bertrand, Shawn R
We use a fair amount of dialogs displayed via the dialog framework (i.e. summoned through dialog: navigation rules and launchDialog API calls alike), and a nice feature is the auto sizing that occurs once the DOM is populated with all of the UI components. The sizing is occurring, but all of the