file « Component « JSF Q&A





1. JSF Upload component: alternate triggering    stackoverflow.com

I have a JSF form that needs to upload a file via an icon click (i.e. without showing the textfield/browse button of the file upload component). Is it possible to trigger ...

2. message properties file in custom jsf component    stackoverflow.com

i'm developing a custom jsf component a want to store messages i a properties file and want get messages stored in it by java code. Must i config faces-config? and how ...

3. When to use , tag files, composite components and/or custom components?    stackoverflow.com

I started using JSF 2.0 with Facelets recently and got puzzled by new composite components knowing existing <ui:include> and other templating techniques offered by Facelets 1.x. What is the difference between ...

4. Can't access javascript file in jsf component    stackoverflow.com

I have a jsf component that must access to a javascript file, i added this whith outputScript as in the code bellow, I get an error in the generated html, ...

5. custom jsf component (.tld file)    coderanch.com

Hi, I want to create a tld xml file to create my own jsf component. How can I do that within Sun Studio Creator ? I don't want to just copy it manually to the WEB-INF directory because its a tmp directory in Sun Studio Creator and I would have to copy it every time. I would rather want this tld ...

6. File Upload Component.    coderanch.com

7. Download files component    coderanch.com

I didn't get much info from both the sites...actually, I have a filename (.pl or .zip , or .doc) with a hyperlink ( a command link ) to it on the web page..on click of the link, it should call the method on the bean to get the file contents and display the save open dialog box so that the user ...

8. Display the content of PDF file in a JSF Component    coderanch.com

No. There's no PDF in-page plugin for any popular browser I know of and therefore no JSF tag to support one; probably in part because of the Eolas patent that resulted in a half-billion-dollar judgement against Microsoft. In part, probably because a PDF and its associated navigation controls take up so much screen real estate that it's simpler just to give ...

9. Retain File Selected in a File Upload Component    coderanch.com

I am using a File Upload Component to allow users to browse to the file, and choose one. I do not want to upload the file but just get the File Path. I am able to do this without any problem. However, there are value change events that cause form submit and if the user selected/chose the file before these events ...





12. ZK JSF custom Flash component - How to make the swf inside a jar file accessible to the user?    zkoss.org

I'm developing a ZK JSF Flash component. That component is packed in to a jar file along with it's resources (icons, swfs, etc). How do I fill the src url property when the swf file is inside a jar? The swf url should be a visible path to the user (e.g. http://application/resources/file.swf), and not just visible inside the jar file...