Re: Performance Issue

2006-12-27 Thread stormspire
We have a memory constraint here, is there any one has done application successfully with large pool of concurrent users? We use statestate extensively, and we save the whole bean usually, i doubt this is the problem for us. It doesn't scale very well. Dennis Byrne wrote: > >>one question: wh

Re: Failing to take control of navigation

2006-12-27 Thread Calvin Hill
Ok, you are trying to do a request (some form of permanent link) that will access another JSF page, right? Of course, this link could be from a static html page, too. Well, we had the same problem. MyFaces has one way of doing it that is found on their Wiki (can't find it) using a Servle

Re: Re: Is this allowed?

2006-12-27 Thread Mike Kienenberger
home.jsf is required because that's the pattern you've specified in order to trigger the jsf servlet. If you don't match the jsf servlet filter, then the page could only be interpreted as a non-jsf jsp page. On 12/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: In the index.jsp file I al

NullPointer exception

2006-12-27 Thread ts100
I have been using myfaces(1.1.3 jars) without any problems. I have added all the tobago jar files and tabogo-config.xml with the folowing lines: speyside tobago-resource true My web.xml is unchanged (as myfaces components work with the following mapping): Face

Re: Tobago : Problem with Node render

2006-12-27 Thread yazid
Right, dam you're good Thank you; Volker Weber-4 wrote: > > Hi Yazid, > > did you set the attributes nameReference and idReference at the tc:tree > tag? > > Please post the relevant jsp and java code. > > Regards, > Volker > > > 2006/12/27, yazid <[EMAIL PROTECTED]>: >> >> Hi Matt; >>

Trinidad + Tomahawk Problems

2006-12-27 Thread Reind
I've been having a hard time getting Trinidad working with Tomahawk (+ JBoss Seam + A4J). I'm getting these warnings in my server log: 15:44:14,858 ERROR [STDERR] Dec 22, 2006 3:44:14 PM org.apache.myfaces.trinidadinternal.webapp.Trini dadFilterImpl verifyFilterIsInstalle

Re: Failing to take control of navigation

2006-12-27 Thread Volker Weber
Hi, Can anyone think of another elegant way of implementing permalinks with jsf? http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls#head-6c1aaf488d48f938896da962aaa4361ec3ffaf70 Regards, volker

Re: Failing to take control of navigation

2006-12-27 Thread yuvalgo
Hi Calvin, I am able to get to the filter again, but there is this myfaces nullpointerexception problem. This is really strange. Can anyone think of another elegant way of implementing permalinks with jsf? Thanks. Calvin Hill-2 wrote: > > Hello, > > I have had a similar problem but not usin

strange error in data table and commandButton

2006-12-27 Thread alvaro tovar
thanks for your time, i have this problem this is the method of posibleEvaluador public String editar() { setDetalle(!getDetalle()); return ""; } all run perfect, until y click in "asociar evaluadores" button, after of t

Re: Tobago : Problem with Node render

2006-12-27 Thread Volker Weber
Hi Yazid, did you set the attributes nameReference and idReference at the tc:tree tag? Please post the relevant jsp and java code. Regards, Volker 2006/12/27, yazid <[EMAIL PROTECTED]>: Hi Matt; I'm using Tobago tree (he have a renderer for node); I've filled the node with the required f

Re: Tobago : Problem with Node render

2006-12-27 Thread yazid
Hi Matt; I'm using Tobago tree (he have a renderer for node); I've filled the node with the required field (name,id) in my Node class wich extends the demo node classe ; MyNode=DemoNode+URL The node passed to the tobago node analyser should have two param name and id. Matt Tyson wrote: > > Yazi

Re: Performance Issue

2006-12-27 Thread Dennis Byrne
>one question: when the beans declared in faces-config are created? upon >request? >When will the app server destroy beans inside server, only after session >expired according to application config? The beans declared in faces-config are created and destroyed according to scope (none, request, s

Re: Tobago : Problem with Node render

2006-12-27 Thread Matthew Tyson
Yazid, Without more info, I'd say you are outputting the node variable itself (ie, instead of its appropriate property ( node.identifier or something). Matt On 12/27/06, yazid <[EMAIL PROTECTED]> wrote: Hi all; I have a recursive methid wich render a tree (DefaultMutableTreeNode) from a XML

Tobago : Problem with Node render

2006-12-27 Thread yazid
Hi all; I have a recursive methid wich render a tree (DefaultMutableTreeNode) from a XML doc; each XMl node is mapped on a user object node (name, id). The problem is that the tree is rendred not with the name I've provided, but with a the object name (like :[EMAIL PROTECTED]) wich look like a

Problem with immediate=true button

2006-12-27 Thread Adrian Mitev
Hi all! I have form and commandButton immediate=true. When i submit the form with this button i update the bean in the action method and when the page is rendered again the components are not updated with the new values i've setted in the action method. Where is the problem?

RE: selectManyPicklist for edit

2006-12-27 Thread Madhav Bhargava
Hi, This problem is seen in more than one JSF components. The workaround is rather surprising. Once I add the source code to my project I will analyze the bug. In HtmlPicklistRenderer class - method encodeEnd There is a statement - Set lookupSet = HtmlRendererUtils.getSubmittedOrSelected

Re: Failing to take control of navigation

2006-12-27 Thread Calvin Hill
Hello, I have had a similar problem but not using JSF. I was using a home grown MVC application. The problem I experienced was doing a request using a specific URI. The URI was like so "webapp/somePage.jsp". I was able to fix it by changing it to "/webapp/somePage.jsp". The first tim

Failing to take control of navigation

2006-12-27 Thread yuvalgo
Hi, Im trying to take control of the navigation. let me explain: I wish to have my own piece of code to parse the request URI and control the navigation to the next JSF page. This functionality is desired for accomplishing a permalinks scheme of some sort. For example The link root/yuval/yuvals_

RE: Very strange behavior - Constructor for component gets called again after its restore state

2006-12-27 Thread Madhav Bhargava
Hi Volker, Thanks for your help. The custom component that I have developed implements ActionSource. I have an attribute "action" defined in the tag class for this component. The action method bound returns null. JSP code: ActionMethod: public String processChange() {

Re: Plase Help : Error on script generated by Tobago

2006-12-27 Thread Volker Weber
This is fixed in the next nightly 2006/12/27, Volker Weber <[EMAIL PROTECTED]>: Hi, the problem is that there are no treeNodes are rendered. The javascript definition of the nodes should rendered just before the " var treeDiv = document.getElementById('page:_idJsp58-cont');" After a quick sour

Re: Plase Help : Error on script generated by Tobago

2006-12-27 Thread Volker Weber
Hi, the problem is that there are no treeNodes are rendered. The javascript definition of the nodes should rendered just before the " var treeDiv = document.getElementById('page:_idJsp58-cont');" After a quick source lookup it seems to me that a TreeState is needed, and this reminds me to http:/

Re: Very strange behavior - Constructor for component gets called again after its restore state

2006-12-27 Thread Volker Weber
Hi Madhav, if the action method, which is invoked in invokeApplication phase (between step 2 and 3) returns a value != null a new component tree is created. If you want to reuse the previously rendered component tree your action should return null, or if you just want to reuse the custom componen

Re: Problems using t:tree2

2006-12-27 Thread Marko Asplund
On 2006-12-23 Andrew Robinson wrote: That should work,but your search method should only be called when the command button is pressed, not when the tree is expanded. If your action is being run on the node toggle, something is very wrong. I've defined a validator for an input field included i