Questions tagged [commandlink]

JSF tag to create a POST link.

The <h:commandLink> is a JSF UI component which generates a HTML <a> element which submits its parent <form method="post"> using JavaScript.

208 questions
0
votes
1 answer

primefaces command button/link not working

Can anyone tel me why command button/link is not getting fired. This welcomePage() should be invoked on button press. I checked the managed property "value" is displaying on the execution, but button or link is not getting invoked. My…
0
votes
2 answers

JSF2:How to bind string value to h:commandLink action

Hi i need to dyamically set h:commandLink action as a string value from bean side. Here explains my problem with code MenuObject.java public class MenuObject { private String menuName; private String menuAction; public String…
Anish Antony
  • 875
  • 3
  • 17
  • 35
0
votes
1 answer

Primefaces p:commandlink in p:datatable giving wrong value

I have a datatable which consists of a list of names taken from database. These names are displayed using the commandlink. The code is shown below:
user1097856
  • 159
  • 3
  • 15
0
votes
1 answer

Setting commandLink value through ManagedBean

I have been using primefaces in JSF and trying to set commandLink value through managedbean class. ManagedBean: public String getUserClass() { …
kark
  • 4,763
  • 6
  • 30
  • 44
0
votes
1 answer

a4j:commandLink action and onclick asynchronous calls with a pop up panel

Im having a issue with this code, I'm trying to display a popupPanel to performe an action before going to another facelet, the issue is the popup shows for just a moment before the new facelet is render, I think it has something to do with…
0
votes
1 answer

ui:repeat with a list sending right object to a p:dialog

I currently have a giant ui:repeat. Within this ui:repeat, some of the repeated objects have a url to a popup image associated with them. When someone clicks display under that particular object, I need the url to popup in a p:dialog.
eisbaer
  • 328
  • 1
  • 3
  • 10
0
votes
1 answer

Primefaces p:commandLink not working in p:datatTable

i just don't get it... Why p:commandLink not working? The page is refreshing but with the same amount of data in table. I'm supposing that controller is okay. Take a look.\ View:
Matt
  • 23
  • 4
0
votes
1 answer

p:ajax update not working after clicking commandlink

I have a jsf page that adds an order from a client. All works fine except when I click the commandLink to show the p:dialog to add a new client the update on the "reste" inputtext stop working (even if I close the p:dialog without adding the new…
faissal
  • 261
  • 5
  • 20
0
votes
1 answer

How to use the anchor system with a ?

Env : IE7 & FireFox3.5, jsf1.2, richfaces3.3.X, seam2.2.0, jboss5.1 I have a very long xhtml form, and somewhere in the middle, the user have to fill a dataTable, then click a button (i use here a commandLink) that will post the dataTable, compute…
Maxime ARNSTAMM
  • 5,274
  • 10
  • 53
  • 76
0
votes
1 answer

how to get the value of link clicked in commandlink tag in managed beans

unable to get the value of which link is clicked by user in my mb.
user2413093
  • 1
  • 2
  • 3
0
votes
1 answer

its not calling the action

i am trying to create a link to the newly created record, and the link i am including inside the success message panel after successful creation of the link, But i am unable to call the action using tag. following is my peace of code:
user2319276
  • 47
  • 1
  • 5
0
votes
1 answer

Primefaces generate pdf and display on click of button

I have a requirement in which I have to generate a pdf and then on click of button "SHOW PDF", I have to display on another window. I have been able to generate a pdf using IText and stored in my machine. I get a java.io.File object as my return…
Radhika Mehta
  • 21
  • 1
  • 1
  • 2
0
votes
1 answer

How can i send value with commandLInk

I have a controller named clController. This controller has code property and I want to send this code property a value.
0
votes
0 answers
0
votes
2 answers

Is it possible to have multiple actions for the action attribute of h:commandLink?

Is it possible to have multiple actions for the action attribute of h:commandLink tag? I want to perform two actions while clicking on the link rendered by h:commandLink tag. An action needs to be performed in a Spring bean, and a pop up window…
TKUK
  • 11
  • 1
  • 2