Re: [trinidad 1.2]

2012-08-25 Thread Andrew Robinson
Why not add a try catch block around the code in question instead of letting runtime exceptions through? On Mon, Aug 20, 2012 at 2:42 AM, Me Self wmso...@gmail.com wrote: Hi All How do I disable PPR error popups? If a bean method handling PPR events throws an runtime exception the user sees a

Re: Trinidad-1107

2012-07-12 Thread Andrew Robinson
the closing tag, or maybe there's a way to do it using the writer api, but I don't know how. Anyway, the scrollable tr:table has been tested here on IE 89, Firefox and Chrome. (Our clients use them with IE, but we're currently validating our app to run on Firefox) 2012/7/12 Andrew Robinson

Re: Trinidad-1107

2012-07-11 Thread Andrew Robinson
Is the height attribute or height style being set on a TABLE HTML element? If so that is not valid. The TABLE element has no height, neither an attribute nor support for a CSS height. Some browsers recognize, others do not, but it is not in the HTML specification as a current attribute.

Re: [Trinidad] Should inner subform submit an outer subform ?

2011-10-25 Thread Andrew Robinson
I believe that submitting a subform submits all parent subforms, but not siblings. For example: sf1   sf2 sf3 sf4 sf5 If something in sf3 is submitted, sf1, sf2 and sf3 are processed, but not 4 5. The subform documentation is not all that wonderful, so I am not positive. 2011/10/13

Re: [Trinidad] Creating custom components

2011-07-19 Thread Andrew Robinson
Here is a very old WIKI I wrote. Most of it should still work, but it is out of date: http://wiki.apache.org/myfaces/Facelets_and_JSF_1.1_maven-faces-plugin_Getting_started On Sat, Jul 16, 2011 at 11:30 PM, omid p vermind...@gmail.com wrote: Hi guys, I want to create a custom component in

Re: tr:document with facelets/jsf2

2011-07-19 Thread Andrew Robinson
From the error, it looks like you are missing the Trinidad-impl faces-config information. This could be a classpath issue. For example, are you sure that the Trinidad 2.0 jars are the only ones on the classpath and there is only one JSF implementation set of jars on the classpath? You can try

Re: tr:document with facelets/jsf2

2011-07-14 Thread Andrew Robinson
Yes, you can have a look at the demo. It is running facelets and JSPX and is on JSF 2. https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-examples/trinidad-demo web.xml:

Re: [trinidad 1.2]

2011-04-26 Thread Andrew Robinson
I think you would need to provide your own renderer. Note that there are two radio components, selectOneRadio and selectBooleanRadio. The selectBooleanRadio has a simpler HTML layout, but I am not sure what the DOM that is produced looks like. On Tue, Apr 26, 2011 at 7:30 AM, Me Self

Re: Trinidad RequestContext Null

2011-04-17 Thread Andrew Robinson
A4J + Trinidad is not supported. The two Ajax solutions are not tested and probably are not compatible. I do not see org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler anywhere in your web.xml Check this WIKI out: http://myfaces.apache.org/trinidad/installation.html On

Re: [trinidad] Status of trinidad 2.0?

2011-02-27 Thread Andrew Robinson
I would suggest trying out the 2.0 in a branch of your source code and testing it out. At the very least this will give you an idea what is better, or what still needs some work. We have been fixing bugs quite quickly in Trinidad 2, and it receives more attention than 1.2, but if people aren't

Re: Trinidad : Support for JDK 6

2010-12-15 Thread Andrew Robinson
Trinidad 1.2 is compiled with JDK 5 and should work with JRE 6 Trinidad 2 is compiled with JDK 6 On Fri, Dec 10, 2010 at 7:59 AM, Scott O'Bryan darkar...@gmail.com wrote: Yes, you can.  JDK 5 was needed for compilation because of some plugin issues I believe, but the latest trinidad's should

Re: [Trinidad] need timelines for the Trinidad 2 release

2010-07-26 Thread Andrew Robinson
What problems do you have with f:ajax in Trinidad 2? it should be working On Wed, Jul 14, 2010 at 11:07 PM, Venkat Ramanan Viswanathan ramanan.venka...@gmail.com wrote: HI Can some one share the timelines for Trinidad 2 final release. We are still using alpha 2 for our environment and it is

Re: Trinidad Dialog Problem

2010-04-29 Thread Andrew Robinson
One reason you may not be getting much feedback is that you are emailing the wrong list. The dev@ list is only for discussing the development of myfaces projects, not for using myfaces projects. Your previous message has little debugging information. Please use the source jar to debug through the

[Trinidad 2] Announcement: JSF 2 ajax support has been added to the trunk

2010-04-20 Thread Andrew Robinson
As of SVN revision 936035, the Trinidad trunk now supports the built in AJAX of JSF2. Details: - Requests through f:ajax supported with Trinidad components - jsf.ajax.request used to submit PPR requests from the Trinidad request queue - Server delivers JSF2 payload, with special

Re: Trinidad 1.2.13: another upgrade problem: Now UIXCollection unserializable

2010-04-19 Thread Andrew Robinson
BTW, components should not be serialized, they should only be used for one request and then thrown away, new components being built from saved state on further requests. On Tue, Apr 13, 2010 at 1:07 AM, wolfgang.toep...@pta.de wrote: Forget this post, obviously this NPE is not a Trinidad

Re: [TRINIDAD] Header rendering multiple times.

2010-03-15 Thread Andrew Robinson
at 10:23 PM, Andrew Robinson andrew.rw.robin...@gmail.com wrote: Do you use any JSTL tags? Have you any component binding in the page, especially ones that may live longer than one request? On Tue, Mar 9, 2010 at 7:31 AM, preeti agarwal preetiagarwa...@gmail.com wrote: Description

Re: Trinidad 2.0 TableRenderingContext nullpointer

2010-03-12 Thread Andrew Robinson
UIXTable is not a concrete class, you should be using CoreTable. You should never use new ComponentClass to create a component, but instead should be using the Application to create the component using the component type. This ensures that you get the correct implementation class for the current

Re: [TRINIDAD] Header rendering multiple times.

2010-03-09 Thread Andrew Robinson
Do you use any JSTL tags? Have you any component binding in the page, especially ones that may live longer than one request? On Tue, Mar 9, 2010 at 7:31 AM, preeti agarwal preetiagarwa...@gmail.com wrote: Description of problem : I have an xhtml page in which I use trininad components (like

Re: Is there a way to close the tr:panelPopup component

2010-03-08 Thread Andrew Robinson
Have a look at PanelPopup.js There is no great API, but it seems that the TrPanelPopup has a hide method with an event argument that is not used, so it seems to be safe to pass null. Now to get an instance to the popup object, it looks like you need to use TrPanelPopup._VISIBLE_POPUPS with the

Re: Regarding Trinidad 2.0

2010-02-26 Thread Andrew Robinson
We are trying to make it backwards compatible. If you can devote some time to running your application on Trinidad 2 and if there are any issues, please let us know. -Andrew On Tue, Feb 23, 2010 at 9:09 PM, venkat.rama...@thomsonreuters.com wrote: Thanks. Currently we use trinidad 1.2. Is

Re: [Trinidad] Skinning corrupts style class name (dot is missing)

2010-02-22 Thread Andrew Robinson
with icon selectors. Sadly, it seems like there is no other option than keeping the stylesheets for jQuery UI in a separate css file. Or is there any other possibility to avoid this handling? Elmar Am 19.02.2010 um 19:02 schrieb Andrew Robinson: I know jQuery uses ui-icon so you don't have

Re: [Trinidad] Skinning corrupts style class name (dot is missing)

2010-02-19 Thread Andrew Robinson
I know jQuery uses ui-icon so you don't have a choice in the name, but could you test to see if not using the -icon ending is the reason for the problem? I believe Trinidad skins treat style names ending with icon specially, so that could be the reason. -A On Fri, Feb 19, 2010 at 9:44 AM, Elmar

people.apache.org down?

2010-02-15 Thread Andrew Robinson
Not getting a response from people.apache.org and it is the server that hosts the server information that I know of. Anyone know what is up with it? It is killing my Trinidad maven build for snapshot checks. -Andrew

Re: [TRINIDAD] Please help with dependent components

2010-02-15 Thread Andrew Robinson
What scope is entryBean? If entryBean is requestScope, then entryBean.subProjects will be null on each request and would need to be set before the decoding is done, otherwise the 2nd choice will never decode as it will be disabled. If entryBean is not requestScope than you also have a problem as

Re: [Trinidad] favicon

2010-02-15 Thread Andrew Robinson
tr:document f:facet name=metaContainer tr:outputText escape=false value='lt;link rel=icon type=image/png href=#{facesContext.externalContext.requestContextPath}/images/favicon.png' id=metaLinkText/ /f:facet ... On Mon, Feb 15, 2010 at 9:38 AM, baeschtu baeschtu

Re: [TRINIDAD] Please help with dependent components

2010-02-15 Thread Andrew Robinson
the proper value before the decoding is done? When should that be performed? Thanks for your help Jean-Noel On 15 Feb 2010, at 19:03, Andrew Robinson wrote: What scope is entryBean? If entryBean is requestScope, then entryBean.subProjects will be null on each request and would need

Re: [Trinidad] Regarding PartialTriggers attribute

2010-02-12 Thread Andrew Robinson
You cannot mix strings an EL in partialTriggers, the JSP tag will not allow it (I know, not cool). You have to either use a space-separated string or EL that points to a string array. There are no other options. I would suggest filing a JIRA ticket to fix this and then use an EL function to

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

2010-02-11 Thread Andrew Robinson
According to the W3C specification, XML http responses should always use UTF-8 encoding (requests too actually) http://www.w3.org/TR/XMLHttpRequest/ Authors are strongly encouraged to encode their resources using UTF-8 http://erik.eae.net/archives/2005/05/27/18.55.22/: UTF-8 is the standard

Re: How to stop Validation error being displayed 2 times for a tr:inputText in a tr:panelLabelAndMessage

2010-02-11 Thread Andrew Robinson
Set simple=true on the input text

Re: [Trinidad] new skin and new demo

2010-02-03 Thread Andrew Robinson
Any hope on hosting the demo's at Apache? On Wed, Feb 3, 2010 at 10:26 AM, Gerhard Petracek gerhard.petra...@gmail.com wrote: imo it's just an issue with the server... i'll forward the issue. regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and

Re: [TRINIDAD] Alternative for tr:selectOneChoice

2009-12-01 Thread Andrew Robinson
tr:selectOneRadio and optionally put it in a popup? -Andrew On Thu, Nov 26, 2009 at 12:09 AM, Carsten Pieper carsten.pie...@continentale.de wrote: Hi there, as our applications still have to be compatible to IE6 we're quite unhappy with the tr:selectOneChoice as is makes use of the HTML

Re: Html Tags Vs Tomahawk Tags

2009-11-04 Thread Andrew Robinson
There is not much benefit to using components other than the rendered attribute. If you aren't changing that, I would just use HTML. There may be times that components are useful, like when the JSF response writer is special-handling the written content for example, but that is not too often. So

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

2009-10-19 Thread Andrew Robinson
I believe they are fundamentally incompatible. Tobago uses render kits to do a lot of built in page templates, and Trinidad has its own render kit and has its own AJAX support that is not compatible with other AJAX JSF solutions. I think you would end up with page layout problems and AJAX problems

Re: [Trinidad] another tr:selectOneChoice + autoSubmit + PPR type question

2009-10-10 Thread Andrew Robinson
Maybe it is due to a submitted value being set? Try wrapping the selectOneChoice boxes in a tr:subform and see if that makes a difference On Fri, Oct 9, 2009 at 9:25 AM, japher jap...@hotmail.com wrote: Hi, I have two selectOneChoice components, and I want to have the second one invisible

Re: accesskey with jsf

2009-09-06 Thread Andrew Robinson
Trinidad button has an accessKey attribute: http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_commandButton.html -Andrew On Fri, Sep 4, 2009 at 6:18 AM, scientiatech...@scientiaindia.com wrote: hi All,  I am new to JSF . I want to use accesskey attribute with commandButton .For

Re: [Trinidad] How to use an iterator, selectOneChoice and partialTriggers?

2009-09-06 Thread Andrew Robinson
If you give partial triggers an EL expression it must evaluate to type String[]. The value change listener is fired for the current iteration, so if you click item 3, the event will be broadcast for the selectOneChoice inside the index 2 of tr:iterator. To move the iterator to a new index you need

Re: Using Trinidad document tag and navigation stopped working.

2009-08-13 Thread Andrew Robinson
Any javascript errors? It also may be that you do not have a root component in your template, but instead have raw HTML. Try wrapping the body of the template with a component. -Andrew On Thu, Aug 13, 2009 at 7:29 AM, Shaun Campbellcampbell.sh...@gmail.com wrote: I've just converted my

Re: Using Trinidad document tag and navigation stopped working.

2009-08-13 Thread Andrew Robinson
is that the navigation on JSF Goodies is in its own div, whereas mine is in a form within an insert.  I'm not that familiar with this way of doing it at the moment so not if this is the problem. Thanks Shaun 2009/8/13 Andrew Robinson andrew.rw.robin...@gmail.com Any javascript errors? It also may

Re: Performance issues with JSF

2009-07-17 Thread Andrew Robinson
Another thing to check is the time between the DOMContentLoaded event and the page OnLoad event. The former occurs when the page DOM structure has been loaded by the browser, but no external entities has been loaded, and the second after the resources have been loaded and any JavaScript has been

Re: RCF, what's the current status?

2009-06-26 Thread Andrew Robinson
I can't speak to the status, but I'd love to hear any feedback. What pretty-ness is RCF lacking? On Thu, Jun 25, 2009 at 8:15 PM, Bertrand, Shawn Rshawn.bertr...@tycoelectronics.com wrote: Ugh.  There were (rather, hopefully are) some bright people on this project, and I sincerely hope to see

Re: [Trinidad] Generating duplicate icon elements?

2009-06-23 Thread Andrew Robinson
tr:inputText generates a label. Set simple=true to stop it from doing so. -Andrew On Tue, Jun 23, 2009 at 6:48 AM, Bram Van Dambram.van...@cronos.be wrote: Howdy, The following code seems to generate duplicate elements. Is this a bug, or am I missing something? tr:outputLabel value=val

Re: [trinidad] does not support browser back button

2009-06-22 Thread Andrew Robinson
Backing beans are separate from pages, so clicking a back button does not change the backing beans, it is up to the application developer to manage the backing beans. So in your example, it is typical to have 2 beans, one being the table backing and one being the current row. Then when an edit

Re: trinidad: how to disable skinning

2009-06-18 Thread Andrew Robinson
; } Is there a way to tell Trinidad not to generate the !DOCTYPE ...? Thanks, Dave --- On Sun, 6/14/09, Andrew Robinson andrew.rw.robin...@gmail.com wrote: From: Andrew Robinson andrew.rw.robin...@gmail.com Subject: Re: trinidad: how to disable skinning To: MyFaces Discussion users

Re: trinidad ppr issue: ajax submit does not work in partially refreshed region

2009-06-14 Thread Andrew Robinson
resources might be missing. For ppr calls, will resources such as javascript/css(normally in head) will be retrieved successfully from server? Thanks, Dave tr:document ... t:div id=region1 /t:div t:div id=region2 /t:div /tr:document --- On Thu, 6/11/09, Andrew Robinson andrew.rw.robin

Re: trinidad: how to disable skinning

2009-06-14 Thread Andrew Robinson
After or before doesn't matter for CSS, just weights. You can just increase your selectivity. Possible examples: div.displayBlock { display: inline; } body .displayBlock { display: inline; } Trinidad doesn't affect your CSS loading at all, it just has some styles it ships. You can use the

Re: trinidad ppr, fresh page head possbile?

2009-06-14 Thread Andrew Robinson
The DOM has to have an ID to be PPR'd, I don't think that an ID is usually used for the HEAD element. You can just programmatically create and add the SCRIPT or LINK tags to the head if you want. Even though non-kosher you can put SCRIPT tags anywhere in the page, all browsers support it, only

Re: trinidad ppr issue: ajax submit does not work in partially refreshed region

2009-06-11 Thread Andrew Robinson
to figure out how the initial ppr affects the subsequent ppr calls. Thanks for further help. Dave --- On Wed, 6/10/09, Andrew Robinson andrew.rw.robin...@gmail.com wrote: From: Andrew Robinson andrew.rw.robin...@gmail.com Subject: Re: trinidad ppr issue: ajax submit does not work in partially

Re: trinidad ppr issue: ajax submit does not work in partially refreshed region

2009-06-10 Thread Andrew Robinson
Where are your partial triggers? If no components trigger off of the command link, then nothing will be updated on the client. Also, with action and not actionListener make sure you never match a navigation rule. Navigation will invalidate the PPR. -Andrew On Wed, Jun 10, 2009 at 10:21 AM,

Re: Trinidad vs Tobago

2009-06-08 Thread Andrew Robinson
(developers) are willing to contribute to the community starting from my self  if they knew how to do it in some easier way. Best regards, Luka Surija +385 1 61 99 140 +385 98 434 061 l...@iytim.hr I.Y. tim d.o.o. Vrbik 3, HR-1 Zagreb www.iytim.hr i...@iytim.hr Andrew Robinson

Re: Trinidad vs Tobago

2009-06-04 Thread Andrew Robinson
I would not jump to just saying that's totally wrong ... when there is truth to the observation. I cannot speak for Tobago, but there are areas of Trinidad that have not significantly changed in years. This may give the impression that there is not much ongoing development. What you find with

Re: partial Trigger - ui:include

2009-05-16 Thread Andrew Robinson
It will work, just remember that the include will still be processed, just none of its components will be rendered. On Thu, May 14, 2009 at 8:41 AM, Shankar K shanka...@gmail.com wrote: Hi, I'm trying to include a page(/pages/xyz.xhtml) in a partialSubmit of a commandLink.  Will ui:include

Re: [Trindad] Integrating Tomahawk components as PPR source.

2009-05-08 Thread Andrew Robinson
Out of curiosity, why are you using t:tree2 instead of t:tree? If there is a shortcoming to the Trinidad tree, it would be good to know. -Andrew On Thu, May 7, 2009 at 8:23 AM, Florian Reiser florian.rei...@softproject.de wrote: Hello, I want to use a tomahawk tree2-component in Trinidad.

Re: Trinidad -- TrPage not defined

2009-05-07 Thread Andrew Robinson
Sounds like your web.xml doesn't have the Trinidad resource servlet set up correctly. See the trinidad-demo source for an example of the configuration. -Andrew On Wed, May 6, 2009 at 3:08 AM, Dave javao...@yahoo.com wrote: We have jsf pages that uses tomahawk(1.1.8) and trinidad(1.2.11) with

Re: Trinidad + Seam

2009-05-07 Thread Andrew Robinson
AFAIK, you cannot use conversations with views cached in the application. Seam stores user data in the components which invalidates the requirement of the USE_APPLICATION_VIEW_CACHE that no components can have any data pertinent to a user. Basically USE_APPLICATION_VIEW_CACHE is extremely hard to

Re: [Trinidad] TRINIDAD-779 PPR not triggered when deleting last row from table

2009-04-21 Thread Andrew Robinson
Could you submit a test case that builds using maven and runs with jetty support (just a normal war pom setup and the jetty plugin can be added easily)? On Tue, Apr 21, 2009 at 9:41 AM, Paul Freeman pfreeman...@yahoo.com wrote: Just tried it and no luck :-( Note that the delete() method in my

Re: JSF in Google App Engine for Java

2009-04-09 Thread Andrew Robinson
Servlet 2.4, ew. So much for being able to do any JSF 1.2 work on google. On Wed, Apr 8, 2009 at 10:06 AM, Bruno Aranda brunoara...@gmail.com wrote: Hi, Today Google App Engine for Java has been released. I was wondering if it would play with JSF and I don't have the time to check now.

Re: JSF EL Problem

2009-04-04 Thread Andrew Robinson
figure out what you want to call, then strip out the beginning get from properties and use [] to get items from a Map by key or items in a list by index. -Andrew On Fri, Apr 3, 2009 at 5:02 PM, Andrew Robinson andrew.rw.robin...@gmail.com wrote: #{backingBean.someproperty[linkBean.arg1]} is correct

Re: JSF EL Problem

2009-04-03 Thread Andrew Robinson
#{backingBean.someproperty[linkBean.arg1]} is correct syntax, assuming that backingBean.someproperty is a map or list or other java object and not a primitive or something that the [] cannot be applied to. What is the signature of the getSomeProperty method on backingBean and the getArg1 on the

Re: [Trinidad] Skinning: inherit from minimal?

2009-03-31 Thread Andrew Robinson
:13, Andrew Robinson andrew.rw.robin...@gmail.com wrote: All the skins in MyFaces are Apache licensed, so suede vs minimal should have no license implications. The suede was donated by Oracle, so we do not own it anymore. You can extend the minimal skin just fine, but there is more to do than

Re: [Trinidad] Skinning: inherit from minimal?

2009-03-29 Thread Andrew Robinson
It really is not easy. The best thing may be to start with a good skin delete / change selectors, or start cutting pasting. The minimal still has some CSS in it and it isn't 100% maintained so there may be things in there that do not need to be and there may be things that should be there that

Re: [TRINIDAD] Passing a request parameter to a session bean

2009-03-15 Thread Andrew Robinson
1. try f:setPropertyActionListener 2. use the managed property feature of the managed bean registration in the faces-config.xml 3. I did'nt know f:param didn't work with the command button, have you tested it? -Andrew On Fri, Mar 13, 2009 at 5:09 PM, Amaris Nieves

Re: Very Basic List and Crud -- how to link JSF forms

2009-03-11 Thread Andrew Robinson
For the question regarding using GET not POST, take a look at JBoss Seam, they have solutions for this. On Wed, Mar 11, 2009 at 9:42 PM, anth...@berglas.org wrote: Hello All, Probably the most basic web pattern is to list a series of objects (Employees, say) and then be able to click on one

Re: How to access session scope attributes via JSF EL

2009-03-05 Thread Andrew Robinson
Unless you set #{sessionScope.someBooleanProperty} to true it will return null, and null is the same as false in terms of the disabled attribute. -Andrew On Wed, Mar 4, 2009 at 11:54 PM, Madhav Bhargava madhav_bharg...@infosys.com wrote: Hi All, In a JSP I need to disable a component

Re: Subform with InputText: InputText is not updated after a page submit

2009-02-27 Thread Andrew Robinson
Input controls will remember their submitted values until they are cleared. Have you made sure that the input text has never posted a value back? If so, calling resetValue() is the correct solution, and not a work-around. -Andrew On Fri, Feb 27, 2009 at 12:51 AM, stefan.friedr...@sungard.com

Re: Configuring panelTabbed component

2009-02-26 Thread Andrew Robinson
Have a look at the trinidad developer skinning guide on the myfaces website. -Andrew On Thu, Feb 26, 2009 at 8:28 AM, Harry van Rijn ha...@raceeend-2.demon.nlwrote: Hi, I want the tr:panelTabbed component have my own style. The standard rendering is not what I want, I like for instance the

Re: [Trinidad] Using skinning

2009-02-25 Thread Andrew Robinson
Please read the thread before replying, that question was already asked and responded to On Wed, Feb 25, 2009 at 8:51 AM, Richard Yee richard.k@gmail.comwrote: Do you have tr:document in your page? -R Sent from my iPhone On Feb 25, 2009, at 7:28 AM, Lars Vogel

Re: [trinidad] problem with PPR and multiple triggers

2009-02-24 Thread Andrew Robinson
You cannot PPR an item inside a stamped component from outside the stamped component without PPR'ing the entire stamped component. So in your case, calcAll should PPR the table, not the panel group layout. If you only really want to PPR just the panel group layouts in every row, you will have to

Re: Does af:decorativeBox exist in Trinidad

2009-02-19 Thread Andrew Robinson
No that is an Oracle RichClient component that has been created recently (long after the Trinidad donation) -Andrew On Thu, Feb 19, 2009 at 12:12 PM, mjdenham mjden...@gmail.com wrote: Does the adf control af:decorativeBox exist in Trinidad. I can't see it documented anywhere. Thanks

Re: subform breaks tr:panelFormLayout behaviour

2009-02-15 Thread Andrew Robinson
Subform is not a flattened component, so therefore the panelFormLayout will not be able to see the items in the subform and align them, it would only attempt to align the subform elements themselves, not the children. If you wish, file and enhancement JIRA ticket to make subform support

Re: [Trinidad] tr:inputText styling

2009-02-05 Thread Andrew Robinson
I think it should be: af|inputText:disabled af|inputText::content { color: black } Reasoning: 1) disabled state is on the inputText. 2) the af|inputText::content is a actually one element, not the content under the input text, but rather the content for the input text This is because

Re: [Trinidad]: state of outputText (within tr:iterator) ???

2009-02-02 Thread Andrew Robinson
Just debug into the code and see the method stack. Just guessing over email will not be very effective. You could also create a maven project as a test case and submit it so us devs can reproduce it. -Andrew On Mon, Feb 2, 2009 at 5:45 AM, Kuhn, Harald hk...@airplus.com wrote: Hi, could

Re: [TRINIDAD] How to display columns of checkboxes in tr:selectManyCheckbox ?

2009-02-02 Thread Andrew Robinson
Check the archive, someone just asked this question. You can use the tr:panelList with a tr:iterator and a tr:selectBooleanCheckbox with the columns set to 2 on the panel list. It is a bit of work, but should do what you need. If you want, create an enhancement JIRA ticket to allow for multiple

Re: [TRINIDAD] How to display columns of checkboxes in tr:selectManyCheckbox ?

2009-02-02 Thread Andrew Robinson
You cannot do that with selectManyCheckbox, please see my email on how to do it On Mon, Feb 2, 2009 at 9:16 AM, Paul Spencer pau...@apache.org wrote: Currently I have a list of names in a tr:selectManyCheckbox value=#{listOfnames}.../. The list of check boxs is currently displayed in one

Re: [trinidad]tips to create my own panelgroup

2009-01-28 Thread Andrew Robinson
i not use trinidad because my app would be fast and low weight. What makes you think that Trinidad would slow your app down and make it heavier? What performance metrics do you have that show any degrade? Trinidad is pretty light and there has been a lot of effort making its performance good. It

Re: Trinidad poll questions

2009-01-23 Thread Andrew Robinson
1) _Never_ bind a component to anything except request scope (just put your data in the session) 2) The poll happens on the client, not the server, so you have to PPR the page / poll component to change its properties (I am not sure how well the poll component PPRs itself though) -Andrew On Thu,

Re: [a bit off topic] Trying to use xhtml instead of html, problem with IE?

2009-01-23 Thread Andrew Robinson
Most browsers need content type of text/html, even for XHTML documents. It is a bug in the browser. -Andrew On Fri, Jan 23, 2009 at 11:57 AM, Bjørn T Johansen b...@havleik.no wrote: When I use the following in my xhtml page..: ?xml version=1.0 encoding=UTF-8? !DOCTYPE html PUBLIC -//W3C//DTD

Re: [a bit off topic] Trying to use xhtml instead of html, problem with IE?

2009-01-23 Thread Andrew Robinson
12:57:27 -0700 Andrew Robinson andrew.rw.robin...@gmail.com wrote: Most browsers need content type of text/html, even for XHTML documents. It is a bug in the browser. -Andrew On Fri, Jan 23, 2009 at 11:57 AM, Bjørn T Johansen b...@havleik.no wrote: When I use the following in my xhtml

Re: [Trinidad]: state of outputText (within tr:iterator) ???

2009-01-22 Thread Andrew Robinson
Looks like a class path issue. Make sure you only have one Trinidad set of jars on the application class path On Thu, Jan 22, 2009 at 2:42 AM, Kuhn, Harald hk...@airplus.com wrote: Hi, I found a strange behaviour in one of our pages (facelet). From time to time there seems to be a state of

[Trinidad] be careful with UIXSwitcher / tr:switcher

2009-01-13 Thread Andrew Robinson
FYI, here is a blog on a possible problem with using tr:switcher due do its lifecycle optimizations: http://drewdev.blogspot.com/2009/01/trswitcher-has-some-lifecycle-caveats.html Hope it prevents some bugs. -Andrew

Re: Skinning Trinidad - dynamic path in stylesheet files?

2009-01-12 Thread Andrew Robinson
On Mon, Jan 12, 2009 at 12:26 AM, felix.bec...@t-systems.com wrote: Hi *, I tried to use @IMPORT url(/module-desktop.css); in my css file loaded by the trinidad-skins configuration but that doesn't seem to work. In the generated CSS file there are no @IMPORT statements and the content of

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

2009-01-07 Thread Andrew Robinson
Unfortunately, the best way is to use component binding of the tab component to a bean and update the disclosed properties of the children show details manually. The other way is to use JavaScript on the client to manually fire a click event of the desired anchor element (tab) from the button,

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

2009-01-07 Thread Andrew Robinson
That only works if the user never clicks on a tab. This is because the renderer for the show detail item calls setDisclosed which sets the components local value. Once this is set, the EL will never be evaluated again. -Andrew On Wed, Jan 7, 2009 at 10:17 AM, Walter Mourão

Re: [Trinidad] PPR does not work for XHTML rendered pages (was: charset)

2009-01-01 Thread Andrew Robinson
If you use tr:document I believe Trinidad always uses the HTML doctype. This is something that I have wanted to change. For example, the demos render: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; This is one of those issues that other

Re: Quite advanced JSF problem

2008-12-23 Thread Andrew Robinson
This is the wrong mailing list for this question, it is not regarding myfaces development. I am posting this reply on the users list, all further replies should go there. I don't think that you solution is a valid one. It is not valid to locate a component in more than one location of one

Re: [Trinidad] PPR not working over VPN connection

2008-12-23 Thread Andrew Robinson
Is the VPN caching requests, like say through a proxy? On Tue, Dec 23, 2008 at 12:15 PM, Bertrand, Shawn R shawn.bertr...@tycoelectronics.com wrote: Can anyone think of a reason why PPR wouldn't work over a VPN connection? We have some situations (not reproducible, of course) where a

Re: [JSF] using ActionListener for executing different actions from table

2008-12-20 Thread Andrew Robinson
Option A: h:table h:column h:commandLink id=link1 action=actionA actionListener=processClick / /h:column h:column h:commandLink id=link2 action=actionB actionListener=processClick /h:column /h:table public void processClick(ActionEvent event) {

Re: [JSF] using ActionListener for executing different actions from table

2008-12-19 Thread Andrew Robinson
actionEvent.getComponent() On Fri, Dec 19, 2008 at 2:47 AM, Anton Gavazuk antongava...@gmail.com wrote: Hi all, Im making the master-detail scenario via ActionListeners and want to use the same ActionListener is there any easy way to know which link in table row performs the action?

Re: Trinidad : dialog for error messages

2008-12-18 Thread Andrew Robinson
Dialog meaning browser window or dialog meaning a floating DIV? If the latter, you can use the tr:panelPopup component and only render it if messages are present or the like. In order to do the former, you will have to code it yourself with javascript. You could use window.open to 'about:blank',

Re: required=true on partial submit?

2008-12-17 Thread Andrew Robinson
Look at tr:subForm On Wed, Dec 17, 2008 at 2:57 AM, felix.bec...@t-systems.com wrote: Hi, On one of my pages I've got 2 tr:selectOneChoice boxes – box A and box B. The content of box B depends on the selection of box B. I'm using autoSubmit=true for box A and partialTriggers=boxA for box

Re: [trinidad]help extendind selectmanycheckbox

2008-12-03 Thread Andrew Robinson
setIntegerProperty(bean, CoreSelectManyCheckBoxRedi5.LAYOUT_WIDTH, _layoutWidth); i prove with trinidad-1.2.11-SNAPSHOT regards 2008/12/2 Andrew Robinson [EMAIL PROTECTED] Can't see the problem. Can you post the full compiler error? On Mon, Dec 1, 2008 at 9:40 AM, alvaro tovar [EMAIL

Re: [trinidad]help extendind selectmanycheckbox

2008-12-02 Thread Andrew Robinson
CoreSelectBooleanCheckboxTag UIXSelectBooleanTag UIXEditableValueTag UIXValueTag UIXComponentTag but my class not compile, maybe is that the source that i have not correspond with the jar of trinidad trinidad-impl-1.2.11-SNAPSHOT.jar trinidad-api-1.2.11-SNAPSHOT.jar 2008/11/30 Andrew Robinson [EMAIL

Re: Dynamic ID with el not working

2008-11-30 Thread Andrew Robinson
This is not 100% true. In JSF 1.2, non-deferred EL expressions may be used in IDs: my:component id=${someVar} / Just remember that ${} is evaluated during JSP tag execution, not during the component tree traversal. -Andrew On Wed, Nov 26, 2008 at 2:35 AM, Matthias Wessendorf [EMAIL PROTECTED]

Re: [trinidad]help extendind selectmanycheckbox

2008-11-30 Thread Andrew Robinson
Sub classes are allowed to call protected methods, what is the issue? On Sat, Nov 29, 2008 at 9:42 AM, alvaro tovar [EMAIL PROTECTED] wrote: hello i am trying of add a parameter layoutWidth, y do this create a class that extends CoreSelectManyCheckboxTag public class

Re: commandbutton action not called

2008-11-25 Thread Andrew Robinson
As for the lifecycle: put a breakpoint in the source code. For messages, also include a global messages component. Just put a breakpoint on the renderResponse method in the FacesContextImpl. On Tue, Nov 25, 2008 at 9:20 AM, alvaro tovar [EMAIL PROTECTED] wrote: hello thanks for your answer, i

Re: [Trinidad] Configuration of Trinidad

2008-11-20 Thread Andrew Robinson
Easiest way is to get the trinidad-demo and trinidad-blank applications. They are in SVN (maybe someone knows where to download them from?). They are already setup and working, so you can just start with them and modify them. -Andrew On Thu, Nov 20, 2008 at 4:39 PM, Lars Vogel [EMAIL PROTECTED]

[OT] Interesting blog on Sun layoffs and possible affect on Java

2008-11-17 Thread Andrew Robinson
For those that care, here is an article I found interesting on the subject of Sun laying off some of their workforce http://broadcast.oreilly.com/2008/11/suns-layoffs-who-is-anil-gadre.html -Andrew

Re: [Trinidad] tr:messages with multiline text

2008-11-14 Thread Andrew Robinson
use \n and use a css style on the messages with white-space: pre -Andrew On Fri, Nov 14, 2008 at 12:33 AM, Bruno Marti [EMAIL PROTECTED] wrote: Is there a way to outline a multiline message in tr:messages or tr:message. I've got several user error messages which should have multiline style.

Re: [TRINIDAD]What happens if we use renderer-type of trinidad but render-kit class of ajax4jsf

2008-11-12 Thread Andrew Robinson
A4J and Trinidad are not compatible, at least it is not supported. If you choose to use both, you do so at your own risk. -Andrew On Tue, Nov 11, 2008 at 11:55 PM, dushyant agarwal [EMAIL PROTECTED] wrote: Hi, I have a situation in which I am using frames and am getting a View expired

Re: [TRINIDAD] Escape HTML characters in tr:message

2008-11-02 Thread Andrew Robinson
Skin the component set the white-space: pre on the element to correctly show the \n? On Sat, Nov 1, 2008 at 2:00 PM, Amaris Nieves [EMAIL PROTECTED] wrote: I'd like to be able to have a newline in the message displayed by a tr:message component but this component does not have the escape

Re: PPR, dialog and validation problem

2008-10-31 Thread Andrew Robinson
with the subform with default attribute as you proposed before, but with the same result. Maybe Facelets broke this. I'm using Facelets 1.1.14 and Trinidad 1.0.9. Andrew Robinson-5 wrote: Make sure that all of your input components are in at least 1 subform. That is why I showed the default

  1   2   3   4   5   6   7   8   9   10   >