Re: MyFaces with Weblogic

2005-02-24 Thread Craig McClanahan
On Thu, 24 Feb 2005 14:45:40 -0500, Virtudazo, Dennis (Exchange) <[EMAIL PROTECTED]> wrote: > The application server needs to know the mapping so it can invoke the > FacesServlet when the url matches the mapping. But why would the > FacesServlet itself need to know its mapping? > It's not FacesSe

jsp editor (offroad topic? )

2005-02-24 Thread Slawek
hi for somme time i am using popular eclipse plugin called LOMBOZ. but it drives me crazy... the first thing: it has nasty bug: it reports "jsp parsing error: the absolute uri...cannot be resolved neither in web.xml or the jar filer deployed with this app" on these tags in my code: <%@ taglib uri

RE: JavaScript-Confirm inside a commandlink?

2005-02-24 Thread Doug Ly
Then, The onclick should be Onclick="return check(blah)" --Doug -Original Message- From: Slawek [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 2:21 PM To: MyFaces Discussion Subject: Re: JavaScript-Confirm inside a commandlink? thats what i understod reading your posts BUT

Re: JavaScript-Confirm inside a commandlink?

2005-02-24 Thread Slawek
thats what i understod reading your posts BUT in my 2 separated projects it alwasy submits :| what could i fu**ed up? Sławek Well, If your confirm function returns false when the user clicks on cancel, the form will not be submitted. --Doug -Original Message- From: Slawek [mailto:[EMAIL P

Re: JavaScript-Confirm inside a commandlink?

2005-02-24 Thread Sean Schofield
What is the problem? Is the function getting called? Do you see your confirm dialog? sean On Thu, 24 Feb 2005 20:28:13 +0100, Slawek <[EMAIL PROTECTED]> wrote: > please explain me as i would be an idiot:D > //=== > <%@ taglib uri="http://java.sun.com

RE: MyFaces with Weblogic

2005-02-24 Thread Virtudazo, Dennis \(Exchange\)
The application server needs to know the mapping so it can invoke the FacesServlet when the url matches the mapping. But why would the FacesServlet itself need to know its mapping? I didn't have a problem with the RI regarding validation of the web.xml. I don't think the RI is even parsing the web

RE: JavaScript-Confirm inside a commandlink?

2005-02-24 Thread Doug Ly
Well, If your confirm function returns false when the user clicks on cancel, the form will not be submitted. --Doug -Original Message- From: Slawek [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 1:28 PM To: myfaces-user@incubator.apache.org Subject: Re: JavaScript-Confirm in

unclosed connection warnings

2005-02-24 Thread mfaine
I'm getting a message like this each and every time an action is executed. Hiberante sessions are managed by Spring. Any idea why and/or how I can fix it? Is this even serious enough to be concerned about? 13:31:11,197 WARN SessionImpl:3400 - unclosed connection Thanks, -Mark

Re: resetting beans

2005-02-24 Thread mfaine
I think I've figured out a new way (at least for me) to clear everything and start new. In my main document listing bean (request scoped), I have the following code in the init() method. HttpSession session = (HttpSession) FacesContext.getCurrentInstance().getExternalContext().getSession(fal

Re: JavaScript-Confirm inside a commandlink?

2005-02-24 Thread Slawek
please explain me as i would be an idiot:D //=== <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%> <%@ taglib uri="http://myfaces.apache.org/extensions"; prefix="x"%>
function c

Re: MyFaces with Weblogic

2005-02-24 Thread Craig McClanahan
On Thu, 24 Feb 2005 09:29:45 -0500, Virtudazo, Dennis (Exchange) <[EMAIL PROTECTED]> wrote: > Btw, it wasn't the parsing of faces-config.xml that was causing the > problem. It was the parsing of the web.xml. I don't know why MyFaces > (its ServletContextListener) is even trying to parse web.xml, I

Re: How to access selected/current row/node in Tree TABLE

2005-02-24 Thread Sean Schofield
Bryan, Nice looking interface BTW. It looks as though you are using the tree to expand and collapse rows in the table according to the node hiearchy. Is that accurate to say? I guess that has its uses. Anyways, I am willing to work with you guys on it. As a starting point, you should familiar

Re: How to access selected/current row/node in Tree TABLE

2005-02-24 Thread Bryan Dickey
Sean and David, Attached is a gif showing a real-world example of the usefulness of the Tree Table component. I'm working for Young Living, a multi-level marketing company. Tree structure and display is of central importance to us and our distributors. The attached image is our downline viewer,

writing a file - difference between browsers?

2005-02-24 Thread mfaine
When I call the uploadAction a file is written to the filesystem of the server running the application. When using Firefox it works great but when I'm using Internet Explorer it crashes out. Here is the code: public void writeFile ( byte[] bytes , String path ) { File file = new File ( p

Re: JavaScript-Confirm inside a commandlink?

2005-02-24 Thread Sean Schofield
I have since checked x:commandLink and it does exactly what I thought. Also, just so you know, you will have the same issue with RI (with no workaround.) The spec does not allow the onclick attribute for command link (that is why its in the "extended" components of MyFaces as opposed to the core

resetting beans

2005-02-24 Thread mfaine
The main bean in my application is responsible for listing documents and is scoped request so that it will always be up to date. The bean that is used to edit one of these documents is dependent on the document type and are all scoped session. Currently I'm using this rather hackish device to r

RE: MyFaces with Weblogic

2005-02-24 Thread Virtudazo, Dennis \(Exchange\)
Btw, it wasn't the parsing of faces-config.xml that was causing the problem. It was the parsing of the web.xml. I don't know why MyFaces (its ServletContextListener) is even trying to parse web.xml, I would think web.xml is already parsed by the application server and anything MyFaces needs is ava

Exadel example with Myfaces

2005-02-24 Thread hermod . opstvedt
Hi I took the example "How to write your own JSF components" from http://www.jsftutorials.net/components/tips.html, and ran it on Sun RI and MyFaces. For some reason the title attribute on the DIV tag does not get rendered when running it under Myfaces. Is this a bug or is there some difference in

How can i create reusable views in JSF?

2005-02-24 Thread Kostas Karadamoglou
Hello I am new to Java server faces as well as to MyFaces. I have worked with asp.net for several months. How can I create a reusable view in JSF? In asp.net I used to create user controls (*.ascx). What is the approach of jsf concerning this? Thank you in advance kostas

Re: How to access selected/current row/node in Tree TABLE

2005-02-24 Thread Sean Schofield
David, I took a look at your document. I think we can probably pull something like this off. Perhaps you can help me modify the tree2 to do this? It looks like you have an entire tree as the basis for the tree with various aspects of the node for the columns. In the second column you have chos

x:inputFileUpload: attribute maxlength

2005-02-24 Thread Michael Wiedmann
If I code something like I see the following in HTML: .. data:_id38:fileupload"; name="files_data:_id38:fileupload"; accept="application/*" maxlength="150" maxlength="150" class="fileUploadInput"/> .. [ Look at the double maxlength attribute, BTW I don't have any init

Possibility to use myfaces components with RI

2005-02-24 Thread Böhringer Jochen
Hi, a few newbie questions: Is it possible to use the myfaces components with the Sun JSF RI, or do they only work with the myfaces implementation? A portlet integration library exists for the sun reference implementation. Does something similar exist for the myfaces jsf implementation? Thx

x:inputFileUpload: specifying filetype

2005-02-24 Thread Michael Wiedmann
Is there a way to specify the default filetype (file extension) for the file selection dialog? Michael --