Questions tagged [commandbutton]

JSF tag to create a POST botton.

The <h:commandButton> is a JSF UI component which generates a HTML <input type="submit"> element which submits its parent <form method="post">.

456 questions
0
votes
1 answer

JSF pass Object to another page

I'm trying to pass an object to another site. So i have my Gallery.xhtml where I set an object as current and redirect to another page:
4ndro1d
  • 2,926
  • 7
  • 35
  • 65
0
votes
1 answer

how can i navigate to an absolute path from a h:commandButton

I have something like this: once the action method is evaluated, I would like to navigate (only in some cases) to an absolute URL. I know that if the "bean.action" returns a relative path that…
davidml
  • 153
  • 5
  • 20
0
votes
2 answers

Primefaces3.5+JSF2.1.9 Request processing after Clicking link or Button twice

I am using Primefaces3.5 with Jsf2.1.9 i am getting a weired issue with as well as I have to press button as well as link more than one then JSF bean method is calling otherwise on Single click nothing…
Subodh Joshi
  • 12,717
  • 29
  • 108
  • 202
0
votes
1 answer

PrimeFaces commandButton & UIBlock

I have the following code inside a registration form. Basically the button calls an action (an Ejb method and an Action listener which is an utility method). When the user submits the registration form, a primefaces dialog should appear telling the…
Hanynowsky
  • 2,970
  • 5
  • 32
  • 43
0
votes
1 answer

PrimeFaces p:commandButton

I'm working with primefaces mobile(0.9.2 - jsf2), and I have a strange problem. I have a view with 2 buttons, one to add and another to save the order. the add button works fine, but when I click on the save button, instead of call the save method,…
0
votes
0 answers

Jsf converter getAsString method called twice

I have situation here. I use managed bean as converter to pre populate SelectManyCheckBox from database and it works good. Here is my Converter class @ManagedBean @RequestScoped public class RoleConverter implements Converter{ @EJB private…
Odgiiv
  • 683
  • 1
  • 11
  • 32
0
votes
1 answer

Primefaces dialog doesn't show up

I want a dialog to show up after I click a commandButton, but it doesn't show up at all. I think the button is submitting the form instead of showing up a dialog. What's more I've tried to make a 'Cancel' commandButton and it is also not working as…
gadzix90
  • 744
  • 2
  • 13
  • 28
0
votes
1 answer

jsf2 commandButton, commandLink doesn't trigger action

in this page either h:commandButton doesn't trigger action method in managed bean but when I click button it reloads current page. I don't know why please help.
Odgiiv
  • 683
  • 1
  • 11
  • 32
0
votes
1 answer

Validation of ViewParam and a4j:commandButton

I think i came across a bug of @ViewScoped with a4j:commandButton. I have a very complex form where all actions use a4j, except those that need to upload data. And depending on the order of the commands the validation of the viewParam breaks. Here…
mmoossen
  • 1,237
  • 3
  • 21
  • 32
0
votes
1 answer

Inconsistent behavior between and

I have a delete confirmation dialog:
Lucas
  • 14,227
  • 9
  • 74
  • 124
-1
votes
2 answers

How to make counting the cells with button in Excel, VBA?

I'm making the simple app using the VBA code and forms in Excel. So, I need to have a simple Private Sub CommandButton1_Click() method which will call for calculation methods and write down the results in Label. How can I do this? (yes, I'm new to…
-1
votes
1 answer

Trying to ID a CommandButton on an Excel 2010 VBA application

I've just started a new contract and am working with Office VBA again after about 20 years. There is a spreadsheet I'm working on where command buttons disappear after the document saves. I've been reading other threads that suggest as a fix setting…
Brian Link
  • 11
  • 1
-1
votes
1 answer

vba macro with 3 command buttons linked with each other

How to apply a macro function with three command buttons ? I tried with below code.. but returns the macro applied on different sheet. cmd button1: browses the main raw data file. cmd button2: vlookup data file for the main raw data file. cmd…
wells
  • 11
  • 6
-1
votes
1 answer

Why the command button close my dialog box

I work on primefaces 6.0 and I have a dialog box, called by a command button, I have several element in this dialog box and 2 command button, one is for closing the dialog box, the other (commandButton id="enableDisableButton") is an option of my…
Fred37b
  • 822
  • 2
  • 10
  • 29
-1
votes
1 answer

Multiple command buttons in sequence with one another

I am new to programming and I want to create an application for basketball coaches to be able to keep stats of their players by using VBA in Excel with command buttons. Instead of manually inputting stats for each player in a game, I want to be…
S.Clancy
  • 65
  • 2
  • 10