Re: Trinidad-1107

2012-07-17 Thread Cédric Durmont
, but not it's core renderers will not be broken by the addition of a new attribute. Thanks. On Thu, Jul 12, 2012 at 3:40 AM, Cédric Durmont cdurm...@gmail.com wrote: Actually the height is set on a div tag containing the table. The headerfooter are outside the div, so they don't scroll. The JS

Re: Trinidad-1107

2012-07-12 Thread Cédric Durmont
As you can see, the height attribute is deprecated on the TH/TD, but there is no height attribute on the TABLE element. I would rather not add code that is not HTML strict safe if possible to the rendering. On Tue, Jul 10, 2012 at 10:00 AM, Cédric Durmont cdurm...@gmail.com wrote: 2012/6/19

Trinidad-1107

2012-07-10 Thread Cédric Durmont
2012/6/19 Scott O'Bryan darkar...@gmail.com: If there is some functionality you'd like to see in Trinidad, please open up a discussion on the dev list about it. We'd like to hear from you. Sorry to jump in the conversation that late, I've been quite busy recently. I filed a patch in

Re: Trinidad is dead -- what do you use instead?

2012-07-03 Thread Cédric Durmont
2012/6/19 Scott O'Bryan darkar...@gmail.com: If there is some functionality you'd like to see in Trinidad, please open up a discussion on the dev list about it. We'd like to hear from you. Sorry to jump in the conversation that late, I've been quite busy recently. I filed a patch in

Re: Problem with CODI/OWB and PrimeFaces 3.2

2012-04-17 Thread Cédric Durmont
Hi guys, I'm having the same error here, but I'm not using OWB nor CODI : -MyFaces 2.0.13 (tried several versions : 2.0.5, 2.0.7, 2.0.9, 2.1.3, 2.1.7. Issue differs slightly with 2.0.5/2.0.7 , but I still get the exception) -Trinidad 2.0.1 - jetty 6.1.6 (embedded/standalone), 7.6.2 - I have

Re: [Trinidad] Best Javascript package to use in a new render kit

2012-03-30 Thread Cédric Durmont
Hi Walter, Just my $0.02 here, but at my company we've been using Trinidad for 2 years now, and for one of our product we included DojoFaces (we needed the autoSuggest component). We eventually backpedalled and rewrote our own autosuggest component based on Trinidad + facelets, and use sometimes

[ExtVal] Validations for one action only

2012-01-27 Thread Cédric Durmont
Hello there, I'm trying to implement a somewhat classical validation scheme : I have a JSF form ( Myfaces 2.1.5, Trinidad 2.0.2-SNAPSHOT), and I want to perform some validations but only when I trigger a specific button / action. Other buttons in the page may open dialogs, trigger actionEvents /

[Tomahawk] NPE using JsCookMenu on Tomahawk 1.1.11 / JSF2

2012-01-17 Thread Cédric Durmont
Hello, Here's my setup : - Myfaces 2.1.5 - Trinidad 2.0.0 / 2.0.2-SNAPSHOT (updated yesterday) - Tomahawk .1.1.11, core20 branch (also updated yesterday) I have a simple test page with a facelets template using Tomahawk's JsCookMenu : [...] trh:body styleClass=#{styleBody} tr:form

Re: [Tomahawk] NPE using JsCookMenu on Tomahawk 1.1.11 / JSF2

2012-01-17 Thread Cédric Durmont
Thanks a lot, it works now ! FYI, the dummy file is also missing from ThemeGray... Regards, Cédric Durmont 2012/1/17 Leonardo Uribe lu4...@gmail.com: Hi It seems ThemeMiniBlack does not have the dummy file ;j that helps to split the request path. The solution is simple, just add an empty

Re: Call spring controller from faces-config.xml

2011-11-15 Thread Cédric Durmont
JSF navigation model is meant only for JSF pages. to-view-id has to point to a valid facelets / jsp page. Not sure of what you're trying to do, anyway. When a jsf outcome is set, you already have made it past the jsf controller (e.g. the bean + faces-config.xml itself). Trying to reroute to

Re: [Trinidad] Custom css class is overridden by the trinidad skin

2011-11-02 Thread Cédric Durmont
Juste a wild guess, but add this to your css : .OraLink {} Sometimes you have to play with !important keyword to have your styles applied too... Regards, Cedric Durmont 2011/10/28 Harshit Bapna hrba...@gmail.com: Hello All, I am facing an issue with the css styling of the trnidad components.

Re: How to disable core table selection check boxes in trinidad

2011-07-08 Thread Cédric Durmont
Hi Ravi, I don't think it's possible. A possible workaround is to set selection=none, then add yourself a column with a checkbox, and use the row object business rules to set it disabled or not Regards, Cedric Durmont 2011/7/7 ravi.boreddy ravi.bore...@cognizant.com: Hi All, I have a core

Re: [trinidad 1.2] tr:table docs, rowselection, sorting, pagenation, filtering?

2011-07-08 Thread Cédric Durmont
Hi, 1/ I don't know of a good CollectionModel subclassing example. Anyway, I never really had the need for it. If you need to load rows on demand and such, you may as well subclass List 2/ Don't forget in your tr:column to set sortable=true AND sortProperty=someAttribute, where someAttribute is

Re: What is wrong with Trinidad's download example?

2011-06-15 Thread Cédric Durmont
Ooops, looks like tr:form is missing... Regards, Cedric 2011/6/15 jitechno jitec...@gmail.com: Hello, I tried this example, http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_fileDownloadActionListener.html Not with commandLine, not with commandButton I am nat able to fire file save

Re: ViewExpiredException only in some IE8

2011-06-13 Thread Cédric Durmont
' version) accessing the same site, same configuration, etc. Works with one and doesn't work with the other. Continuing the quest... Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Fri, Jun 10, 2011 at 10:02 AM, Cédric Durmont cdurm...@gmail.com wrote

Re: ViewExpiredException only in some IE8

2011-06-10 Thread Cédric Durmont
Hi Walter, The only thing that looks unusual to me in your code is the mix between tr:commandLink and f:setPropertyActionListener. Have you tried tr:setActionListener instead ? (btw I see no reason why this would cause a viewExpiredException on some browsers, but who said computing was an exact

Re: Tomahawk, Trinidad or Tobago

2011-06-08 Thread Cédric Durmont
Hello, Can't tell about Tobago, which I don't use, but (to me) Trinidad has the following advantages over Tomahawk : - ajax support for all components - popup management (passing values to popups and back...) - skinning support I use both Trinidad and Tomahawk in my current project, but Tomahawk

Re: Tomahawk, Trinidad or Tobago

2011-06-08 Thread Cédric Durmont
, schrieb Cédric Durmont: Hello, Can't tell about Tobago, which I don't use, but (to me) Trinidad has the following advantages over Tomahawk : - ajax support for all components - popup management (passing values to popups and back...) - skinning support I use both Trinidad and Tomahawk in my

Re: Tomahawk, Trinidad or Tobago

2011-06-08 Thread Cédric Durmont
Just like Helmut, I had no problem with file upload on 2 projects : one with Trinidad 1.2+Tomahawk (using Tomahawk upload), the other with Trinidad 2 Sorry jitechno I had a quick look at your code, but didn't see the problem (I'm not really familiar with netbeans and ant, though. Just looked your

Question about tr:fileDownloadActionListener

2011-04-20 Thread Cédric Durmont
Hello, I've been using tr:fileDownloadActionListener for quite some time now, but I have to rework my code to handle large files (that is, 1000s-page long PDF generated on the fly with jasperreports) I made jasperreports send the output directly to the outputstream provided in the listener, but

Re: [Trinidad] change the text in the tr:selectManyShuttle

2011-04-01 Thread Cédric Durmont
Hello, You have to write a java class similar to the example below. The CONTENTS list contains a pair of Strings : the first is the key to the element to rename, the second is the new name. To enable this class, you have to declare it in your skin definition (WEB-INF/trinidad-skins.xml ). The

Re: Possible bug jsf.js (or error on my pat)

2011-03-15 Thread Cédric Durmont
Hi, Your sample xhtml does not look very Trinidad-ish. Maybe it was intended for plain JSF. a more Trinidad-oriented approach would be : html xmlns=http://www.w3.org/1999/xhtml; xmlns:ui=http://java.sun.com/jsf/facelets; xmlns:h=http://java.sun.com/jsf/html;

Re: [TRINIDAD] Placing tr:inputText inside trh:tableLayout sometimes doesn't render the input element in the HTML

2011-02-23 Thread Cédric Durmont
you could always add a bogus setter... Not very clean, but you could use a getter/setter pair in a bean, the setter would do nothing, whereas the getter would grab the value from your business object u Regards, Cedric 2011/2/23 A. Nieves daraii.t...@gmail.com: I was mistaken. They are displayed

Re: [TRINIDAD] ValueChangeListener of tr:selectOneChoice invoked multiple times

2011-02-11 Thread Cédric Durmont
Hello, I'm sorry but I never ran into that issue... Two possible reasons come to mind : - what's the scope of your bean ? I'm not sure what exactly happens if the bean is request-scoped - can you post the code of your page ? Maybe it's worth checking if you don't have duplicate ids or if

Re: [Triniddad] - Problem using tr:table inside a tr:panelPopup

2010-11-19 Thread Cédric Durmont
Hello, I'm also using a tr:table with pagination inside a tr:panelpopup. So far I haven't had any problem with that. Can you give the part of your page with the tr:panelPopup ? Also, what's the browser you're testing with ? Regards, Cedric 2010/11/19 Dreher, Markus m.dre...@dzbw.de: Hi all,

Re: commandButton actionListener not invoking managed bean method (2nd time)

2010-11-16 Thread Cédric Durmont
Just a guess in the wild, but maybe it's because of a bad use of auto-completion in Eclipse. There's another ActionEvent class in package java.awt.something . Make sure you import javax.faces.event.ActionEvent in your bean, and not the awt thing. Regards, Cedric Durmont 2010/11/11

Re: [TRINIDAD] PPR Problem with Trinidad 2.0.0.3-SNAPSHOT / MyFaces 2.0.1

2010-10-12 Thread Cédric Durmont
Hi Roland, Maybe you have hit the same bug as me : see TRINIDAD-1870 on Jira. I included a patch on that bug. Can you try your examples with a patched version of Trinidad 2 ? Here on my app the patch does solve some problems (e.g. the panelTabbed problem) on simple pages, but complex (say real)

Re: [Trinidad} Issue with ValueChangeListener

2010-09-28 Thread Cédric Durmont
Hi, What's the scope of the bean ? If it's a request bean, then this is normal... Otherwise, the valueChangeListener is not called until the new value differs from the old one. Try to put a breakpoint in simpleBackingBean.processValueChange and compare old and new value as given in the event

Re: [Trinidad] Sort Meta Tags

2010-09-23 Thread Cédric Durmont
Try to replace tr:document with : !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; xmlns:f=http://java.sun.com/jsf/core; ... all used namespaces here... trh:head

Re: Simple container tag in Trinidad for PPR (Partial Page Rendering)

2010-08-31 Thread Cédric Durmont
tr:panelGroupLayout/ is often used for this purpose, but it renders a table, so it's quite verbose... Regards, Cedric Durmont 2010/8/31 marioosh.net marioosh@gmail.com: Is there some container tag (generating span or maybe div, something like h:panelGroup /), which content be updated by

Re: double click problem in JSF

2010-08-31 Thread Cédric Durmont
Don't try to catch a double-click event. Instead, try to : - catch an onclick event - use it to disable the link - return true, so that this first click will actually do something. The following clicks should not happen because you just disabled/hidden the link Regards Cedric 2010/8/31 yogeen

Re: page lang\ encoding error after moving to myFaces from mojarra???

2010-08-25 Thread Cédric Durmont
Oh, charset encoding... don't get me started about that ! ;o) I had a hard time trying to figure out how to configure that beast properly for my locale (French, and win1252 charset which I had to use for some obscure database reasons). Try to add this filter (source below) and set it up properly

Re: [ExtVal] Trouble with ExtValElResolver and a MapObject,Object

2010-08-20 Thread Cédric Durmont
Works like a charm, thanks ! Regards, Cedric

[ExtVal] Trouble with ExtValElResolver and a MapObject,Object

2010-08-17 Thread Cédric Durmont
Hello, I'm new to ExtVal, so it's possible I'm missing something, but I have troubles with a page containing this : [...] tr:selectOneChoice value=#{someBean.status[member]} [...] Where status is declared as a Map (actually what I do here is the el-map trick to call a method with an argument),

Re: [ExtVal] Trouble with ExtValElResolver and a MapObject,Object

2010-08-17 Thread Cédric Durmont
. (you could also customize extval to change the default behavior) regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2010/8/17 Cédric Durmont cdurm...@gmail.com Hello, I'm new

Re: Migrating app to myfaces2/Trinidad2

2010-07-27 Thread Cédric Durmont
From: Cédric Durmont cdurm...@gmail.com To: MyFaces Discussion users@myfaces.apache.org Sent: Mon, July 26, 2010 2:32:22 PM Subject: Re: Migrating app to myfaces2/Trinidad2 Here it is : (note : ficho.util.SetCharacterEncodingFilter is part of my app.  It does what the name implies

Re: Migrating app to myfaces2/Trinidad2

2010-07-27 Thread Cédric Durmont
to be less lenient than their predecessors Regards, Cedric 2010/7/27 Bruno Aranda brunoara...@gmail.com: Hi Cedric, Double check that the namespace used is: xmlns:c=http://java.sun.com/jsp/jstl/core; Cheers, Bruno On 27 July 2010 08:03, Cédric Durmont cdurm...@gmail.com wrote: ok, I found

[Trinidad] Trinidad2 : tr:commandLink blocks tr:panelAccordion

2010-07-27 Thread Cédric Durmont
I'm cleaning bugs in my app after my switch to Trinidad2, and I found 2 problems that seems not to be on my side : 1. I'm unable to change of tab in a panelTabbed with a click (works programmatically using disclosed attribute) 2. Consider this sample.xhtml : ?xml version=1.0

Re: Migrating app to myfaces2/Trinidad2

2010-07-26 Thread Cédric Durmont
/trunk/trinidad-examples/trinidad-demo/pom.xml Thx! M On Fri, Jul 23, 2010 at 4:20 PM, Cédric Durmont cdurm...@gmail.com wrote: Thanks for looking into it, Matthias ! Sadly, it doesn't work with MyFaces 2.0.1. I guess something must be wrong in my pom.xml. Here is its dependency section (I

Re: Migrating app to myfaces2/Trinidad2

2010-07-26 Thread Cédric Durmont
, you'll have to change the imports to javax.faces.view.facelets. Regards, Jakob 2010/7/26 Cédric Durmont cdurm...@gmail.com Hi Jakob, When I remove facelets from pom.xml and the view handler in web.xml as you said, I have this error : java.lang.NoClassDefFoundError: com/sun/facelets/tag

Re: Migrating app to myfaces2/Trinidad2

2010-07-26 Thread Cédric Durmont
2010/7/26 Cédric Durmont cdurm...@gmail.com Nope, no imports of com.sun.facelets in the code. Does the namespace in *.xhtml files has to change ? Regards, Cedric 2010/7/26 Jakob Korherr jakob.korh...@gmail.com: Hi Cédric, Does your app internally use some facelets-1 stuff

Migrating app to myfaces2/Trinidad2

2010-07-23 Thread Cédric Durmont
Hello, I'm trying to switch my app from myfaces 1.2.8 / Trinidad 1.2.13 to myfaces 2.0.0 / Trinidad 2.0.0.3-SNAPSHOT. I was already using facelets (1.1.15) I haven't found any relevant documentation on that subject online, so I basically changed version numbers in my pom.xml Switching from

Re: Migrating app to myfaces2/Trinidad2

2010-07-23 Thread Cédric Durmont
: Hey Cédric, thanks for trying Trinidad2 and MyFaces2. Let me double check on my side. BTW. I hope to get to a 2.0.0-beta release, of Trinidad, next week -Matthias On Fri, Jul 23, 2010 at 3:15 PM, Cédric Durmont cdurm...@gmail.com wrote: Hello, I'm trying to switch my app from myfaces

Re: Combining tr: tags with standard HTML elements such as div and span for example

2010-07-05 Thread Cédric Durmont
Mixing jsf tags and regular html has not always been possible (jsf 1.1 maybe ?). Nowadays you can happily mix jsf and xhtml tags. Regards, Cedric Durmont 2010/7/5 Dmitry Barsukov dbarsu...@gmail.com Hi All, Here is the question for Trinidad experts. We are extensively using div and span

Re: update values on checkbox click

2010-06-29 Thread Cédric Durmont
Hi Martin, This seems to be the normal JSF behavior. Let me explain : - first, your boolean ra.kmt is false, inputText is present and inputTextArea is not. - after a click on your checkbox, ra.kmt is changed and becomes true. So in the component tree, the inputText component is NOT present

Re: Trinidad table rows need be displayed in expanded mode by default?

2010-06-03 Thread Cédric Durmont
I have 2 suggestions : - replace tr:table with tr:treeTable, and use initiallyExpanded=true (feasible, but there's work to do to have something that resembles what you want) - examine the source code behind the expand all button of your table. Add equivalent javascript code just after the tr:table

Re: Trinidad dialog navigation issue - Help appreciated

2010-05-26 Thread Cédric Durmont
I don't think that dialog: links are supposed to work outside trinidad tags (tr:commandLink and tr:commandButton) Use tr: tags every time you open dialogs (at least you want to have the useWindow attribute, which is trinidad-only) Regards, Cedric 2010/5/25 Venkat Ramanan Viswanathan

Re: [Trinidad] Changing content of form

2010-05-12 Thread Cédric Durmont
I won't say it's the ideal way, but my trick is to use a valueChangeListener on the tr:selectBooleanCheckbox, with immediate=true. When the ValueChangeListener is triggered, I update the list used by the tr:selectOneChoice, and the partialTrigger does the rest. Hope this helps. Regards, Cedric

Re: [Trinidad] Changing content of form

2010-05-12 Thread Cédric Durmont
is required.), detail=(You must enter a value.)] sourceId=j_id30[severity=(ERROR 2), summary=(A value is required.), detail=(You must enter a value.)] Jozef On 12.5.2010 14:03, Cédric Durmont wrote: I won't say it's the ideal way, but my trick is to use a valueChangeListener

Re: [Trinidad] PPR issue with Firefox when returning from Dialog

2010-04-19 Thread Cédric Durmont
I have no idea why it worked with Chrome. I think somehow it triggered a full page reload, but how ? Anyway, as long as it's working, it's not a big issue, is it ? Regards, Cedric 2010/4/19 schneidc simon.w...@gmx.de: Hi Cedric, one of your tips actually helped. The button had no

Re: [Trinidad] PPR issue with Firefox when returning from Dialog

2010-04-16 Thread Cédric Durmont
I don't think I have issues with Firefox and dialogs in my apps. - Do you have an id on the button that starts the dialog, and a partialTrigger attribute on the component you want to refresh ? - Do that button have a returnListener ? I think the button doesn't get refreshed on dialog close if no

Re: [Trinidad] Ecliipse+maven+trinidad build

2010-02-22 Thread Cédric Durmont
Hi Arnold, You could start by making a sample Trinidad project (or use trinidad demo), and add trinidad sources as dependency with m2eclipse. It should enable Eclipse to trace through Trinidad's code. Regards, Cedric Durmont 2010/2/21 apreg ap...@mailbox.hu: I found tutorials about, how to

Re: [Trinidad] forced UTF-8 in PPR responses?

2010-02-12 Thread Cédric Durmont
these guidelines by forcing UTF-8 for XML responses (and other responses, like file-download) My question is why you are using windows-1252 encoding? What is the unavoidable reason? -Andrew On Thu, Feb 11, 2010 at 6:07 AM, Cédric Durmont cdurm...@gmail.com wrote: Hi there, I was wondering

Re: [Trinidad] forced UTF-8 in PPR responses?

2010-02-12 Thread Cédric Durmont
Suite 305 Toronto, Ontario M4J 1L3 Ph/Fax 416 - 410-7569 www.4dm-inc.com Providing solutions through mapping technology -Original Message- From: Cédric Durmont cdurm...@gmail.com Date: Fri, 12 Feb 2010 12:38:39 To: MyFaces Discussionusers@myfaces.apache.org Subject: Re

[Trinidad] forced UTF-8 in PPR responses?

2010-02-11 Thread Cédric Durmont
Hi there, I was wondering : what's the reason why XmlHttpServletResponse forces the response to UTF-8, explicitly ignoring the page's encoding ? I had a project in utf-8 that ran just fine (even with all accents and fancy stuff we have here in France), but I have to switch it to windows-1252 for

[Trinidad] forced UTF-8 in PPR responses?

2010-02-11 Thread Cédric Durmont
Hi there, I was wondering : what's the reason why XmlHttpServletResponse forces the response to UTF-8, explicitly ignoring the page's encoding ? I had a project in utf-8 that ran just fine (even with all accents and fancy stuff we have here in France), but I have to switch it to windows-1252 for

Re: [TRINIDAD] Javascript sendPartialFormPost - how to read param in bean

2009-10-07 Thread Cédric Durmont
I don't know the answer either (and I'd be glad to know it, btw), but what I do is that my javascript code updates form fields (hidden if necessary) with values I want to send back : in jspx : ... function myfunc() { document.getElementById(param1).value=someValue;

Re: Customize rendered code of (Trinidad) JSF components

2009-10-05 Thread Cédric Durmont
Hi Thomas, inputText has an optional attribute to remove these : tr:inputText value=... simple=true/ It should be enough for what you need. Regards, Cedric 2009/10/5 Thomas Hamacher hamac...@project-team.de: Hi @all, I´m pretty new to JSF and like to ask a question concerning customizing