h:outputLink and jsessionid

2007-09-20 Thread Titi Wangsa
hello to all.. i'm using MyFaces 1.1.5 on Tomcat 5.5 i've used h:outputlink many times before and so far no problem well until now.. my front page.. my index.faces is linked to another site and i've recently put a h:outputlink to an external site on my front page it appears that a jsessionid is

Pre populating t:inputHtml

2007-08-15 Thread Titi Wangsa
hello to all. i'm using myfaces 1.1.5 and tomahawk 1.1.5 my t:inputHtml is linked to a text field in my class i've tried to set the string to a certain value, but when the page is rendered, the inputHtml field is still empty. any help on this?

Kupu Editor and t:inputHtml

2007-07-09 Thread Titi Wangsa
according to the myfaces wiki http://wiki.apache.org/myfaces/WYSIWYG_Editor the kupu editor is buggy and does not play well with ie "This page should help to integrate the TinyMCE Editor into your MyFaces Application. I have added this WIKI Page, because the Kupu Editor doesn't work with IE Bro

bad padding exception

2007-07-02 Thread Titi Wangsa
hello to all i'm using myfaces 1.1.5 and tomahawk 1.1.5 i sometimes get this error ERROR: Servlet.service() for servlet Faces Servlet threw exception javax.crypto.BadPaddingException: Given final block not properly padded at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun

Re: Weird problem with myfaces

2007-06-30 Thread Titi Wangsa
got it solved.. apparently its not myfaces.. rather its the tcnative (tomcat native code to make tomcat go faster) that's causing it sometimes, it can't parse the post parameters properly.. the logs are full of this so when it can't parse ViewState parameter, i doesn't know the viewstate but it r

Re: Weird problem with myfaces

2007-06-29 Thread Titi Wangsa
yes. that's what i initially thought but the form fields are empty if there was an error in validation/conversion then the values would be redisplayed but in my case the values are gone.. and this happens sometimes i key in some data.. i click the button, i get the next page. someone else keys i

Weird problem with myfaces

2007-06-29 Thread Titi Wangsa
ehlo to all i'm using myfaces 1.1.5 and tomahawk 1.1.5 and shale 1.0.3 i;m having a VERY weird problem with myfaces.. i have a submit button the submit button call a function that does some processing i added a logging function to display the session id and remote ip of the user that clicked this

t:documentHead help

2007-06-28 Thread Titi Wangsa
hello i was happily using but i read here http://wiki.apache.org/myfaces/Performance that i can get better performance if i do these things 1. change ... to ... 2. add these lines in web.xml org.apache.myfaces.ADD_RESOURCE_CLASS o

Re: myfaces Too much locking?

2007-06-14 Thread Titi Wangsa
i think it when i have a lot of t:buffer.. most operation to render a page are read-only.. t:buffer seems to be a write operation.. the write operation causes the lock.. is this so? can anyone confirm this? the more t:buffer i use the more locks i have, causing a serious performance penalty.

Re: sitemesh & MyFaces sandbo

2007-06-13 Thread Titi Wangsa
On 6/13/07, binya <[EMAIL PROTECTED]> wrote: Hi our project works with jsf & sitemesh, I'm trying to use a componenet of MyFaces sandbox: s:tableSuggestAjax (which gives a suggest list with Ajax to an input) When I insert a input nothing happens, and I get this warnning: WARN org.apache.myfa

myfaces Too much locking?

2007-06-12 Thread Titi Wangsa
hello to all.. i'm using myfaces 1.1.5 and tomahawak 1.1.5 my application hang frequently here is a stack on one of my threads "TP-Processor280" daemon prio=1 tid=0x0889b1e0 nid=0xab2 waiting for monitor entry [0x2c658000..0x2c659f30] at java.util.Collections$SynchronizedMap.get(Collection

Re: Error while processing state

2007-06-01 Thread Titi Wangsa
i've had that problem. then i changed saving state from client to server. i have no idea why it happens..

Re: Caching JSF Dropdown Results

2007-05-24 Thread Titi Wangsa
they are provided by spring, but i need more control, so i write my own, hope this helps you make less trip to the db

Re: Caching JSF Dropdown Results

2007-05-24 Thread Titi Wangsa
something like this for the skeleton http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>

Re: Caching JSF Dropdown Results

2007-05-23 Thread Titi Wangsa
spring + spring-modules-cache + oscache. that's how we do it.. no eager reading in "init" methods. the data gets stored in the cache the first time it is read next read would just retrive the data from the cache there is a setting so that you can have the cache to be considered stale after a cer

myfaces 1.1.5 renderkit gives warning

2007-05-23 Thread Titi Wangsa
hello to all. i'm using myfaces 1.1.5 and tomahawk 1.1.5 no sandbox i'm using tomcat 5.5.23 and java 1.5.0_11 due to not enough reseach with tiles and sitemesh, my pages are polluted with lots of include lines the problem is i get a lot of 2007-05-24 10:05:25,265 org.apache.myfaces.renderkit.ht

Re: Why does JSF submit through JavaScript?

2007-03-01 Thread Titi Wangsa
i'm new to jsf, i'm using the myfaces 1.1.5 and somehow there is javascript code in my commandbutton, did i do something wrong the code is something like this gets rendered as more javascript functrions, 2 or more follows function clear_autoRegisterJobseekerForm() { clearFormH

Re: [Solved] Never before seen exception (facelets.FaceletViewHandler handleRenderException) - ??

2007-02-28 Thread Titi Wangsa
from what i understand, ehcache page caching uses a filter. try no to use the filter and see what happens.. my guess is that the first time you request the page, the filter does not have a cached copy and process the page properly. the second request, the page is already in the cache, some compone

Re: [Solved] Never before seen exception (facelets.FaceletViewHandler handleRenderException) - ??

2007-02-28 Thread Titi Wangsa
i had the exactly same problem with oscache because the first time the page loads, it gets rendered properly, second time it loads there were some parts that were cached. i think that happens when some of the jsp gets rendered conditionally. besides jsf, what other components/libraries are in you

Re: [Solved] Never before seen exception (facelets.FaceletViewHandler handleRenderException) - ??

2007-02-28 Thread Titi Wangsa
perhaps you are using oscache?

Re: sitemesh and jsf

2007-02-28 Thread Titi Wangsa
have you tested it? i'm going to download it and test it

Re: I installed MyFace-core-1.1.5 and Tomahaka-1.1.3 but Listener does not work.

2007-02-18 Thread Titi Wangsa
erm... on the compatibility matrix... http://wiki.apache.org/myfaces/CompatibilityMatrix i don't think core 1.1.5 works with tomahawak 1.1.3

Re: Fitler missing exception

2007-02-10 Thread Titi Wangsa
i'm not really sure, but i get that error too, however, the pages are displayed properly... and the error is only displayed once or twice.., that is when the app starts. after that no more errors and the pages seem to be displayed properly and so far no problems

Re: MyFaces and no cache

2006-12-21 Thread Titi Wangsa
AFAIK, writing your own filter solves this. works for me.

Re: SEVERE: Error listenerStart

2006-11-23 Thread Titi Wangsa
On 11/24/06, Victor Gomez <[EMAIL PROTECTED]> wrote: I'm using tomcat 5.5.17/myfaces-api 1.1.5 and would greatly appreciate any hints on the following error: org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart that is a very common error... try to make your logging m

getSerializedViewFromServletSession problem

2006-10-16 Thread Titi Wangsa
hello i'm using myfaces 1.1.4 and tomahawk 1.1.5 snapshot dated #Tue Sep 26 04:51:12 GMT+00:00 2006 (according to the pom.properties in the jar file) my problem sometimes happens, sometimes its ok partial stack trace is like this java.lang.NumberFormatException: For input string: "formPublicJobse

Re: What is this exception??

2006-10-09 Thread Titi Wangsa
i had a similar problem.. it turns out that i had more than one application on my tomcat both were using myfaces.. but.. i removed one, while the other remained.. but i did not remove it properly... perhaps you have a similar situation...? try looking inside the webapps folder... of your catalina

Remembering "first" attribute in t:dataTable

2006-10-07 Thread Titi Wangsa
i have a session backed list which gets displayed in a t:dataTable which works great.. then i use the scroller to display a few items in each page which works great however each item in the table can be clicks to display the details of the item. on these details page, there is link which poin

Re: session variable

2006-09-19 Thread Titi Wangsa
or use a session map Map sessionMap = FacesContext.getCurrentInstance().getExternalContext().getSessionMap(); map.put("name", "joe");

Re: Drill Down help

2006-09-15 Thread Titi Wangsa
ok i solved it using h:commandbutton erm new question say i have 130 items in a List and i use t:dataTable to display them and i use a t:dataScroller to scroll through the data say a page holds 20 items if i drill down, to say, record number 23 on page number 2, the details for that record gets

Drill Down help

2006-09-14 Thread Titi Wangsa
hello, i'm using myfaces 1.1.3 and shale 1.0.3 and tomahawak 1.1.3 i have a page, list.jsp containing a list of items the list is initialized by a shale backed backed bean that execute's its init() method prior to loading the page the init method checks to see if its a postback request if its not