Re: java.lang.IllegalStateException: ExtensionsFilter not correctl

2007-11-05 Thread Costa Basil
Hi: Thank you for your answer Simon. Here are again those portions from the web.xml file that are relevant to this issue. I missed some of them before. Maybe there is something else wrong. Regarding your observation that the users can access directly the jsp pages, actually the access to

Re: java.lang.IllegalStateException: ExtensionsFilter not correctl

2007-11-05 Thread Costa Basil
Simon, again me. I think you might be right about the thread-safety. I checked out closely the access log and in two cases there was the same pattern. Each user triggered the login action (j_security_check) twice when they logged in. And they were the first users that accessed the system. Then

Re: java.lang.IllegalStateException: ExtensionsFilter not correctl

2007-11-05 Thread Costa Basil
It turns out that this problem is due to the fact that some code in the Myfaces framework is not thread-safe. I've been able to reproduce this error with JMeter using a threadgroup of 3 users that log in at the same time and navigate to the home page which is where it fails. Unfortunately I

java.lang.IllegalStateException: ExtensionsFilter not correctl

2007-11-04 Thread Costa Basil
Hi: I am using Myfaces core 1.1.5/Tomahawk 1.1.6 on a weblogic 9.1/jdk1.5.0_4 jrockit server on a redhat linux server. Rarely -3 times so far from June- I get the exception below. I never got it on my computer, I never got it in the test environment, only 3 times in production. There are no

Re: java.lang.IllegalStateException: ExtensionsFilter not correctl

2007-11-04 Thread Costa Basil
I forgot to send the chunks from web.xml file where the filter is defined. Here they are: ?xml version=1.0 encoding=UTF-8? web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee

validation and immediate components inside a dataTable

2007-09-12 Thread Costa Basil
Hi: I have a dataTable component with two columns containing inputText fields. I used value binding for both inputText fields: t:inputText id=value1 value=#{row.value1} .../t:inputText t:inputText id=value2 value=#{row.value2} immediate=true.../t:inputText row is an object of a class that

serialize an object to a hidden field

2007-08-31 Thread Costa Basil
How do I serialize an object in a hidden field (as opposed to using saveState and having its state meshed somewhere else along with the other components)? Thanks - Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the

Re: serialize an object to a hidden field

2007-08-31 Thread Costa Basil
(is that the right name?) value to #{bean.objectState} and you'd have getObjectState serialize the object into a string, and setObjectState unserialize the object. On 8/31/07, Costa Basil wrote: How do I serialize an object in a hidden field (as opposed to using saveState and having its state meshed

Re: converters not being called

2007-05-25 Thread Costa Basil
specification is supposed to be though -- that it doesn't convert strings). -Andrew On 5/24/07, Costa Basil [EMAIL PROTECTED] wrote: Currently I have a page with inputText components that don't seem to use the converters specified upon rendering the page the first time (i.e. when I get to the page via

converters not being called

2007-05-24 Thread Costa Basil
Currently I have a page with inputText components that don't seem to use the converters specified upon rendering the page the first time (i.e. when I get to the page via a http get). I found this issue: http://issues.apache.org/jira/browse/MYFACES-1561 which seems to describe the same problem

client validation and visual feedback for components with invalid or required values

2007-04-19 Thread Costa Basil
Hi: I have to implement a new requirement, where I have to show invalid or required components with different background colors. If the user enters an invalid value then I have to change on the fly (JavaScript) the background of the component. Can you please tell me if this can be easily

Re: tree2 doesn't remember the toggle status between requests for some nodes

2007-02-27 Thread Costa Basil
where is the cookie value set when the tree is rendered. Shouldn't the cookie value be set when the tree is encoded in order to reflect the structure in the memory? Costa Basil [EMAIL PROTECTED] wrote: Hi: I have this odd problem with tree2 which started to occur after I upgraded to a Tomahawk

Re: tree2 doesn't remember the toggle status between requests for some nodes

2007-02-27 Thread Costa Basil
Just to be precise, I didn't mean at the encoding time, I meant before the page gets rendered. Costa Basil [EMAIL PROTECTED] wrote: After I dug up more, I think it is because of bloody node toggle state cookies! The nodes toggle statuses are saved under a cookie with the same name as the tree

Re: Trinidad myfaces compatibility

2007-02-05 Thread Costa Basil
to investigate this more, and see if I can help out the cause. I think that these two libraries are powerful and would be great together. If you learn anything more, or see issues with my findings please let me know. -Jay On 1/31/07, Costa Basil [EMAIL PROTECTED] wrote: Just

JSCookMenu/navigationMenuItem doesn't bypass the validation in Tomahawk 1.1.5 snapshot

2007-02-02 Thread Costa Basil
I upgraded from MyFaces 1.1.1 to MyFaces 1.1.5 and now the jscook menu items do not bypass the validation anymore? Any suggestion on how can I fix this? Thank you - Make free worldwide PC-to-PC calls. Try the new Yahoo! Canada

Re: JSCookMenu/navigationMenuItem doesn't bypass the validation in Tomahawk 1.1.5 snapshot

2007-02-02 Thread Costa Basil
I set the immediate attribute to true for the jscookmenu and it works. Costa Basil [EMAIL PROTECTED] wrote: I upgraded from MyFaces 1.1.1 to MyFaces 1.1.5 and now the jscook menu items do not bypass the validation anymore? Any suggestion on how can I fix this? Thank you

Re: Trinidad myfaces compatibility

2007-02-01 Thread Costa Basil
issues with my findings please let me know. -Jay On 1/31/07, Costa Basil [EMAIL PROTECTED] wrote: Just to be precise, in both my messages when I said myfaces I meant myfaces core + tomahawk. I extensively use tomahawk in my project. I am looking to use some of the trinidad components, and I want

Myfaces 1.1.1 - Myfaces 1.1.5 migration question

2007-01-31 Thread Costa Basil
Is the MyFaces 1.1.5 snapshot production stable? Would you put it in a production environment? If not, which version would you recommend me to upgrade to? Thanks - Make free worldwide PC-to-PC calls. Try the new Yahoo! Canada

Trinidad myfaces compatibility

2007-01-31 Thread Costa Basil
Which version of myfaces is compatible with the current Trinidad snapshot? Thanks again - Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail

Re: Trinidad myfaces compatibility

2007-01-31 Thread Costa Basil
this link but it doesn't specify trinidad: http://wiki.apache.org/myfaces/CompatibilityMatrix Costa Basil [EMAIL PROTECTED] wrote: Which version of myfaces is compatible with the current Trinidad snapshot? Thanks again - Be smarter than spam. See how smart

source code for tomahawk 1.1.3

2006-12-14 Thread Costa Basil
Can someone please post the source code for this version of the libary, that is the exact source code that was used to compile the library? I need it for debugging. Thanks - The best gets better. See why everyone is raving about the All-new

source code for tomahawk 1.1.3

2006-06-19 Thread Costa Basil
Where can I find the source archive for tomahawk 1.1.3? I know you can find it for the nightly builds but I am interested to get it for tomahawk 1.1.3.I thought that you guys are going to fix this and provide the source code with each major realease.Thanks Share your photos with the people who

source code for myfaces core 1.1.3 and tomahawk 1.1.2

2006-06-02 Thread Costa Basil
Can someone please post the subversion commands that extract the exact source code that was used to build these two releases?I have been able to get the latest version of the source code but things changed since the last release and I don't know how to extract the source code that was used to

Re: source code for myfaces core 1.1.3 and tomahawk 1.1.2

2006-06-02 Thread Costa Basil
to create it?Also where do I get the latest sandbox binary distribution?ThanksOndrej Svetlik [EMAIL PROTECTED] wrote: Costa Basil wrote: Can someone please post the subversion commands that extract the exact source code that was used to build these two releases? I have been able to get the latest

Re: source code for myfaces core 1.1.3 and tomahawk 1.1.2

2006-06-02 Thread Costa Basil
that have been used to build a release? ThanksOndrej Svetlik [EMAIL PROTECTED] wrote: Costa Basil wrote: Thank you, I got the code. Now, I noticed there is a package that I couldn't find in the source code and that is org.apache.myfaces.shared_tomahawk. What's going on, why is this package missing

Re: source code for myfaces core 1.1.3 and tomahawk 1.1.2

2006-06-02 Thread Costa Basil
I think it would be better if the shared classes are distributed in a separate jar file to avoid the class duplication. It is confusing the way it is right now having the same classes in two separate distribution jar files.Matthias Wessendorf [EMAIL PROTECTED] wrote: Now, I noticed there is a

Source code archives

2006-05-30 Thread Costa Basil
To myfaces developers: Could you guys please build with each stable release the source code archive for that release? It is rather painful trying to get all the code from subversion.Thanks The best gets better. See why everyone is raving about the All-new Yahoo! Mail.

Re: Source code archives

2006-05-30 Thread Costa Basil
,MartinOn 5/31/06, Costa Basil <[EMAIL PROTECTED]> wrote: I used svn to get the latest source code, and I cannot find, for instance a package called org.apache.myfaces.shared_tomahawk referenced in org.apache.myfaces.renderkit.html.ext.HtmlLinkRenderer. BTW, the links that you sent don't work

why does t:div render inner html tags or text even if its rendered property is set to false?

2006-03-23 Thread Costa Basil
If I have:t:div id="div1" rendered="false" Blah blah blah h:inputText id="it1" value="text"//t:divit will still render Blah blah ... Isn't the text between the jsf tags buffered or something?Thanks 7 bucks a month. This is Huge Yahoo! Music Unlimited

Re: why does t:div render inner html tags or text even if its rendered property is set to false?

2006-03-23 Thread Costa Basil
with tags. Blah blah blah HubertOn 3/23/06, Costa Basil <[EMAIL PROTECTED]> wrote: If I have:Blah blah blah it will still render Blah blah ... Isn't the text between the jsf tags buffered or something? Thanks 7 bucks a month. This is Huge Yahoo!

how to detect in the backing bean (the shale viewcontroller) that the user navigates to another page?

2006-03-10 Thread Costa Basil
I use shale and I was wondering if there is there an easy way to know in a backing bean on the postback that the user actually pressed a commandLink that navigates to another page than the one the backing bean is for. I want to avoid unecessary database calls. Thanks Enrich your life at Yahoo!

Re: how to detect in the backing bean (the shale viewcontroller) that the user navigates to another page?

2006-03-10 Thread Costa Basil
but ...Costa Basil [EMAIL PROTECTED] wrote: I use shale and I was wondering if there is there an easy way to know in a backing bean on the postback that the user actually pressed a commandLink that navigates to another page than the one the backing bean is for. I want to avoid unecessary database calls

Re: how to detect in the backing bean (the shale viewcontroller) that the user navigates to another page?

2006-03-10 Thread Costa Basil
. I think the issue is that there seems to be no way to tell if is this is a real postback (to the same page) or a postback to navigate somewhere else. Shale reports isPostBack=true in both cases.Craig McClanahan [EMAIL PROTECTED] wrote: On 3/10/06, Costa Basil [EMAIL PROTECTED] wrote: Let me give

need explanation on how and when the restore view is done

2006-03-09 Thread Costa Basil
Any help would be very appreciated, I am extremely confused at this stage. I use myfaces 1.1.1 and shale-core. Here is my problem:1. I have a page, page 1, with a combobox and two tables, table 1 table 2. If the user changes the value in the combobox then I refresh table 1. If the user clicks on

Re: need explanation on how and when the restore view is done

2006-03-09 Thread Costa Basil
I think I answered myself my questions. It is all because in page 1 I used normal links with h:outputLink and the view is not removed from the session.The view tag always saves the view to the session. When the view is restored in the restoreView phase it is also removed from the session. If I

problem with tree2 plus/minus images

2006-03-07 Thread Costa Basil
I use myfaces 1.1.1. Here is my tree2 tag: t:tree2 id="contactsTree" binding="#{contacts$contactRelations.tree}" value="#{contacts$contactRelations.treeData}" var="node" varNodeToggler="t" imageLocation="../../images/tree" _javascript_Location="../../js" clientSideToggle="true"

RE: problem with tree2 plus/minus images

2006-03-07 Thread Costa Basil
not need the filter. I would guess that the reason it does not work is that your imageLocation is wrong.RandyFrom: Costa Basil <[EMAIL PROTECTED]>Reply-To: "MyFaces Discussion" <users@myfaces.apache.org>To: MyFaces Discussion <users@myfaces.apache.org>Subject: RE: proble

problems with myfaces tomahawk JSF RI tiles

2006-03-03 Thread Costa Basil
I have a tiles template used in a jsp page. The problem is that when the page is rendered the various template components are rendered first. Is there a way to fix this? I use flush=false in the tiles:import/ tags. Any things to watch for? Is there a special ViewHandler that I should use?Thanks

Is there a solution in myfaces 1.1.1 to the browser back button problem?

2006-03-03 Thread Costa Basil
I have the same problem described here:We are still struggling with the back button. I think we’ll reconfigure the app to store all state on the client. Right now, when the user hits Back, none of the links on the page work on the first click. That’s because the RestoreView phase does not find the

Re: Is there a solution in myfaces 1.1.1 to the browser back button problem?

2006-03-03 Thread Costa Basil
I meant other than saving the state to the client.Costa Basil [EMAIL PROTECTED] wrote: I have the same problem described here:We are still struggling with the back button. I think we�ll reconfigure the app to store all state on the client. Right now, when the user hits Back, none of the links on

Re: Specifying parameters in navigation-cases?

2006-02-17 Thread Costa Basil
Check out the thread of:http://www.mail-archive.com/users@myfaces.apache.org/msg16882.htmlMike Kienenberger [EMAIL PROTECTED] wrote: That's what I feared :)I threw the other two options out in case the navigation case targetwasn't dynamic, but it doesn't sound like those options will work foryou.I

Re: Javascript code generated after html content when using tiles

2006-02-17 Thread Costa Basil
I found the solution myself. My f:view tag embraced all the html tags. As soon as I placed it below body problem solved.Costa Basil [EMAIL PROTECTED] wrote: Hi:I am using tiles and I noticed that the final html content contains this piece of _javascript code at the end after the /html tag. Is

Re: Javascript code generated after html content when using tiles

2006-02-17 Thread Costa Basil
I am using 1.1.1.Bruno Aranda [EMAIL PROTECTED] wrote: What version are you using? If you use current nighlty builds you canput viewTag before the head and body tag.Regards,BrunoOn 2/17/06, Costa Basil <[EMAIL PROTECTED]> wrote: I found the solution myself. My f:view tag embraced all the htm

Tiles and javascript code generated after html content

2006-02-16 Thread Costa Basil
Hi:I am using tiles and I noticed that the final html content contains this piece of _javascript_ code at the end after the /html tag. Is there a way to fix this? Things seem to work tough in IE, however, it kind of worries me.Thanksform id="linkDummyForm" name="linkDummyForm"

Javascript code generated after html content when using tiles

2006-02-16 Thread Costa Basil
Hi:I am using tiles and I noticed that the final html content contains this piece of _javascript code at the end after the /html tag. Is there a way to fix this? Things seem to work tough in IE, however, it kind of worries me.Thanksform id="linkDummyForm" name="linkDummyForm"

JSF EL expressions in the navigation case to-view-id

2006-02-15 Thread Costa Basil
Hi,This is a solution to an issue that some people complained about and that is how to preserve request objects or other objects when you do a redirect.It is actually possible to specify JSF EL expressions in the to-view-id view. Example:In faces-config.xml I have:navigation-case

Re: JSF EL expressions in the navigation case to-view-id

2006-02-15 Thread Costa Basil
etToViewId()); if (vb != null) targetViewId = (String) vb.getValue(facesContext);}String redirectPath = viewHandler.getActionURL(facesContext, targetViewId);Costa Basil [EMAIL PROTECTED] wrote: Hi,This is a solution to an issue that some people complained about and that is how to preserve reque

Re: JSF EL expressions in the navigation case to-view-id

2006-02-15 Thread Costa Basil
you have to EL based params ?like viewObject.jsp?test=#{param.test}foo=#{param.foo}.MatthiasOn Wed, 2006-02-15 at 16:32 -0500, Costa Basil wrote: One thing though, the implementation below blows up for normal view ids so I replaced it with the following code: String targetViewId = navigationCase.ge

Re: JSF EL expressions in the navigation case to-view-id

2006-02-15 Thread Costa Basil
ct.jsp?test=#{param.test}amp;foo=#{param.foo}/to-view-id redirect / /navigation-caseIt will redirect you to:viewObject.jsp?test=testValuefoo=fooValuePlease note I used the prefix url handling.Matthias Wessendorf [EMAIL PROTECTED] wrote: looks interesting, what happens, if you have to EL based p

RE: Newbie questions - database calls and caching data

2006-01-08 Thread Costa Basil
this helps. Tom ______ From: Costa Basil [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 04, 2006 1:46 PM To: users@myfaces.apache.org Subject: Newbie questions - database calls and caching data Hi Where is the best place to make database calls to display lists or search results and how to c

Newbie questions - database calls and caching data

2006-01-04 Thread Costa Basil
HiWhere is the best place to make database calls to display lists or search results and how to cache them? How can I avoid making unecessary calls to the database?Here are a two scenarios:1. Let's say I have a form where the user has to enter data and has to select data from a list or a combobox.