Questions tagged [naming-containers]

24 questions
1
vote
1 answer

component.namingContainer.parent skips h:form

I made a composite component, inside it is an tag, and its "render" attribute is a parameter of the cc. something like this: ... ... …
Kicsi
  • 1,173
  • 10
  • 22
1
vote
2 answers

Custom Naming Container for ASP.NET GridView?

I'm looking for information on how to implement a custom naming container for the items in a GridView. My issue is that I have a GridView with a cell for each day of the week, and each cell will contain the same or similar controls. For the…
Sam Schutte
  • 6,666
  • 6
  • 44
  • 54
0
votes
1 answer

Reference an id in the for-Attribute of p:radioButton

Is it possible to reference an id, that identifies a component that is a child of the parents-parent-naming container? For example:
treeno
  • 2,510
  • 1
  • 20
  • 36
0
votes
1 answer

A better way to get the real ID of an component in a naming container

I got the following scenario: I got several tabs (TabView is a naming container ) and in one of the I got a p:inputText which shows a dialog(which is located in other xhtml file) , now I want the dialog to update the p:inputText , the thing is that…
Daniel
  • 36,833
  • 10
  • 119
  • 200
0
votes
2 answers

findControl in Naming container (Asp.net webform C#)

I have a problem about findControl method in naming container. It's not the first trouble about that and I would like understand the theory. I found many solutions on website but nothing works I have a DetailsView which contains controls. I put…
BoumBoumBam
  • 35
  • 10
0
votes
1 answer

JSF cannot update single form in ui:repeat from outside

I have two problems which are closely related: I need to update a form inside a tag inside ui:repeat from a dialog at the main page and cannot figure out how (because there are many tags in the ui:repeat and I need to update only one) naming…
Niko
  • 1,054
  • 5
  • 25
  • 52
0
votes
2 answers

When does mojarra adds a naming container to the list of optional parameters?

In the source of the class AjaxBehaviorRenderer (line 260) there is a line that apparently appends the NamingContainer Id to the list of optional parameters of mojarra.ab(...). I've never come across it so I'm curious as to when it is…
Ced
  • 15,847
  • 14
  • 87
  • 146
0
votes
1 answer

Retrieve form data from dynamically created input controls in content page

I would have believed that this question has an obvious answer, but I cannot seem to find any. I have an ASP.Net MasterPage which has a content page in which there are several dynamically created input controls. When I post the form which contains…
Jihad Haddad
  • 592
  • 1
  • 6
  • 19
0
votes
1 answer

Dynamically creating CustomValidator in server control

I have a custom server control which wraps a RadEditor (basically a textarea). I am trying to add a CustomValidator to it dynamically, but I keep getting this error on initial pageload Unable to find control id 'RadEditor1' referenced by the …
msigman
  • 4,474
  • 2
  • 20
  • 32
1
2