tabview

Primefaces tabView executes form validation on tab change

守給你的承諾、 提交于 2020-01-01 16:46:40
问题 I am having a serious issue with the p:tabView component. I have set dynamic="true" and cache="false" to the tabView. One of the tabs has some input components which are set required="true" . Now when I am changing the tab each time, the form validation is occurring and the FacesMessages are being displayed in growl. Here is the tab: <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun

Dynamic TabView primefaces, tab rendered attribute doesn't work

戏子无情 提交于 2019-12-25 06:39:20
问题 i have a "problem" with a tab component for tabView from Primefaces. I did a tabView with dynamic tabs based on a array. But some tabs can't be rendered, based on a boolean attribute of the object from that array . I tried rendered="true" or "false" but nothing happens (on tab). I use rendered="#{_item.show}" i tried use disabled feature and works fine, but is not my need. Someone have an idea to how to solve this issue? check my code: <p:tabView id="tabs" value="#{myBean.list}" var="_item"

TabView with ACtionBar

北慕城南 提交于 2019-12-25 03:58:18
问题 I am using tabview in my application, in which Home is default tab selected I add three Buttons over this activity.I want that when i click on List button of MapView Activity , this MapPinsListView Activity will start on the same frame over MapView & rest view will remains same i.e., all tabs will works as they intended to work. However, i am facing a problem while using it, When i click on list, intent will start new activity & hole view get replaced by its activiy view, whereas i want only

c:forEach not iterating through list in a TabView

大城市里の小女人 提交于 2019-12-25 02:01:28
问题 I have been trying to iterate through a list of tabs (my own custom tab object) by using c:forEach tag. But when I run the code, the tabs are not getting displayed. The page has no tabs. When I debugged the code, I found that the getter method for the list object in the c:forEach items is not getting called. Please refer the below xhtml code: <p:tabView id="tabView" dynamic="true" cache="false"> <p:ajax event="tabChange" listener="#{tabsController.onTabChange}" /> <c:forEach items="#

Primefaces dataTable inside tabView the row selection not working correctly

元气小坏坏 提交于 2019-12-24 16:09:26
问题 I have a tabView with a dynamic number of tabs which displays search results (in a class SearchInstance). Inside a tab there is also a tabView which displays a search result in different ways. One tab of this inner tabView shows the search results in a dataTable (as List). The rows are selectable. I propagate the selected search results in the table to the current SearchInstance object. Unfortunately the selected search results are only set correctly on the last tab. If I select a search

Nativescript/Js. How can I change the appearance of TabViewItem?

好久不见. 提交于 2019-12-24 06:52:22
问题 How do I change the appearance of TabViewItem ()? I'm trying to set the radius of the border and the width of the border, as in the picture: but it does not work: var tabViewModule = require("ui/tab-view"); var tabEntry0 = new tabViewModule.TabViewItem(); tabEntry0.borderRadius="30%"; tabEntry0.borderWidth="30%"; Who know, how it doing.? 来源: https://stackoverflow.com/questions/45369470/nativescript-js-how-can-i-change-the-appearance-of-tabviewitem

customize action bar tabview

孤人 提交于 2019-12-21 05:54:32
问题 I am trying to create a custom tabview in the action bar, something like this: I got this view: i want to change the background of tabviews indicators, so backgroung color become invisible and we have the green line under the selected tabview indicator. Here are my code (i used default tabview): public class BaseActivity extends Activity{ ActionBar bar; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.base_activity); bar =

Android Tab Views - could not create tab content because could not find view with id

跟風遠走 提交于 2019-12-20 02:48:09
问题 I am trying to create a tab view with will switch to a different content view by Id. Here is my tab activity : public class TabViews extends TabActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.tabviews); TabHost tabHost = getTabHost(); LayoutInflater.from(this).inflate(R.layout.tabviews, tabHost.getTabContentView(), true); tabHost.addTab(tabHost.newTabSpec("apples") .setIndicator("Apples") .setContent(R.id

How do i set the active tab in Primefaces tabView?

房东的猫 提交于 2019-12-19 15:40:10
问题 I have a menubar in which two items on a submenu, both calling the same page: <p:menubar autoSubmenuDisplay="true"> <p:submenu label="Perfil"> <p:menuitem value="Editar" url="perfil.xhtml" /> <p:menuitem value="Ver" url="perfil.xhtml" /> </p:submenu> </p:menubar> In that page i have a tabview with two tabs: <p:tabView dynamic="true"> <p:tab id="ver" title="Ver perfil"> <ui:include src="verPerfil.xhtml" /> </p:tab> <p:tab id="editar" title="Editar perfil"> <ui:include src="editarPerfil.xhtml"

ReferenceError in qt quick controls tabview

不问归期 提交于 2019-12-19 11:24:15
问题 I have written a QT Quick program use TabView. When I click the botton b1 which is in Tabview, the program should call show_text() and print the text of b1, but it print "ReferenceError: b1 is not defined". Any suggestion will be appreciated, thanks. import QtQuick 2.2 import QtQuick.Controls 1.1 import QtQuick.Window 2.1 ApplicationWindow { function show_text() { console.log(b1.text) } TabView { id: tv Tab { id: tab1 Button{ id: b1 text:"b1's text" onClicked: { //console.log(b1.text) show