Re: howto put inline javascript rendered by myfacestomahawk into CDATA-section

2008-01-16 Thread David Delbecq
No, the job of facelets manily stops when the components start rendering :) FAceLets is a view handler, it doesn't interfer with generated outptu from component. The rendering job of facelet is limited to non jsf parts of the template. En l'instant précis du 08/01/08 10:22, R. Müller

RE: [OT] Expression language logging?

2008-01-16 Thread Jesse Alexander (KSFH 323)
Hi some classes request a logger with a virtual class/package name. Maybe you should check the source of the EL whether it uses the real classname to acquire the logger or a virtual one. regards Alexander From: Andrew Robinson [mailto:[EMAIL

Re: howto put inline javascript rendered by myfacestomahawk into CDATA-section

2008-01-16 Thread David Delbecq
En l'instant précis du 07/01/08 23:05, simon s'exprimait en ces termes: Your could write a filter that convert script (.*)(.*)/script to script $1[CDATA[$2]]/script Or, as mentionned, patch the myfaces/tomhawk code? In HTML, script tags are special, and the content within them is

Re: Is it possible to use AddResource with my own components?

2008-01-16 Thread David Delbecq
http://wiki.apache.org/myfaces/External_Resources :) En l'instant précis du 15/01/08 21:33, Martin Marinschek s'exprimait en ces termes: Hi David, would you be willing - if time permits - to post a short outline of your solution on our Wiki? Thanks very much in advance! regards, Martin On

Re: Is it possible to use AddResource with my own components?

2008-01-16 Thread Martin Marinschek
Thanks a lot! regards, Martin On 1/16/08, David Delbecq [EMAIL PROTECTED] wrote: http://wiki.apache.org/myfaces/External_Resources :) En l'instant précis du 15/01/08 21:33, Martin Marinschek s'exprimait en ces termes: Hi David, would you be willing - if time permits - to post a short

Is it possible to track the user's action?

2008-01-16 Thread liumin HU
hi all, I think it is not a really question of myface. but I hope i can get some suggestion here. I want to know ,for analysing the bug,how to collect which action is called by user and what is sended from interface. I think i can do it If I add a system.out in every method. But it is not

RE: Is it possible to track the user's action?

2008-01-16 Thread general.equal.700
Hi liu, You can create servlet filters and phase listeners. -OE -Original Message- From: liumin HU [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 3:58 AM To: MyFaces Discussion Subject: Is it possible to track the user's action? hi all, I think it is not a really

Re: Dependencies of org.apache.myfaces.custom.tree.model.* package

2008-01-16 Thread rapowder
Ok, I solved this first problem by adding tomahawk.jar ALSO to the jar of my application (which I don't like as a solution, but works). Problem is that now I get another exception: java.lang.IllegalArgumentException Value must be a TreeModel or TreeNode I just implemented the example that i

Re: Is it possible to track the user's action?

2008-01-16 Thread Svilen Ivanov
Hi liu, This might help: http://www.mail-archive.com/users@myfaces.apache.org/msg42241.html It is ActionListener that logs which action is called from the UI. Hope this helps Regards, Svilen 2008/1/16, general.equal.700 [EMAIL PROTECTED]: Hi liu, You can create servlet filters and phase

[Trinidad] tr:form/subform issue: form fields not passed

2008-01-16 Thread wolfgang . toepfer
Hi, BTW Happy New Year to everybody! Here's an issue I think might be interesting for others as well: The issue is that in a combination of facelets 1.1.12(Snapshot), Trinidad 1.2.4 using showDetailItem with enclosed subforms and an embracing big form the form fields are not passed. Here's

RE: Is it possible to use AddResource with my own components?

2008-01-16 Thread Matt.Rossner-prest
Thanks, this helps a lot. You're right it's not difficult or fancy but it was also not documented until now. So I thank you for taking the time to update the wiki page. Matt -Message d'origine- De : Martin Marinschek [mailto:[EMAIL PROTECTED] Envoyé : mercredi 16 janvier 2008 09:37 À 

Trinidad Table range navigation problem

2008-01-16 Thread mikeatx
Hi, I'm using Trinidad components, I try to display a table with range navigation but the range navigation don't work, the first range is always displayed. Must I implement some business myself? Here is my jspx code: tr:table value=#{jobScheduler.userJobsTable} var=row emptyText=No rows

Re: Trinidad Table range navigation problem

2008-01-16 Thread Max Starets
Mike, You do not need to set first to get navigation to work. How many records does your userJobsTable have? Are you saying that table does not navigate to the new range when you click next? Regards, Max Starets mikeatx wrote: Hi, I'm using Trinidad components, I try to display a table with

Re: [TRINIDAD]Hiding some rows in tr:table

2008-01-16 Thread Max Starets
Ravindra, Have you considered removing hidden rows from your model and PPR-ing the table? Regards, Max Starets Ravindra Adireddy wrote: Hi all is it possible to hid selected rows depending on some criteria in tr:table?? if yes, how can i achieve that.

[tobago] Seam integration

2008-01-16 Thread Zied Hamdi
Hi, I'm trying to run a seam-tobago testing project. I have the following exception, and i can't find why it happens. I started from a working seam project then i added the Tobago conf (that i took from my existing working tobago project). I'm under JBoss 4.2 so the sun JSF implementation.

RE: (Trinidad) Session time-out in dialog pop-up

2008-01-16 Thread sandeep gururaj
Just wanted to check if anybody out there can help on this... From: sandeep gururaj [mailto:[EMAIL PROTECTED] Sent: Tue 1/15/2008 7:15 PM To: MyFaces Discussion Subject: (Trinidad) Session time-out in dialog pop-up Hello All, I have encountered a strange

[Trinidad] trinidad:table losting pagination

2008-01-16 Thread Alessandro Lazarotti
My project uses ajax4jsf to submit ajax. When must submit a form and update a trinidad: table, the pagination disappears. Why a4j:commandButton with reRender for trinidad table lost pagination ? Thanks Alessandro Lazarotti

Ope new tab/window using h:outputLink

2008-01-16 Thread Wolfgang
Hi, I use an h:outputLink in an tomahawk tree2 to open an link in a new window. This is working but the page where I clicked the link navigates then to the start page which is another xhtml page...? t:tree2 id=treeGoSlim var=node .. do other stuff ...

Re: [Trinidad] tr:form/subform issue: form fields not passed

2008-01-16 Thread Matthias Wessendorf
is readOnly=#{readOnlyTest} evaluated as true ? -M 2008/1/16 [EMAIL PROTECTED]: Hi, BTW Happy New Year to everybody! Here's an issue I think might be interesting for others as well: The issue is that in a combination of facelets 1.1.12(Snapshot), Trinidad 1.2.4 using showDetailItem

Re: Ope new tab/window using h:outputLink

2008-01-16 Thread Andrew Robinson
Have you tried using target=_new? On Jan 16, 2008 9:14 AM, Wolfgang [EMAIL PROTECTED] wrote: Hi, I use an h:outputLink in an tomahawk tree2 to open an link in a new window. This is working but the page where I clicked the link navigates then to the start page which is another xhtml

disable extensionfilter from within a component

2008-01-16 Thread david delbecq
Hello, we would like to disable the extension filter of tomahawk from within a component. The main reason is that the component's purpose is to create binary output instead of text output, using context.responseComplete() and request.reset() However, the filter tries to parse and correct

t:dataScroller issue: scrollerprevious is duplicated in the faces tree

2008-01-16 Thread Marko Asplund
Hi, I'm developing a portlet with JSF using the Tomahawk t:dataTable action in combination with t:dataScroller for implementing a pageable search results page. The page includes a form for typing in search criteria and dataTable is used for representing the results. Part of the time this is

[Trinidad] MissingResourceException

2008-01-16 Thread Mathias Walter
Hi, I've declared: private org.apache.myfaces.trinidad.component.core.nav.CoreCommandLink editLink; Than I bound a commandLink to this backing beans variable. In a backing bean method I'm calling: if (editLink != null editLink.isRendered()) If I request the page, I get the

conversion in jsf

2008-01-16 Thread Yaron Spektor
Hi , I was wondering about the conversion mechanism that is done automatically in jsf. When I bind a value to an input field, for example, how and where in the code does JSF realize which converter to setup ( Long or a String etc.) I see it is doing it, I know how to override it but I am

Re: [Trinidad] MissingResourceException

2008-01-16 Thread Matthias Wessendorf
can u provide some more stack? -M On Jan 16, 2008 1:22 PM, Mathias Walter [EMAIL PROTECTED] wrote: Hi, I've declared: private org.apache.myfaces.trinidad.component.core.nav.CoreCommandLink editLink; Than I bound a commandLink to this backing beans variable. In a backing bean method I'm

Re: t:dataScroller issue: scrollerprevious is duplicated in the faces tree

2008-01-16 Thread Ryan Wynn
On Jan 16, 2008 3:13 PM, Marko Asplund [EMAIL PROTECTED] wrote: Hi, I'm developing a portlet with JSF using the Tomahawk t:dataTable action in combination with t:dataScroller for implementing a pageable search results page. The page includes a form for typing in search criteria and dataTable

Re: conversion in jsf

2008-01-16 Thread Cagatay Civici
When you bind sth, like #{mybean.someInteger} The property resolver resolves the type of someInteger property to an integer, and later this is used to figure out the necessary converter to use automatically, in this case it is numberconverter to convert the submitted string value to an integer.

Re: [tobago] Seam integration

2008-01-16 Thread Bernd Bohmann
Hello Zied, can you send me the test project, please. I will try to debug the project. Regards Bernd Zied Hamdi schrieb: Hi, I'm trying to run a seam-tobago testing project. I have the following exception, and i can't find why it happens. I started from a working seam project then i

RE: conversion in jsf

2008-01-16 Thread Yaron Spektor
Thanks for your answer, I Googled it and found your article about customizing it for JSF. I was wondering though, can I get the default property resolver to work for me in cases where I do not use the binding (I am creating a framework that does not use the concept of binding but would like to

Re: [TRINIDAD] Modifying tr:table component

2008-01-16 Thread Ravindra Adireddy
Hi max, Thanks for your reply Actually i am trying to modify the trinidad table to support advanced searching, multiple column sorting and exporting data into excel. I am using 4 boolean variables in .tld file 1) searchEnabled 2) multipleSorting 3) exportAllRows 4) exportSelectedRows if

Re: Trinidad Table range navigation problem

2008-01-16 Thread Ravindra Adireddy
is navigation panel rendered? if not make sure your table has more then 3 rows On Jan 16, 2008 6:00 PM, mikeatx [EMAIL PROTECTED] wrote: Hi, I'm using Trinidad components, I try to display a table with range navigation but the range navigation don't work, the first range is always displayed.

Re: Trinidad Table range navigation problem

2008-01-16 Thread mikeatx
Thanks for you answers. I've resolved my problem. The following tag in my page cause the error: jsp:output omit-xml-declaration=true doctype-root-element=HTML doctype-system=http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; doctype-public=-//W3C//DTD XHTML 1.0

Re: disable extensionfilter from within a component

2008-01-16 Thread Simon Kitching
david delbecq [EMAIL PROTECTED] schrieb: Hello, we would like to disable the extension filter of tomahawk from within a component. The main reason is that the component's purpose is to create binary output instead of text output, using context.responseComplete() and request.reset()