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

2011-11-02 Thread Matt Cooper
My guess is there is some other more specific rule applying to the element, please see this for more details: http://www.w3.org/TR/REC-CSS2/cascade.html#specificity In other words, I suspect that a selector definition like the following would be more specific and would win: .anchorlinks.OraLink

Documentation for Trinidad 2

2011-10-14 Thread Matt Cooper
According to http://myfaces.apache.org/trinidad/download.html Apache MyFaces Trinidad 2.0.0 is released. The Javadoc is still showing version 1.2.x: http://myfaces.apache.org/trinidad/trinidad-api/apidocs/index.html In the past version 1.0.x was under a URL like:

Re: ViewExpiredException only in some IE8

2011-06-13 Thread Matt Cooper
I believe that if you are seeing a different browser mode for localhost vs. machinename then this is either coming from the IE compatibility view preferences where the user has chosen to run pages from a given domain in compatibility view or the domain is listed in one of Microsoft's xml files

Re: [Trinidad] Sort Meta Tags

2010-09-29 Thread Matt Cooper
That generator meta tag is redundant with the comment that can appear at the bottom of the page and is also listed as one of the types that is not recommended at http://www.webmarketingnow.com/tips/meta-tags-uncovered.html I would suggest that it should never be drawn. However, you would still

Re: Re: Bottom Pagination in Trinidad Table

2010-05-27 Thread Matt Cooper
This might be the same thing but there is an open issue filed to support the equivalent of the old 10g ADF Faces skin property af|table{ -ora-repeat-control-bar: true; } for the tr:table tag: https://issues.apache.org/jira/browse/TRINIDAD-885 If anyone can submit a patch, it would be appreciated.

Re: PanelGrid Vs Html Table

2010-01-06 Thread Matt Cooper
If you need to support users that use assistive technology (e.g. screen readers) then be sure to specify summary= on the table element if the purpose of the table is solely for layout. If it is for a data table then the summary should describe the nature of the table in 1-3 sentences. Regards,

Re: tr:inputFile with panelGroupLayout

2009-07-13 Thread Matt Cooper
in the code, then please feel free to point it out. -Anuj On Tue, Jul 7, 2009 at 9:57 AM, Matt Cooper mcoo...@apache.org wrote: The behavior described sounds like there might be some invalid HTML on the page. If you have any other component libraries or any custom HTML in this page, I would

Re: tr:inputFile with panelGroupLayout

2009-07-13 Thread Matt Cooper
at all? -Anuj On Mon, Jul 13, 2009 at 3:47 PM, Matt Cooper mcoo...@apache.org wrote: Hi Anuj, Your test page seems to be okay. In your first email, there is this style: display:none Perhaps either the faces message didn't get assigned to the inputFile component or maybe the inputFile

Re: tr:inputFile with panelGroupLayout

2009-07-07 Thread Matt Cooper
The behavior described sounds like there might be some invalid HTML on the page. If you have any other component libraries or any custom HTML in this page, I would recommend trying to remove them temporarily to isolate the problem. If certain pieces of the page are not showing up but their

Re: Formatting content with af_navigationPane_bar-content

2009-03-18 Thread Matt Cooper
Hi Jan, In CSS, the selectors are ranked such that the most specific style will take precidence over a lesser-specific style. It isn't just the order in which the selectors appear in the CSS file (that only counts if the selectors have equal specificity). There are many different factors that

Re: [Trinidad] UIXGroup inside HtmlRowLayout is leading to INVALID HTML if it contains HtmlCellFormat(s)

2009-03-06 Thread Matt Cooper
Hi Marco, Actually I think RowLayoutRenderer just needs to perform the UIXComponent.processFlattenedChildren() just like is done in PanelFormLayoutRenderer to supports component flattening. This would give you that effect that you desire but also will flatten a tr:iterator wrappers. Regards,

Re: [Trinidad] UIXGroup inside HtmlRowLayout is leading to INVALID HTML if it contains HtmlCellFormat(s)

2009-03-06 Thread Matt Cooper
On Fri, Mar 6, 2009 at 8:34 AM, Matt Cooper mcoo...@apache.org wrote: Hi Marco, Actually I think RowLayoutRenderer just needs to perform the UIXComponent.processFlattenedChildren() just like is done in PanelFormLayoutRenderer to supports component flattening. This would give you that effect

Re: [Trinidad] Can I see which skin should get / is selected?

2009-02-24 Thread Matt Cooper
Hi Lars, If you view the page source, you can see what the active skin is. For example if you go to: http://www.irian.at/trinidad-demo/faces/index.jspx it shows the following at the bottom of the page's source: !--Created by Apache Trinidad (Apache MyFaces Trinidad API - 1.0.8-SNAPSHOT/Apache

Re: [Trinidad] Can I see which skin should get / is selected?

2009-02-24 Thread Matt Cooper
/skin/Skin.htmlobject: RenderingContext.getCurrentInstance().getSkin(); From that you can get the skin family or skin ID. Regards, Matt On Tue, Feb 24, 2009 at 9:22 AM, Matt Cooper mcoo...@apache.org wrote: Hi Lars, If you view the page source, you can see what the active skin is. For example

Re: [TRINIDAD] - Change tab in panelTabbed using a button

2009-01-07 Thread Matt Cooper
I imagine that your Java code will look something like this (do this for each showDetailItem in the panelTabbed): FacesBean facesBean = showDetailItem.getFacesBean(); FacesBean.Type type = facesBean.getType(); PropertyKey disclosedKey = type.findKey(disclosed); if

Re: [TRINIDAD] tr:panelFormLayout

2008-10-03 Thread Matt Cooper
Hi, The panelFormLayout arranges children top-to-bottom one column at a time--this is also how the browser will handle tab ordering between the fields. If you still wanted the effective visual positioning to match what you desired, you could have your component tags like this: panelFormLayout

Re: Problem with tr:panelFormLayout

2008-10-02 Thread Matt Cooper
This is because the tr:panelHorizontalLayout is getting in the way. The labelAlignment will only apply to inputs that are direct children of the panelFormLayout. If you want to force 2 columns of inputs, you can also set rows=1 maxColumns=2 on the panelFormLayout. Regards, Matt On Thu, Oct 2,

Re: Extending the default renders of input components

2008-08-06 Thread Matt Cooper
I think using a custom skin would be more robust. I wonder if defining a skin extension with the following definition would be sufficient: af|inputText:error::content { background-color: red; } This definition means that the the background-color applies to the internal psuedo-element named

Re: [Trinidad] need Naming-Container without visible html output for partialTriggers

2008-07-21 Thread Matt Cooper
Probably the simplest component would be panelGroupLayout layout=default. Though, perhaps the trh taglib should have a tr:div component added to it? Regards, Matt On Mon, Jul 21, 2008 at 6:33 AM, Daniel Niklas [EMAIL PROTECTED] wrote: Hi Mathias, Mathias Walter wrote: could you find a

Re: [trinidad] tr:iterator

2008-06-16 Thread Matt Cooper
Hi Bill, I could be wrong but I don't believe the tr:selectOneRadio accepts children that produce DOM. Also, the trh:rowLayout must be inside of a trh:tableLayout. Instead of using tr:selectOneRadio, you may want to use multiple tr:selectBooleanRadio components. The selectBooleanRadio is more

Re: MyFaces PMC += Matt Cooper

2008-06-09 Thread Matt Cooper
! On 6/6/08, Matthias Wessendorf [EMAIL PROTECTED] wrote: Dear MyFaces community, please welcome our new MyFaces PMC member Matt Cooper. Matt is working on the Apache MyFaces and Trinidad stuff. Therefore last week there was a vote to invite him to the MyFaces Project Management

Re: tr:iterator does not work

2008-06-03 Thread Matt Cooper
For this to work, the tr:selectOneChoice renderer would need to be enhanced to support processing of flattened children. The iterator actually shows up as a child component during rendering and the selectOneChoice component doesn't know what to do with an iterator child. An alternative to using

Re: tr:iterator does not work

2008-06-03 Thread Matt Cooper
tag. I am wondering if trinicad dropped tr:forEach? But, it is still in the document. thanks Bill On Tue, Jun 3, 2008 at 4:32 PM, Matt Cooper [EMAIL PROTECTED] wrote: For this to work, the tr:selectOneChoice renderer would need to be enhanced to support processing of flattened children

Re: How to add trinidad progress Indicator with trinidad file upload component

2008-05-09 Thread Matt Cooper
Off the top of my head, the only ones I've seen used browser plug-ins to perform the upload rather than input type=file. I don't recall ever seeing any using open standards-based mechanisms. In any case, I think this type of functionality would be quite useful if added. Regards, Matt On Fri,

Re: [Trinidad] tr:inputText styleClass problem

2008-05-06 Thread Matt Cooper
This is the intended implementation, inlineStyle and styleClass should be applied to the root element of the component. If it becomes common additional style or class attributes can be added. For example, there is a contentStyle attribute that would apply to the inner input element. For your

Re: [TRINIDAD] PPR don't work in panelFromLayout (Tomcat)

2008-05-02 Thread Matt Cooper
Hi Martin, I'm not sure if this is exactly the problem you are running into but one thought might be to wrap the input component that you want to PPR inside of a panelLabelAndMessage (and setting simple=true on the input component). This way the input becomes stand-alone and PPR-able whereas

Re: [Trinidad] panelChoice with showDetailItem and disclosed value binding

2008-03-17 Thread Matt Cooper
Hi Shawn, I think I have run into this same problem. When the disclosure changes, the locally-stored property for disclosed changes from a value expression to a boolean--the expression disappears once the system has overwritten it with a boolean value as a result of a manual disclosure change.

Re: [Trinidad] Is the the level attribute in Trinidad equivalent to the startDepth attribute in ADF Faces?

2008-01-02 Thread Matt Cooper
. Are you also using XmlMenuModel with Trinidad or do you have the menus configured in managed beans in faces-config.xml. -Richard On 1/2/08, Matt Cooper [EMAIL PROTECTED] wrote: Hi Richard, I believe the answer is that startDepth and level are almost the same. There is one subtle

Re: Ajax4JSF Re-render Entire Form

2007-10-16 Thread Matt Cooper
I am confused, how does your email pertain to Apache MyFaces? I would recommend that you post your question to the A4J board instead. Regards, Matt On 10/16/07, bansi [EMAIL PROTECTED] wrote: I have a situation where reRender attribute reRenders the whole form. Here is the snippet

Re: [Trinidad] PPR problem

2007-10-08 Thread Matt Cooper
Hi Nate, If you are trying to PPR the panelButtonBar components directly, it will not work when rendered was set to false. In order to PPR something, it must be already rendered. Instead, either PPR the parent of the panelButtonBar components, the panelHeader, or wrap the two panelButtonBar

Re: [Trinidad] PPR problem

2007-10-08 Thread Matt Cooper
copies of the original message*. -- *From:* Matt Cooper [mailto:[EMAIL PROTECTED] *Sent:* Monday, October 08, 2007 2:26 PM *To:* MyFaces Discussion *Subject:* Re: [Trinidad] PPR problem Hi Nate, If you are trying to PPR the panelButtonBar components directly

Re: [Trinidad] PPR problem

2007-10-08 Thread Matt Cooper
of the original message*. -- *From:* Matt Cooper [mailto:[EMAIL PROTECTED] *Sent:* Monday, October 08, 2007 2:49 PM *To:* MyFaces Discussion *Subject:* Re: [Trinidad] PPR problem The subform is a NamingContainer so the problem could be issues with the expressions

Re: [Trinidad] PPR problem

2007-10-08 Thread Matt Cooper
Oh, and one other tip is to try reproducing the problem using a very simple test case. This will sometimes help to narrow down and identify the problem. On 10/8/07, Matt Cooper [EMAIL PROTECTED] wrote: Hmm... that looks correct to me too. I don't know what else might be causing the problem

Re: [Trinidad] console is undefined?

2007-09-13 Thread Matt Cooper
The easiest thing might be to see if it reproduces in a very simple hello world page. If the problem reproduces then it might be work verifying that the .js files listed in the page source do load script as expected (put those URLs in your browser's address bar). If the problem doesn't reproduce

Re: [Trinidad] console is undefined?

2007-09-13 Thread Matt Cooper
The other thing you can look into is using Firebug Lite which you can use with IE but requires a change to your JSP to insert its script... more details here: http://www.getfirebug.com/lite.html On 9/13/07, Matt Cooper [EMAIL PROTECTED] wrote: The easiest thing might be to see if it reproduces

Re: [TRINIDAD] - IMPORTANT - Custom Skin Developers

2007-09-07 Thread Matt Cooper
there who will have used this parameter already. Have fun answering their mails ;)) regards, Martin On 9/5/07, Matt Cooper [EMAIL PROTECTED] wrote: I agree with Adam. On 9/4/07, Adam Winer [EMAIL PROTECTED] wrote: The old parameter was trinidadinternal

Re: [Trinidad] Warning: Illegal HTML... should be reported?

2007-09-06 Thread Matt Cooper
If possible, I would suggest swapping the order of the tr:panelFormLayout and tr:subform tags. That should correct the invalid HTML problems since I suspect the inputText components are expecting to be direct children of the panelFormLayout. Thank you, Matt On 9/6/07, Vadim Dmitriev [EMAIL

Re: [TRINIDAD] - IMPORTANT - Custom Skin Developers

2007-09-05 Thread Matt Cooper
I agree with Adam. On 9/4/07, Adam Winer [EMAIL PROTECTED] wrote: The old parameter was trinidadinternal, and therefore was never officially supported. If we were changing from one supported name to another, I'd agree that we should keep the old name around, but supporting backwards

Re: [TRINIDAD] Proposal - fieldset/legend component

2007-09-04 Thread Matt Cooper
I like that name too. Should the text for it be text like on other components or caption? Regarding this example mentioned earlier: tr:panelFormLayout tr:panelCaptionGroup caption=Personal Details tr:inputText.../ /tr:panelCaptionGroup /tr:panelFormLayout this could potentially be

Re: [Trinidad] Simple skinning question - inputText

2007-08-22 Thread Matt Cooper
I haven't tested this but I believe this should be valid: tr:inputText styleClass=inputStyle1 label=I a bold label value=test/ tr:inputText styleClass=inputStyle2 label=I a non-bold label value=test/ af|inputText.inputStyle1 af|inputText::label { font-weight: bold; } As long as the styleClass

Re: [Trinidad] Skinnning dev guide now available!

2007-08-22 Thread Matt Cooper
Hi Jeanne, This looks great! Do you think we need to call out that *-tr-inhibit* will only perform server-side inhibiting; it will not inhibit styles that resolve in the browser bases on things like selector specificity. Thank you, Matt On 8/22/07, Jeanne Waldman [EMAIL PROTECTED] wrote: Hi

Re: [Trinidad] Skinnning dev guide now available!

2007-08-22 Thread Matt Cooper
in the browser will not be inhibited. However, if examples are easier to understand (as seen above), then let's put them in. Thanks, Matt On 8/22/07, Jeanne Waldman [EMAIL PROTECTED] wrote: Hi Matt, Can you elaborate so I'm sure what you are saying? Thanks, Jeanne Matt Cooper wrote: Hi

Re: [Trinidad] use skin to specify source for tr:image

2007-08-20 Thread Matt Cooper
Hi Andrew, A few things you might try... specify quotes around the path in your URL and perhaps specify width/height dimensions, e.g.: .AFFindIcon { content: url(/skins/standard/images/icon_find_sml.png); width: 16px; height: 16px; } If this still doesn't work, there might be a syntax

Re: [Trinidad] Learning Custom skinning ... combining skin + styleClass?

2007-08-15 Thread Matt Cooper
Hi Andrew, Since styleClass applies to the root element of a component, your definitions could be something like this: .CustomStyleClass.af|myComponent { /* styles for the root element */ } .CustomStyleClass.af|myComponent af|myComponent::sub-element { /* styles for the sub element */ }

Re: [Trinidad] breadcrumbs

2007-07-26 Thread Matt Cooper
Hi Kevin, I believe the breadCrumb component displays current path down the hierarchy of the MenuModel. It does not replicate the browser history from your back button's menu. Regards, Matt On 7/25/07, Kevin R. Gutch [EMAIL PROTECTED] wrote: Ok Thanks for the information! Simon Lessard

Re: [TRINIDAD] panelAccordion sizing

2007-07-17 Thread Matt Cooper
Hi Carsten, To help debug the issue, you can assign background-color values in the tr:panelGroupLayout to ensure that it is stretched vertically as you desire. I don't believe you can stretch a tr:panelGroupLayout layout=horizontal reliably across web browsers because the horizontal layout for

Re: Trinidad seems to be ignoring my old menuTabs styling

2007-06-12 Thread Matt Cooper
for one example. Is there really NO documentation at all for this? ADF at least had adf-skins-doc.xml that I used. I will file a JIRA, as you say, if that's the way it is. Thanks Dan -- *From:* Matt Cooper [mailto:[EMAIL PROTECTED] *Sent:* Monday, June 11, 2007

Re: [Trinidad] Table with two rows per record?

2007-06-12 Thread Matt Cooper
Hi Chris, Not sure if this is exactly what you want but but for each cell, you could have 2 lines of data, e.g.: tr:panelGroupLayout layout=vertical tr:outputText value=#{row.columnALine1}/ tr:outputText value=#{row.columnALine2}/ /tr:panelGroupLayout Regards, Matt On 6/12/07, Chris Hane

Re: [Trinidad] Table with two rows per record?

2007-06-12 Thread Matt Cooper
record summary.. | I put the hard breaks between rows for visual effect only. In the application, they are not there - highlighting is used instead. Thanks, Chris Matt Cooper wrote: Hi Chris, Not sure if this is exactly what you want but but for each cell, you could have 2 lines of data, e.g

Re: Trinidad seems to be ignoring my old menuTabs styling

2007-06-11 Thread Matt Cooper
Hi Dan, I'm not sure what the selectors for that component are off-hand but one handy procedure I can share with you (what I frequently use to make sure I am skinning things correctly) is to *temporarily* add the following (unsupported) entry in my web.xml file: context-param