el Questions

1

Solved

I am using a datatable and for each row I have two buttons, an "Edit" and a "Delete". I need these buttons to be read-only, i.e. disabled, if a certain condition is met for the row in question. I ...
Gigantopithecus asked 30/11, 2011 at 11:36

1

Is there a way I can get a attribute set in ServletContext in EL so that it ends up as a JavaScript variable? I am setting it as context.setAttribute("testing.port", "9000"); I tried retrievin...
Syzygy asked 30/11, 2011 at 4:0

2

Solved

If I set session like this: <% session.setAttribute("taintedAttribute", "what ever we want"); %> normally we can get session variable like this in EL ${sessionScope.taintedAttribute } ...
Ancohuma asked 29/11, 2011 at 10:29

2

Solved

How to debug EL in the JSF page? I'd like to watch variable values, function calls an so on. The best solution would be an eclipse plugin, but any other possibility is better than guessing "Why thi...
Jeffryjeffy asked 25/11, 2011 at 9:23

1

Solved

I wish to write JSP which generates XML file, which has syntax, similiar to XML with EL expressions. In other words, I wish to let JSP to process only my expressions, but leave foreign expressions ...
Tweed asked 25/11, 2011 at 15:13

1

Solved

I have a JS script which is called when a submit button action is fired successfully: <h:panelGroup rendered="#{user$webreports$webfilteroverview.submitted}"> <f:verbatim> <script...
Idea asked 21/11, 2011 at 14:44

3

Solved

I have this behaviour I do not really understand ${someVar} ${someVar.class.name} ${someVar == 'error'} outputs false java.lang.Boolean true How can it be exlpained? What it the correct way...
Forgiven asked 17/11, 2011 at 14:32

1

Solved

How does exactly the following code work: #{aaa.id} <h:inputText id="txt1" binding="#{aaa}"/> I mean, usually the component binding works, by specifying a property (of type UIComponent) in...
Jessalyn asked 17/11, 2011 at 13:58

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

1

Solved

I have a datatable with a button in each row: <ice:dataTable ... var="item"> <ice:column> <h:commandButton value="Download" action="#{mybean.downloadItem(item)}" /> </ice:c...
Hydrocarbon asked 10/11, 2011 at 17:8

1

Solved

I would like to make an OR condition in this menu : <li class="#{facesContext.viewRoot.viewId == ('/company/team.xhtml' or '/company/partnerships.xhtml' ) ? 'active' : '' }"><a class="ite...
Wallenstein asked 10/11, 2011 at 3:0

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

1

Solved

<p:graphicImage value="#{resource['images:primefaces-ui/#{car.manufacturer}.jpg']}"/> I would like to calculate the inner el first and then calculate the path using resource API. I tried &l...
Mexico asked 2/11, 2011 at 2:11

1

Solved

While deploying GAE + primefaces application, I got following error: com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException: Error Rendering View[/CreateEmployee.xhtml] j...
Illustrative asked 31/10, 2011 at 6:39

2

Solved

In JSF backed bean I got an IllegalStateException when the programmatically added action listener of a programmatically added Primefaces menu item is called. I tried both request and session scope ...
Hydria asked 25/3, 2011 at 13:14

2

Solved

Is it possible to cast using EL? I've got a class Vehicle, and two other classes Car and Bus that extends Vehicle. I'm searching for all Vehicles and there's some data that has in Bus but does not...
Neoplasty asked 18/10, 2011 at 13:7

2

Solved

I'm using dynamically created links: <h:link outcome="/page" value="#{name}"> <f:param name="name" value="#{name}"/> </h:link> I would like to attach custom converter for f:...
Pizzicato asked 14/10, 2011 at 11:27

1

Solved

I'm using Spring MVC for my controller, and JSPs are my presentation layer. Inside my Spring controller, I have: model.put("issues", dataManager.getIssues()); model.put("functions", dataManager.g...
Amieeamiel asked 27/9, 2011 at 1:32

1

Solved

I have the following tree node class: public abstract class DocumentTreeNode extends TreeNodeImpl implements javax.swing.tree.TreeNode { private Boolean isToC; ... public Boolean isToC() { ...

1

Solved

I have two problems. The first one is that I'm using JSP and that I can't solve. The second one is that I'm getting an odd behavior. When I put this in the doGet() method of my servlet req.setAtt...
Nolannolana asked 10/9, 2011 at 21:29

2

Solved

I'm having troubles with EL and javascript functions (JSF 1.2, Facelets, Richfaces 3.3.0GA). I have a page that includes another composition: <ui:include src="/pages/panels/examinationPan...
Pongee asked 3/2, 2010 at 14:51

1

Section 3.1.4 of the JSF 2.1 Specification says that all attributes of standard components are value expression enabled. I want to assign a value expression to the action attribute of a commandBut...
Baluchi asked 9/9, 2011 at 12:32

1

Solved

I am trying to conditionally build a custom list using <ui:repeat>. On every occurrence of -1 as item-value in list, I need to add a line break. I tried to use <c:if> inside <ui:rep...
Josephson asked 30/8, 2011 at 19:6

1

Solved

How can I check what version of EL is server using . I am running Websphere 7 . EL classes are in j2ee.jar and manifest is below. Manifest-Version: 1.0 Ant-Version: Apache Ant 1.6.5 Created-By: 2....
Rodenhouse asked 29/8, 2011 at 23:2

1

Solved

I have the following block in my JSP, which converts from ENUM values {CREATE, CREATE_FROM_CAMPAIGN, OPEN} into nice, readable status texts. For some reason the first test against 'CREATE' works, ...
Aver asked 29/8, 2011 at 13:17

© 2022 - 2024 — McMap. All rights reserved.