Questions tagged [declarative]

Declarative programming is a paradigm of expressing the logic of a computer program or computation without explicit describing its control flow.

365 questions
0
votes
1 answer

How to re-evaluate a script that doesn't expose any global in a declarative-style component

I have been writing a reusable script, let's call it a plugin although it's not jQuery, that can be initialised in a declarative way from the HTML. I have extremely simplified it to explain my question so let's say that if a user inserts a tag…
Aurelio
  • 24,702
  • 9
  • 60
  • 63
0
votes
1 answer

Inner html in vaadin clara

I am using vaadin clara for build UI. 1. When I use this construction:
theSemenov
  • 389
  • 4
  • 17
0
votes
1 answer

Cannot find variable application error

How to get application attribute in declarative? I used this code, but it is not working. <%! TestValues tvtemp = TestValues application.getAttribute("tv1"); %> Error details: PWC6199: Generated servlet error: cannot find symbol …
Malwinder Singh
  • 6,644
  • 14
  • 65
  • 103
0
votes
1 answer

onChange event with HorizontalSlider created declarative

I'm trying to created a HorizontalSlider declarative that sends its values to a textbox, but I don't get any values in the textbox. Here's my code:
Simmal
  • 11
0
votes
1 answer

not able to get passed attributes in declarative component managed bean in Constructor in Oracle adf

i have a declarative component in which the component ui is generated at run time based on the parameters passed to the tag. now i want to get the attribute values in the constructor of the component class/Managed bean. the first time i load the…
Fr_nkenstien
  • 1,923
  • 7
  • 33
  • 66
0
votes
1 answer

Authlogic and declarative authorizsation

I have a rails application based on Authlogic with LDAP for authentification, and declarative authorization for roles requirements. The problem is when i put filter resource_access in my controller, i got this error : undefined method…
user146297
  • 57
  • 2
  • 6
0
votes
1 answer

Determining if OZ variable is bound?

Is there a safe way to ask if a single assignment variable in OZ is bound or not? Using an unassigned data flow variable in a way that requires the value will cause the program to wait until a value is assigned. In a sequential environment, this…
Tom Koenig
  • 67
  • 4
0
votes
1 answer

Retrieving many-to-many relation properties using SQLAlchemy

I have a many-to-many relationship in which the relation-table contains more columns than only the primary key. As an example, consider a slide show system in which each image could have it's own timeout, and a different timeout depending on the…
exhuma
  • 20,071
  • 12
  • 90
  • 123
0
votes
1 answer

Security issues of Angular's ng- attributes in HTML and mitigation

I'm not sure whether seeing these directives in plain text poses any particular threat to our app hacking or not. But if nothing else one can clearly see our model structure and functionality. If Angular removed those after bootstrapping it would at…
Robert Koritnik
  • 103,639
  • 52
  • 277
  • 404
0
votes
3 answers

Binary files parsing libraries for .NET

Recently I had a task to make a binary files parser, however it was the first time of using C#/.NET for this kind of problems. It was really simple to parse and extract data from the required binary files because of their simple structure (though I…
Lyubomyr Shaydariv
  • 20,327
  • 12
  • 64
  • 105
0
votes
2 answers

How to obtain object references when using declarative Dojo

I'd like to know how to get an object reference when using Dojo with declarative HTML. I have some code for sliding panel that I took from an example: http://demos.dojotoolkit.org/demos/mobileSlideShow/demo.html In my version there are navigation…
Ultimate Gobblement
  • 1,851
  • 16
  • 23
0
votes
0 answers

Issue making a declarative dojo datagrid

I want to implement a very simple Dojo DataGrid in a declarative way. I have this