rerender attribute of command button not working to display charts

I have 3 apex:commandButton tags on my Visualforce Page. One of them displays text and the other two are used to display . Now I don’t know if it is possible but the chart that I keep above in the Visualforce Page gets rendered but the one below does not. I tried alternating both the charts and it’s true! So here’s how it happens, for example I have three command buttons A, B, and C.

  • A when clicked shows text(working fine)

  • B when clicked shows Chart 1(above in the VF page code, working fine)

  • C when clicked shows chart 2(below in the VF page code, not rendering)

  • A when clicked again(working fine)

  • B when clicked again(not rendering)

  • C when clicked again(not rendering either)

So when I used them without , they were working fine. All of them! but the page refreshed as a whole. In order to avoid that, I used outputPanel and rerender on the commandButton and now the charts just won’t display.

Now I know my controller is fine because it was working well without outputpanel. So this is the culprit but sadly I need it.

Markup:







*some text*

All topic

Macbook 2015, 8,1 — how to get the keyboard and trackpad working with Ubuntu 18.04? [duplicate]

This question is an exact duplicate of:

  • Macbook (12′ 2015) keyboard and trackpad

    1 answer

Are there any instructions how to install the keyboard and trackpad when using Ubuntu 18.04 on a Macbook?

I’ve tried looking through Google results and I get a lot of Macbook Pro or other strange answers.

EDIT: fixing my grammar does not solve the issue at hand. This is for 18.04, I am not a linux wizard, do they share the same kernal? You marked it as answered. The answer is in regards to 16.04

All topic

QGIS. Dissolve polygons to create new layer with stats. Not working

I’m using QGIS 3.2.1 (Bonn)

I’m trying to dissolve and create statistics from a group of polygons, but QGIS is not making it. I do not know if I’m missing something or the software has a bug. These are my steps:

1- Select a group of polygons from a layer

2- Use the “Dissolve” tool of the GDAL add-on.

3- Characteristics to dissolve:

Input layer: “Census ratios”, check.

Selected features only, check.

Dissolve field, “Dissolve_” (I have created a column with the same attribute “AAA” for all rows for this purpose), check.

Compute stats for attribute, check.
Attribute selected: Total population (it is an interger64 field), check.

Now take a look at the console: Dissolve_, SUM(Dissolve_) AS sum, MIN(Dissolve_) AS min, MAX(Dissolve_) AS max, AVG(Dissolve_) AS avg FROM layer_name GROUP BY Dissolve_” -f “ESRI Shapefile”

Is using the Dissolve_ field to calculate the stats. Why? I don’t know.

enter image description here

Then go, and the results are crearly wrong. I want to summarize the TOTAL_POPULATION field, not the one used to dissolve the polygons (DISSOLVE_).

enter image description here

Is QGIS failing because of a bug? Or i’m doing something wrong?

Note: I’ve tried with ArcMap and it goes OK, but i need to work with QGIS.

All topic

WiFi not working after installing Ubuntu 18.04

I have a notebook Kanji Tamura Duo, on which I had Windows10 an everything worked just fine. Yesterday I installed Ubuntu 18.04 and the WiFi does not work. It lets me turn it on and then when I go to “Select Network” gets stuck on “no networks” (I know that there are networks available). I been looking on the internet but i couldn’t find a fix. I’ll include some of the outputs that I’ve tried in case they are useful.
I’ve already rolled back to Win10, I’m leaving the tread open since there are others with the same problem.

edelmiro@Distrito8:~$ sudo lshw -C network
[sudo] password for edelmiro: 
  *-network:0               
       description: Ethernet interface
       physical id: 1
       logical name: enp0s21f0u2
       serial: ea:a7:73:e1:fb:65
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.43 link=yes multicast=yes
  *-network:1
       description: Wireless interface
       physical id: 2
       bus info: usb@1:7
       logical name: wlx54c9dfb805ef
       serial: 54:c9:df:b8:05:ef
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8xxxu driverversion=4.15.0-20-generic firmware=N/A link=no multicast=yes wireless=IEEE 802.11

edelmiro@Distrito8:~$ lspci -v
00:00.0 Host bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge
Flags: bus master, fast devsel, latency 0

00:00.1 Signal processing controller: Intel Corporation Device 5a8c (rev 0b)
Flags: bus master, fast devsel, latency 0, IRQ 24
Memory at 91110000 (64-bit, non-prefetchable) [size=32K]
Capabilities: 
Kernel driver in use: proc_thermal
Kernel modules: processor_thermal_device

00:02.0 VGA compatible controller: Intel Corporation Device 5a85 (rev 0b) (prog-if 00 [VGA controller])
Subsystem: Intel Corporation Device 2212
Flags: bus master, fast devsel, latency 0, IRQ 123
Memory at 90000000 (64-bit, non-prefetchable) [size=16M]
Memory at 80000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: 
Kernel driver in use: i915
Kernel modules: i915

00:0e.0 Audio device: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster (rev 0b)
Subsystem: Device 1c6c:122a
Flags: bus master, fast devsel, latency 0, IRQ 25
Memory at 91118000 (64-bit, non-prefetchable) [size=16K]
Memory at 91000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: 
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl

00:0f.0 Communication controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Trusted Execution Engine (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Trusted Execution Engine
Flags: bus master, fast devsel, latency 0, IRQ 124
Memory at 91145000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: mei_me
Kernel modules: mei_me

00:12.0 SATA controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller (rev 0b) (prog-if 01 [AHCI 1.0])
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 121
Memory at 9111c000 (32-bit, non-prefetchable) [size=8K]
Memory at 91142000 (32-bit, non-prefetchable) [size=256]
I/O ports at f090 [size=8]
I/O ports at f080 [size=4]
I/O ports at f060 [size=32]
Memory at 91141000 (32-bit, non-prefetchable) [size=2K]
Capabilities: 
Kernel driver in use: ahci
Kernel modules: ahci

00:15.0 USB controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI (rev 0b) (prog-if 30 [XHCI])
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI
Flags: bus master, medium devsel, latency 0, IRQ 120
Memory at 91100000 (64-bit, non-prefetchable) [size=64K]
Capabilities: 
Kernel driver in use: xhci_hcd

00:16.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #1 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 27
Memory at 91140000 (64-bit, non-prefetchable) [size=4K]
Memory at 9113f000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:16.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #2 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 28
Memory at 9113e000 (64-bit, non-prefetchable) [size=4K]
Memory at 9113d000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:16.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #3 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 29
Memory at 9113c000 (64-bit, non-prefetchable) [size=4K]
Memory at 9113b000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:16.3 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #4 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 30
Memory at 9113a000 (64-bit, non-prefetchable) [size=4K]
Memory at 91139000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:17.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #5 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 31
Memory at 91138000 (64-bit, non-prefetchable) [size=4K]
Memory at 91137000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:17.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #6 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 32
Memory at 91136000 (64-bit, non-prefetchable) [size=4K]
Memory at 91135000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:17.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #7 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 33
Memory at 91134000 (64-bit, non-prefetchable) [size=4K]
Memory at 91133000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:17.3 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #8 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 34
Memory at 91132000 (64-bit, non-prefetchable) [size=4K]
Memory at 91131000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:18.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #1 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller
Flags: bus master, fast devsel, latency 0, IRQ 4
Memory at 91130000 (64-bit, non-prefetchable) [size=4K]
Memory at 9112f000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:18.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #2 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at 9112e000 (64-bit, non-prefetchable) [size=4K]
Memory at 9112d000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:18.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #3 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller
Flags: fast devsel, IRQ 6
Memory at 91143000 (64-bit, non-prefetchable) [size=4K]
Memory at 91144000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel modules: intel_lpss_pci

00:18.3 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #4 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller
Flags: bus master, fast devsel, latency 0, IRQ 7
Memory at 9112c000 (64-bit, non-prefetchable) [size=4K]
Memory at 9112b000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:19.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #1 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller
Flags: bus master, fast devsel, latency 0, IRQ 35
Memory at 9112a000 (64-bit, non-prefetchable) [size=4K]
Memory at 91129000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:19.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #2 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller
Flags: bus master, fast devsel, latency 0, IRQ 36
Memory at 91128000 (64-bit, non-prefetchable) [size=4K]
Memory at 91127000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:19.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #3 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller
Flags: bus master, fast devsel, latency 0, IRQ 37
Memory at 91126000 (64-bit, non-prefetchable) [size=4K]
Memory at 91125000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:1b.0 SD Host controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SDXC/MMC Host Controller (rev 0b) (prog-if 01)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SDXC/MMC Host Controller
Flags: bus master, fast devsel, latency 0, IRQ 3
Memory at 91124000 (64-bit, non-prefetchable) [size=4K]
Memory at 91123000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci

00:1c.0 SD Host controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series eMMC Controller (rev 0b) (prog-if 01)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series eMMC Controller
Flags: bus master, fast devsel, latency 0, IRQ 39
Memory at 91122000 (64-bit, non-prefetchable) [size=4K]
Memory at 91121000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci

00:1e.0 SD Host controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SDIO Controller (rev 0b) (prog-if 01)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SDIO Controller
Flags: bus master, fast devsel, latency 0, IRQ 42
Memory at 91120000 (64-bit, non-prefetchable) [size=4K]
Memory at 9111f000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci

00:1f.0 ISA bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Low Pin Count Interface (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Low Pin Count Interface
Flags: bus master, medium devsel, latency 0
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich

00:1f.1 SMBus: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller
Flags: medium devsel, IRQ 255
Memory at 9111e000 (64-bit, non-prefetchable) [size=256]
I/O ports at f040 [size=32]
Kernel modules: i2c_i801

All topic

“Have you ever worked in a …” vs. “Have you ever been working in a …”

Which one of these sentences is right, the perfect simple or the perfect continuous?

A: Have you ever worked in a factory?
B: No, never!

or

A: Have you ever been working in a factory?
B: No, never!

All topic

Wifite is not working [on hold]

[+] Scanning. Found 0 target(s), 0 client(s). Ctrl+C when ready ^C                                                                                                                                                
 [!] Error: No targets found. You may need to wait longer, or you may have issues with your wifi card

 [!] Full stack trace below

 [!]    Traceback (most recent call last):
 [!]    File "/usr/lib/python2.7/dist-packages/wifite/__main__.py", line 93, in entry_point
 [!]        wifite.start()
 [!]    File "/usr/lib/python2.7/dist-packages/wifite/__main__.py", line 54, in start
 [!]        self.scan_and_attack()
 [!]    File "/usr/lib/python2.7/dist-packages/wifite/__main__.py", line 79, in scan_and_attack
 [!]        targets = s.select_targets()
 [!]    File "/usr/lib/python2.7/dist-packages/wifite/util/scanner.py", line 189, in select_targets
 [!]        + ' or you may have issues with your wifi card')
 [!]  Exception: No targets found. You may need to wait longer, or you may have issues with your wifi card

 [!] Exiting

Earlier they were able to scan those, but now they stopped working?
i am using i5 7gen in dual boot. I recently upgraded my sysytem and tried to run serveral terminal at a same time was using dos attck and airodump and after that it stops working .
I am still able to connect to wifi but not able to scan through airodump-ng or wifite.

All topic

Why are Apache Rewrite Conditions not working?

I tried to perform a redirect writing in .htaccess file:

RewriteEngine on
RewriteRule article-1 www.another-site.com/article-1 [R=301,L,NC]

and it works correctly. Anyway, when I add a rewrite condition, for example:

RewriteEngine on
RewriteCond %{HTTP_REFERER} domain.tracker.com [NC]
RewriteRule article-1 www.another-site.com/article-1 [R=301,L,NC]

the redirect is no longer performed as if the condition was always evaluated as false. The referrer is correctly evaluated (I tried to redirect to www.site.com?ref=%{HTTP_REFERER} and I got www.site.com?ref=https://domain.tracker.com/?queries=vals, which is the correct referrer).

The only other rewrite instruction I have in .htaccess file is

#BEGIN WORDPRESS    

    RewriteRule ^index.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    
#END WORDPRESS

Why are the conditions not working? Could it be a conflict with WordPress instruction? Could it depend by the hosting provider?

All topic

Views Table Grouping not working if group field is blank

I’m using Drupal 7. In a field collection view, I have data in a table that has field groups. I have 3 fields I want to group on, the first two are required, the third is optional. Everything worked until I added the 3rd field. When there are records with no data in that field, the record shows up as a row of empty table cells. Can anyone suggest a fix for this?

All topic

Touchpad is not working in Lenovo Ideapad 330 but it’s working in Windows 10

In Windows 10 my touchpad was working properly but since I installed Ubuntu 18.04 the touchpad is not working.

All topic

Async call using Quartz not working properly [pendente]

I have this piece of code here (changed names and stripped some variables to simplify the meaning):

@Observer("org.jboss.seam.postInitialization")
public void schedule() throws Exception {
    Object componente = Component.getInstance(MySeamComponent.NAME);
    Method metodo = componente.getClass().getMethod("execute", String.class);
    handle = (QuartzTriggerHandle) metodo.invoke(componente, "* * * * * ?");
    EntityUtil.getEntityManager().flush();
}

@Asynchronous
public QuartzTriggerHandle execute(@IntervalCron String cron) {
    // some wild code here
    return null;
}

This is executed when the Seam application starts (using WildFly 9.x). It’s running only once, with a small amount of time as break, but might run every minute (as you can see on the call of invoke). After some minutes, the scheduler goes crazy and executes the job one call right of the another…

Things that I already know:

  1. The call of an @Asynchronous method with @IntervalCron will always
    return an instance of QuartzTriggerHandle, if Quartz is active, even
    you return null (this behavior is default, also found on some quick
    references on the web)
  2. JBoss Seam 2.2.x manual doesn’t explain much about this type of
    scheduled task (see “22.1.2. Asynchronous methods with the Quartz
    Dispatcher” there)
  3. This is a closed-scope project, so I must use Seam 2.2.x and Quartz
    to manage my repeated tasks

What am I doing wrong? There is a way to debug Quartz more properly?

All topic