Questions tagged [commandlink]
JSF tag to create a POST link.
commandlink
208
questions
2
votes
1
answer
86
views
JSF invoke dialog from commandLink/ajax
I'm able to invoke dialog from commandlink using ajax (present inside a dataTable).
Requirement- The row(commandlink) I click on, dialog should show the clicked row's value.
Issue- f:...
0
votes
1
answer
32
views
Issue with Variable Update in PrimeFaces Component
I have a commandLink that is loaded with information inside a dataTable, the logic is that when the variable showPopup is true it shows me a popup, otherwise it does not show it. The variable changes ...
0
votes
1
answer
50
views
commandLink action parameter not displayed in JSF2
On a Liferay-Faces portlet, I want to navigate from a .xhtml page to another .xhtml page passing a parameter so that this second page displays the parameter passed. As I don’t want to give any clue ...
0
votes
1
answer
47
views
Progress popup showing up after cancelling action in the confirmation popup
I have below code written to show a confirmation popup when deleting a user. Also I have progress popup ( tied to other pages also) which I have attached to this action.
But since both of them are ...
0
votes
0
answers
315
views
h:commandLink, return of action is ignored when reload page during action is executing
I have the following problem:
If the action of a CommandLink in the backing bean is executing and the user clicked the reload button or press F5 before the backing bean is completed, the result url of ...
1
vote
1
answer
1k
views
How to set p:commandLink tag "target" value after validating form value?
In my project I am having a command link in which "target" attribute value is set to "_blank". So if validation error comes it will open a new window and show the error message.
But the requirement ...
2
votes
0
answers
201
views
WebSphere JSF property not found (on a setup equivalent to one that works)
We have an EAR of our application, which we deploy on our old server: Windows Server 2003 R2, 32 bit, WebSphere 8.0.0.4. Now I have set up a theoretically equivalent WebSphere 8.0.0.4 instance on ...
0
votes
1
answer
132
views
JSF h:datatable + f:ajax (requestscoped, Backing Component)
I have to create a datatable component (as Backing Component).
The pagination (<h:commandLink> outside of <h:dataTable>) and sorting (<h:commandLink> in <f:facet name="header">...
0
votes
0
answers
310
views
commandLink cannot execute backing bean method in JSF?
I am trying to sort my custom created SortableDataModel but it doesn't work. There is a commandLink which when clicked calls sort method in backing bean which sorts the custom SortableDataModel which ...
3
votes
1
answer
485
views
How can I set an id to id h:commandLink from a c:forEach in order to be accesed by JS?
In a project with JSF 1.1 with Apache Trinidad, I need to create several dynamic h:commandLink, and they need to be accessed by JS in order to be clicked on loading.
What I have is this for js:
...
0
votes
1
answer
965
views
commandLink does not call action method with correct backingBean [duplicate]
I am working with JSF trying to do a .xhtml as simple as :
<ui:composition ...>
<span class="fr">
<a4j:commandLink value="#{msg.label_return}"
action="#{...
-1
votes
1
answer
348
views
Open Google Calendar in a new tab
I'm developing a project using java and jsf. I am trying to open Google Calendar when the user clicks on a commandLink but I have no clue about how to do it.
Does anyone knows how can I handle this?
...
0
votes
0
answers
65
views
Method in dialog executed before method in commandLink which shows the dialog
I have an issue with JSF pop up window:
this is the code that calls popup:
<p:commandLink id="emmiSumTableColumnValue5YesLink"
type="button" value="Yes"
...
6
votes
4
answers
18k
views
show icon with p:commandLink
How to show an icon with commandLink:
<p:commandLink
styleClass="ui-icon ui-icon-plus"
action="#{bean.doSomething}" >
<h:outputText value="Add" />
</...
0
votes
1
answer
199
views
How to properly update (render) <h:selectManyListbox.../>?
What is wrong whit this code? I can not update the idOfForm (selectManyListbox )?
<h:form id="idOfForm">
<h:selectManyListbox id="userListId" size="10" value="#{userBean....