Questions tagged [uicomponents]

179 questions
2
votes
1 answer

Pass current UIComponent as "this" in action MethodExpression

Is there a possibility to pass current UIComponent as this in action's MethodExpression? XHTML Java public String test(MenuItem item) { // Do something with…
buderu
  • 415
  • 7
  • 16
2
votes
1 answer

Magento 2: what is datascope tag is for in ui component

I am creating a form on the admin side with the UI component, so I want to know that is tag is used in the field and how to add that tag in the UI component. ~ ~ thank you in advance!
2
votes
2 answers

JSF MethodExpression isn't triggering my backing bean action

I have the problem that my code isn't triggering the action in my backing bean. The code is as follows: HtmlCommandButton replyCommentButton = new HtmlCommandButton(); replyCommentButton.setId("replyCommentButton" +…
Chris Dale
  • 2,222
  • 2
  • 26
  • 39
2
votes
2 answers

ant design onSelect is not firing

I'm trying to use Autocomplete from Ant Design, but the "onSelect" is not firing. Everything else is working well - when I type into the search bar, my ingredient list appears and filters as intended. If I console log "data" in onChange, the…
2
votes
2 answers

How to update screen in blackberry?

i am developing one app. and i am facing a problem related to updating the screen,which is already in stack.I tried to use myappscreen.invalidate() on button click,but it doesn't update screen. Please help me to solve this problem.
Himanshu Dudhat
  • 1,609
  • 3
  • 14
  • 27
2
votes
0 answers

Hide a whole tab using SwitcherConfig in Magento Ui Form

I have used two different dynamicRows component in my custom form using Modifier Pool. Now I have to hide/show these two components based on a checkbox. I have used switcherConfig to hide fields. But the same is not working for…
Afreen
  • 131
  • 6
2
votes
3 answers

Problem retriving components of AlertDialog - android

I am tring to build an alertdialog with a view and access a TextView to set its text value. Here's the code : private void ShowLogDialog() { AlertDialog ad = new AlertDialog.Builder(this).create(); ad.setIcon(R.drawable.icon); …
Tvd
  • 4,463
  • 18
  • 79
  • 125
2
votes
4 answers

Vuetify sparkline throws Error "Cannot read property 'getTotalLength' of undefined"

I want to have a simple sparkline in nuxt, but in the browser (chrome), in the console this error loged: [ERROR] [Vue warn]: Error in nextTick: "TypeError: Cannot read property 'getTotalLength' of undefined" What I see in the browser is the chart…
Narges Moemenyan
  • 145
  • 4
  • 18
2
votes
2 answers

In Magento2 (2.2.5) uicomponent form in frontend, SAVE button not appearing with form

I added uiform in frontend. Form is loading but save button is not appearing. Code details: 1. employee_form.xml code:
Mukesh Pandit
  • 183
  • 2
  • 12
2
votes
0 answers

Magento2 - Require validation issue for a new checkbox on onepage checkout form

I am using Magento 2.2.3 and i added a new checkbox field with require validation in address onepage checkout form by custom plugin. I follow this guide: https://devdocs.magento.com/guides/v2.0/howdoi/checkout/checkout_new_field.html Now I display…
LifeCode
  • 21
  • 4
2
votes
1 answer

magento 2 dynamic row ui component dont present data

I am trying to create dynamicrow filed in admin form vs ui_component (xml). for example: the dynamic row i am trying to achieve i add the dynamic row component and it looks like in the image above. after set data and save the data, the data…
tal shulgin
  • 31
  • 1
  • 6
2
votes
1 answer

uicomponent tree memory usage

Greetings, I have rich faces application (3.3.2.SR1). The application uses ModelPanel to view entities. All modal panels are not rendered until I want to show them (rendered = false). Application becomes to be big, and uses a lot relations from one…
Dmitry
  • 21
  • 2
2
votes
1 answer

When should I use UIComponent#popComponentFromEL(FacesContext context)?

I'm working on an existing JSF component where the encodeEnd method ends with: // popComponentFromEL(context); The Javadoc for UIComponent#popComponentFromEL(FacesContext context) tells me: Pop the current UIComponent from the FacesContext…
Jasper de Vries
  • 19,370
  • 6
  • 64
  • 102
2
votes
2 answers

JSF 2.0: How to add UIComponents and their contents to view root?

I am building a custom UIComponent and adding elements (and other stock UIComponents) inside it. The component renders ok, however it cannot be found from the ViewRoot. Let's say I have: ResponseWriter writer; @Override public void…
Tuukka Mustonen
  • 4,722
  • 9
  • 49
  • 79
2
votes
1 answer

What are some 3rd party UI components for .NET MVC 2?

I'm looking for a 3rd party UI component library to be used in .NET 4.0 C# MVC2 web application. When I google it, Telerik comes up all over the first google page. To be honest, I actually do like it a lot. So, I'm just wondering what are other…
Dimskiy
  • 5,233
  • 13
  • 47
  • 66
1 2
3
11 12