Re: [Trinidad] Concerns about the future of Trinidad

2011-03-05 Thread Rafa Pérez
Well, I think one of the principal problem is that there is not much documentation on Trinidad's internals... it's quite difficult to create a new renderkit if you don't know how to do it. And yes, community it's not very active on Trinidad's development... just see 1.0.x branch is being

Re: [Trinidad] Concerns about the future of Trinidad

2011-03-05 Thread Rafa Pérez
about people. Scott On Mar 5, 2011, at 5:46 AM, Rafa Pérez raja...@gmail.com wrote: Well, I think one of the principal problem is that there is not much documentation on Trinidad's internals... it's quite difficult to create a new renderkit if you don't know how to do it. And yes, community

Re: [TRINIDAD 1.0.12] LocaleSymbols* at LocaleElements*.js files are empty in 1.0.12 release

2010-09-10 Thread Rafa Pérez
/staging_repo/ a vote is going on, on dev@ -M On Wed, Sep 8, 2010 at 5:37 PM, Matthias Wessendorf mat...@apache.org wrote: I am _not_ passed maven ;-) 2010/9/8 Rafa Pérez raja...@gmail.com: Hi Matthias, thank you very much. -- Rafa On Wed, Sep 8, 2010 at 5:16 PM, Matthias Wessendorf mat

Re: [TRINIDAD 1.0.12] LocaleSymbols* at LocaleElements*.js files are empty in 1.0.12 release

2010-09-08 Thread Rafa Pérez
Hi Matthias, thank you very much. -- Rafa On Wed, Sep 8, 2010 at 5:16 PM, Matthias Wessendorf mat...@apache.org wrote: Hello, problem is the build was done w/ java6. Locally I verified that it works with java5 re-running a release (1.0.13), now 2010/2/24 Rafa Pérez raja...@gmail.com

Re: [Trinidad] ReturnListener of dialog isn't (always) called

2010-05-03 Thread Rafa Pérez
Hi, I had some problems like this time ago. If the button is not rendered, the returnListener is not called because the source of the event it is not present yet. HTH, -- Rafa On Mon, May 3, 2010 at 9:59 AM, schneidc simon.w...@gmx.de wrote: Hi, I'm facing the strange problem that the

Re: [Trinidad] ReturnListener of dialog isn't (always) called

2010-05-03 Thread Rafa Pérez
Sorry if I didn't explain. I mean that you must have your buttons rendered after the dialog is closed. This means that the rendered property is true or the ValueExpression evaluates to true. On Mon, May 3, 2010 at 2:51 PM, schneidc simon.w...@gmx.de wrote: Well, but my buttons is rendered as

Re: [Trinidad] Bug in 1.0.12 Javascript ?

2010-03-19 Thread Rafa Pérez
This issue is reported yet: https://issues.apache.org/jira/browse/TRINIDAD-1737 We had to downgrade to 1.0.11. HTH, -- Rafa 2010/3/19 Walter Mourão walter.mou...@gmail.com Hi folks, I'm trying the migration to 1.0.12 to avoid issues with Firefox 3.6. Some of my subforms stopped working

Re: Trinidad:Skins

2010-03-13 Thread Rafa Pérez
Hi, DISABLE_CONTENT_COMPRESSION is useful to figure out what styles are apllied to the components, but you should not use the parsed CSS classes to design your skin, because turning on/off this feature causes the final CSS classes to change. You should always use Trinidad selectors. E.g., if you

Re: [TRINIDAD 1.0.12] LocaleSymbols* at LocaleElements*.js files are empty in 1.0.12 release

2010-02-24 Thread Rafa Pérez
Rafa Pérez raja...@gmail.com: Hi Matthias, yep, .JS are in there... but *inside you have this (1.0.12):* *var LocaleSymbols_en = new LocaleSymbols({ });* TrMessageFactory._TRANSLATIONS={ 'org.apache.myfaces.trinidad.validator.DoubleRangeValidator.NOT_IN_RANGE_detail':'The number

[TRINIDAD 1.0.12] LocaleSymbols* at LocaleElements*.js files are empty in 1.0.12 release

2010-02-23 Thread Rafa Pérez
Hi all, we have been having some problems with PPR since last update of Trinidad. Today, we have seen that Locale*.js files are empty and this is causing our problem. I think there have been some problems with packaging but, how is it possible that no one took care of this?? I think Trinidad

Re: [TRINIDAD 1.0.12] LocaleSymbols* at LocaleElements*.js files are empty in 1.0.12 release

2010-02-23 Thread Rafa Pérez
...@apache.orgwrote: Hey, I just launched demo, all fine. JS in there, e.g: http://localhost:8080/trinidad-demo/adf/jsLibs/resources/LocaleElements_en1_0_11.js?loc=en however, the only problem is the invalid version. Will fix that ;-) -Matthias 2010/2/23 Rafa Pérez raja...@gmail.com: Hi all

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

2010-02-12 Thread Rafa Pérez
Hi, we were having the same problem some time ago. We added a filter to our webapp that checks for the type of request and change the encoding properly. This is, you can call CoreRenderKit.isAjaxRequest(externalContext) to check if it is a PPR request and in that case, you can force the encoding

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

2010-02-12 Thread Rafa Pérez
Good! :D On Fri, Feb 12, 2010 at 4:57 PM, Cédric Durmont cdurm...@gmail.com wrote: Thanks for the tip, Rafa, now it works like a charm :o) Could not find how to get an ExternalContext from inside a filter, however. So my test is : if

Re: [Trinidad 1.0.11] Skinning: extends is not working (or at least, not fully)

2010-02-02 Thread Rafa Pérez
is incomplete, but I think the implementation isn't complete either. Hope this helps, although it is probably not the answer you hoped for... Good luck! Best regards, Bart Kummel 2010/1/29 Rafa Pérez raja...@gmail.com Hi all, I have been reading about the extending facilities

[Trinidad 1.0.11] Skinning: extends is not working (or at least, not fully)

2010-01-29 Thread Rafa Pérez
Hi all, I have been reading about the extending facilities for skinning in Trinidad. I have created one skin as basis and then have created another one just to override a couple of styles. My configuration is as follows: - In trinidad-config.xml: ?xml version=1.0 encoding=windows-1252?

Re: [Trinidad] Cannot Add Item to SelectManyShuttle After Initial Rendering

2009-12-11 Thread Rafa Pérez
Maybe you can force an update of the SelectItems via PPR when the new item is added. This way, you can handle this element at server side. HTH, -- Rafa On Fri, Dec 11, 2009 at 11:14 AM, Jakob Korherr jakob.korh...@gmail.comwrote: Hi Gregg, The problem is, that the SelectItem, which you add

Re: How can we use both Trinidad Tobago JSF libraries together in a same project?

2009-10-19 Thread Rafa Pérez
AFAIK, it is not possible to use Trinidad and Tobago together. On Mon, Oct 19, 2009 at 9:53 AM, Papia papia.dasti...@yahoo.com wrote: Hi All, We are using JSF Trinidad library in our project. And we have a certain requirement for which I wanted to use few features of Tobago library in the

Re: Show an ArrayListString in a tr:table

2009-10-06 Thread Rafa Pérez
You should have tr:table var=row value=#{ImageBean.allImages} HTH, -- Rafa On Tue, Oct 6, 2009 at 3:00 PM, baeschtu baeschtu baesc...@gmail.comwrote: I would like to show some Strings in a tr:table I tried the following with an ImageBean.java .. public ListString getAllImages() {

[TRINIDAD 1.0.11] Why XmlHttpServletRequest is forcing encoding to 'UTF-8'??

2009-10-05 Thread Rafa Pérez
Hi all, we are using Trinidad 1.0.11. Our application uses data and jsps encoded in ISO-8859-15 for some reasons and we have tried to force this encoding on all the requests. However, I have noticed that XmlHttpServletRequest on trinidad-impl.jar forces all PPR requests to be encoded in 'UTF-8'.

Re: [Trinidad] 1.0.11 release candidate - please test

2009-08-26 Thread Rafa Pérez
We also have an 1.0.x application, will let you know... Thanks Matthias. On Wed, Aug 26, 2009 at 9:21 AM, Paul Mander paul.s.man...@gmail.comwrote: Thanks Matthias, We have a 1.0.x application (WebSphere 6.1, myfaces 1.1.15). I'll run through the app and let you know. Matthias

Re: [Trinidad] 1.0.11 release candidate - please test

2009-08-26 Thread Rafa Pérez
Everything seems to be ok with our application. Regards, -- Rafa On Wed, Aug 26, 2009 at 10:33 AM, Matthias Wessendorf mat...@apache.orgwrote: On Wed, Aug 26, 2009 at 10:30 AM, Paul Manderpaul.s.man...@gmail.com wrote: Matthias Wessendorf-4 wrote: On Wed, Aug 26, 2009 at 10:08 AM,

[TRINIDAD] Plans on 1.0.11 release

2009-08-24 Thread Rafa Pérez
Hi all, is there a date for the 1.0.11 version of Trinidad to be released? Regards, -- Rafa

Re: [Trinidad] Problems with tr:table SelectionEvent

2009-06-22 Thread Rafa Pérez
Any comments on this? 2009/5/12 Rafa Pérez raja...@gmail.com Yes, I thought about this, but if there is only one element in the table (only one result for a search or only one element in the current page of the navigation range), you can not know what happened... Any hints? Thanks

Re: [Trinidad] Problems with tr:table SelectionEvent

2009-05-12 Thread Rafa Pérez
' or 'select none' was clicked. Regards, Marco Rafa Pérez wrote: I need to distinguish between a SelectionEvent delivered when a checkbox is ckecked or when 'Select all' or 'Select None' is clicked. I have been looking into the code and the examples but have not found anything yet (I am

[Trinidad] Problems with tr:table SelectionEvent

2009-05-11 Thread Rafa Pérez
Hi all, I need to distinguish between a SelectionEvent delivered when a checkbox is ckecked or when 'Select all' or 'Select None' is clicked. I have been looking into the code and the examples but have not found anything yet (I am surprised that nobody ever needed this feature...). I have been

Re: JSF EL Problem

2009-04-04 Thread Rafa Pérez
It seems like getMemberSSN() returns neither a Map nor a List but a String. And you are trying to access the value '10' inside that String... HTH, -- Rafa On Sat, Apr 4, 2009 at 3:01 AM, JavaRunner randomno...@bellsouth.netwrote: Well, I tried that and this is what I

Re: [Trinidad] How to detect that we are in a dialog?

2009-03-30 Thread Rafa Pérez
} to=#{pageFlowScope.dialogFlag} / /tr:commandButton Cheers, Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br 2009/3/26 Rafa Pérez raja...@gmail.com Hi all, we have several pages that can be opened either in the normal flow of the application or as dialogs

Re: [Trinidad] How to detect that we are in a dialog?

2009-03-30 Thread Rafa Pérez
Walter Mourão walter.mou...@gmail.com If you're using a backing bean action to differentiate the kind of navigation, use the same action to set the flag in the page flow scope. Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br 2009/3/30 Rafa Pérez raja

[Trinidad] How to detect that we are in a dialog?

2009-03-26 Thread Rafa Pérez
Hi all, we have several pages that can be opened either in the normal flow of the application or as dialogs. Is it possible to programmattically know if a window is opened as a dialog? Thanks in advance, -- Rafa PS: We are using Trinidad 1.0.10 and MyFaces 1.1.6

Re: Javascript in button element

2009-03-26 Thread Rafa Pérez
Parent page? If you are inside a dialog, then you can define a returnListener method in the opener button to execute some logic when the dialog is closed. HTH, -- Rafa On Thu, Mar 26, 2009 at 2:54 PM, drizzo danilo.ri...@accenture.com wrote: i should notify to parent page the result of the

[TRINIDAD] Link broken in site

2009-02-25 Thread Rafa Pérez
Hi all. This link seems to be broken http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_inputFile.html should I file a bug? Regards, -- Rafa

Re: [Trinidad] Using skinning

2009-02-24 Thread Rafa Pérez
Try changing in you trinidad-config.xml  style-sheet-nameskins/aqua/aqua.cssstyle-sheet-name to style-sheet-name/skins/aqua/aqua.cssstyle-sheet-name HTH, -- Rafa On Tue, Feb 24, 2009 at 10:55 PM, Lars Vogel lars.vo...@googlemail.com wrote: Hi, my little example application does not

Re: [Trinidad] Stamping of components once per column in a single row

2009-02-03 Thread Rafa Pérez
You can add the two components (inputText and inputDate) to the column and use the rendered attribute to show or hide them depending on the row var. HTH, -- Rafa On Tue, Feb 3, 2009 at 10:32 AM, dushyant agarwal agarwal_dushy...@yahoo.co.in wrote: Hi, I have a situation where I need to

Re: [Trinidad] Using window.opener with Dialog Framework

2008-12-15 Thread Rafa Pérez
tr:commandButton has an attribute 'returnListener' that points to a method in the backing bean that gets executed when the dialog is closed, i.e., when RequestContext.getCurrentInstance().returnFromDialog() is called. Maybe this is what you need. HTH, -- Rafa On Mon, Dec 15, 2008 at 10:46 AM,

Re: Dynamic ID with el not working

2008-11-26 Thread Rafa Pérez
AFAIK, component's and tag's id can't be set by EL. It shouldn't be neccesary. On Wed, Nov 26, 2008 at 10:26 AM, jhomuth [EMAIL PROTECTED] wrote: Hello List, it's strange, I wanted to ask the same question at the same moment. I also try to set the id from a controller value via EL. But the EL

Re: [TRINIDAD] Problem with PPR using autoSubmit and ValueChangeListener

2008-10-20 Thread Rafa Pérez
Try adding the partialTriggers to the panelFormLayout. HTH, --Rafa On Sat, Oct 18, 2008 at 10:33 PM, Amaris Nieves [EMAIL PROTECTED] wrote: No, there's no message in the server. I'm going to try the addPartialTarget(). Thanks. On Fri, Oct 17, 2008 at 11:57 PM, dushyant agarwal [EMAIL

Re: [TRINIDAD] Skinning for different agents

2008-10-17 Thread Rafa Pérez
Maybe there is a bug in the documentation at http://myfaces.apache.org/trinidad/devguide/skinning.html ?? In the section named 'Skining CSS Features' we can see: /* for ie 5 and 6, we also need some margins.*/ @agent ie (version: 5) and (version: 6) {

Re: default value in tr:selectOneChoice

2008-09-17 Thread Rafa Pérez
Try changing tr:forEach var=year begin=#0 end=10 tr:selectItem label=#{year} value=#{year} / /tr:forEach for: f:selectItems value=#{bean.selectItemArray} / And in the bean add (with its getter and setter): private SelectItem[] selectItemArray; Then, to load

[Trinidad] How to show all the rows in a table programmatically

2008-09-05 Thread Rafa Pérez
Hi all, I need for some reasons to change programmatically the number of rows showed by a tr:table. I have been looking through the docs and have seen that it is possible to configure the first element in the range and the number of rows to show, but I can not figure out how to make a Show all

Re: access names of called actions and beans

2008-07-02 Thread Rafa Pérez
You can declare your own global ActionListener in faces-config.xml. Every time an action/actionListener is executed, this class will be called. On Tue, Jul 1, 2008 at 9:46 PM, Richard Yee [EMAIL PROTECTED] wrote: If you are using Spring, you can also easily do it with AOP. -Richard On Tue,

Re: access names of called actions and beans

2008-07-02 Thread Rafa Pérez
ActionListener work? I defined one in the faces-config and it's processAction method is called. But the action/actionListener of my commands are not executed anymore! Michael -Original Message- From: Rafa Pérez [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 2. Juli 2008 08:29 To: MyFaces

Re: [Trinidad] Default selection for Table

2008-06-12 Thread Rafa Pérez
RowKeySetImpl;. I need to set the first Radio button as selected in the table by defauld. What should be the value for the seleccion here? Reply me at ([EMAIL PROTECTED]). Many thanks in advance..! Regards, Siva *Re: [Trinidad] Default selection for Table* Rafa Pérez Mon, 19 Nov

Re: [Trinidad] How to change the first day of week in an tr:inputDate

2008-06-05 Thread Rafa Pérez
Lessard [EMAIL PROTECTED] wrote: Hello Rafa, It's currently impossible, but there's a JIRA ticket about this already, so it'll be added eventually. Sorry, ~ Simon On Tue, Jun 3, 2008 at 12:21 PM, Rafa Pérez [EMAIL PROTECTED] wrote: Hi all, I have just figured out that tr:inputDate shows

Re: [Trinidad] How to change the first day of week in an tr:inputDate

2008-06-05 Thread Rafa Pérez
Patch added. On Thu, Jun 5, 2008 at 2:37 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: Hi, On Thu, Jun 5, 2008 at 2:29 PM, Rafa Pérez [EMAIL PROTECTED] wrote: Hi Simon, I have been searching the related issue (TRINIDAD-634) and changing the code to make it work properly. I would like

Re: [Trinidad] How to change the first day of week in an tr:inputDate

2008-06-05 Thread Rafa Pérez
Nice to help, only hope it works ok!! :D On Thu, Jun 5, 2008 at 4:40 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: saw that. will check the patch soon. Thanks! On Thu, Jun 5, 2008 at 4:02 PM, Rafa Pérez [EMAIL PROTECTED] wrote: Patch added. On Thu, Jun 5, 2008 at 2:37 PM, Matthias

[Trinidad] How to change the first day of week in an tr:inputDate

2008-06-03 Thread Rafa Pérez
Hi all, I have just figured out that tr:inputDate shows Sunday as the first day of the week. How could this be changed to set Monday as the first day of the week? Thanks in advance, -- Rafa

Re: [Trinidad] Selecting a row in tr:table by clicking on the row

2008-05-29 Thread Rafa Pérez
Hi all, tr:column has an 'onclick' attribute that you may set. HTH, -- Rafa On Thu, May 29, 2008 at 4:08 PM, Rottstock, Sven [EMAIL PROTECTED] wrote: Upps - forget it. It doesn't work. Sorry SunGard Europa 2008: Complexity, Compliance Cost Steigende

Re: tr:table row selection javascript

2008-05-07 Thread Rafa Pérez
Hi, tr:table has an attribute autoSubmit that sends an org.apache.myfaces.trinidad.event.SelectionEvent when a row is selected. You just need to declare a selection listener in your backing bean, e.g. public void selectionListener(org.apache.myfaces.trinidad.event.SelectionEvent event) { } HTH,

Re: Pretty urls

2008-05-04 Thread Rafa Pérez
Hi, if you need all your URLs to be bookmarkables, maybe JSF is not a good option. I think JSF is a standard that tries to make development of web applications more in a desktop application development way. Thus, JSF provides different mechanisms than JSP and therefore a change on the way it is

Re: [TRINIDAD] PPR not blocking user input in IE7

2008-04-30 Thread Rafa Pérez
filed on Trinidad handling multiple PPRs in general, for reference. https://issues.apache.org/jira/browse/TRINIDAD-1053 Thanks, Yee-Wah Rafa Pérez wrote: Hi all, I have a selectOneChoice with autoSubmit=true in my jsp. When it changes, a PPR event is send to the server, who performs

Re: [TRINIDAD] PPR not blocking user input in IE7

2008-04-30 Thread Rafa Pérez
On Wed, Apr 30, 2008 at 8:25 AM, Rafa Pérez [EMAIL PROTECTED] wrote: Thanks for your information. I will issue a JIRA. On Tue, Apr 29, 2008 at 10:45 PM, Yee-wah Lee [EMAIL PROTECTED] wrote: Hi Rafa, Please go ahead and file a JIRA. I suspect this may have been introduced by my

Re: [TRINIDAD] PPR not blocking user input in IE7

2008-04-30 Thread Rafa Pérez
Further reading, I think TRINIDAD-1053 is the issue I am facing... On Wed, Apr 30, 2008 at 8:25 AM, Rafa Pérez [EMAIL PROTECTED] wrote: Thanks for your information. I will issue a JIRA. On Tue, Apr 29, 2008 at 10:45 PM, Yee-wah Lee [EMAIL PROTECTED] wrote: Hi Rafa, Please go ahead

[TRINIDAD] PPR not blocking user input in IE7

2008-04-28 Thread Rafa Pérez
Hi all, I have a selectOneChoice with autoSubmit=true in my jsp. When it changes, a PPR event is send to the server, who performs a search and fill another selectOneChoice. In IE7, if I click on a commandButton just before the PPR cycle is completed, the submit event takes place and an

Re: [Trinidad] inputText special characters

2008-04-11 Thread Rafa Pérez
I had the same problem. I do not know why, but in the very first request, the character encoding of the request is UTF-8 and if you have configured your application to use ISO-8859-1, it gets ignored. The only solution I found was to introduce a filter for setting the charset, something like

Re: [Trinidad]

2008-04-10 Thread Rafa Pérez
AFAIK it is not possible at the moment. On Mon, Apr 7, 2008 at 6:24 PM, Leng, William [EMAIL PROTECTED] wrote: Does anyone know how to place the control bar of a tr:table at the bottom instead of the top? Thanks Bill CONFIDENTIALITY NOTICE: The information contained in this

Re: Facelets and JSTL

2008-04-09 Thread Rafa Pérez
Andrew Robinson wrote an excellent post on his blog about this http://andrewfacelets.blogspot.com/2008_03_01_archive.html On Wed, Apr 9, 2008 at 1:09 PM, James Clinton [EMAIL PROTECTED] wrote: Has anyone successfully used JSTL tags with Facelets...This worked for me when using JSP without

Re: [Trinidad] tr:selectBooleanCheckbox does not update Entity

2008-04-08 Thread Rafa Pérez
Hi Bart, can you post more code of the jsp, bean and the entity? Hi Jeroen, why are you using binding? Depending on the scope of the backing bean, it is possible that it does not store the correct values. If you make use of component binding, you should make your backing bean request scoped.

Re: View build time vs. component render time

2008-03-19 Thread Rafa Pérez
Nice post! On Tue, Mar 18, 2008 at 11:19 PM, Andrew Robinson [EMAIL PROTECTED] wrote: Since there are a lot of questions on these mailing lists about the JSTL tags and how they effect JSF pages, I decided to blog about it to hopefully clear some things up. Here is the first version:

Re: new to myfaces / editable datatable

2008-02-22 Thread Rafa Pérez
You just have to convert your h:outputText to h:inputText. This way, you can modify the values of every row. HTH, - - Rafa On Fri, Feb 22, 2008 at 3:21 AM, jnl1 [EMAIL PROTECTED] wrote: hi all... i'm new to myFaces (inherited application). currently, there's a page that's has search

Re: Editable DataTable

2008-02-21 Thread Rafa Pérez
) methods. You may need to use number converters with the age to work with different number types. -Andrew On Wed, Feb 20, 2008 at 12:48 AM, Rafa Pérez [EMAIL PROTECTED] wrote: This is not neccesary. Because of the ValueBinding for the InputText, when you submit the form every object

Re: [Trinidad] Is it possible to style the options in a SelectOneChoice?

2008-02-20 Thread Rafa Pérez
of the tr:selectItem doesn't seem to be rendered (which might be a bug...)) Regards, Carsten Rafa Pérez wrote: Hi all, I need to change the style (background color or font color) to some options inside a SelectOneChoice. I have been reading the documentation and it seems

Re: [Trinidad] Is it possible to style the options in a SelectOneChoice?

2008-02-20 Thread Rafa Pérez
Done. https://issues.apache.org/jira/browse/TRINIDAD-962 Thanks! On Wed, Feb 20, 2008 at 5:33 PM, Andrew Robinson [EMAIL PROTECTED] wrote: yes, that is right, I need to style only some options. Should I file a enhancement bug? My vote is yes, file one

Re: Editable DataTable

2008-02-19 Thread Rafa Pérez
This is not neccesary. Because of the ValueBinding for the InputText, when you submit the form every object of the list of persons gets updated with the values you entered in the table. This way, you only have to do: for(Person person : persons) { System.out.println(person.getName());

Re: [Trinidad] PPR and inputDate problems

2008-02-11 Thread Rafa Pérez
Could you change your h:dataTable for a tr:table?? Just to see what happens... On Feb 11, 2008 8:30 AM, Shane Petroff [EMAIL PROTECTED] wrote: Andrew Robinson wrote: Subform is a naming container, so you will have to give it an ID and use colons to get out and back in. OK, when I tried,

Re: [Trinidad] PPR and inputDate problems

2008-02-07 Thread Rafa Pérez
Hi, do not know exactly why, but we had to add to web.xml context-param param-namejavax.faces.DEFAULT_SUFFIX/param-name param-value.jsp/param-value /context-param in order to make inputDate and popups work properly. Otherwise, I have read about some problems on using jsp instead of jspx.

Re: [Trinidad] Tags aren't getting rendered (but I can see them when I go to view-source)

2008-02-07 Thread Rafa Pérez
Hi, I had similar problems after changing some configuration on web.xml. Take a second look at it. You may clean the work directory on tomcat (or cache directory elsewere) and stop server too. Regards, - - Rafa On Feb 7, 2008 3:25 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: hey please

Re: [Trinidad] Background image

2008-02-07 Thread Rafa Pérez
Hi, just look on trinidad's site for skinning: http://myfaces.apache.org/trinidad/skin-selectors.html On Feb 7, 2008 8:15 PM, Edward Dowgiallo [EMAIL PROTECTED] wrote: I am using tr:panelPage to setup my basic page structure. I'd like to add a background image that extends across the

Re: [Trinidad] Lightweight dialogs broken in 1.0.4?

2008-02-05 Thread Rafa Pérez
by TRINIDAD-875 is an issue in view of opera. which browser are you using? regards, gerhard 2008/2/5, Rafa Pérez [EMAIL PROTECTED]: Hi all, I have set trinidad 1.0.4 to show lightweight dialogs. I am facing some problems related to them when setting partialSubmit=true

[Trinidad] Is there any way to disable selection on a table?

2008-01-29 Thread Rafa Pérez
Hi all, Is it possible to show a table with rowSelection=multiple that shows the selection checkboxes disabled? In ADF it was possible because of selection was a component and it was possible to disable it, but I think this is not possible in ADF without using javascript. Am I right? Regards, -

Re: [Trinidad] How to show a FacesMessage inside a custom UploadFileProcessor?

2008-01-28 Thread Rafa Pérez
* input-file comp. I haven't really spent time on it, but there is this bug: http://issues.apache.org/jira/browse/TRINIDAD-607 and we are aware of the related issues; -M On Jan 24, 2008 11:05 AM, Rafa Pérez [EMAIL PROTECTED] wrote: Thanks for your help Matthias. I will try to override

Re: Trinidad 404 error: requested resource (/tutoring/__ADFv__.jsp) is not available

2008-01-28 Thread Rafa Pérez
Not sure, but I think we had a similar problem and apart from changing the mapping, we had to include context-param param-namejavax.faces.DEFAULT_SUFFIX/param-name param-value.jsp/param-value /context-param in web.xml. HTH On Jan 29, 2008 8:22 AM, Wolf Benz [EMAIL PROTECTED]

[Trinidad] How to show a FacesMessage inside a custom UploadFileProcessor?

2008-01-24 Thread Rafa Pérez
Hi all, We are trying to implement a custom UploadFileProcessor to be able to show a message to the user when the file he wants to upload is too large to be handled by Trinidad. By now, Trinidad throws an EOFException, but it can not be handled in anyway, isn't it? How could we show a

Re: [Trinidad] How to show a FacesMessage inside a custom UploadFileProcessor?

2008-01-24 Thread Rafa Pérez
for the error @Override public Object getConvertedValue( FacesContext context, UIComponent component, Object submittedValue) { //check for the error } let me try this on our side as well. -Matthias On Jan 24, 2008 2:30 AM, Rafa Pérez [EMAIL

Re: [TRINIDAD] How to cancel a ValueChangeEvent

2008-01-14 Thread Rafa Pérez
and I will try to explain better. Thanks in advance for any advices, - - Rafa On Jan 15, 2008 7:19 AM, Matthias Wessendorf [EMAIL PROTECTED] wrote: have you tried the resetValue() (available via UIXEditableValue component) On Jan 13, 2008 11:43 PM, Rafa Pérez [EMAIL PROTECTED] wrote: Hi

[TRINIDAD] How to cancel a ValueChangeEvent

2008-01-13 Thread Rafa Pérez
Hi all, I have a ValueChangeListener in my bean that takes the new value of an inputText and performs a search against a database. If this search has no results, it should display a FacesMessage and also clear the inputText. I cannot clean the input's value or set it to its previous value. Is

Re: (Trinidad) Tabindex for input fields

2008-01-08 Thread Rafa Pérez
I also think that it would be very useful. On Jan 8, 2008 5:29 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: +1 to such an enhancement. -M On Jan 8, 2008 8:09 AM, Andrew Robinson [EMAIL PROTECTED] wrote: Submit an enhancement jira to add tabindex. It will be very easy to implement

Re: [Trinidad] Are compatibles Trinidad and Tobago?

2007-12-20 Thread Rafa Pérez
Thanks! On Dec 20, 2007 10:12 AM, Martin Marinschek [EMAIL PROTECTED] wrote: Hi Rafa, Tomahawk should be compatible, Tobago is not. regards, Martin On 12/18/07, Rafa Pérez [EMAIL PROTECTED] wrote: Hello all, I am developing an application based on MyFaces 1.1.5, Trinidad 1.1.4and

[Trinidad] Are compatibles Trinidad and Tobago?

2007-12-18 Thread Rafa Pérez
Hello all, I am developing an application based on MyFaces 1.1.5, Trinidad 1.1.4 and JBoss Seam. I have been browsing MyFaces' project stack and have found some interesting components whose features are not present yet in Trinidad. The question is, are all of this component libraries compatible?

Re: [Trinidad] Custom Renderer for Trinidad Components

2007-12-06 Thread Rafa Pérez
Hi all, I had a similar problem with a custom renderer for panelBox and SelectManyListbox and discovered that the render kit that was being used was DesktopRenderKit. Try it. HTH, - - Rafa On Dec 5, 2007 8:41 PM, Leonardo Uribe [EMAIL PROTECTED] wrote: Really not. The renderer should be

Re: [Trinidad] Default selection for Table

2007-11-19 Thread Rafa Pérez
You are welcome! ;) On Nov 19, 2007 7:24 AM, Curtney Jacobs [EMAIL PROTECTED] wrote: Oh! I got it now. Thanks Rafa :-) On Sun, 2007-11-18 at 23:24 +0100, Rafa Pérez wrote: Hi, What does getContactMethod() returns? You may add to the RowKeySet the index of the row, not the object

Re: [Trinidad] Default selection for Table

2007-11-18 Thread Rafa Pérez
when the page is rendered. I tried calling: tableSelection.invert(getContactMethod()); or tableSelection.add(getContactMethod()); however, it does not work. By debuging, I can see that the object is in the set, however nothing is selected in the UI. On Friday 16 November 2007 01:34, Rafa

Re: [Trinidad] Default selection for Table

2007-11-16 Thread Rafa Pérez
Hi, You have at least two options: a) Link the table's selection state to the controller. @Name(controlador) public class Controller { .. RowKeySet seleccion = new RowKeySetImpl; //with its get set .. } and at you jsp: tr:table rowSelection=single selectedRowKeys=#{controlador.seleccion} ...

[Trinidad] Errors on displayed value of coreInputText

2007-11-16 Thread Rafa Pérez
Hi all, I updated Trinidad to 1.0.4 and I am facing some problems whit special chars (did not realize if it was happening in 1.0.3 too). If I insert into the input text something like íóúé and then press an action button that refreshes the page, the value of the input changes and becomes strange

Re: [Tinidad] Problems with tr:table selection and sorting

2007-11-13 Thread Rafa Pérez
Yes, that is right. On Nov 9, 2007 1:25 PM, Simon Kitching [EMAIL PROTECTED] wrote: Rafa Pérez [EMAIL PROTECTED] schrieb: Hi all, I am facing some problems with table selection if I reorder the table by clicking on one column. That moment on, the selected rows

Re: [Trinidad] Table expert, anyone?

2007-11-13 Thread Rafa Pérez
Hi Gerhard, yes, the table's value was backed in an ArrayList in the controller. This list could be modified and reordered, and it makes me think that the bug you mentioned is the one I have been suffering. In ADF this worked as expected. On the other hand, I have been able to workaround this

Re: passing url parameters in jsf action method

2007-11-13 Thread Rafa Pérez
Hi, I suppose you mean doing something like: tr:commandButton action=#{bean.someAction('parameter')} / If so, in Seam there is a custom ELResolver that lets you pass parameters into action methods. HTH, - - Rafa On Nov 13, 2007 4:22 PM, Gerhard Petracek [EMAIL PROTECTED] wrote: hello marc,

[Trinidad] Problems with buttons that launch dialogs on facet=actions

2007-11-12 Thread Rafa Pérez
Hi all, I have a problem with buttons that launch dialogs. I place a CommandButton or CommandLink inside facet=actions of a tr:table in this way: tr:table id=tabla rows=10 rowBandingInterval=1 columnBandingInterval=0 selectionListener=#{accionBean.seleccionar}

Re: [Trinidad] Table expert, anyone?

2007-11-12 Thread Rafa Pérez
Hi Gerhard, I posted a question a couple days ago about this issue but get no answer. Could you tell me what is the number of the bug? Regards, - - Rafa On Nov 13, 2007 1:28 AM, Stephen Friedrich [EMAIL PROTECTED] wrote: Fair enough. Thanks for staying with me. PPR on or off does not make

[Tinidad] Problems with tr:table selection and sorting

2007-11-09 Thread Rafa Pérez
Hi all, I am facing some problems with table selection if I reorder the table by clicking on one column. That moment on, the selected rows are not the expected. For example, if I have this table: letter | name - a| paco b| manolo c| lucas After

Re: Selenium and badboy on JSF

2007-11-05 Thread Rafa Pérez
You may assign a fixed id to any component you want to test. This makes you can always refer to the same component with the same id. HTH, - - Rafa On Nov 5, 2007 8:12 PM, Yaron Spektor [EMAIL PROTECTED] wrote: Hi, I was trying out Selenium and badboy today. I couldn't make any of them

Re: [Trinidad] How to define a custom renderer for panelBox

2007-11-02 Thread Rafa Pérez
to render the panelBox, the default Trinidad's PanelBoxRenderer is the one who gets used, not the custom one. Maybe this is a bug, or maybe I am misunderstanding anything. I am using Myfaces 1.1.5 and Trinidad 1.0.3. Thanks in advance, - - Rafa On Oct 25, 2007 12:54 PM, Rafa Pérez [EMAIL PROTECTED

[Trinidad] How to define a custom renderer for panelBox

2007-10-25 Thread Rafa Pérez
Hi all, I am using panelBox as container for some links in our jsp's. Looking into the generated HTML for this component I can see the following: !--Start: org.apache.myfaces.trinidad.Panel[_idJsp129]-- table class=af_panelBox_dark style= border=0 cellpadding=0 cellspacing=0 tbody tr

Re: [Trinidad] How to define a custom renderer for panelBox

2007-10-25 Thread Rafa Pérez
, - - Rafa On 10/25/07, Michael Borchert [EMAIL PROTECTED] wrote: Hello, I'm currently setting inlineStyle and contentStyle to fixed width. contentStyle = inlineStyle width - graphics width. Michael Am Donnerstag, den 25.10.2007, 10:15 +0200 schrieb Rafa Pérez: Hi all, I am using panelBox

[Trinidad] Problems with dialogs

2007-10-24 Thread Rafa Pérez
Hi all, My scenario: MyFaces 1.1.5 Trinidad 1.0.3 Seam 1.2.1 I am trying to migrate our application from ADF to Trinidad. Besides the API changes, it's been a smooth change except for the dialogs. I have been googling and found some discussions about problems with dialogs and mappings, and

Re: [Trinidad] Problems with dialogs

2007-10-24 Thread Rafa Pérez
, never really used Seam. Do you notice some logging statements, like warnings ? Greetings, M On 10/24/07, Rafa Pérez [EMAIL PROTECTED] wrote: Hi all, My scenario: MyFaces 1.1.5 Trinidad 1.0.3 Seam 1.2.1 I am trying to migrate our application from ADF to Trinidad. Besides

Re: [Trinidad] Problems with dialogs

2007-10-24 Thread Rafa Pérez
Hi all, the problem was... mine. Sorry for the noise. Filter mappings by extension were not the problem, as you pointed. I forgot to translate the jsp form adf to trinidad... Thanks for all, - - Rafa On 10/24/07, Rafa Pérez [EMAIL PROTECTED] wrote: No, neither logging warnings or errors. I