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
1
vote
0 answers

Show data previously entered on a userform and allow data to be edited

I am creating a yard management system to keep track of parking spots in a lot. The userform allows the user to click on a spot in the map (this would be the command button) that is open and then click update which will pull up another userform to…
Leah
  • 31
  • 1
  • 7
1
vote
1 answer

Creating an array of Command Buttons

I am in a situation Where I need to Create multiple Command buttons and assign a single event handler to these buttons using following Event Handler. Private Sub Digits_Click(Index as…
VBAbyMBA
  • 806
  • 2
  • 12
  • 30
1
vote
1 answer

How do i control position of command button on an access form?

I copied a CLOSE FORM command button from an Access template that has an image embedded in the button. When in development mode, i align the template-copied button with command buttons i created myself. my command buttons also have an embedded…
CSonntag
  • 23
  • 4
1
vote
2 answers

TopLeftCell error with macro to set variables based on the button that is pressed

I'm trying to write a sub that will delete the contents of a row and move the contents of everything below that row up to fill the gap. I want to apply the same macro to each command button on the spreadsheet, at creation, so I wanted to write the…
Casey
  • 65
  • 8
1
vote
1 answer

How to have VBA select a button on a userform within another workbook?

So I am creating thousands of workbooks using a VBA from a Master Workbook. I have a template the Vba pastes to. This template workbook has a VBA BeforeSave function where the user has to fill out a Userform to log changes the user decided to make…
Kenny
  • 343
  • 2
  • 9
  • 28
1
vote
1 answer

How to Open Multiple URLs using one commandbutton

All, I'm working in JSF / Jave / Primefaces. When the user clicks a command button, I'd like to grab the box number and open up two different URLs at once, which would give the end user two different files to download. I've tried quite a few…
Christina
  • 31
  • 5
1
vote
1 answer

JSF HtmlCommandButton programmatically - Bean method not called if ajax turned off

I'm trying to create an HtmlCommandButton programmatically, following the example here http://javaevangelist.blogspot.ch/2013/01/jsf-21-tip-of-day-programmatically.html Everything works fine (i.e., the actionListener is called) if I add the ajax…
Neo
  • 1,337
  • 4
  • 21
  • 50
1
vote
1 answer

h:commandButton with oncomplete function and download a file

I have a little problem because i need to download a file (and for that i only can with h:commandButton) but i needed the oncomplete function (that only works with a4j:commandButton) to appear a Running Status. The sample of the code is this: …
Jorge Rocha
  • 724
  • 3
  • 12
  • 30
1
vote
1 answer

VBA code to change add value in multiple cells with right click/left click function

I am new to Excel and I have a worksheet with several command buttons. I want to know if I can add value to multiple cells by left clicking (as normal) and right clicking. For example, if I left click the command button, it adds a (+1) to cell A1,…
S.Clancy
  • 65
  • 2
  • 10
1
vote
4 answers

Hide commandbutton based on cell value excel vba

I am trying to hide a commandbutton based on a specific cell value. I have looked up several codes and pasted them in excel (in the vba form when right clicking the sheet and selecting "view code"). What am I doing wrong? Here's one of the codes…
Erik
  • 13
  • 1
  • 4
1
vote
0 answers

command button doesn't run on server side

I've got a "select" command button that doesn't fire after doing a post back on my webpage. It will do it if I run in Firefox 34.0.5, but not IE11.
1
vote
1 answer

Sending query parameters via p:commandButton action does not work

I need help with passing a query parameter into my next JSF page. I have tried everything and I am stuck. I'm able to retrieve the param in the second page if i type the url myself. Example: localhost:8080/devices?propId=24&faces-redirect=true from…
JediSal
  • 65
  • 4
1
vote
1 answer

primefaces command button label change after click

I have a commandbutton that inserts data into database. I want to change button label after I click it and then it will be disabled. How can I do it?
tgcndr
  • 15
  • 7
1
vote
0 answers

JSP - commandbutton action to find method

im new in using java. here's my problem. for above code, i dont know where to find "j_acegi_login". the way action works is it call "j_acegi_login" within the page or in…
jenny
  • 61
  • 3
  • 9
1
vote
1 answer

primefaces commandbutton conditional statement

I want a conditional statement in my commandbutton (Primefaces 6.0) which should show a dialog if my java method return false or true. Something like that:
Tioman
  • 137
  • 4
  • 11