Re: Table PPR problem when trigger Outside

2007-09-05 Thread Bandaru
Hi, Thanks for your reply,I tried with Following Code as you mentioned But Not Triggered,what may be the problem? tr:selectBooleanCheckbox label=RemoveALL binding=#{backing_first.removeAll} id=removeAll autoSubmit=true/ tr:table

MyFaces and Tiles

2007-09-05 Thread Chris Pratt
I'm trying to get a simple app running with MyFaces and Tiles, but it's not working. I have the standard web.xml file that defines the TilesListener and MyFaces StartupServletContextListener. It also has the TilesDispatcherServlet (mapped to *.tiles) and the FacesServlet (mapped to *.jsf) My

Re: [Trinidad] panelLabelAndMessage still needs extra message tag?!

2007-09-05 Thread Matthias Wessendorf
perhaps adding Trinidad to the download page of MyFaces isn't a bad idea. I'll do that, once 1.2.2 is released, since I have to touch that page at that time -Matthias On 9/5/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: Hi, Also releases and corresponding downloads seem to be a

Re: [Trinidad] panelLabelAndMessage still needs extra message tag?!

2007-09-05 Thread Stephen Friedrich
The simplest way I can think of is to use panelLabelAndMessage containing a panelHorizontalLayout with two non-simple fields, where you haven't set the label on either (but do set the shortDesc attribute for accessibility). -- Adam Well, actually that was what I tried first. However then

Table model update?

2007-09-05 Thread Tobias Kilian
Hi NG! Im using a trinidad tr:table inside my seam-application. The Problem: It seams, that the table model is only generated once, at the first attempt to render the table and doesnt change afterwards. Is this correct? I suppose it could be desired behavior, but that leads me into

[Trinidad] Table model update?

2007-09-05 Thread Tobias Kilian
Hi NG! Im using a trinidad tr:table inside my seam-application. The Problem: It seams, that the table model is only generated once, at the first attempt to render the table and doesnt change afterwards. Is this correct? I suppose it could be desired behavior, but that leads me into trouble..

Re: Tabbedpane forgets selected pane

2007-09-05 Thread radu_milos
Hello, Thanks for your advices, which helped me get the needed functionality. Regards, Radu David Delbecq-2 wrote: radu_milos a écrit : Hello, Just moved from Weblogic 8.1 SP4, SUN RI 1.1 tomahawk 1.1.1. to WebLogic 81. SP4, myfaces 1.5 and tomahawk 1.1.6. Gained some functionality

[Trinidad] about CollectionModel semantics

2007-09-05 Thread Renzo Tomaselli
Hi, I'm using tr:table since a long time, where paging through large data sets is implemented by my own CollectionModel. But I still miss some logics behind CollectionModel methods I have to implement. AFAIK, the overall strategy is to use getRowKey/setRowKey to enable content-based keys

Re: [tobago] error not verbose enough

2007-09-05 Thread Volker Weber
Hi Zied, the lines like ...TobagoResponseWriterImpl.endElement(235) - Element end with name='html' doesn't match with ... looks like related to a bug i fixed yesterday. Are there any lines like ...ButtonRenderer.encodeBegin(55) - Wrong type: Need

[tobago] assertion failure

2007-09-05 Thread Zied Hamdi
Hi, I have an exception that I think shouldn't happen (am I doing sth wrong?, does anybody know how to avoid it?): Regards, Zied // *TODO*: remove this if block if prooven this never happens anymore *if* (command == *null * currentActionId != *null* currentActionId.matches(.*:\\d+:.*)) {

OT: CSS namespace(name scope)

2007-09-05 Thread Dave
This is actually not a JSF question, but usually JSF people know CSS. So I decided to post here. Sorry if this is not appropriate. CSS file1 - .myTable { } CSS file2 .myTable { } The class names defined in both

[Trinidad] TreeTable - expand all.

2007-09-05 Thread Darren McEntee
Hi all, I've a quick question regarding the tr:treeTable component. What I want too do is have the option for the treeTable to be expanded by default on specific pages on initial page loading. I see in the treeTable has the expandAllEnabled attribute which decides whether the Expand All

Re: [Trinidad] Working with large tables

2007-09-05 Thread Francisco Passos
Thank you, I'll delve into this whenever such a situation arises. I'm confident now, though. On 9/5/07, Adam Winer [EMAIL PROTECTED] wrote: The model for the Trinidad table is not java.util.List. It's org.apache.myfaces.trinidad.model.CollectionModel; and Trinidad also supports

Re: [tobago] assertion failure

2007-09-05 Thread Volker Weber
Hi Zied, did you have the output of this statement in the log LOG.debug(actionId = ' + currentActionId + '); just before the exception? you may need to set debug-level to debug for UIPage. please post the actionId. Regards, Volker 2007/9/5, Zied Hamdi [EMAIL PROTECTED]: Hi, I

Re: [tobago] assertion failure

2007-09-05 Thread Zied Hamdi
Hi Volker, this is the output with UIPage in debug level: I forgot to tell you it happens whan I click on a link in a UIData : tc:sheet id=personData value=#{personCtrl.persons} var=currentPerson state=#{personCtrl.sheetState} showHeader=true binding=#{personCtrl.personTable}

website for dynamic h:dataTable

2007-09-05 Thread Wolfgang Kluge
Hi, does anyone know a good website showing an example for dynamic h:dataTable? The example shouldn't be too heavy ;) I could only find examples showing NOT the Bean Class! There for I'm a beginner it's hard to understand the code without knowing the bean class Cheers Wolfgang -- Pt! Schon

[Tobago] Tree menu and Icon

2007-09-05 Thread yazid
Hi all; Is it possible to build a tree menu with a various icon (one icon by user node ). Thanks -- View this message in context: http://www.nabble.com/-Tobago--Tree-menu-and-Icon-tf4383436.html#a12495980 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: [Trinidad] chart component in a h:datatable leads to javax.faces.el.PropertyNotFoundException - Base is null:

2007-09-05 Thread venkata guddanti
Hi Claus, This probably due to the fact that chart component does not implement valueHolder interface. Currently I believe only valueHolder components can be put inside the table. Can you use trh:tableLayout with c:forEach instead? Venkata On 9/3/07, Claus Elsborg Laursen [EMAIL PROTECTED]

[Trinidad] tr:selectOneChoice bug

2007-09-05 Thread Luka Surija
I've found out that tr:selectOneChoice isn't working properly in some cases (probably German characters): org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer Hypo-Leasing Kärnten GmbH Co KG;CoreSelectOneChoice[UIXEditableFacesBeanImpl,

Re: [Trinidad] about CollectionModel semantics

2007-09-05 Thread Simon Lessard
Hello Renzo, Comments inline. On 9/5/07, Renzo Tomaselli [EMAIL PROTECTED] wrote: Hi, I'm using tr:table since a long time, where paging through large data sets is implemented by my own CollectionModel. But I still miss some logics behind CollectionModel methods I have to implement. AFAIK,

RE: [Trinidad] TreeTable - expand all.

2007-09-05 Thread Darren McEntee
Anyone know about this? Thanks. Sent: 05 September 2007 10:31 To: MyFaces Discussion Subject: [Trinidad] TreeTable - expand all. Hi all, I've a quick question regarding the tr:treeTable component. What I want too do is have the option for the

Re: [Trinidad] tr:selectOneChoice bug

2007-09-05 Thread Simon Lessard
Hello Luka, This is not a component bug, most likely an application one (true component bugs rarely log a warning, they more often throw an exception or, at worst, don't print anything at all). The error you have occurs when the list of value either cannot be restored or changed during the

Re: [Trinidad] about CollectionModel semantics

2007-09-05 Thread Renzo Tomaselli
Thanks Simon. As a further guess - I think we have to distinguish between phase usage of such methods. I presume (hopefully) that position-based indexing is used only during rendering, and *not* during restore view/update model. In other words, we told the component to render a range [first,

Re: [tobago] error not verbose enough

2007-09-05 Thread Zied Hamdi
Hi again, Here's the page structure (by facelets) if it can help. Regards, Zied UIViewRoot clientProperties= [EMAIL PROTECTED] locale=fr_FR renderKitId=tobago rendered=true transient=false viewId=/person/person.xhtml UIPage actionId=page:personForm:personTableSubview:personData:0:j_id14

Re: [Trinidad] about CollectionModel semantics

2007-09-05 Thread Renzo Tomaselli
Simon, not sure I got it. If you use rowIndex to identify a row during update model, how do you provide consistency ? I thought that rowKey was introduced exactly to avoid any potential mismatch when rows have to be reloaded from the business layer. Thus if we need to update a field of the

Re: [Trinidad] tr:selectOneChoice bug

2007-09-05 Thread Simon Lessard
Hello Luka, Is the method isInserting() stable? Is it possible that it returns false on postback? Also, you cna try setting the valuePassThru attribute of the selectOneMenu to true to see if it helps. Regards, ~ Simon On 9/5/07, Luka Surija [EMAIL PROTECTED] wrote: I'm not so sure about

Re: [Tobago] EmptyStackException in datepicker

2007-09-05 Thread Helmut Swaczinna
Hi, when the datepicker should be opened for the first time the UIComponent for the datepicker can not be found in AjaxUtils.parseAndStoreComponents() line 147. When the popup is openend a second time the UIComponent can be found (with the same id). Regards, Helmut - Original Message

If in myFaces/Tomahwak

2007-09-05 Thread daniel ccss
Hi all, I have one question, how can I do an IF in a JSP wit myFaces/Tomahawk? In struts I used logic:equal or logic:notEqual, which is the tag in myFaces/Tomahawk to do that, I don´t want to use this: % if(...)... {% % else(...)... {% thanks!!!

Re: [Trinidad] about CollectionModel semantics

2007-09-05 Thread Simon Lessard
Hello Renzo, There's an InternalState that we use to keep the mapping toward the rowKey during those phases to handle that issue. Regards, ~ Simon On 9/5/07, Renzo Tomaselli [EMAIL PROTECTED] wrote: Simon, not sure I got it. If you use rowIndex to identify a row during update model, how

Re: [Trinidad] tr:selectOneChoice bug

2007-09-05 Thread Luka Surija
isInserting is stable. It is used in another part of application, and has nothing to do with this part (it is always false). No luck with valuePassThru. It is really funny because 3 lines before in the same xhtml I have this code snippet and it's working correctly as expected:

Re: [Trinidad] about CollectionModel semantics

2007-09-05 Thread Renzo Tomaselli
Simon, ok but the point is that the CollectionModel I have to publish is directly called to set/get rowIndex, and from the provided value it has to go to the business layer. I would expect that such InternalState should hide position-based calls on my model, using only keys. I miss the reason

Re: [tobago] error not verbose enough

2007-09-05 Thread Bernd Bohmann
Hello Zied, can you send the complete web application, please. (to my personal account) Regards Bernd Zied Hamdi wrote: Hi again, Here's the page structure (by facelets) if it can help. Regards, Zied UIViewRoot clientProperties= [EMAIL PROTECTED] locale=fr_FR renderKitId=tobago

Re: [Trinidad] tr:selectOneChoice bug

2007-09-05 Thread Simon Lessard
Odd... I'll think a bit about it, but I don't see what could cause the problem then. Can you add a log in your getListOfValues method and see if the value Hypo-Leasing Kärnten GmbH Co KG exists in it? As a side note comment though, you could cache the list of values for the length of the request

Re: [Trinidad] about CollectionModel semantics

2007-09-05 Thread Simon Lessard
Hmm, I'll have to test it out. normally, you Trinidad component should not rely on row indexes once a row key was provided for it (after first iteration though it). However, I'm not an InternalState expert yet, Adam might have something to say on that statement. As for what you should set with

Re: If in myFaces/Tomahwak

2007-09-05 Thread Mike Kienenberger
Generally, you do this with the rendered attribute of the component. If you want to group a bunch of components, use a panelGroup rendered. On 9/5/07, daniel ccss [EMAIL PROTECTED] wrote: Hi all, I have one question, how can I do an IF in a JSP wit myFaces/Tomahawk? In struts I used

Re: [Tobago] Tree menu and Icon

2007-09-05 Thread yazid
Please Help... yazid wrote: Hi all; Is it possible to build a tree menu with a various icon (one icon by user node ). Thanks -- View this message in context: http://www.nabble.com/-Tobago--Tree-menu-and-Icon-tf4383436.html#a12500853 Sent from the MyFaces - Users mailing list archive

Re: sandbox and faclets

2007-09-05 Thread Mike Kienenberger
1) Are you accessing the xhtml file directly rather than through the facelets servlet? 2) Is s:fieldset defined in your sandbox.taglib.xml file? 3) Are there errors parsing your facelets configuration files? There's probably other possibilities as well, but these are a few that immediately come

Re: [Trinidad] tr:selectOneChoice bug

2007-09-05 Thread Luka Surija
How do you mean see if the value Hypo-Leasing Kärnten GmbH Co KG exists in it? This entry exists in dropdown list of values for rendered ComboBox in browser (in source code I can't see if this is the one, because itemIndex is not an ID of the Vinkulant object. In database also everything is

[Trinidad] Large difference in generated ID between UIXComponentBase and UIComponentBase

2007-09-05 Thread Andrew Robinson
I am wondering if this is a bug or planned with UIXComponentBase: I was noticing that my custom component that extended CoreCommandLink stopped working after a partial update. When trying to figure out why, I noticed that the ID of the link changed between rendering and therefore the decode no

Re: [Trinidad] Large difference in generated ID between UIXComponentBase and UIComponentBase

2007-09-05 Thread Andrew Robinson
If it makes a difference, here is my renderer's code for this component: public class HelpIconRenderer extends CommandLinkRenderer { public final static String RENDERER_TYPE = com.christws.HelpIcon; private PropertyKey messageIdKey; private PropertyKey forKey; public

Re: If in myFaces/Tomahwak

2007-09-05 Thread daniel ccss
Can you give some example code, another way? On 9/5/07, Mike Kienenberger [EMAIL PROTECTED] wrote: Generally, you do this with the rendered attribute of the component. If you want to group a bunch of components, use a panelGroup rendered. On 9/5/07, daniel ccss [EMAIL PROTECTED] wrote:

Using JSF and Tiles

2007-09-05 Thread Chris Pratt
I have created what I imagine is the simplest possible MyFaces 1.1.5 and Tiles 2.0.4 application (http://www.planetpratt.com/xfer/crash.war), but it doesn't appear to work. Can anybody please help point me in the right direction? (*Chris*)

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] tr:selectOneChoice bug

2007-09-05 Thread Simon Lessard
On 9/5/07, Luka Surija [EMAIL PROTECTED] wrote: How do you mean see if the value Hypo-Leasing Kärnten GmbH Co KG exists in it? I mean if you log all calls to you getListOfValues method and its return value, does it always contain the value Hypo-Leasing Kärnten GmbH Co KG that

Re: If in myFaces/Tomahwak

2007-09-05 Thread Mike Kienenberger
panelGroup rendered=#{bean.shouldRenderThese} componentToRenderWhenTrue/ componentToRenderWhenTrue/ componentToRenderWhenTrue/ componentToRenderWhenTrue/ componentToRenderWhenTrue/ /panelGroup panelGroup rendered=#{not bean.shouldRenderThese} componentToRenderWhenFalse/

Re: [tobago] error not verbose enough

2007-09-05 Thread Zied Hamdi
Hello Bernd, I'm sorry, I can't get to the exception again. I'll take a look at my sooner versions archives tomorrow. (I'm alone on the app, I don't use a version controller :-/. ) Regards, Zied 2007/9/5, Bernd Bohmann [EMAIL PROTECTED]: Hello Zied, can you send the complete web

Re: If in myFaces/Tomahwak

2007-09-05 Thread daniel ccss
Thanks!!... But, there are no if components like the logic:equal o logic:notPresent?? in struts On 9/5/07, Mike Kienenberger [EMAIL PROTECTED] wrote: panelGroup rendered=#{bean.shouldRenderThese} componentToRenderWhenTrue/ componentToRenderWhenTrue/ componentToRenderWhenTrue/

ExtensionsFilter and RI

2007-09-05 Thread Ben Smith
Hi, I'm trying to use the upload file tag with RI 1.2. The tag works (the file is uploaded), but afterwards I get a blank page instead of the page I expect. I've found that any form that has enctype=multipart/form-data renders a blank page after submit, regardless of whether or not there's an

Re: [Trinidad] tr:selectOneChoice bug

2007-09-05 Thread Luka Surija
Comments are bellow. I appreciate all what are you doing guys. Tnx Luka Simon Lessard wrote: On 9/5/07, *Luka Surija* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: How do you mean see if the value Hypo-Leasing Kärnten GmbH Co KG exists in it? I mean if you log all calls to

Which component triggered request

2007-09-05 Thread David Brunette
When in a PhaseListener, or I suppose at any point during the request, is it possible to know which component triggered the request? Even just a clientId would suit my needs. Thanks... Dave The information transmitted herewith is sensitive information of Chordiant

Re: [Trinidad] tr:selectOneChoice bug

2007-09-05 Thread Simon Lessard
Stripped part the mail because it was getting quite hard to read. On 9/5/07, Luka Surija [EMAIL PROTECTED] wrote: Yes it does display everytime as you can see here is the output: .. listcut Vinkulant: Hypo Leasing d.o.o. Vinkulant: Hypo-Leasing Kärnten GmbH Co KG Vinkulant: Hypo-Leasing

[TRINIDAD] JS LocaleElements question

2007-09-05 Thread Simon Lessard
Hello all, Anyone know by heart how and when the JS Locale elements get set by any chance? It's not the part of the code I played the most with and I could save the heavy digging if possible. I get the following error in a very specific environment: this.getLocaleElements().DateTimePatterns has

Re: If in myFaces/Tomahwak

2007-09-05 Thread simon
No, there is no separate tag like logic:equal. You need to use the rendered attribute as Mike described. Note that the rendered attribute is a normal EL expression, which can be quite complex. An EL expression can test things for equality etc. See a JSF manual or the specification for what is

Re: Chosen label from an HtmlSelectOneMenu?

2007-09-05 Thread Rob99
Ok, I'll try that. Thanks for responding David! David Delbecq-2 wrote: You must iterate on component children, look at each uiselectitem and uiselectitems, and queary each of them until you get a SelectItem which value match the current one. you can then get label of this SelectItem.

Re: [Trinidad] tr:selectOneChoice bug

2007-09-05 Thread Luka Surija
Simon Lessard wrote: Stripped part the mail because it was getting quite hard to read. On 9/5/07, *Luka Surija* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Yes it does display everytime as you can see here is the output: .. listcut Vinkulant: Hypo Leasing d.o.o.

Re: [TRINIDAD] JS LocaleElements question

2007-09-05 Thread Simon Lessard
Nvm, I found my problem. On 9/5/07, Simon Lessard [EMAIL PROTECTED] wrote: Hello all, Anyone know by heart how and when the JS Locale elements get set by any chance? It's not the part of the code I played the most with and I could save the heavy digging if possible. I get the following

Re: Turn off the debug logging for Trinidad

2007-09-05 Thread DRAY
No worries. I just wasn't sure if I missed something obvious in a config file somewhere. Many thanks for the quick response. -- View this message in context: http://www.nabble.com/Turn-off-the-debug-logging-for-Trinidad-tf4363669.html#a12510738 Sent from the MyFaces - Users mailing list archive

Re: Trinidad 1.2.1: SelectOrderShuttle leading/trailingDescShown Fails For Me

2007-09-05 Thread Adam Winer
No, it will not be in 1.2.2. It'll be in 1.0.3 and 1.2.3. -- Adam On 9/4/07, Gregg Leichtman [EMAIL PROTECTED] wrote: Agreed. The port to Trinidad did _not_ cause this problem. My initial diagnosis was incorrect and your point on Tiles demonstrating the problem is the correct diagnosis.

Re: Trinidad 1.2.1: SelectOrderShuttle leading/trailingDescShown Fails For Me

2007-09-05 Thread Adam Winer
Or, rather, it will if we get a JIRA issue on it... -- Adam On 9/5/07, Adam Winer [EMAIL PROTECTED] wrote: No, it will not be in 1.2.2. It'll be in 1.0.3 and 1.2.3. -- Adam On 9/4/07, Gregg Leichtman [EMAIL PROTECTED] wrote: Agreed. The port to Trinidad did _not_ cause this

Re: [Trinidad] Large difference in generated ID between UIXComponentBase and UIComponentBase

2007-09-05 Thread Adam Winer
I don't see how or why this is wrong... _genId should get state saved, so I don't understand why you're having problems unless your custom component has overridden state saving incorrectly. I've never seen a problem like this with any of our Trinidad components. -- Adam On 9/5/07, Andrew

Re: [Trinidad] Large difference in generated ID between UIXComponentBase and UIComponentBase

2007-09-05 Thread Andrew Robinson
The code is pretty simplistic for the component: @FaceletComponent(namespace = http://christws.com/components;, tagName = helpIcon, type = UIHelpIcon.COMPONENT_TYPE, rendererType = HelpIconRenderer.RENDERER_TYPE) public class UIHelpIcon extends CoreCommandLink { public final static

Tomahawk schedule broken?

2007-09-05 Thread Ricardo Ramírez
Hi I am trying to use the schedule component, with no luck, I tried redefining the default classes (headerClass, dayClass), the schedule doesn't change. Snippet: = t:schedule id=cal headerClass=mycss dayClass=mycss2 / == Result: (mycss and mycss2 are

Re: [Trinidad] Large difference in generated ID between UIXComponentBase and UIComponentBase

2007-09-05 Thread Andrew Robinson
It works fine outside of the facet, Broken: tr:panelLabelAndMessage label=Test help tr:inputText id=testHelp value=#{testHelpText} simple=true / f:facet name=end cw:helpIcon for=testHelp messageId=test_help / /f:facet /tr:panelLabelAndMessage Works: tr:panelLabelAndMessage

Re: Trinidad 1.2.1: SelectOrderShuttle leading/trailingDescShown Fails For Me

2007-09-05 Thread Gregg Leichtman
I previously posted a JIRA issue as: TRINIDAD-678: Description Not Shown in TextArea for Select*Shuttle Components in the JIRA Components section. See: http://issues.apache.org/jira/browse/TRINIDAD-678 Let me know, if you cannot locate it. I thought that this was the most logical place.

Re: [Trinidad] Large difference in generated ID between UIXComponentBase and UIComponentBase

2007-09-05 Thread Andrew Robinson
TreeState.saveState(FacesContext, UIXComponentBase) is being called, but TreeState.restoreState(FacesContext, UIXComponentBase) is never called. I'll have to look into this to see if it is something I caused or not. Does Trinidad depend on a custom UIViewRoot implementation (I have my own and a

Re: [Trinidad] Large difference in generated ID between UIXComponentBase and UIComponentBase

2007-09-05 Thread Andrew Robinson
Okay, I could really use some help, and I am confused on the Trinidad code and how it is supposed to work. I stepped through the code on a PPR partial submit restore view. And the code that starts to seem fishy is the StateManagerImpl$PageState.popRoot(FacesContext) function. Code as follows:

Re: [Trinidad] Large difference in generated ID between UIXComponentBase and UIComponentBase

2007-09-05 Thread Andrew Robinson
Last notes on the night. I have been trying many different configurations and debugging more. I eventually got the client state to save correctly and the view to restore correctly by using: context-param param-nameorg.apache.myfaces.trinidad.CLIENT_STATE_METHOD/param-name

Re: [Trinidad] Large difference in generated ID between UIXComponentBase and UIComponentBase

2007-09-05 Thread Adam Winer
On 9/5/07, Andrew Robinson [EMAIL PROTECTED] wrote: Last notes on the night. I have been trying many different configurations and debugging more. I eventually got the client state to save correctly and the view to restore correctly by using: context-param

Re: [Trinidad] Large difference in generated ID between UIXComponentBase and UIComponentBase

2007-09-05 Thread Adam Winer
On 9/5/07, Andrew Robinson [EMAIL PROTECTED] wrote: Okay, I could really use some help, and I am confused on the Trinidad code and how it is supposed to work. I stepped through the code on a PPR partial submit restore view. And the code that starts to seem fishy is the