Re: t:commandButton action method not called

2006-05-04 Thread Le Van
I did it before but the problem still occur. So do u think the reason is JSF or I get wrong somewhere ?. I checked my code. Uhm...I'm not sure all. Do you have any idea more ?? Murat Hazer wrote: add this line just before facesContext.responseComplete()

Re: Transfering data between pages.

2006-05-04 Thread Mert Çalışkan
Yes same managed-bean Rogerio. I supposeyou were adding the results from the bean in popup page to the bean in main page. Cheers, Mert On 5/4/06, Rogerio Pereira [EMAIL PROTECTED] wrote: Use the same list for the main and popup page. Define it as a managed-bean with session scope. You

Re: t:commandButton action method not called

2006-05-04 Thread Murat Hazer
sorry accidently sent the mail...last line should be like this;outputStream.close();outputStream.flush();facesContext.getApplication ().getStateManager().saveSerializedView(facesContext);facesContext.responseComplete();On 5/4/06, Murat Hazer [EMAIL PROTECTED] wrote: I had the same issue with

How to write a customized valdation, that validate by comparing one field to another_

2006-05-04 Thread Bjørn T Johansen
I need to validate two fields on my webpage, two dates, and I need to check if one date is greater than the other. Is this possible? Have I access to the other fields from within my validate method or is there another way of doing this (or do I have to check this in my save method)? Regards,

Re: t:commandButton action method not called

2006-05-04 Thread Le Van
Thanks for your advice. I try your code but I can't solved the problem. I port that code to other screen, it work fine. So I think the problem maybe from .jsp. :-) Life goes on. Murat Hazer wrote: sorry accidently sent the mail... last line should be like this; outputStream.close();

Re: How to write a customized valdation, that validate by comparing one field to another_

2006-05-04 Thread Murat Hazer
As far as i know validation in the JSF spec is component based, so if you want to validate a form (like you) you should follow a different way, you can add a hidden input after the components you want validate and write your validator method to this hidden component validator. (You can read detail

Re: How to write a customized valdation, that validate by comparing one field to another_

2006-05-04 Thread Le Van
You could do it using validator. Read *JavaServer Faces of Hans Bergsten.* Bjørn T Johansen wrote: I need to validate two fields on my webpage, two dates, and I need to check if one date is greater than the other. Is this possible? Have I access to the other fields from within my validate

Re: How to write a customized valdation, that validate by comparing one field to another_

2006-05-04 Thread Volker Weber
Hi, there is a validateCompareTo tag in sandbox http://myfaces.apache.org/sandbox/validateCompareTo.html http://myfaces.apache.org/sandbox/tlddoc/s/validateCompareTo.html Regards, Volker Le Van wrote: You could do it using validator. Read *JavaServer Faces of Hans Bergsten.* Bjørn T

RE: Who called my bean?

2006-05-04 Thread Conway. Fintan \(IT Solutions\)
Title: Message It was me! Sorry, I won't do it again 8^) * ** *** ** * ** *** ** * ** *** ** * This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any views or opinions presented are

RE: dynamically included subviews

2006-05-04 Thread Julian Ray
We actually do this at the moment but the JSPs are getting bloated as this is the core of our reporting/charting framework and there are potentially many reports facets that can be shown (20-30+). I was looking for a more compact solution akin to using Velocity templates which could be dynamicaly

RE: 2 forms on one page?

2006-05-04 Thread Michael Heinen
Thanks Catalin. subForm sounds promising. I wait for the next version of MyFaces/Tomahawk/sandbox until I test it. How stable is this sandbox component? I assume that 1 html form is generated and not 1 for each subform. Does subForm work with both state saving methods?

escape in outputText - don't work?

2006-05-04 Thread Vladimir Figurov
Hi I try getted non-escaped HTML out for national chars : h:outputText escape=false value=nationalChars/ but in HTML Out I view only escaping chars: #1042;#1099;#1095;#1077; If I use a SUN implementation of Faces - this attribute (escape) - is excellent work. How do? -- Vladimir

RE: subview id value added to child t:div

2006-05-04 Thread Conway. Fintan \(IT Solutions\)
Hi, You can use forceId from MyFaces to force the id in HTML to be the id that you use. Regards, Fintan -Original Message- From: fischman_98 [mailto:[EMAIL PROTECTED] Sent: 04 May 2006 00:35 To: users@myfaces.apache.org Subject: f:subview id value added to child t:div Why does the

Disabled inputText Value

2006-05-04 Thread Uri Kalish
Use case: A user fills a value in an inputText field, checks a radio button that causes the field to become disabled, and submits the form. After the user submits, the value received is null, no matter what the field displays on the UI Is there a way to retrieve that value although

Re: Transfering data between pages.

2006-05-04 Thread Rogerio Pereira
Yes same managed-bean Rogerio. I supposeyou were adding the results from the bean in popup page to the bean in main page.Yes, you is right, but if i use the same managed-bean the things will be harder to understand later. -- Yours truly (Atenciosamente),Rogério

dataScroller not working, help please

2006-05-04 Thread joelus
I have a dataTable / dataScroller nested in a tabbedPane, which is itself in a nested Tile jsp. The dataTable / dataScroller jsp is almost exactly the same as given in the example. It displays the table and the scroller as it should. The correct number of pages according to the number of records,

Re: dataScroller not working, help please

2006-05-04 Thread joelus
I solved my own problem, seems like I HAVE to ask for help before I figure things out! Anyway, my dataTable / scroller was nested inside a h:form tag, which is apparently a no no... -- View this message in context:

Re: MyFaces J1 party 2006

2006-05-04 Thread Jonathan Harley
Sean Schofield wrote: Damn sounds like its going to be fun. Too bad I can't make it. *Definitely* next year. ;-) Me too. This is the JavaOne I've missed for some years. I'll miss the excellent beer in Thirsty Bear! Have fun! Jon. --

Re: MyFaces J1 party 2006

2006-05-04 Thread Jonathan Harley
Jonathan Harley wrote: Sean Schofield wrote: Damn sounds like its going to be fun. Too bad I can't make it. *Definitely* next year. ;-) Me too. This is the JavaOne I've missed for some years. I'll miss the excellent beer in Thirsty Bear! Have fun! Uh, the *first* JavaOne that I've

RE: 2 forms on one page?

2006-05-04 Thread Catalin Kormos
Hi Michael,The component is stable and functional, you can use it with no problem. You are right, only one html form is generated, and the components surrounded by a subForm can update model values and/or be validated separately from other components in the main form.It works with both client side

Column Ids not unique in JSF RI implementation with t:dataTable

2006-05-04 Thread eroman
All, We have the following scenario : A form with t:dataTable... t:columns... f:subview... jsp:include page = someSubForm.jsp /f:subview /t:columns /t:dataTabe someSubForm.jsp : html body h:panelGrid.. h:panelGroup h:selectoneMenu

Re: AddResource from JAR

2006-05-04 Thread Dave Brondsema
Julian Ray wrote: I posted this a few days ago but it might have slipped through the cracks... I am attempting to add resources from a jar of custom components using the AddResource service in Tomahawk. It works for resources which are configured within the WEB-INF but I'm struggling to get

Re: detail toggler in portal not working

2006-05-04 Thread Dave Brondsema
Dunstan, Steve wrote: We have been using the t:dataTable varDetailToggler functionality with some success in our stand-alone web apps. However, when we started testing in the context of JBoss Portal it stopped working. Has anyone had success with this in a portal? I would guess that it

Re: AddResource from JAR

2006-05-04 Thread Cagatay Civici
Hi,Weblets are created for this purpose but seem a little bit complicated to me. Another workaround should be to use a simple phaselistener which I suggest if you are writing a custom component library since it needs no configuration for the end user. Here is an example of a phaselistener serving

outputLink and context

2006-05-04 Thread Alexander Panzhin
How to make the outputLink be context relative so that my h:outputLink value=/hello.jsf t:outputText value=hello/ /h:outputLink would point to http://localhost:8080/hello/hello.jsf and not http://localhost:8080/hello.jsf -- With best regards, Alexander Panzhin smime.p7s

JSF/Spring/Hibernate Thread Safety questions

2006-05-04 Thread Joey Geiger
Sorry if this is a bit too general for this list, but as I'm using myFaces as my JSF implementation I thought it would apply. I've recently written an e-commerce application using Facelets/JSF/Spring/Hibernate/Tomcat/MySQL with a shopping cart, customer sign-in, etc. As this is my first

Re: outputLink and context

2006-05-04 Thread Mert Çalışkan
Don't specify / before hello.jsf. It'd be context relative with this. Regards, Mert On 5/4/06, Alexander Panzhin [EMAIL PROTECTED] wrote: How to make the outputLink be context relativeso that myh:outputLink value=/hello.jsf t:outputText value=hello//h:outputLinkwould point to

Re: Specifying Arraylist of ArrayList for the value of a datatable

2006-05-04 Thread Hasnain Badami
Thanks guys. so nice of you. Hasnain On 5/3/06, Mert Çalışkan [EMAIL PROTECTED] wrote: Yes as Volker stated above.and h:datatable can also be nested elements in h:columns like, h:dataTable id=table value=#{bean.list} var=varInnerList h:column f:facet name=header h:outputText

Re: Transfering data between pages.

2006-05-04 Thread Rogerio Pereira
Yes same managed-bean Rogerio. I supposeyou were adding the results from the bean in popup page to the bean in main page.My problem is, i have 5 fields and 3 buttons on popup window and put this stuff in the same bean will make the things a little confuse and dificult to understand and manage

Does file upload component works inside a jsf portlet ?

2006-05-04 Thread Legolas Woodland
Hi Thank you for reading my post Does file upload component works inside a portlet ? thanks

Re: dataScroller not working, help please

2006-05-04 Thread Mike Kienenberger
On 5/4/06, joelus [EMAIL PROTECTED] wrote: I solved my own problem, seems like I HAVE to ask for help before I figure things out! Anyway, my dataTable / scroller was nested inside a h:form tag, which is apparently a no no... Yes, you want to have tabbedPane inside of an h:form. Otherwise,

Re: How to write a customized valdation, that validate by comparing one field to another_

2006-05-04 Thread Mike Kienenberger
validateCompareTo is exactly what you need, and it's stable. I wrote it to compare date fields, so this is its most-tested configuration :) I'll probably push to have it promoted from the sandbox to tomahawk pretty soon. The only issues holding it back (that I know of) are that there are some

Re: Transfering data between pages.

2006-05-04 Thread Mert Çalışkan
You should specify the list as a managed-bean and use the same managed bean in main and popup page. Other UIComponents should be specified in two different backing-beans. Regards, Mert On 5/4/06, Rogerio Pereira [EMAIL PROTECTED] wrote: Yes same managed-bean Rogerio. I supposeyou were

Re: Does file upload component works inside a jsf portlet ?

2006-05-04 Thread Mike Kienenberger
On 5/4/06, Legolas Woodland [EMAIL PROTECTED] wrote: Thank you for reading my post Does file upload component works inside a portlet ? I'm pretty sure that file upload requires the extensions filter. servlet filters don't work with portlets.

Re: question for t:selectOneRadio : how to add other components besides f:selectItem

2006-05-04 Thread Mike Kienenberger
On 5/3/06, Yasushi Okubo [EMAIL PROTECTED] wrote: I would like to add other components like outputtext, panelGrid etc inside t:selectOneRadio besides f:selectItem, but it seems it does not work. Is there any way to achieve this ? There have been a number of people asking how to do various

Re: ActionListeners and Actions

2006-05-04 Thread Andrew Robinson
I am going on a limb to answer this without first checking MyFaces code and the spec, so feel free to correct any errors I am about to post. Calling render response on the faces context will not interrupt the current phase, but instead just cause rendering to occur. According to what I remember

Re: t:selectManyCheckbox - Make Checkbox label a link

2006-05-04 Thread Andrew Robinson
Here is one solution:Write a custom renderer. In that renderer, make a parent component with two temporal child components. First child: select one checkbox. Second child: output link. On the rendering of the checkbox, record it's client ID in a variable. On rendering of the output link, add a

t:datascroller and missing javascript event handlers

2006-05-04 Thread Michael Heinen
Is there any reason that t:datascroller does not provide an onclick attribute or _javascript_ event handlers? I have to execute some _javascript_ in order to show a confirmation dialogue if data has been changed on my form but not saved. I could add onclick attributes to the facets

Re: ActionListeners and Actions

2006-05-04 Thread Mike Kienenberger
On 5/4/06, Andrew Robinson [EMAIL PROTECTED] wrote: I am going on a limb to answer this without first checking MyFaces code and the spec, so feel free to correct any errors I am about to post. Calling render response on the faces context will not interrupt the current phase, but instead just

Re: t:datascroller and missing javascript event handlers

2006-05-04 Thread Mike Kienenberger
On 5/4/06, Michael Heinen [EMAIL PROTECTED] wrote: Is there any reason that t:datascroller does not provide an onclick attribute or javascript event handlers? I have to execute some javascript in order to show a confirmation dialogue if data has been changed on my form but not saved. I could

Re: t:selectManyCheckbox - Make Checkbox label a link

2006-05-04 Thread Mike Kienenberger
Maybe you could work with Yasushi on this.-- Forwarded message --From: Mike Kienenberger [EMAIL PROTECTED]Date: May 4, 2006 11:31 AMSubject: Re: question for t:selectOneRadio : how to add other components besides f:selectItem To: MyFaces Discussion users@myfaces.apache.orgOn

Re: Transfering data between pages.

2006-05-04 Thread Rogerio Pereira
On 5/4/06, Mert Çalışkan [EMAIL PROTECTED] wrote: You should specify the list as a managed-bean and use the same managed bean in main and popup page. Other UIComponents should be specified in two different backing-beans.Do you have an example?-- Yours truly (Atenciosamente),Rogério

Sandbox/Tomahawk Component Request

2006-05-04 Thread Julian Ray
I'm not sure if this is the place for suggesting components to add to the sandbox but anyway How about adding a spinner control which can take Integers and/or decimals with configurable step sizes and which would increment/decrement on either the server or the client. We currently use

Re: Sandbox/Tomahawk Component Request

2006-05-04 Thread Dennis Byrne
Patches are welcome ;) Dennis Byrne -Original Message- From: Julian Ray [mailto:[EMAIL PROTECTED] Sent: Thursday, May 4, 2006 12:08 PM To: ''MyFaces Discussion'' Subject: Sandbox/Tomahawk Component Request I'm not sure if this is the place for suggesting components to add to the sandbox

Re: Sandbox/Tomahawk Component Request

2006-05-04 Thread Mike Kienenberger
On 5/4/06, Julian Ray [EMAIL PROTECTED] wrote: I'm not sure if this is the place for suggesting components to add to the sandbox but anyway How about adding a spinner control which can take Integers and/or decimals with configurable step sizes and which would increment/decrement on either

Re: 2 forms on one page?

2006-05-04 Thread Andrew Robinson
After looking at the subForm, I'd recommend using it over my suggestion. It will (hopefully) support state saving methods better than two independant forms. I am using server state as it seems more friendly although it does have some serious side effects (like trying to have multiple view active

Re: 2 forms on one page?

2006-05-04 Thread Mike Kienenberger
On 5/4/06, Andrew Robinson [EMAIL PROTECTED] wrote: Trying to build and update the sandbox is a pain as there are no nightlies for it (there is an open JIRA on this). http://issues.apache.org/jira/browse/TOMAHAWK-209 Good news! If you take a look at the issue, you'll see that sandbox

Re: Does file upload component works inside a jsf portlet ?

2006-05-04 Thread Legolas Woodland
Thank you for reply , but, is there any solution to upload a file inside a jsf based portlet ? On 5/4/06, Mike Kienenberger [EMAIL PROTECTED] wrote: On 5/4/06, Legolas Woodland [EMAIL PROTECTED] wrote: Thank you for reading my post Does file upload component works inside a portlet ?I'm pretty

t:collapsiblePanel and View History

2006-05-04 Thread James Reynolds
I'm using a collapsible panel on page and I noticed that if I open and close it several times, pressing the back button of the browser cycles through the history of views, opening and closing the panel. This makes complete sense to me, but I was wondering: Is there a way to knock these views off

Re: Does file upload component works inside a jsf portlet ?

2006-05-04 Thread Mike Kienenberger
I think adffaces has an upload component. Your other option is to write a phase listener that performs all of the same processes that the extension filter does. On 5/4/06, Legolas Woodland [EMAIL PROTECTED] wrote: Thank you for reply , but, is there any solution to upload a file inside a jsf

Re: Does file upload component works inside a jsf portlet ?

2006-05-04 Thread Legolas Woodland
thanks for reply. Can you help me with that phase listener ? where i can find some resource about this ? Thanks On 5/4/06, Mike Kienenberger [EMAIL PROTECTED] wrote: I think adffaces has an upload component.Your other option is to write a phase listener that performs all of the same processes that

t:panelTabbedPane: Is the serverSideTabSwitch attribute depreciated?

2006-05-04 Thread Todd Patrick
t:panelTabbedPane: Is the serverSideTabSwitch attribute depreciated? If it is, how do I toggle client-side/server-side tab switches? Thanks, --Todd

Re: Sandbox/Tomahawk Component Request

2006-05-04 Thread Andrew Robinson
Nice to have the WIKI on promoting Sandbox to Tomahawk. Is there a WIKI on how best to create a new sandbox component from scratch and what steps should be taken? (not just migrating it from jsf-comp for example). I looked at the Contributing_Patches, and looked at the focus JIRA issue, but not

Re: Sandbox/Tomahawk Component Request

2006-05-04 Thread Mike Kienenberger
On 5/4/06, Andrew Robinson [EMAIL PROTECTED] wrote: Nice to have the WIKI on promoting Sandbox to Tomahawk. Is there a WIKI on how best to create a new sandbox component from scratch and what steps should be taken? (not just migrating it from jsf-comp for example). I looked at the

Re: t:panelTabbedPane: Is the serverSideTabSwitch attribute depreciated?

2006-05-04 Thread Mike Kienenberger
On 5/4/06, Todd Patrick [EMAIL PROTECTED] wrote: t:panelTabbedPane: Is the serverSideTabSwitch attribute depreciated? No, it's not. Do you have reason to believe otherwise?

Re: Does file upload component works inside a jsf portlet ?

2006-05-04 Thread Matthias Wessendorf
An interesting blog entry for using PhaseListners instead of Servlets (or Filters) is [1] [1] http://www.jroller.com/page/cagataycivici?entry=phaselistener_renders_an_image_no On 5/4/06, Legolas Woodland [EMAIL PROTECTED] wrote: thanks for reply. Can you help me with that phase listener ?

Re: Tomahawk 1.1.2

2006-05-04 Thread Adrien FOURES
It's a very good news, thanks a lot for the myfaces team's job Sean Schofield wrote: We are targeting next Monday for the official release. Sean On 5/3/06, pmuir [EMAIL PROTECTED] wrote: I don't think 1.1.2 has been released yet. I've used the svn source to build a copy or you can

RE: t:panelTabbedPane: Is the serverSideTabSwitch attribute depreciated?

2006-05-04 Thread Todd Patrick
I keep receiving the following error message: compile-jsps: org.apache.jasper.JasperException: Attribute serverSideTabSwitch invalid for tag panelTabbedPane according to TLD C:/javaworkspace/petroadmin/transactionbrowser/build/web/tbrowser.jsp(87 ,16)

Re: Column Ids not unique in JSF RI implementation with t:dataTable

2006-05-04 Thread Matthias Wessendorf
There has been a bug inside RI see [1] [2] [1] http://issues.apache.org/jira/browse/MYFACES-1010 [2] https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=230 On 5/4/06, eroman [EMAIL PROTECTED] wrote: All, We have the following scenario : A form with t:dataTable...

Javascripts and Namespace encoding in portal environments.

2006-05-04 Thread Phanidhar Adusumilli
Myfaces implementationis not compliant with section 12.3.4 of portlet spec. In the current implementation(s) (1.1.1 1.1.2) UIViewRoot.createUniqueId() is implemented as follows: /* Provides a unique id for this component instance. */ public String createUniqueId() { ExternalContext extCtx =

1.1.3 returns the error: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-05-04 Thread Todd Patrick
I downloaded 1.1.3 Nightly build and I am trying to configure my web.xml file as such: ?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

Re: 1.1.3 returns the error: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-05-04 Thread Mike Kienenberger
On 5/4/06, Todd Patrick [EMAIL PROTECTED] wrote: I downloaded 1.1.3 Nightly build and I am trying to configure my web.xml file as such: ?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;

how update an window from another window

2006-05-04 Thread Rogerio Pereira
I have a popup window that must update the page with some dataTables in the parent window when i click on close button, how can i do it?I tried:window.opener.document.forms[0].submit() and the dataTable isn't updated window.opener.location.reload() but this method calls shows a message box about

Re: Column Ids not unique in JSF RI implementation with t:dataTable

2006-05-04 Thread eroman
Thank you. We now can display the contents of the first column correctly (but not the second). When we view the source for the page, the id is correct for the first and second columns. However, the second column contents does not reflect what it should - the second column's contents is the

RE: 1.1.3 returns the error: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-05-04 Thread Todd Patrick
Thank you for the suggestion! This didn't work either... The error keeps saying: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html I even tried to add:

Re: 1.1.3 returns the error: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-05-04 Thread Mario Ivankovits
Todd Patrick schrieb: url-pattern/transactionbrowser/myFacesExtensionResource/*/url-pattern No, its /faces/myFacesExtensionResource/* as stated in the documentation. The url-pattern will always be relative to the context. Ciao, Mario

RE: 1.1.3 returns the error: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-05-04 Thread Todd Patrick
Thank you, I tired that as well. Is there a bug in the 1.1.3 nightly build? Thanks, --Todd -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 3:09 PM To: MyFaces Discussion Subject: Re: 1.1.3 returns the error:

Re: 1.1.3 returns the error: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-05-04 Thread Mike Kienenberger
You're making it harder than it has to be :) There are two required mappings. One has to be absolute and has to look exactly like this. It should probably be your first filter-mapping for performance reasons. (I had assumed you'd copied it verbatim, but I see that's now not the case). !--

RE: 1.1.3 returns the error: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-05-04 Thread Todd Patrick
Is it a problem that my Faces servlet mapping is: servlet servlet-nameFaces Servlet/servlet-name servlet-classjavax.faces.webapp.FacesServlet/servlet-class load-on-startup1/load-on-startup /servlet servlet-mapping servlet-nameFaces Servlet/servlet-name

Javascript not generated on initial JSF pages

2006-05-04 Thread Romanowski, Tim
Title: Javascript not generated on initial JSF pages Whenever I deploy my web app, the first page I load with JSF components does not generate code for any of the JSF components. In other words, on my initial index page, I have a commandButton and some regular html links (a href="" Only the

Re: 1.1.3 returns the error: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-05-04 Thread Mike Kienenberger
On 5/4/06, Todd Patrick [EMAIL PROTECTED] wrote: Is it a problem that my Faces servlet mapping is: url-pattern/transactionbrowser/*/url-pattern [vs] url-pattern*.jsf/url-pattern No, the beauty of using a servlet-name filter mapping is that it doesn't matter how you specify

RE: 1.1.3 returns the error: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-05-04 Thread Todd Patrick
This is so frustrating... I really appreciate your help. These changes still are unsuccessful, I've tried each suggestion and Googled on the topic as well with no success. My web.xml file is now: ?xml version=1.0 encoding=UTF-8? web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee;

Re: 1.1.3 returns the error: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-05-04 Thread Mario Ivankovits
Hi Todd! Is it a problem that my Faces servlet mapping is: Regardless of what your servlet mapping will be, the extensions filter (and the url-pattern) has to be as stated by the documentation or by mike. So NOT using your /transactionbrowser/* but /faces/ If this failes, the best will

Re: 1.1.3 returns the error: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-05-04 Thread Mario Ivankovits
Hi Todd! context-param param-nameorg.apache.myfaces.CHECK_EXTENSIONS_FILTER/param-name param-valuefalse/param-value /context-param Given that you already told the system to disable this filter check I bet that the web.xml you edit is not the used by tomcat. Just a

RE: 1.1.3 returns the error: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-05-04 Thread Todd Patrick
Thank you, I looked at that as well... Would you provide an example of how you set-up your web.xml file? Thanks, --Todd -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 3:47 PM To: MyFaces Discussion Subject: Re: 1.1.3 returns the

Re: 1.1.3 returns the error: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

2006-05-04 Thread Mike Kienenberger
On 5/4/06, Todd Patrick [EMAIL PROTECTED] wrote: Would you provide an example of how you set-up your web.xml file? One other thing you might check is to be sure you've got things in the correct order in your web.xml file.filters, filter-mappings, listeners, servlets, servlet-mappings.

RE: t:panelTabbedPane: Is the serverSideTabSwitch attribute depreciated?

2006-05-04 Thread Julian Ray
I think I had the same problem a while back until I switched to the latest tomahawk build. This attribute appears to have been added in a later version. Which version of Tomahawk are you using? -Original Message- From: Todd Patrick [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006

RE: Sandbox/Tomahawk Component Request

2006-05-04 Thread Julian Ray
Ok some I'm deep into the sandbox adding a couple of controls but have question One of the tags is based on a simple div but calls out to some external JS. The tag implementation is based on tomahawk's div tag (HtmlTag) but I get errors thrown from myfaces stating that it can't find the tag

RE: t:panelTabbedPane: Is the serverSideTabSwitch attribute depreciated?

2006-05-04 Thread Todd Patrick
I am now using 1.1.3 Nightly Build - but now that is causing issues with defining my filters in my web.xml file. Thanks, --Todd -Original Message- From: Julian Ray [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 4:18 PM To: 'MyFaces Discussion' Subject: RE: t:panelTabbedPane:

Re: t:panelTabbedPane: Is the serverSideTabSwitch attribute depreciated?

2006-05-04 Thread Mike Kienenberger
On 5/4/06, Todd Patrick [EMAIL PROTECTED] wrote: I am now using 1.1.3 Nightly Build - but now that is causing issues with defining my filters in my web.xml file. Actually, that's an indication that they were never working in the first place rather than a new problem. I've been using the same

RE: t:panelTabbedPane: Is the serverSideTabSwitch attribute depreciated?

2006-05-04 Thread Julian Ray
You have probably checked already but I was having filter and load problems unitl I realized that I had left the old myfacesall.jar in the lib directory and it was getting picked up instead of the new jars and causing all kinds of problems. -Original Message- From: Todd Patrick

RE: t:panelTabbedPane: Is the serverSideTabSwitch attribute depreciated?

2006-05-04 Thread Todd Patrick
Mike: Would you please provide a copy of your web.xml file? I've wasted three hours on this... so, any examples are appreciated. Thanks, --Todd -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 4:34 PM To: MyFaces Discussion Subject:

I just don't understand why filters doesn't work...

2006-05-04 Thread Todd Patrick
This can't be hard... I've wasted close to *four* hours on this. I've been fortunate that I've had some really great people help me. However, I still can't get past the following error: javax.servlet.ServletException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF

Re: I just don't understand why filters doesn't work...

2006-05-04 Thread Dennis Byrne
App Server: Sun Java System Application Server PE 8 Libraries: myfaces-api-1.1.2.jar, myfaces-impl-1.1.2.jar, tomahawk.jar and tomahawk-1.1.3-SNAPSHOT.jar Two versions of the same jar ??? Dennis Byrne

Re: I just don't understand why filters doesn't work...

2006-05-04 Thread Mike Kienenberger
On 5/4/06, David G. Friedman [EMAIL PROTECTED] wrote: servlet servlet-nameFaces Servlet/servlet-name servlet-classjavax.faces.webapp.FacesServlet/servlet-class load-on-startup1/load-on-startup /servlet servlet-mapping servlet-nameFaces

RE: I just don't understand why filters doesn't work...

2006-05-04 Thread Todd Patrick
Well, my file extensions are .jsp not .jsf. Or have I done something wrong?(Come to think about it, I really don't stand that just yet, I need to google this.) Thanks, --Todd From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 5:30 PMTo: MyFaces

Re: Disabled inputText Value

2006-05-04 Thread Le Van
Uri Kalish wrote: Use case: A user fills a value in an inputText field, checks a radio button that causes the field to become disabled, and submits the form. After the user submits, the value received is null, no matter what the field displays on the UI… Is there a way to retrieve that

RE: Disabled inputText Value

2006-05-04 Thread Uri Kalish
Thanks dude. I found the problem. It's an HTML form thing - A form submitting will not post disabled fields. Because in the case of error I want to re-display the page exactly as it was when the user submitted (I don't want fields changed by the user to jump to default values just because he

MyFaces seem to only work with one servlet-mapping set-up only in a web.xml file?

2006-05-04 Thread Todd Patrick
I have the following currentservlet-mapping that works: filter filter-nameMyFacesExtensionsFilter/filter-name filter-classorg.apache.myfaces.webapp.filter.ExtensionsFilter/filter-class init-param param-namemaxFileSize/param-name param-value20m/param-value

How can *jsf be used in a servlet-mapping URL?

2006-05-04 Thread Todd Patrick
Anytime I've tried to use *jsf in my url-pattern value: servlet servlet-nameFaces Servlet/servlet-name servlet-classjavax.faces.webapp.FacesServlet/servlet-class load-on-startup1/load-on-startup/servletservlet-mapping servlet-nameFaces Servlet/servlet-name

How do I properly use jsp:forward in MyFaces?

2006-05-04 Thread Todd Patrick
I have a project folder that looks like: /transactionbrowser/ - WEB-INF - resources -index.jsp -tbrowser.jsp With the servlet-mapping of: filter filter-nameMyFacesExtensionsFilter/filter-name filter-classorg.apache.myfaces.webapp.filter.ExtensionsFilter/filter-class init-param

Re: MyFaces seem to only work with one servlet-mapping set-up only in a web.xml file?

2006-05-04 Thread Dennis Byrne
Do this ... servlet-mapping servlet-nameFaces Servlet/servlet-name url-pattern/*/url-pattern /servlet-mapping The URL pattern is context relative. If a servlet could be to a specific context then it could intercept requests sent for a different webapp. Dennis Byrne -Original

Re: How can *jsf be used in a servlet-mapping URL?

2006-05-04 Thread Dennis Byrne
I've seen this example several places, do I need to name my files with a *.jsf extension? No, just name it .jsp and the request will be forwarded to it. Dennis Byrne How would using this url-pattern affect the following filter definition, would I change the url-pattern to *.jsf for

RE: How do I properly use jsp:forward in MyFaces?

2006-05-04 Thread David G. Friedman
Todd, From your various posts tonight, you seem to have a number of JSF concepts mixed. Is this your first Faces Webapp? (That is not meant to be an insult but a simple question) If your project folder looks like this as you indicated: /transactionbrowser/ - WEB-INF - resources