ADFFACES-191

2007-04-04 Thread Martin Koci
Hello, can anybody review ADFFACES-191? We are using suggested patch in a production environment without problems: windows, linux; firefox 1.5.X or 2.0.X on both OS, IE 6 and 7 on Windows. Regards, Martin Koci

Re: ADFFACES-191 - help

2006-10-11 Thread Martin Koci
+ ]();'; frameSet.setOnunload(_checkUnload(event); window.opener.setTimeout( + callback + ,0)); This works for me, but I'm not trinidad dialog expert. Can you review this solution? Btw. what does Fred mean? (FredJSP.java) Thanks Martin Martin Koci píše v St 11. 10. 2006 v 13:03 +0200: Hello, I'm trying to fix

Re: ADFFACES-214: EditableValueRenderer does not handle EvaluationException in method getReadOnly

2006-10-07 Thread Martin Koci
Hello, maybe it is a architecture problem in our appliaction, but sometimes we use following construction (example): // managed bean that has null property: public class TestBean { private String name; public String getName() { return name; } // Not-initialized bean

Re: ADFFACES-214: EditableValueRenderer does not handle EvaluationException in method getReadOnly

2006-10-07 Thread Martin Koci
: - ValueBinding.getValue() - ValueBinding.setValue() - ValueBinding.getType() -- Adam On 10/7/06, Martin Koci [EMAIL PROTECTED] wrote: Hello, maybe it is a architecture problem in our appliaction, but sometimes we use following construction (example): // managed bean that has null

Allow redefine localised messages

2006-09-29 Thread Martin Koci
Messages (for example key UIXEditableValue.REQUIRED) are seeking in org.apache.myfaces.trinidad.resource.MessageBundle and in javax.faces.Messages. They should be picked from message bundle of running JSF app too to allow redefine them. JSF spec 2.5.2.4 Localized Application Messages says: The

Re: Differences between read-only inputText and read-only selectOneChoice

2006-09-26 Thread Martin Koci
Hello, we need it for both reasons. We have application currently rewrited with trinidad. But we must use some old legacy javascript which is not JSF-oriented (at least now). Trinidad components have content part but with readOnly selectOneChoice is content part not rendered as usual. I think

Rendering of readOnly and simple component

2006-09-26 Thread Martin Koci
Hello, if a component is readOnly and simple how it is rendered? tr:inputText id=readOnlyInputText value=Value in readOnly inputText readOnly=true simple=true / renders: span id=formId:readOnlyInputText class=x1b p_AFReadOnly div class=x1m Value in readOnly inputText /div /span It has a

Differences between read-only inputText and read-only selectOneChoice

2006-09-21 Thread Martin Koci
Current codebase renders different output for read-only inputText and read-only selectOneChoice as I think they would be same. tr:selectOneChoice renders only spans with value between, tr:inputText renders spandivvalue/divspan. Probably all non-elements outputs (which call

Order of rendered style classes

2006-09-21 Thread Martin Koci
Method FormInputRenderer.renderRootDomElementStyles renderes styleClass as first followed with styles from skin. I think styleClass should be the last one because common scenario uses skins and in special cases user overrides style in JSP with styleClass attribute. In my case is it style

ADFFACES-152 - proper method for encoding resources

2006-09-03 Thread Martin Koci
Hello, I don't understand how to encode src attributes on HTML elements. There are two methods: ExternalContext.encodeResourceURL and ViewHandler.getResourceURL. MyFaces button renderer uses both: String src = context.getApplication().getViewHandler().getResourceURL(context, imageSrc);

Trinidad dialog - what starts processDecodes of view root where dialog started?

2006-08-14 Thread Martin Koci
Hello, I'm experimenting with Trinidad dialog framework, return events and etc. It works very well except one jsp. That jsp is nothing special but return event is never delivered. With debugging I found following: 1) Dialog is correctly started and open new window. 2) In new window user can