Trinidad's components localization

2008-03-20 Thread G.Cholakov
Hi guys, Does someone know is there a way to localize the Trinidad's tr:table page navigation links - by default they are Next and Previous, same for the contents of the combo between them? Same situation for tr:messages, which title shows Error or Information, I want to put my strings instead

Antwort: Re: [Trinidad] Basic Trinidad 1.2.7 incompatibility with Seam!

2008-03-20 Thread wolfgang . toepfer
Hi all, Thanks for the hints! I will look into it further and try out your suggestions. Happy Easter, Wolfgang. Stephen Friedrich [EMAIL PROTECTED] 19.03.2008 21:58 Bitte antworten an MyFaces Discussion users@myfaces.apache.org An MyFaces Discussion users@myfaces.apache.org Kopie Thema

Re: Converter-For-Class : getAsObject does not get called

2008-03-20 Thread Michael Heß
Short update: Since the JspValueExpression class is part of Tomcat, and I was also able to reproduce this behaviour with the SUN RI, I decided to file a bug against Tomcat. https://issues.apache.org/bugzilla/show_bug.cgi?id=44637 bye, Michael Michael Heß schrieb: Martin, I looked into it

Using the train component of trinidad

2008-03-20 Thread Anthony . Millerson
Hello For my webpage I want to use the train component of Trinidad. I use the syntax I found on the Apache MyFaces Trinidad website. My question is if it is possible to show the items vertical instead of horizontal. tr:train var=node value=#{processMenuModel} f:facet name=nodeStamp

[Trinidad] using custom model with tr:table

2008-03-20 Thread Ravindra Adireddy
Hi all, I am using my custom model with trinidad table as shown below. I want to instantiate my custom model only once regardless of backing bean. Is it possible? *Model Class:* public MyModel extends CollectionModel { // logic } *Backing Bean:* public MyBackingBean {

Lazy loading tree is crashed by fast clicking users

2008-03-20 Thread Martin Schlierf
Hi, I'm facing problems with a lazy loading Tree2. My nodes load data from the file system to get its children in the tree. This takes some seconds to load. For example the user gets the root node which has 5 child nodes. If the user clicks on all 5 plus signs to open the nodes the renderer

JSF TreeWalker returns true for last node

2008-03-20 Thread Martin Schlierf
Hi, I have a tree component which shows folders and files. If the root has some folders and files there is no problem. (The last next call returns false) If the root only has files (isLeaf() returns true for all nodes) the last next call returns true. I think it should return false

Re: Lazy loading tree is crashed by fast clicking users

2008-03-20 Thread Andrew Robinson
How are you lazy loading the tree2. There is no built in support for it, so your problem is completely dependent on your implementation of it. On Thu, Mar 20, 2008 at 6:00 AM, Martin Schlierf [EMAIL PROTECTED] wrote: Hi, I'm facing problems with a lazy loading Tree2. My nodes load data

Re: [Trinidad] Pagination on top and bottom of tables

2008-03-20 Thread Alessandro Lazarotti
This is very bad, the facet "action" also appears just above the table. If the user sees a long table, the buttons are inaccessible. :-( Cristi Toth escreveu: Hi, This is no longer done in Trinidad. There are some code leftovers that are a sign that was supported. I plan to re-add this

getIsDisabled/setIsDisabled

2008-03-20 Thread h b
Hello, I have the following backing bean: //not actual code public class Foo { private boolean isBar; public Foo() {}; public boolean isBar() {return this.isBar;} public void setBar(boolean isBar) { this.isBar= isBar;} } in my jsf I the following: h:commandLink disabled=#{foo.isBar}/ It is

Re: getIsDisabled/setIsDisabled

2008-03-20 Thread Christoph Ebner
Try h:commandLink disabled=#{foo.bar}/ getters for boolean properties are supposed to be named 'isProperty()' for all other objects or primitive types it's 'getProperty()'. regards christoph On Thu, Mar 20, 2008 at 6:50 PM, h b [EMAIL PROTECTED] wrote: Hello, I have the following backing

Re: getIsDisabled/setIsDisabled

2008-03-20 Thread Bryan Basham
EL uses the JavaBeans standard. So, the disable EL attribute should be #{foo.bar} and EL will use the isBar():boolean method to retrieve the value. You must not include the is portion of the method name. Regards, Bryan h b wrote: Hello, I have the following backing bean: //not actual code

[Trinidad] tr:table varStatus not working for EL passed to included components

2008-03-20 Thread Renzo Tomaselli
Hi, I noticed that when using the varStatus attribute of tr:table, it can be used into any local EL statement only. If I use it inside any expression to be passed on to any included component, then that expression is evaluated to a constant (1). E.g.: tr:table varStatus=statux ... tr:column

Re: [Trinidad] tr:table varStatus not working for EL passed to included components

2008-03-20 Thread Andrew Robinson
tr:table varStatus=statux ... tr:column cx:valueHolder idBase=foo:#{statux.index}/ where cx:valueHolder is an included component having: ui:component tr:commandLink onclick=Click( 'foo:#{statux.index}'); ... Try: ui:component tr:commandLink onclick=Click(

Re: [Trinidad] tr:table varStatus not working for EL passed to included components

2008-03-20 Thread Andrew Robinson
Try using ui:decorate instead of a user source tag to see if it is a problem with the UserTagHandler facelets class. Also simplify you template so that you eliminate other possible problems (also try swapping ui:component out with ui:composition to see if that has an effect): tr:table

Re: [Trinidad] tr:table varStatus not working for EL passed to included components

2008-03-20 Thread Renzo Tomaselli
Thanks, Andrew. Your proposal should have been in my msg, according to the real failing case. It was a typing mistake, nevertheless neither solution works. It seems that the deeper EL evaluation occurs out of loop, despite of proper row rendering. My definitive target is to reconstruct row

Re: Trinidad's components localization

2008-03-20 Thread Cristi Toth
There is already support for localization in skinning. But there is no documentation about the translation keys. here are the text keys for the rangeChoice: af_selectRangeChoiceBar.PREVIOUS_TIP; af_selectRangeChoiceBar.NEXT_TIP; af_selectRangeChoiceBar.PREV_DISABLED_TIP;

Re: [Trinidad] tr:table varStatus not working for EL passed to included components

2008-03-20 Thread Renzo Tomaselli
Andrew, I don't use any template. Never used one, actually I rely heavily on composition components (many placeholders, one page). Maybe a trivial workaround for this issue is to have a row getter returning the row index, since #{row} is evaluated properly within the inner component. -- Renzo

Re: [Trinidad] Pagination on top and bottom of tables

2008-03-20 Thread Cristi Toth
I agree, so I added a new issue: TRINIDAD-1019 On Thu, Mar 20, 2008 at 6:27 PM, Alessandro Lazarotti [EMAIL PROTECTED] wrote: This is very bad, the facet action also appears just above the table. If the user sees a long table, the buttons are inaccessible. :-( Cristi Toth escreveu: Hi,

Re: [Trinidad] tr:table varStatus not working for EL passed to included components

2008-03-20 Thread Andrew Robinson
On Thu, Mar 20, 2008 at 2:20 PM, Renzo Tomaselli [EMAIL PROTECTED] wrote: Andrew, I don't use any template. Never used one, actually I rely heavily on composition components (many placeholders, one page). Maybe a trivial workaround for this issue is to have a row getter returning the row

Re: how to dynamically load tabbedpane

2008-03-20 Thread Michael Kurz
Sidhik, Rosmon schrieb: I have a somewhat complicated UI design. I have a page which contains a search, the search results displayed below and then an Edit screen below it. The edit screen contains a left navigation (dynamically generated using tomahawk NavigationMenuItems) and the details

Re: Trinidad's components localization

2008-03-20 Thread Matthias Wessendorf
I think he sees that facts, that we only replaced the english strings in the past. The translations are coming soon! -M On Thu, Mar 20, 2008 at 3:59 PM, Cristi Toth [EMAIL PROTECTED] wrote: There is already support for localization in skinning. But there is no documentation about the

e-commerce framework recommendations?

2008-03-20 Thread md10024
Hi, Does anyone have any recommendations for e-commerce packages/frameworks (either commercial or open source) that can be integrated into an application that uses a JSF presentation layer? thanks, Mark -- View this message in context:

Re: e-commerce framework recommendations?

2008-03-20 Thread Andrew Robinson
paypal an be used with any front end and it was pretty easy to integrate into a project I made with Core and Tomahawk controls. It is not a full e-commerce package obviously, but it is good if you are looking for a simple transaction processing system with low fees or if you want to have a very