Thanks Dennis... Thanks Matthias RE: Where oh where is SourceCodeServlet in Tomahawk 1.1.3/MyFaces 1.1.3? ---------------- RE: Dennis Byrne is the MAN! WoooHooooooooo!!!!!!!!!!!!! RE: need to change r

2006-06-23 Thread Rick
I forgot to mention. It works now. I just changed the Servlet to org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet. P.S. Matthias where are those pictures you promised from JavaOne. I am still waiting for the group picture. :o) -Original Message- From: Rick [mailto:[E

RE: Where oh where is SourceCodeServlet in Tomahawk 1.1.3/MyFaces 1.1.3? ---------------- RE: Dennis Byrne is the MAN! WoooHooooooooo!!!!!!!!!!!!! RE: need to change renderer for tree column (for Tree

2006-06-23 Thread Rick
I have these jar files in my WEB-INF/lib myfaces-api-1.1.3.jar myfaces-impl-1.1.3.jar myfaces-shared-core-2.0.2.jar myfaces-shared-impl-2.0.2.jar myfaces-shared-tomahawk-2.0.2.jar tomahawk-1.1.3.jar I am still getting this message: 2006-06-23 23:24:12,281 ERROR org.apache.myfaces.shared_impl.uti

Re: Where oh where is SourceCodeServlet in Tomahawk 1.1.3/MyFaces 1.1.3? ---------------- RE: Dennis Byrne is the MAN! WoooHooooooooo!!!!!!!!!!!!! RE: need to change renderer for tree column (for Tree

2006-06-23 Thread Matthias Wessendorf
is morphed into org.apache.myfaces.tomahawk-shared.util.servlet.SourceCodeServlet . shared_tomahawk

Re: Where oh where is SourceCodeServlet in Tomahawk 1.1.3/MyFaces 1.1.3? ---------------- RE: Dennis Byrne is the MAN! WoooHooooooooo!!!!!!!!!!!!! RE: need to change renderer for t

2006-06-23 Thread Dennis Byrne
Hello Rick, Thanks for the recognition. The source code servlet is actually located in the myfaces-shared project, under org.apache.myfaces.shared.util.servlet . At build time, it is morphed into org.apache.myfaces.tomahawk-shared.util.servlet.SourceCodeServlet . Check it. Dennis Byrne >--

Re: [OT] JSF and JVM performance

2006-06-23 Thread Jesse Sightler
How many times did you run your performance test?  Were you timing the first run, or timing some runs after giving it some stress and then a quick breather? :)If you were timing the first run, I wouldn't be surprised at all if the -server mode were slower. Thanks,JessOn 6/23/06, Jeff Bischoff <[EMA

Where oh where is SourceCodeServlet in Tomahawk 1.1.3/MyFaces 1.1.3? ---------------- RE: Dennis Byrne is the MAN! WoooHooooooooo!!!!!!!!!!!!! RE: need to change renderer for tree column (

2006-06-23 Thread Rick
DOH! I recently upgraded to Tomahawk 1.1.3 so I could hack the renderer to format the treeColum so the text is at the top of the column instead of the middle. Now I am getting this biz Caused by: java.lang.ClassNotFoundException: org.apache.myfaces.util.servlet.SourceCodeServlet at

Dennis Byrne is the MAN! WoooHooooooooo!!!!!!!!!!!!! RE: need to change renderer for tree column (for Tree table Tomahawk feature)

2006-06-23 Thread Rick
Dennis Byrne is the MAN! After much protest, I find that you are right. (It is a bit strange since there are renderers for the other children nodes but not this one, but hey I am glad you got me looking in the right direction!) In HtmlTreeRenderer (in the renderChildren method) there is t

Re: Data loading

2006-06-23 Thread Larry Meadors
Or, if you are more comfortable with SQL than EJB, iBATIS may be a good fit for you: http://ibatis.apache.org/ Larry On 6/23/06, Mert Çalışkan <[EMAIL PROTECTED]> wrote: jsf+spring+hibernate Dealing with database with hibernate by the help of spring is the best approach I think. You might l

RE: need to change renderer for tree column (for Tree table Tomahawk feature)

2006-06-23 Thread Rick
I verified that the family in HtmlTreeColumn is not in faces-config.xml that ships with Tomahawk. /** The component type. */ public static final String COMPONENT_TYPE = "org.apache.myfaces.HtmlTreeColumn"; /** The component family. */ public static final String COMPONENT_FAMI

RE: need to change renderer for tree column (for Tree table Tomahawk feature)

2006-06-23 Thread Rick
You might be right, and that might be the case, but they do seem to have a tree renderer for all of the other types of nodes as follows: org.apache.myfaces.HtmlTree org.apache.myfaces.HtmlTree org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeRender er

RE: need to change renderer for tree column (for Tree table Tomahawk feature)

2006-06-23 Thread Rick
Good idea. Thanks. I needed a crumb trail. That makes sense. -Original Message- From: Dennis Byrne [mailto:[EMAIL PROTECTED] Sent: Friday, June 23, 2006 3:36 PM To: MyFaces Discussion Subject: Re: need to change renderer for tree column (for Tree table Tomahawk feature) You might want t

Re: please help....session timeout problem!!

2006-06-23 Thread Jim the Standing Bear
Thank you both, James, and Paul. I will try that and see if it fixes the problem.  I am really new to this thing. On 6/23/06, James Richards <[EMAIL PROTECTED]> wrote: Jim,I recently had to convert to MyFaces 1.1.3 and so had to make my backing beans Serializable.  The below makes it sounds like th

Re: need to change renderer for tree column (for Tree table Tomahawk feature)

2006-06-23 Thread Dennis Byrne
You might want to see if the tree is doing the rendering for the tree column. Dennis Byrne >-Original Message- >From: Rick [mailto:[EMAIL PROTECTED] >Sent: Friday, June 23, 2006 06:06 PM >To: ''Rick Hightower'', ''MyFaces Discussion'' >Subject: RE: need to change renderer for tree column

RE: need to change renderer for tree column (for Tree table Tomahawk feature)

2006-06-23 Thread Rick
  I downloaded the source, but the tree column does not seem to have a renderer mentioned in the faces-config.xml file.   What gives?   I looked at the source for the tree column as well.   It does not do inline rendering.   So where is the renderer if it is not metioned in faces-c

RE: please help....session timeout problem!!

2006-06-23 Thread James Richards
Jim, I recently had to convert to MyFaces 1.1.3 and so had to make my backing beans Serializable. The below makes it sounds like the problem is that your view is being serialized into the session [probably enabled in your web.xml] and apparently there are some nulls which the serialization can

Re: please help....session timeout problem!!

2006-06-23 Thread Paul Spencer
Jim, The session timeout is managed by the servlet container, i.e. Tomcat in my case. 1) For Tomcat the session timeout is configured in web.xml. The example below set the timeout to 1 hours (60 minutes). 60 2) Can a session be renewed? Check with the container. This is not a J

Re: How can I display radio buttons in 2 columns?

2006-06-23 Thread Paul Spencer
I thought about using a inside , see below. No error where produced and no output. Should this work? Paul Spencer Paul Spencer wrote: Volker, The examples are in panelstack.jsp and selectbox.jsp. does not appear to be work well with a dynamic list of s

please help....session timeout problem!!

2006-06-23 Thread Jim the Standing Bear
Hi,   We believe we are experiencing session timeout problems.  The project we are working on consists of a Tree displaying inside of a gridsphere portlet.  It works fine for about 15 minutes, and then we will be seeing a stack dump.    1.  So it there a way to make the timeout period configurabl

jsValueChangeListener

2006-06-23 Thread Kevin
Can the be used to change the "disabled" attribute of a ? I know you can change the CSS but not sure how to access the component.

Re: Duplicate Id Error When Not Specifying Id Inisde Facet

2006-06-23 Thread Andrew Robinson
MyFaces 1.1.1 has duplicate ID problems. Upgrade to 1.1.2 or higher.On 6/23/06, Matt Hughes <[EMAIL PROTECTED] > wrote:I had been getting a duplicate id error in my JSF app whenever I did a postback.  The stacktrace looks like:java.lang.IllegalStateException: Client-id : _id5 is duplicated in thefa

Re: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-06-23 Thread Andrew Robinson
In the 2.4 servlet spec you can add DISPATCHER tags to the filter and specify FORWARD, INCLUDE and REQUEST values so that the filter will be run in each of those circumstances.On 6/23/06, Reid, Jeff (Liquidity & Risk Technology) <[EMAIL PROTECTED]> wrote: I did a  <% response.sendRedirect(r

Duplicate Id Error When Not Specifying Id Inisde Facet

2006-06-23 Thread Matt Hughes
I had been getting a duplicate id error in my JSF app whenever I did a postback. The stacktrace looks like: java.lang.IllegalStateException: Client-id : _id5 is duplicated in the faces tree. at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.

RE: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-06-23 Thread Reid, Jeff \(Liquidity & Risk Technology\)
Title: Message I did a  <% response.sendRedirect(request.getContextPath() + "/pages/inputname.jsf"); %> insteadof a and it worked.   Thanks  a lot for your help.   -Original Message-From: Martin Marinschek [mailto:[EMAIL PROTECTED] Sent: Friday, June 23, 2006 12:18 PMTo: MyFaces

Re: Extended Datatable AutoSort

2006-06-23 Thread Catalin Kormos
Ok, now i get it. First of all, make sure you assign a different "columName" for each of your command sort headers, and also you need to specify the "sortProperty" value explicitly to make it work. This could be improved actualy, would you open an issue on Jira for this?Looks like there is a proble

Re: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-06-23 Thread Martin Marinschek
The problem is that on a forward, the dispatcher won't execute the ExtensionFilter - so in this case, the filter won't be available.This is one of the cases why I'd love to move to a phase-listener instead of having a filter here. There is a parameter you can find on the WIKI with which you can dis

ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-06-23 Thread Reid, Jeff \(Liquidity & Risk Technology\)
Title: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. I'm using the latest myFaces release, myfaces 1.1.3 and tomahawk 1.1.3. I get this error when the first page in my app contains a . I have a small test app, the "KickStart" app that has an index.

[OT] JSF and JVM performance

2006-06-23 Thread Jeff Bischoff
I have noticed that Myfaces seems to perform better while running on the Hotspot Client (default) jvm, rather than the Hotspot Server jvm. Have any of you noticed this too? For example, I tested by having my application build a t:dataTable of over 5000 rows. I used JBoss 4.0.4 and ran with an

Re: Extended Datatable AutoSort

2006-06-23 Thread Tom Cordova
Thanks for your quick reply... I've read the wiki, and I think I'm doing everything right, but if I use the following code in my page, then only the column WITHOUT a commandSortHeader actually sorts (securitySymbolColumn). And regardless of whether I add a CommandSortHeader to the first column, i

Re: tableSuggestAjax - charset

2006-06-23 Thread Matthias Wessendorf
If you create a ticket with that comment, it won't get lost ;) That's it -Matthias On 6/23/06, Rumiana Todorova <[EMAIL PROTECTED]> wrote: Hi again! The thing that solves really the problem is the javascript method encodeURI(), that has to be applyed in the open() method of the XMLHttpRequest

Re: tableSuggestAjax - charset

2006-06-23 Thread Rumiana Todorova
Hi again! The thing that solves really the problem is the javascript method encodeURI(), that has to be applyed in the open() method of the XMLHttpRequest object in org\apache\myfaces\custom\dojo\resource\dojo.js (I used it on 3 places): http.open("POST",encodeURI(url),_227); http.open(_21c.

Re: t:saveState and browser Refresh problem

2006-06-23 Thread Bill Schneider
is your bean request- or session-scoped? if you are using a session-scoped bean, you probably don't need t:saveState at all--your data would still be there without hitting JDBC again. if you are using a request-scoped bean, you probably want something like so that your backing-bean actions can

Re: Tree checkbox

2006-06-23 Thread Matthias Wessendorf
http://myfaces.apache.org/tomahawk/apidocs/org/apache/myfaces/custom/tree2/TreeNodeChecked.html new TreeNodeChecked(java.lang.String type, java.lang.String description, boolean checked, boolean leaf); or setChecked(boolean checked) ; On 6/23/06, ould sid'ahmed <[EMAIL PROTECTED]> wrote: H

Re: tableSuggestAjax - charset

2006-06-23 Thread Matthias Wessendorf
Nice investigation. Can you open an issue on jira for that? Thanks, Matthias On 6/23/06, Rumiana Todorova <[EMAIL PROTECTED]> wrote: Thank's for the quick answer! ;) We made some experiments here and here is what we found: Since our problem was only with IE and not in Firefox we tracked the

Re: Keeping inputFileUpload's file even if other validation errors?

2006-06-23 Thread Dave Brondsema
Yes that works! Thanks! event.getNewValue() is the UploadedFile that I need. I will document this on the Setup_For_File_Uploads wiki page with some more example code, when I have all my stuff working well. Cosma Colanicchia wrote: > I don't know if (and when) ValueChangeListener is triggered w

Re: how i protect my jsf pages from direct access

2006-06-23 Thread Matt Raible
Container managed authentication (CMA) only supports path-based or extension-based mappings. That means the following works: /directory/* (path-based) *.jsp (extension-based) And that's it. For this reason, I recommend using something like Acegi Security or SecurityFilter - they're much more f

Re: Extended Datatable AutoSort

2006-06-23 Thread Catalin Kormos
I'm not sure what you mean, but maybe this would help?  http://wiki.apache.org/myfaces/Working_with_auto_sortable_tablesRegards,CatalinTom Cordova <[EMAIL PROTECTED]> wrote: Would it be possible to get a patch for the autosort datatable feature to useCommandSortHeaders? --View this message in cont

t:popup, t:inputCalendar etc. relative to fixed anchor?

2006-06-23 Thread Bill Schneider
is there any way to set the popup position for t:popup and t:inputCalendar relative to a fixed anchor position? It seems like they always are positioned with an offset relative to the event that generated the event, for example, the onMouseOver or onClick on some text or link. -- Bill -- Bil

Extended Datatable AutoSort

2006-06-23 Thread Tom Cordova
Would it be possible to get a patch for the autosort datatable feature to use CommandSortHeaders? -- View this message in context: http://www.nabble.com/Extended-Datatable-AutoSort-t1836504.html#a5012579 Sent from the MyFaces - Users forum at Nabble.com.

how i protect my jsf pages from direct access

2006-06-23 Thread sarma
I want to protect these pages : /utilisateur.* /menugen.* sniplet of my web.xml and it security section: index.jsf index.jsp index.html Prevent access to raw JSP pages that are for JSF pages.

Tree checkbox

2006-06-23 Thread ould sid'ahmed
Hello, I wanted to create a tree with check box, but I am not able to fill it with values. please help me Think's

Re: commandLink not working: FaceTrace

2006-06-23 Thread Gregg Bolinger
I added preserveDataModel="true" to my dataTable and it seems to be working for now.GreggOn 6/23/06, Gregg Bolinger < [EMAIL PROTECTED]> wrote:Has anyone had a chance to look at this by any chance?  I still cannot find a way to resolve this. Thanks.GreggOn 6/22/06, Gregg Bolinger <[EMAIL PROTECTED

Re: Data loading

2006-06-23 Thread Mert Çalışkan
jsf+spring+hibernate   Dealing with database with hibernate by the help of spring is the best approach I think. You might look into these topics..   Regards,   Mert..   On 6/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I should load a dataTable component.The property name is corporate.memb

Re: commandLink not working: FaceTrace

2006-06-23 Thread Gregg Bolinger
Has anyone had a chance to look at this by any chance?  I still cannot find a way to resolve this.Thanks.GreggOn 6/22/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote: I think I might know what is going on.  It just hit me.  When the page is first loaded, the dataTable is empty.  I populate it after I

Data loading

2006-06-23 Thread [EMAIL PROTECTED]
I should load a dataTable component. The property name is corporate.members. This list must be created with database datas. My idea is write a fetchMembers bean method. The categoryId is an face page parameter members.faces?categoryId=123 How must I resolve this parameter in then bean method?

Re: tableSuggestAjax - charset

2006-06-23 Thread Rumiana Todorova
Thank's for the quick answer! ;) We made some experiments here and here is what we found: Since our problem was only with IE and not in Firefox we tracked the request headers that were sent by both browsers. It seems that Firefox is sending an "accept-charset" header while IE is not. We also

RE: pop up - or \n : what to get a new line?

2006-06-23 Thread Jeffrey Porter
I’m an idiot.     -Original Message- From: Jeffrey Porter [mailto:[EMAIL PROTECTED] Sent: 23 June 2006 11:58 To: MyFaces Discussion Subject: pop up - or \n : what to get a new line?     Hello all,

pop up - or \n : what to get a new line?

2006-06-23 Thread Jeffrey Porter
  Hello all,   I’m using     It’s all on the same line though?   Does popup do multi line ?   Thanks Jeff

RE: how can i remove message from faces context

2006-06-23 Thread Julian Ray
Try this protected void clearMessages() { Iterator iter = getFacesContext().getMessages(); while (iter.hasNext()) { iter.remove(); } } -Original Message- From: sarma [mailto:[EMAIL PROTECTED] Sent: Friday, June 23, 2006 5:56 AM To:

Re: question for inputsuggestajax

2006-06-23 Thread Gerald Müllan
Hi, try to switch to the newest release, it should work with it. But to my mind it also worked with 1.1.1; Is it the dojo component, or the old prototype version without the arrow on the right side? cheers, Gerald On 6/22/06, Yasushi Okubo <[EMAIL PROTECTED]> wrote: Hi, experts I think this

how can i remove message from faces context

2006-06-23 Thread sarma
Hi , how can i remove messages from faces context or any alernative for removing the messages i am adding my message like this FacesContext context = FacesContext.getCurrentInstance(); context.addMessage(null,new FacesMessage(FacesMessage.SEVERITY_WARN,"Invalid Username or Password",""

Re: t:saveState and browser Refresh problem

2006-06-23 Thread Cosma Colanicchia
1) Why do you use on the whole bean? 2) When you want you data to be fetched? If you need to refresh on any request, why don't you put the JDBC call directly in the getter method? Cosma 2006/6/22, Surapuraju, Vamsi <[EMAIL PROTECTED]>: Hi, I am initializing the page data using JDBC call

Re: Keeping inputFileUpload's file even if other validation errors?

2006-06-23 Thread Cosma Colanicchia
I don't know if (and when) ValueChangeListener is triggered with immediate UIInput components, but you can try this: set a binding on your upload component and set a valuechangelistener for it. If this fires before other validations, you should have a chance to retrieve the uploaded data from the

Re: Tomahawk DataTable - HOW TO

2006-06-23 Thread Alexandre Jaquet
I found an interesting article about dataTable, dataScroller and large database : http://wiki.apache.org/myfaces/WorkingWithLargeTables You can found a working example of this implementation : http://wiki.apache.org/myfaces-data/attachments/WorkingWithLargeTables/attachments/myfaces-cars.zip Ho

Re: Login + Filter + Redirect (Redirect vs Forward?)

2006-06-23 Thread Cosma Colanicchia
Look at your servlet filters mapping in web.xml. By default, they don't trigger on page forwarding. For example, if you have a filter defined on *.jsf: 1) request /page.jsf -> [FILTERS] -> [servlets, etc.] -> page.jsp 2) request /index.jsp -> <% response.sendRedirect("/page.jsf"); %> ano