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
5
votes
3 answers

Richfaces 4 a4j:commandLink action not firing in rich:popupPanel

I seem to be having a problem where I have an a4j:commandLink on a rich:popupPanel but the action is not firing. The xhtml looks as follows:
Aaron Chambers
  • 1,354
  • 2
  • 12
  • 27
5
votes
1 answer

CommandLink in WPF

Can someone tell me how can I add a CommandLink control in a WPF window? This is what I mean by CommandLink : http://msdn.microsoft.com/en-us/library/aa511455.aspx
Elmo
  • 6,409
  • 16
  • 72
  • 140
5
votes
3 answers

JSF commandLink, POSTing and the back button

I've recently started doing some JSF work - before that I've always used PHP or Python for web development. I was somewhat surprised to find that JSF uses HTTP POSTs to navigate when the h:commandLink tag is used. I have been using the commandLink…
Steve Claridge
  • 10,650
  • 8
  • 33
  • 35
4
votes
0 answers

JSF behind Apache with SSL - h:commandLink with and without f:ajax

[Edit] - Thanks for the comments. I've tried to shape my question accordingly and I've added some additional information based on the suggestions offered. I have a JSF web application running on JBoss AS7 that I front with Apache on SSL (port…
Andrew David
  • 81
  • 1
  • 5
4
votes
1 answer

oncomplete attribute of h:commandLink not invoked

We are migrating from JSF 1.2 to JSF 2.2.6 along with RichFaces 4.5.2. Facing issues with the oncomplete not getting called. The JS function during onclick gets called, but JS in oncomplete does not get called. How is this caused and how can I solve…
jsflearner
  • 53
  • 1
  • 1
  • 6
4
votes
0 answers

Can't use data-toggle attribute with h:commandLink

I want to convert the following tag into JSFs h:commandLink, but I'm having trouble with the data-toggle attribute. This is what I converted it into:
Beejay
  • 183
  • 1
  • 3
  • 13
3
votes
1 answer

h:commandLink actionlistener is not invoked when used with f:ajax and ui:repeat

h:commandLink actionlistener is not invoked when used with f:ajax and ui:repeat When I click the link, I have to pass a parameter in the bean's "onload" method and refresh the panelgroup "assist". It works fine when I use the commandButton but not…
Smith
  • 131
  • 3
  • 13
3
votes
1 answer

JSF 2.0 - switching locale with h:commandLink - message bundle not in synch

In my xhtml page I have the following tag included: ... I have implemented a language bean: @ManagedBean(name = "languageBean") @SessionScoped public class LanguageBean implements Serializable { …
Walter
  • 225
  • 5
  • 14
3
votes
2 answers

Batch: start application doesn't show a GUI

I try to launch a self written autoit application called "KeyShortcuts.exe" using a batch called "launchMacros.bat". This applications provides keyboard shortcuts for various things and includes a GUI which shows me the available shortcuts.…
Martin Brandl
  • 56,134
  • 13
  • 133
  • 172
3
votes
1 answer

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: var cardsSize =…
3
votes
0 answers

action not working after upgrade to MyFaces 2.1.9

Our team is upgrading Webapplication from Myfaces-1.1.5 to Myfaces-2.1.9 and from Tomahawk-1.1.3 to Tomahawk-1.1.14. Before this upgrade we were using ajax4jsf-1.0.6, after upgrade we are using richfaces-impl-jsf2-3.3.4. The problem is we are not…
3
votes
0 answers

How to use ajax links and normal links in the same JSF dataTable (IceFaces)

IceFaces 3.3 JSF 2.1 I'm trying to build a table with "uploaded files". I need an ajax link to delete each row. Not a problem.
3
votes
1 answer

Using with

I saw this example provided by BalusC: How is that working with ? I tried:
alexander
  • 1,191
  • 2
  • 20
  • 40
3
votes
1 answer

How to implement programmatically

Basically i'm trying to set a dynamic columns for a . The content of one of my columns is a p:commandLink which used to show a dialog for text editing, i have this working like a charm in the XHTML but I need to translate it to Java for…
Jalal Sordo
  • 1,605
  • 3
  • 41
  • 68
3
votes
1 answer

Primefaces commandLink only updates datable after clicking it twice

The following code is about a table, where I can add (commandButton) or remove (commandLink) rows. Both buttons are working and calling the correspondent bean methods. But while for each click in the add button will update the table adding one row…
qxlab
  • 1,506
  • 4
  • 20
  • 48
1
2
3
13 14