AW: [Trinidad] EvaluationException in XMLMenuModel

2008-10-09 Thread Rottstock, Sven
with some System.out.println statements to tell us what may be going on? Also try the latest snapshot and see if that helps (at the very least it will give us a more accurate set of line numbers). -Andrew On Wed, Oct 8, 2008 at 6:12 AM, Rottstock, Sven [EMAIL PROTECTED] wrote: Hi

AW: [Trinidad] EvaluationException in XMLMenuModel

2008-10-08 Thread Rottstock, Sven
) at org.apache.myfaces.trinidad.model.ChildPropertyTreeModel.getRo wCount(Chi ldPropertyTreeModel.java:196) at org.apache.myfaces.trinidad.model.BaseMenuModel.getRowCount(Ba seMenuMode l.java:70) I wonder if you have a (reproducible) test-case for that ? -Matthias On Wed, Oct 8, 2008 at 1:05 PM, Rottstock, Sven [EMAIL PROTECTED

[Trinidad] EvaluationException in XMLMenuModel

2008-10-08 Thread Rottstock, Sven
Hi everybody, i have a strange behaviour in my JSF application. For me all works fine but some customers get a very sporadic EvaluationException during page rendering (see the stack trace below). Has anybody any pointers for me how I can fix the trouble or has somebody the same issue? I'm using:

AW: [Trinidad] EvaluationException in XMLMenuModel

2008-10-08 Thread Rottstock, Sven
Wessendorf Gesendet: Mittwoch, 8. Oktober 2008 14:17 An: MyFaces Discussion Betreff: Re: [Trinidad] EvaluationException in XMLMenuModel On Wed, Oct 8, 2008 at 2:12 PM, Rottstock, Sven [EMAIL PROTECTED] wrote: Hi Matthias, This is exaclty my problem - I'm unable to reproduce this behaviour

[Trinidad] set focus after partial submit

2008-08-13 Thread Rottstock, Sven
Hi, i have the following JavaScript code that should execute a partial submit. After the response is completed the focus should be set on the input element that have triggered the request. tr:inputText label=#{bundle.searchPattern} value=#{myBean.searchPattern}

AW: [Trinidad] set focus after partial submit

2008-08-13 Thread Rottstock, Sven
, Handelsregister Frankfurt HRB 56839 Geschäftsführer Harold Finders, Thorsten Junike, Dr. Dirk Lüth, Michael Joseph Ruane, Victoria Elizabeth Silbey -Ursprüngliche Nachricht- Von: Rottstock, Sven [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 13. August 2008 10:26 An: MyFaces Discussion

AW: [Trinidad] set focus after partial submit

2008-08-13 Thread Rottstock, Sven
was handled by the Trinidad client engine and the dom is replaced. you could search for an element, and call element.focus(). Can you try that ? -Matthias [1] http://myfaces.apache.org/trinidad/devguide/ppr.html On Wed, Aug 13, 2008 at 11:28 AM, Rottstock, Sven [EMAIL PROTECTED] wrote

AW: [Trinidad] set focus after partial submit

2008-08-13 Thread Rottstock, Sven
. you could search for an element, and call element.focus(). Can you try that ? -Matthias [1] http://myfaces.apache.org/trinidad/devguide/ppr.html On Wed, Aug 13, 2008 at 11:28 AM, Rottstock, Sven [EMAIL PROTECTED] wrote: I think I have figured out my issue but I don't know how I

AW: [Trinidad] set focus after partial submit

2008-08-13 Thread Rottstock, Sven
. August 2008 13:09 An: MyFaces Discussion Betreff: Re: [Trinidad] set focus after partial submit On Wed, Aug 13, 2008 at 1:01 PM, Rottstock, Sven [EMAIL PROTECTED] wrote: Ok - I can test it. But it should be the same when I add an onload attribute to the tr:document, isn't it? that would

AW: [Trinidad] set focus after partial submit

2008-08-13 Thread Rottstock, Sven
An: MyFaces Discussion Betreff: Re: [Trinidad] set focus after partial submit On Wed, Aug 13, 2008 at 3:07 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: On Wed, Aug 13, 2008 at 3:00 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: On Wed, Aug 13, 2008 at 2:48 PM, Rottstock, Sven [EMAIL

AW: [MyFaces] styling components inside of a naming container

2008-08-08 Thread Rottstock, Sven
, Freek -Original Message- From: Rottstock, Sven [mailto:[EMAIL PROTECTED] Sent: 07 augustus 2008 15:48 To: MyFaces Discussion Subject: [MyFaces] styling components inside of a naming container Hi, i have a simple question. If you have a component inside a naming

[MyFaces] styling components inside of a naming container

2008-08-07 Thread Rottstock, Sven
Hi, i have a simple question. If you have a component inside a naming container the client id of this component is prefixed with the naming container id and a colon. Is it possible to style such elements via CSS? I was trying to add the following lines into my CSS file:

AW: [Trinidad] Selecting a row in tr:table by clicking on the row

2008-05-29 Thread Rottstock, Sven
Hi, just a little improvement: It is not necessary to set a tableId via c:set/. Your JS Function will also work if you set the parameter as follows: mySelectRow(this.id, #{status.count}); Regards, Sven ___ SunGard Europa 2008: Complexity, Compliance Cost

AW: [Trinidad] Selecting a row in tr:table by clicking on the row

2008-05-29 Thread Rottstock, Sven
Von: Rottstock, Sven [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 29. Mai 2008 15:42 An: MyFaces Discussion Betreff: AW: [Trinidad] Selecting a row in tr:table by clicking on the row Hi

AW: How to invoke ActionListener for menuitem in XMLMenuModel?

2008-03-18 Thread Rottstock, Sven
Hi, the problem lies in org.apache.myfaces.trinidadinternal.menu.ItemNode. Each item from your menu-metadata.xml is handled by this class. Unfortunately the current implementation does not have an action method that would call your action listener. In other words: IMO it seems to be a

AW: [Trinidad] commandNavigationItem and icon

2008-03-17 Thread Rottstock, Sven
79504 * Geschäftsführer: Harold Finders, Dr. Marc Gille, Dr. Dirk Lüth, Michael J. Ruane, Victoria Elizabeth Silbey -Ursprüngliche Nachricht- Von: Rottstock, Sven [mailto:[EMAIL PROTECTED] Gesendet: Do 13.03.2008 22:32 An: MyFaces Discussion Betreff: AW: [Trinidad] commandNavigationItem

AW: selectOneListbox throws on empty map

2008-03-14 Thread Rottstock, Sven
It seems to be a bug in the SimpleSelectOneRenderer. A workaround for this issue is to set the submitted value to an empty String. Here is a short example: tr:selectOneListbox id=myOptions label=Items: value=#{bean.item} autoSubmit=true !-- entries goes here... -- /tr:selectOneListbox

AW: [Trinidad] commandNavigationItem and icon

2008-03-13 Thread Rottstock, Sven
Nachricht- Von: Rottstock, Sven [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 26. Februar 2008 10:25 An: MyFaces Discussion Betreff: AW: [Trinidad] commandNavigationItem and icon yep - here is the stack trace if you haven't set the text attribute: SCHWERWIEGEND: Error Rendering View

[Trinidad] XmlMenuModel + launchListener

2008-03-04 Thread Rottstock, Sven
Hi, i'm unable to use the launchListener attribute in the XmlMenuModel because i don't know how i could define it in my page. I've got the following xml menu declaration: menu xmlns=http://myfaces.apache.org/trinidad/menu; resourceBundle=MyMessages var=msgBundle itemNode

[Trinidad] commandNavigationItem and icon

2008-02-26 Thread Rottstock, Sven
Hi list, i have any troubles with a commandNavigationItem specially if you put an icon as a nested element inside the navigation item. The following code snippet works well: tr:commandNavigationItem action=#{bean.doAction} tr:icon name=icon/ /tr:commandNavigationItem BUT if you surround the

AW: [Trinidad] commandNavigationItem and icon

2008-02-26 Thread Rottstock, Sven
trace ? -M On Tue, Feb 26, 2008 at 9:31 AM, Rottstock, Sven [EMAIL PROTECTED] wrote: Hi list, i have any troubles with a commandNavigationItem specially if you put an icon as a nested element inside the navigation item. The following code snippet works well: tr:commandNavigationItem

AW: [Trinidad] panelPopup + selectManyCheckbox inside

2008-02-21 Thread Rottstock, Sven
It is working now. Just added a valid action in the commandLink solves my problems. Cheers -Ursprüngliche Nachricht- Von: Rottstock, Sven [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 20. Februar 2008 18:49 An: MyFaces Discussion Betreff: [Trinidad] panelPopup + selectManyCheckbox

[Trinidad] panelPopup + selectManyCheckbox inside

2008-02-20 Thread Rottstock, Sven
Hi List, i get in troubles when i'm trying to use a selectManyCheckbox inside a panelPopup. When i open the popup for the first time the behaviour is like expected. I mean i can mark any entries in the selectManyCheckbox as selected and after applying the changes via the commandLink i can see

AW: [Trinidad] how to PPR a table row upon selecting its detail contents

2008-02-12 Thread Rottstock, Sven
Hi, sorry but you cannot set the id attribute for you tr:column via an el expression (see the taglib documentation of Trinidad). Regards, Sven Von: Andrew Robinson [mailto:[EMAIL PROTECTED] Gesendet: Montag, 11. Februar 2008 20:53 An: MyFaces Discussion

AW: Trinidad + Facelets + Tomahawk Tree2

2008-01-21 Thread Rottstock, Sven
Have you defined Tomahawk as your default namespace in your navigation menu? Or why is the namespace prefix missing for tree2? Cheers Sven -Ursprüngliche Nachricht- Von: Wolf Benz [mailto:[EMAIL PROTECTED] Gesendet: Montag, 21. Januar 2008 14:30 An: MyFaces Discussion Betreff:

AW: [Trinidad] Pagination in a tr:table?

2008-01-17 Thread Rottstock, Sven
Please have a look at: http://wiki.apache.org/myfaces/WorkingWithLargeTables You can also use it with Trinidad. Regards, Sven Von: Renzo Tomaselli [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 17. Januar 2008 12:16 An: MyFaces Discussion Betreff: Re:

AW: AW: [Trinidad] Pagination in a tr:table?

2008-01-17 Thread Rottstock, Sven
in the history below, sorry for that.) I'll let you all know if I succeed. Best regards, Bart Kummel Rottstock, Sven [EMAIL PROTECTED] wrote on 17-01-2008 13:08:45: Please have a look at: http://wiki.apache.org/myfaces/WorkingWithLargeTables You can also use it with Trinidad

AW: AW: [Trinidad] Pagination in a tr:table?

2008-01-17 Thread Rottstock, Sven
;-) -Ursprüngliche Nachricht- Von: Rottstock, Sven [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 17. Januar 2008 14:50 An: MyFaces Discussion Betreff: AW: AW: [Trinidad] Pagination in a tr:table? No it is. You have an object that represent a subset of fetched entries (DataPage

AW: [Trinidad] tr:table binding attribute problem

2008-01-15 Thread Rottstock, Sven
Hi Steve, i don't know why the exception is thrown. But could you try the following solution: tr:table var=wrapper value=#{backer.list} f:facet name=detailStamp pmb:businessEntityList backer=#{wrapper.entityBacker} f:attribute name=binding

AW: AW: [Trinidad] tr:table binding attribute problem

2008-01-15 Thread Rottstock, Sven
shhQuiet [EMAIL PROTECTED] schrieb: Rottstock, Sven wrote: Hi Steve, i don't know why the exception is thrown. But could you try the following solution: snip pmb:businessEntityList backer=#{wrapper.entityBacker} f:attribute name=binding value

AW: Re: t:selectoneradio and the corresponding label

2008-01-10 Thread Rottstock, Sven
You can move your components e.g with float or you give a fixed|relative position. -Ursprüngliche Nachricht- Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Brummeline Bråten Gesendet: Donnerstag, 10. Januar 2008 14:07 An: users@myfaces.apache.org Betreff: Re: t:selectoneradio and the

AW: Call a backing bean before show a JSP

2008-01-08 Thread Rottstock, Sven
Why don't you use managed-properties for this scenario? You can call your action method in App1; put some parameters in the URL and forward to App2. If you use a request bean in your index.jsp (App2) then you can initialize your bean with the paramaters from App1 like this: managed-bean

[Trinidad] Override onclick Event

2007-12-21 Thread Rottstock, Sven
Hi list, i have to dynamically override the onclick method. Currently i used the following code snippet: script var completeBtn = window.document.getElementById(activityPanel:activityActionPane:complet e-button); var oldOnClickMethod = null; if(completeBtn != null) { oldOnclickMethod

AW: [Trinidad] Override onclick Event

2007-12-21 Thread Rottstock, Sven
Lessard [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 21. Dezember 2007 13:58 An: MyFaces Discussion Betreff: Re: [Trinidad] Override onclick Event Hi Sven, Why not use the onclick attribute on the component? Regards, ~ Simon On Dec 21, 2007 7:55 AM, Rottstock, Sven [EMAIL PROTECTED] mailto

AW: [Trinidad] Override onclick Event

2007-12-21 Thread Rottstock, Sven
it using EL from the template. Regards, ~ Simon On Dec 21, 2007 8:07 AM, Rottstock, Sven [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Simon, we provide a specific page for our customer. He can decorate this page via facelets and IMO it is a bad idea to modify

AW: [Trinidad] Override onclick Event

2007-12-21 Thread Rottstock, Sven
!-- end decoration page -- Now it works great. Thank you for the pointer. Regards, Sven Von: Rottstock, Sven [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 21. Dezember 2007 16:07 An: MyFaces Discussion Betreff: AW: [Trinidad] Override onclick Event Good

AW: [Trinidad] Inline Validation incorrect when using PPR

2007-12-20 Thread Rottstock, Sven
Can you surround the components with a panelGroupLayout and let have a partialTrigger to the first selectOneRadio? Does it works now? Regards, Sven -Ursprüngliche Nachricht- Von: Graeme Steyn [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 20. Dezember 2007 10:26 An: MyFaces

AW: tree base is null

2007-12-11 Thread Rottstock, Sven
Is the bean defined in the faces-config? Cheers Von: Dave [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 11. Dezember 2007 18:09 An: users@myfaces.apache.org Betreff: t:tree base is null Hi, h:panelGroup rendered=#{bean.foo != null} t:tree

[Trinidad] treeTable and disclosedRowKeys

2007-12-07 Thread Rottstock, Sven
Hi, i have a strange behaviour with the treeTable and the disclosedRowKeys. In detail i want to expand specific nodes programaticaly and this should be the initial state of the treeTable. This works fine for the first render time. Now the trouble: In the action facet i have a commandLink that

AW: [Trinidad] Refreshing of components within an iframe via PPR

2007-11-26 Thread Rottstock, Sven
Hi, i think you cannot update single components in an iframe because it can be theoretical possible that the site is hosted on a different server or comes from a different session. But you can update the whole iframe with JavaScript if you like. Here is a short example: !-- submit should

[Tomahawk] after enter key first tab becomes visible

2007-11-19 Thread Rottstock, Sven
Hi, i have a little problem with the tabbedPane component. In details i have 4 tabs in my page. If i select any tab (except the first one) and press the enter key, the tabbedPane is switched back to the first tab. This behaviour is only visible with the Internet Explorer and you can see this on

AW: [Tomahawk] after enter key first tab becomes visible

2007-11-19 Thread Rottstock, Sven
it to a page scoped bean, the problem should be gone. cheers, Gerald On Nov 19, 2007 9:52 AM, Rottstock, Sven [EMAIL PROTECTED] wrote: Hi, i have a little problem with the tabbedPane component. In details i have 4 tabs in my page. If i select any tab (except the first one) and press the enter

AW: [Tomahawk] after enter key first tab becomes visible

2007-11-19 Thread Rottstock, Sven
I can see that this strange behaviour is not reproducible on Firefox :-( -Ursprüngliche Nachricht- Von: Rottstock, Sven [mailto:[EMAIL PROTECTED] Gesendet: Montag, 19. November 2007 15:23 An: MyFaces Discussion Betreff: AW: [Tomahawk] after enter key first tab becomes visible

AW: [Tomahawk] after enter key first tab becomes visible

2007-11-19 Thread Rottstock, Sven
do you have defined for the bean? It should be more than request scope, because otherwise the index will be reset. cheers, Gerald On Nov 19, 2007 12:06 PM, Rottstock, Sven [EMAIL PROTECTED] wrote: Hi Gerald, i'm using the attribute selectedIndex. Furthermore a TabChangeListener is invoked

[Trinidad 1.0.3] Problem with session timeout

2007-11-13 Thread Rottstock, Sven
Hi all, i have a little problem with session timeouts and the view restorer. When you submit a form after the session timed out you get the same page as a response. The server log tells you that StateManager is unable to restore the view: 12:15:12,644 INFO [STDOUT] 13.11.2007 12:15:12

AW: [Trinidad 1.0.3] Problem with session timeout

2007-11-13 Thread Rottstock, Sven
ok - i have seen this link too late: http://www.nabble.com/Refresh-View-after-HTTPSession-Timeout-t4001656.html sorry -Ursprüngliche Nachricht- Von: Rottstock, Sven [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 13. November 2007 12:26 An: MyFaces Discussion Betreff: [Trinidad 1.0.3

AW: Skinning for specific @agent _versions_ ?

2007-11-05 Thread Rottstock, Sven
Hi, i had the same problem and i have fixed the problem with the star html hack. Here is a short code example: @agent ie { .myStyleClass { background-color:#ff; } /** CSS Hack (Star-HTML-Hack) especially for IE = 6 **/ /** This is basically a nonsense selector as the html

AW: [Trinidad] next/prev link doesn't work in chooseDate

2007-10-12 Thread Rottstock, Sven
, Rottstock, Sven [EMAIL PROTECTED] wrote: Hello Simon, you mean in this way??? tr:panelGroupLayout layout=horizontal tr:inputDate chooseId=picker value=#{myBean.selectedDate} f:convertDateTime type=both/ /tr:inputDate

AW: [Trinidad] next/prev link doesn't work in chooseDate

2007-10-12 Thread Rottstock, Sven
: Re: [Trinidad] next/prev link doesn't work in chooseDate Hello Sven, Can you post a JIRA issue about this please? As a quick workaround can't you use a popup with the new popup framework since it doesn't use a different window? Regards, ~ Simon On 10/12/07, Rottstock, Sven [EMAIL PROTECTED

[Trinidad] next/prev link doesn't work in chooseDate

2007-10-12 Thread Rottstock, Sven
Hi, in Trinidad 1.0.3 the chooseDate component doesn't work correctly if you associate it with an inputDate. Here is a short example: tr:panelGroupLayout layout=vertical tr:inputDate chooseId=picker value=#{myBean.selectedDate} f:convertDateTime type=both/ /tr:inputDate

[Trinidad] maybe returnListener is broken in trinidad 1.0.3

2007-10-09 Thread Rottstock, Sven
Hi, if i add a returnListener to my commandButton, which is defined in a facet from a table, the returnListener is not called anymore. Here is a short example: tr:table var=row value=#{backing.allRows} f:facet name=footer tr:panelButtonBar tr:commandButton text=Hit me