trinidad

How to display only one validation error message with a <tr:panelLabelAndMessage> with MyFaces Trinidad?

Hi, For a registration form I have something simple like: <tr:panelLabelAndMessage label="Zip/City" showRequired="true"> <tr:inputText id="zip" value="#{data['registration'].zipCode}" contentStyle="width:36px" simple="true" required="true" /> <tr:inputText id="city" value="#{data['registrat...

Disable Trinidad's automatic addition of stylesheets

Does anyone knows how to completely disable skinning support in Apache Trinidad? All I need from the solution is to skip sending trinidad-specific CSSes all together. I'm trying to overcome some CSS issues arising from theirs styles (like the one adding 8px top margin on IE with the absolutely highest priority). ...

Using Trinidad in JSF environment

Hi all, I'm facing an unpleasant issue with an JSF based application of mine. Right now i have several xhtml-Files which include / make use the following taglibs: xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:t="http://myfaces.apache.org/tomahawk" xmlns:...

Mixing JSF and Trinidad tags

Hi all, recently I got the Trinidad library going in a JSF based application of mine. (cmp this SO-question) Now I want to include some user interaction, making use of the dialog API. I worked alongside the fairly detailed DevGuide provided with the API, but I'm stuck at the followong point: TrinidadTags work in my JSF-xhtml Pages add...

How to read the table variable from a backing bean in JSF?

Hi, I am using MyFaces Trinidad, and want to create a single page where selection in one table reloads the content of another table to match the selection. The update is triggered by an actionListener in a partialSubmit. Then I wanted the listener in the backing bean to remember the row object of the submit, such that the getter for th...

jsf Trinidad: Change tr:table header

Hi. I have a tr:table with the rowSelection property set to "single". It draws a extra column with a radio buttons inside. But I want to change the text displayed at that column's header. I don't find any property that allow me to accomplish this. I guess I should overwrite some properties file but I haven't found anything on this topic ...

Explain to me the different JSF component libraries relate

Even though i spend whole days developing a JSF application, i've never had any training on the matter and I have to admin I am a still confused how the whole JSF puzzle fits together. JSF just looks a bit thrown together to me. jsf-api jslt facelets myfaces trinidad tobago jsp api I'd be very grateful if anyone could give me a quick...

Trinidad JSF tr:panelPopup opened by js is not working in IE

I'm using Trinidad 1.2.12. I have a jsp page that has a tr:panelPopup. I need to open the popup in certain cases when the page is reloaded. I tried to do this by placing a panelGroupLayout with the appropiate render attribute. Inside of that panel I have the tr:panelPopup and a js function that calls the function that shows the popup. Th...

Passing parameters from trinidad controls to the flow

Hi, I am new to JSF, Facelets, SWF and Trinidad technologies, and I having a problem submitting parameters from the <tr:commandButton> on a xhtml page to the flow (using the <f:param>). The interesting thing is when I use <h:commanButton> instead of the <tr:commandButton>, everything works fine. The reason I need to use trinidad button ...

Inner UI:repeat does not bind to a bean in a nested UI:repeat

HI, I am using nested ui:repeats to display my data. the outer UI:repeat works and binds to bean just fine, but the inner does not bind to the bean. In sumary, I would like to display a list of people where each person has a name and a list of email addresses. Here is my code: <ui:repeat value="#{myFamily.personList}" var="eachPerson" >...

How to freeze or disable an update input form

Hi, I wonder if it is possible for me to freeze or disable the entire update form? I have an input h:form with a check box in it. when users check the box, I would like to freeze or disable the entire form so that disallow users from changing inputs. Thanks, and I am using JSF, Spring Web Flow, Facelets, and Trinidad. ...

Slider Component Using Apache MyFaces

I am using Apache MyFaces Trinidad implementation in my application I currently need a slider component and Trinidad implementation does not have a slider component. Can anyone tell me a way to get around this ?? ...

JBoss RichFaces vs IceFaces vs Apache Trinidad - JSF component libraries comparison

What do you think/use for interface layer? The "backing" layer will be Spring 3. The criteria are : Your private opinion Components Documentation AJAX Integration Browser support Community Tool support (Eclipse, NetBeans) I found some comparison topics but it was about 2007 and old versions. ...

How can I get popup window using commandButton in Trinidad?

How can I get popup window using commandButton in Trinidad? My problem is that by clicking on Add button from dialogdemo.jspx, not any popup window or dialog box is opened. This is dialogdemo.jspx file: <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:f="http://java.sun.com/jsf/core" xmlns:tr="http://myfaces.apa...

JSF/ADF/PPR can't refresh the page as expected

Hi, I am having issues with JSF/ADF/PPR on refreshing the page incorrectly. I have a selectManyCheckBox with 5 options in it, one of the option is 'All'. If users check that checkbox, I should check all the others. <h:panelGrid styleClass="myBox leftAligned" id="applyChangesBox"> <af:selectManyCheckbox id="changesCheckedBox"...

JSF Page does not submit when onclick javascript is added to menu item?

I show some detail using popup windows. I want to close those when the user clicks on sign-out link. I have a JavaScript function that'll close the windows. The sign-out link is rendered using Navigation MenuModel. The definition in faces-config is as below - <managed-bean> <managed-bean-name>signoutNavigation</managed-bean-name> ...

how to hide jsf framework that used in application from users who browse my site?

when i view the source of application in browser i undrestand richfaces or trinidad or ... jsf framework used for developing this application for example in richfaces application.url/a4j/s/3_3_2.SR1org.richfaces.renderkit.html.Paint2DResource shown as src of img tag or in trinidad org.apache.myfaces.trinidad.faces.FORM sho...

Close a dialog using Apache Trinidad

In apache trinidad, I have a popup dialog which contains a single selection table and when a row is selected I want to return the value to the calling jsp and close the dialog. <tr:table ... rowSelection="single" selectionListener="#{medicine.selectCode}" autoSubmit="true" ... in the backing bean I have the ...

How to get user inputs of trinidad componant which are placed in tr:foreach tag?

Hi There, Can any one tell me how do I get user inputs from jsf component which are placed inside tr:foreach tag? I am trying to show multiple table where there are some fields which user can be input for it. I don't know how many table are going to display on page, because that decide at run time. So I put that table tag inside foreac...

JAXB boolean handling oddities and JSF

There is a known bug in JAXB: https://jaxb.dev.java.net/issues/show_bug.cgi?id=733 JAXB does not properly generate boolean field getters and setters, this bug is left unfixed for backwards compatibility. A JAXB plugin exists and will ensure that the following getters and setters for boolean fields are generated: setXXX(Boolean value...