tag « Tag « JSF Q&A

1. What's the best online reference for JSF tags?    stackoverflow.com

What's the best online reference for JSF tags? Nothing much turns up in Google for this technology, so I find it really hard to know what tag to use and when. Mostly ...

2. putting hyperlink in tag    stackoverflow.com

I have a requirement where clicking each errors should focus input box. I am trying different ways but could not succeed. I got some answers in the past but that did ...

3. Multiple tags in faces-config.xml    stackoverflow.com

It's a very simple question: can faces-config.xml file have multiple tags (more like SHOULD they have)? I'm working in a JSF project and the faces-config.xml file has something like this:


4. Full list of new tags in the JSF 2.0    stackoverflow.com

Where to find the full list of all tags that are introduced in JSF 2.0? Yes, I could open the 1.2 and 2.0 references and compare the tags one by one, ...

5. How to use li and ul tag in JSF Framework?    stackoverflow.com

How to use li and ul tag in JSF Framework?

6. JSF2.0 tags not found    stackoverflow.com

Recently I've been playing around with JSF2.0+Richface 3.3.3, I'm using STS as my IDE and Maven to build my project, but somehow I can't get the following JSF2.0 tags to work:

  • h:button
  • h:link
  • f:metadata
  • f:viewParam ...

7. JSF h:ajax tag problem. The datagrid doesn't relaod    stackoverflow.com

Hi this is my Code. It does not work for me. But it works in the solution of a friend. I don't know whats the reason. I don't get any error. ...

9. Disable copy paste function in a h:inputTextarea tag JSF(2.0)    stackoverflow.com

One of my clients do not want other sites to copy paste the content of a concrete textArea. Currently i have an inputTextArea as readonly="true", but i still need to disable the ...

10. Unicode display problem in JSF tag    stackoverflow.com

I have following line of code for jsp tag

<input name="UnicodeVirtualKey" class="btn" type="button" value="&#x0A85;" onclick="insert('&#x0A85;')" />
and for JSF
<h:commandButton value="&#x0A86" onclick="insert('&#x0A86')" ></h:commandButton>
But it will display same i.e &#x0A86 not its unicode. shall ...

11. how to add a f:ajax tag to an h:link?    stackoverflow.com

I have this:

<h:link value="Sign In" outcome="login.jsp" />
When the link is clicked it navigates to login.jsp. Works fine. I'd also like a method in a bean to get called on the click, ...

12. JSF 2.0 Ajax listener in SelectOneMenu tag is not working    stackoverflow.com

PROBLEM SOLVED!! There was a validationerror on my backing bean telling me something like this: Conversion Error setting value 'Africa (AFR)' for 'null Converter'. Because of the JSF lifesycle the listener method on my ...

13. Advantage of over     stackoverflow.com

What are the advantages of using <h:graphiImage> over normal <img> (in terms of performance e.g. parse/render time, possible http caching if any?, etc.) for JSF2?

14. Is there any FileUpload tag in JSF??? (for import purposes)    stackoverflow.com

Possible Duplicate:
Is there a browse button in JSF?
I am creating a web-based apps which allows a user to import a text file (a import ...

15. How to create an array in jsf tags using Onchange function?    stackoverflow.com

I have a generic function for clear the text box and checked the radio button. The following are the code for that function

function initData(checkId,data) {
   var ...

16. Use both JSF ajax and setPropertyActionListener tags on the same button    stackoverflow.com

I would like that when the user clicks on a button 2 things happen :

  1. First a setPropertyActionListener is triggered, to update a property of my bean
  2. Then an ajax call is made ...

17. Why is there no official doc on JSF tag    stackoverflow.com

I went to what I think is supposed to be the official javadoc for JSF 2.0 : http://download.oracle.com/docs/cd/E17802_01/j2ee/javaee/javaserverfaces/2.0/docs/pdldocs/jsp/index.html And I don't see the f:ajax tag.. How come?

19. JSF problem with selectManyMenu tag    struts.1045723.n5.nabble.com

slayer666 Reply | Threaded Open this post in threaded view | Report Content as Inappropriate JSF problem with selectManyMenu tag Good morning, i am trying the JSF selectManyMenu tag and i when i execute the aplication renders this trace log: javax.servlet.ServletException javax.faces.webapp.FacesServlet.service(FacesServlet.java:277) causa raz java.lang.NullPointerException ...

20. JSF tags    coderanch.com

21. selectBooleanCheckbox and immediate tag    coderanch.com

Hi, I'm having a hard time getting what I thought would be some simple functionality working in one of my jsf pages. Basically I have a page that has several fields populated from a backend database, which is working fine. I also have a selectBooleanCheckbox which upon selection is supposed to enable a drop down selection list. My problem is that ...

23. secret tag not working    coderanch.com

hi, I am running a simple example using eclipse as the ditor with faces IDE as the plugin. ////// login.jsp %@ page contentType="text/html; charset=Cp1252" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> jsf-login

24. j4j tags    coderanch.com

25. Facet Tag, what for ?    coderanch.com

26. JSF tags    coderanch.com

27. JSF Graph TAGs    coderanch.com

28. FRee JSF Tags    coderanch.com

29. JSF AJAX TAGS    coderanch.com

30. tag inside other tag    coderanch.com

31. Graphing Tag for JSF    coderanch.com

32. unbalancing tag in JSF    coderanch.com

34. How to work with jsf tags in .jsf file    coderanch.com

Hi all, I am working on jsf, i am using apache-myfaces jar files in my application. But when i am using jsf tags in .jsf files, those tags are not recognising. Here instead of .jsp i am using .jsf files.. But those tags are working fine when i am using .jsp files.. Please help me out.. Regards SuneelKota

35. Doubt in f:facet tag.. Please help me ..    coderanch.com

Hi Friends, I couldnt resolve the following problem.. In my screen I have 8 columns.. I have to provide sorting facility for some of the column, which is going to be set dynamically.. I have written my code like this:

37. Database grid tag    coderanch.com

39. Link to a file using h:outputLink tag.    coderanch.com

41. Handwriten JSF tags vs Visual designers    coderanch.com

I've always written mine by hand. I've never used a visual designer that automatically generates the tags for you. If you're new to JSF, I think that it is advisable to write everything by hand so you get familiar with how things work out. So if the visual designer later on generates something that you feel is out of whack, you ...

42. JSF tags at translated at runtime    coderanch.com

Hi, When I am calling the facelet, the output is just Hi First Name: There is no text box. Hi First Name: Can someone please tell me where I am doing it wrong. Thanks,

43. JSF tags in Ajax response    coderanch.com

44. hx:validateDateTimeRange tag issue    coderanch.com

Hi All, Following id the code snippet i am using in one of my jsf pages and the date is converting some thing like below. if i enter 010105 converts into 01/01/2005 if i enter 010100 converts into 01/01/2001(please notice that it is 2001, should be 2000) Any idea why it is behaving like this...or i am doing something wrong? function ...

46. Creating a Tag problem ?    coderanch.com

Hi All, I have an existing project which uses Myfaces and JSP . I have a custom Pagination tag in the project which works fine. The tag is extending the org.apache.myfaces.taglib.core.ViewTag and has doStart and doEnd methods. For this tag there is a tld and which I have included in the jsp : %@ taglib uri="/WEB-INF/PaginationTag.tld" prefix="p" % This is my ...

47. Malformed end tag    coderanch.com

48. JSF - Renderized String of tags...    coderanch.com

JSF != HTML. JSF components must run at the server side and they will produce HTML output. JSF does not run at the client side. The web browser doesn't understand it at all. Write the components out in the JSF page itself instead of printing the source using outputText. If you have a List in your bean, then do for example:

49. question in h:selectOneMenu tag    coderanch.com

50. fieldset tag in JSF    coderanch.com

51. Auto Refresh using selectOneMenu tag    coderanch.com

52. JSF if tag    coderanch.com

53. Weird JSF "h:messages" tag behavior    coderanch.com

Try and add a new faces message bundle to play with the predefined messages. Here are the ones I use: javax.faces.component.UIInput.CONVERSION Invalid entry, not the correct data type javax.faces.component.UIInput.REQUIRED Value is required javax.faces.component.UISelectOne.INVALID Value is not a valid option javax.faces.component.UISelectMany.INVALID Value(s) are not a valid selection javax.faces.validator.NOT_IN_RANGE Specified attribute is not between the expected values of {0} and {1} javax.faces.validator.DoubleRangeValidator.MAXIMUM Value ...

54. Ajax4JSF Unknown tag    coderanch.com

56. Replace JSF valueChangeListener Tag    coderanch.com

I am using Tomcat and cant use JSF on our web container. With no JSF I cant use the JSF valueChangeListener Tag. Please advise what I can substitute for the below valueChangeListener so I can get this to work for my dynamic drop downs: Bean: private String selectedItem1 = ...

57. assign a defined Id to all the tags in JSF    coderanch.com

. . . Firstly I do not know how many rows of will be there...and I wanted to append image_1,_2,_3...._10....my question is how do I generate that increasing number in JSF, and assign that to 'id' attribute?

58. closing tag > as value?    coderanch.com

60. Doubts regarding tag in JSF.    coderanch.com

61. netbeans JSF web ui:frameSet tag    coderanch.com

Hi,I am trying to create a page with frmaes using netbeans 6.1 webui 's ui:frameSet tag.I get the frames created but the url that i specify for each fram the header ,footer,i get the 404 error in the browser.The jsp is the welcome file of the application where i have used the frameSet tag.Here the frame thta i used: ...

62. Star rating tag    coderanch.com

63. Tags don't see each other    coderanch.com

64. need help choosing best tag for this    coderanch.com

65.  - How to use this tag ??    coderanch.com

66. JSF Tag Problem    coderanch.com

Hello i have a problem with my first project <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> the error is : Cannot find tag library descriptor :http://java.sun.com/jsf/html" prefix="h" http://java.sun.com/jsf/html" prefix="h" when i use the url it can't be found at the ...

67. Accessing elements inside div tag    coderanch.com

70. How to add a Jsf Grid Tag to Project.    coderanch.com

71. t:message tag in a datalist    coderanch.com

72. Issue with h:commandButton tag    coderanch.com

73. HOw do I replace new lines with

Hi, I"m using MyFaces 1.1.5 with Tomahawk 1.1.7. Does anyone know how I can replace carriage returns ("\n" characters) with so that my text is output and properly formatted ? The

 tag is not an option as it doesn't allow styling of the text within it. Currently I am wrapping the text in a span with a particular class and ...

74. Changing default value for JSF tag Property    coderanch.com

Hi Gurus I tried browsing the threads but couldnt find what I was looking for. Here is my problem: We have a huge application which has been in development since last 4-5 years. We are using Richfaces, JSF and Seam on JBoss App Server. There are around a couple of hundred views in our application. Recently due to the change in ...

75. Problem Using the Tag    coderanch.com

Dear Sirs et Madames, AM trying to incorporate a little ajax to my apps but am only just learning how. I have created the following xhtml file to display my very simplistic first attempt

76. JSF Tags for ActiveX    coderanch.com

77. Load Activex Object inside Facelet Tags    coderanch.com

78. Redirect using JSF tag    coderanch.com

79. confusion about tag    coderanch.com

80. forEach tag    coderanch.com

ClassNotFound: javax/servlet/jsp/jstl/core/LoopTagStatus Well that class is a JSTL class. Do you have the JSTL library in your classpath? I would also recommend not mixing the JSTL and JSF tag libraries. If you are going to write JSF, then just stick to the JSF taglibraries. That means for displaying a list of results you should probably use a h:dataTable

81. Tag doesnt works    coderanch.com

82. Tag doesnt works    coderanch.com

Hi , thanks for reply so quickly. I hadnt express it well before. I mean that when I run the app, index file executes, it sends me to welcome.jsf and it has the code: <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> Elementos de la libreara H