facelets Questions

2

Solved

I have this configuration on my web application. 2 beans : 1° Bean - It checks the login; @ManagedBean(name="login") @SessionScoped public class Login { private String nickname; private String ...
Merciful asked 25/11, 2010 at 16:0

1

Solved

As always, i'm a little confused. Here https://community.jboss.org/wiki/ModularWebAppsWithJSF2 i've learned that it is easy and works out of the box to bundle templates in separate jars since JSF ...
Treatise asked 15/2, 2012 at 9:7

2

Solved

Other than c:if or c:choose, are there any better ways to implement conditional rendering of 1 component out of several components. Something like switch case for JSF pages?
Diluvium asked 8/2, 2012 at 11:58

1

Solved

I want to use jQuery Validate plugin with JSF for client side form validation. I am finding basic difficulty in importing the resources. In my JSF page I have <h:outputScript library="js...
Valiant asked 1/2, 2012 at 8:49

1

Solved

After these questions: https://stackoverflow.com/questions/8589315/jsf2-dynamic-template Dynamic ui:include How can I retrieve an object on @WindowScoped? How can I check if an object stored with...
Colicroot asked 27/1, 2012 at 10:21

1

Solved

So I've found a few answers close to this, and I've found enough to fix the problem I had. But even so, I'm curious as to understand the workings around this. Let me illustrate with an example : I...
Sergias asked 25/1, 2012 at 21:41

1

Solved

So, my template includes a footer.xhtml <ui:include src="/WEB-INF/testtaker/Footer.xhtml"/> What I want to do is change the footer based on some users pref to different Footer_???.xhtml fi...
Inexertion asked 20/1, 2012 at 20:24

1

Solved

When using something like <h:panelGrid columns="1"> <ui:repeat var="o" value="#{mybean.list}"> <h:outputText value="#{o.text}"/> </ui:repeat> </h:panelGrid> with...
Appomattox asked 20/1, 2012 at 17:39

1

Solved

I am not sure what are the benefits of using <f:view> and <f:subview>. I noticed that one could write JSF pages without using them. What are the benefits of using those tags?
Chindwin asked 16/1, 2012 at 17:0

1

Solved

I'm trying to get google map image with the following code: <img src="http://maps.googleapis.com/maps/api/staticmap?center=#{profile.latitude},#{profile.longitude}&zoom=14&size=400x400&...
Adolphadolphe asked 2/1, 2012 at 7:58

1

We have an instance running with two clustered servers at oracle web logic app server. One of the servers runs smoothly, but the other gives the error at the login page. I checked the logs but go...
Skiplane asked 16/12, 2011 at 9:31

1

Solved

I am using a boolean property in a JSF managed bean and depending on its value I have to render a command link on the facelet. But the problem is that facelets is showing this error: Property 'i...
Unguinous asked 15/12, 2011 at 15:25

1

Solved

I want to ask a question that i have a master template like this <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/T...
Buckley asked 14/12, 2011 at 7:35

0

I am writing a Facelet tag file in JSF 1.2. I want to be able to reference the parent container. In JSF 2.0 I could make this a composite component and use #{cc.parent}. But is there a JSF 1.2-equi...
Garman asked 8/12, 2011 at 1:10

2

Solved

i want to change the variable value based on a condition so i tried the following: <h:head> <ui:param name="userCase" value="Insert" /> <ui:fragment rendered="#{employee.employe...
Berkly asked 6/12, 2011 at 12:45

1

Solved

I have a problem using JSF to display some data in Facelets. I have list of hashmaps: List<Map<String, String>> persons = new LinkedList<Map<String,String>>(); public Lis...
Bugger asked 3/12, 2011 at 1:47

1

Solved

I am using the Apache MyFaces Commons Validator TagLib. How should i add this to my web.xml? The commons JAR is downloaded and resolved through Maven. XHTML (I think this is correct): <html x...
Leesaleese asked 20/11, 2011 at 3:51

1

Solved

Is there a way of setting a managed bean parameter in a composite component and then leaving the using classes to decide which actual managed bean to use? something along the lines of: comp.xhtml...
Showy asked 17/11, 2011 at 0:16

2

Solved

I have seen a couple other examples on SO discussing some weird workarounds but none seem to work and they were all addressed at versions prior to JSF 2. So, it it possible to simply output the key...
Alanis asked 17/11, 2011 at 4:37

2

Solved

i am using icefaces select on menu to select a user from list of users and i want to repeat the selectItem for each user here's what i tried: <ice:selectOneMenu id="users"> <ui:repeat va...
Butene asked 16/11, 2011 at 13:20

1

Solved

I create a composite component like this: <cc:interface> <cc:attribute name="value" required="true" /> <cc:attribute name="rendered" displayName="True to render" default="tru...
Muniment asked 12/11, 2011 at 17:59

1

Solved

Can we find the length of a String in Facelets page to check for a condition using <ui:fragment>?
Weeper asked 10/11, 2011 at 22:16

2

Solved

How to repeat output of some content in JSF using only standard tags (ui:, h: etc) ? In other words - how to do equivalent to PHP code below in JSF ? I immediately wanted to take advantage of ui:re...
Lead asked 7/11, 2011 at 12:14

1

Solved

This is basically an extension to this answer. I am trying to get an argument into a method/action call (for a delete button in a list/data table). Client: <ui:include src="..."> &...
Linsk asked 4/11, 2011 at 2:21

2

Solved

I saw some examples creating the JSF pages with .jsp extension, other examples creating them with .xhtml extension, and other examples choose .jsf. I just would like to know what the difference is ...
Election asked 27/10, 2011 at 10:31

© 2022 - 2024 — McMap. All rights reserved.