腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(898)
视频
沙龙
2
回答
当与查询参数关联的转换/验证失败时,执行重定向
jsf
、
primefaces
、
jsf-2.2
下面是<f:
viewAction
>的一个简单用例。action="#{testManagedBean.
viewAction
}"/>涉及到被管理的bean。public void
viewAction
() { }参数id通过URL当像xxx这样的非数字值通过所讨论的URL传递并
浏览 4
提问于2014-04-13
得票数 7
回答已采纳
1
回答
推送通知操作是否未在Swift中显示?
ios
、
swift
、
push-notification
registerForPushNotifications(application: UIApplication) { let
viewAction
= UIMutableUserNotificationAction()
viewAction
.title= "View"
浏览 2
提问于2016-06-14
得票数 1
3
回答
导入模块导致TypeError: module.__init__()最多接受2个参数(3个给定)
python
、
python-3.x
这是我的装置/actions/ListitAction.pyMain.py:ListitAction.py: #some initbehavior return "
浏览 0
提问于2016-02-12
得票数 12
回答已采纳
1
回答
什么时候使用preRenderView和
viewAction
?
jsf-2
、
jsf-2.2
、
prerenderview
何时应该使用preRenderView事件来初始化页面的数据,而不是使用
viewAction
呢?它们在使用上是平等的吗?它们是否具有同样的效果?preRenderView事件 <f:event type="preRenderView" listener="#{myBean.initialize}"/>或 <f:
viewAction
浏览 2
提问于2014-06-30
得票数 15
回答已采纳
1
回答
一个请求中的多个eventActions过滤器
google-analytics
、
google-analytics-api
、
google-analytics-firebase
、
google-analytics-filters
= new Google_Service_AnalyticsReporting_Dimension();$
viewAction
->setDimensionName('ga:eventAction'); $
viewAction
->setExpression
浏览 4
提问于2017-02-07
得票数 0
回答已采纳
1
回答
类似于f视图中的f?
ajax
、
jsf
、
viewaction
在执行f:
viewaction
时,我需要在执行请求时显示加载图像,这种声音就像在f:
viewaction
中放置f:ajax一样,但这是不可能的。<ui:define name="metadata"> <f:
viewAction
action="#{subscriptionManagementMB.loadSubscriptionManagement
浏览 2
提问于2015-04-26
得票数 1
回答已采纳
3
回答
使用自定义EditText的浓缩咖啡
android
、
android-edittext
、
android-espresso
以下是我布局的一部分: android:id="@+id/tagEditorSettings" android:layout_height="48dp" android:layout_toEndOf=&
浏览 2
提问于2017-11-21
得票数 5
回答已采纳
0
回答
UIUserNotificationType
ios
、
swift
、
swift3
UIUserNotificationType.alert, UIUserNotificationType.badge, UIUserNotificationType.sound]
viewAction
.identifier = "VIEW_IDENTIFIER"
viewAction
.
浏览 10
提问于2017-01-11
得票数 0
7
回答
单击不完全可见的带有Espresso的imageButton
android
、
testing
、
android-espresso
、
ui-testing
根据设计,我有一个自定义的ImageButton是不可完全可见的,所以当我执行单击操作时,会得到以下错误:Caused by: java.lang.RuntimeException: Action will not be performed because the
浏览 4
提问于2015-03-03
得票数 34
回答已采纳
2
回答
无法从列表视图中删除项目
android
、
automation
、
android-espresso
我选择了该项目,并将其拖到左侧。但是我不能点击删除图像。 在这张图中,在每个产品的右侧都有一个GAP,它具有相似的属性onView(allOf(withId(R.id.delete_button), isDisplayed())).perform(actionOnItemAtPosition(0,click()));a
浏览 3
提问于2018-10-16
得票数 0
2
回答
与PostConstruct相比,何时使用f:
viewAction
/ preRenderView?
jsf
、
jsf-2
、
postconstruct
、
prerenderview
、
viewaction
什么时候应该使用f:
viewAction
或preRenderView事件来初始化页面数据,而不是使用@PostConstruct注释?是否根据支持bean的作用域类型使用其中之一?例如,如果支持bean是@RequestScoped,那么在呈现视图之前选择使用f:
viewAction
或preRenderView而不是@PostConstruct来初始化支持bean是否无关紧要,因为这两种方法会产生相同的效果f:
viewAction
或preRenderView <f:
viewAction
浏览 34
提问于2012-03-24
得票数 100
回答已采纳
1
回答
android表现力测试失败两次调用onview
android
、
unit-testing
、
testing
、
android-espresso
我是我为android编写的测试代码,我使用的是JUnit4和android.support.test.espresso.Espresso.*。如果我在以前调用的android对象上调用两次onview,比如EditText、TexView、Button或其他,我会得到一个异常,我不知道我是不是遗漏了什么,或者它是个bug,如何修复呢? .perform(typeText(NAME), closeSoftKeyboard()); .perform(typ
浏览 1
提问于2018-03-20
得票数 2
回答已采纳
2
回答
在带有Espresso的RecyclerView中单击文本视图
android
、
unit-testing
、
android-espresso
我有一个单元测试要做,我必须单击位于重排器视图第一个位置的Textview。我有这个代码 .perform(actionOnItemAtPosition(0, click()));
浏览 48
提问于2017-01-26
得票数 0
1
回答
使用espresso在回收器视图中单击孩子的按钮
java
、
android
、
automated-tests
、
android-espresso
在一个活动中,我有一个自定义的回收器视图,其中包含2个文本视图和2个按钮,如下所示。 ? 回收站图标按钮的id是deleteButton。我想在espresso测试中访问这个按钮,这样我就可以模拟点击。 下面是我尝试过的两种失败的方法: onView(withId(R.id.basket)) .perform(
浏览 26
提问于2020-04-03
得票数 1
回答已采纳
2
回答
致命错误:在Zend中找不到类'Admin_Model_DbTable_Region‘
zend-framework
我在我的zend项目中有一个名为Admin的模块,我使用以下命令重定向到名为DeliveryCentersController的控制器的名为
viewAction
的操作现在,在deliveryCentersController的
viewAction
我
浏览 1
提问于2011-12-20
得票数 1
回答已采纳
1
回答
是否可以在fileupload上禁用f:type=“preRenderView”侦听器?
jsf
、
jsf-2
、
primefaces
、
jsf-2.2
我有一个fileUploader,它在部分站点刷新后消失。<?xml version='1.0' encoding='UTF-8' ?><ui:composition xmlns:ui="http://java.
浏览 6
提问于2014-06-27
得票数 0
回答已采纳
1
回答
如何使用android espresso测试设置文本视图的可见性
android
、
testing
、
textview
、
visibility
、
android-espresso
我使用
viewAction
将文本设置为text视图。但是我想为文本视图设置可见性。请大家帮我解决这个问题。下面是我将文本设置为text视图的代码。public
ViewAction
setTextInTextView(final String value){ @SuppressWarnings
浏览 2
提问于2017-11-22
得票数 5
回答已采纳
1
回答
自定义android数据采集库的UI测试
android
、
android-espresso
、
ui-testing
、
android-datepicker
我在我的android项目中使用这个库:但是,当我使用Espresso进行UI测试时,当我像这样使用它时: PickerActions.setDate(2021, 6, 30)或者像那样 onView(withId
浏览 0
提问于2021-04-27
得票数 3
1
回答
如何用请求参数设置jsf欢迎页面
html
、
jsf
、
web.xml
我想用它作为Java 8 web应用程序的欢迎页面 <welcome-file>channel.xhtml?handle=mehdi</welcome-file>但是,它显示了我设置的404自定义页面。我认为它寻找一个名为"channel.xhtml?handle=mehdi“的jsf页面。谢谢。
浏览 0
提问于2018-12-04
得票数 0
回答已采纳
1
回答
是否可以在仪器测试中将enable设置为ConstraintLayout?
android
、
kotlin
、
android-espresso
、
android-uiautomator
Android studio 3.6<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="0dp" android:layout_marginTop="@dimen/quarter_default_margin" app:layout_c
浏览 2
提问于2019-11-29
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
全副武装!Android UI 自动化测试在 RxImagePicker 中的实践历程
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券