concrete5 is an open source content management system (CMS) for creating web and e-commerce applications.
Questions tagged [concrete]
75 questions
1
vote
2 answers
IEnumerable versus List in a concrete class implementation
I am writing a class library for financial modeling.
I want to define the models using interfaces to create abstraction for testing, and the possible later addition of new concrete classes.
I am struggling on how to define lists of things, so I…

user3637002
- 77
- 2
- 12
1
vote
1 answer
How can I tell if the variable involed in a instruction in KLEE is symbolic or concrete
I want to know if there is a way to tell if a variable is symbolic or not in KLEE when KLEE is executing an instruction involving the variable.

sumit
- 23
- 5
1
vote
1 answer
Can I teach dynamic_cast<>() new tricks?
Is there a way in C++ to construct your class such that given a pointer to your class you can instruct dynamic_cast<>() how to cast to another class for which you are wrapping the implementation? Would operator cast do the trick? Imagine I have an…

WilliamKF
- 41,123
- 68
- 193
- 295
1
vote
2 answers
Structuremap use different concrete type by object type
I have a default concrete type defined in a registry:
ForRequestedType()
.TheDefaultIsConcreteType();
The ChaceXRepository has the following constructor:
public class CacheXRepository: IXRepository{
…

Devora
- 13
- 2
1
vote
3 answers
Interface method referencing a concrete class as parameter causes coupling?
I was thinking about programming to interfaces and not to concrete classes, but I had a doubt: should any interface method be able to hold references to concrete classes?
Suppose the following scenarios:
1)
public interface AbsType1 {
public…

kelo
- 489
- 1
- 11
- 20
1
vote
2 answers
Represent T* as concrete type
(T,T)* resolves to Seq[(T,T)] after erasure, but how to represent (T,T)* itself as a type?
The reason I ask is there's an API I'm using that defines a:
def foo(bar: (String,String)*) = ...
but fails when I try to pass in a Seq[(String,String)].
My…

virtualeyes
- 11,147
- 6
- 56
- 91
1
vote
4 answers
how to pass php value from one file to another through java script
I am working with Concrete-5 CMS, I have an issue in passing value form view to controller.In my application I am using following code for displaying employee role.
foreach($rd as $data){
echo…

Kumar Shanmugam
- 597
- 1
- 11
- 40
1
vote
1 answer
Hibernate: table per concrete class mapping & referencing
I am referring to table per concrete class as explained here: Table per concrete class
Following the example there in 9.1.6, let's say I have CashPayment, CreditCardPayment, and the superclass of both is an abstract Payment class.
If I am using a…

ConorD55
- 181
- 3
- 11
1
vote
5 answers
If method returns interface type, why can't I pass the result to a concrete type?
The question maybe a little confusing, but it's hard to make clear this question in a subject title.
I have method declared and implemented like this:
public IList GetBookTitles()
{
IList bookTitles = new List();
//…

Stack0verflow
- 1,148
- 4
- 18
- 42
0
votes
1 answer
Concrete5 Custom Block
I've done a little Google searching, but not finding anything very in depth. I've used Concrete5 CMS for at least a dozen sites now, but want to get into custom block building. Right now I have a basic image slider on the home page. I want to build…

ansarob
- 825
- 2
- 13
- 32
0
votes
1 answer
KeyError: "Index '(None, 0)' is not valid for indexed component 'sigma'"
I am working with pyomo and i am really new with it. I have been trying to solve a small problem but i keep getting this error, although i followed lots and lots of corrections and suggestions i found over here, but still not working, does any body…

Meriem
- 3
- 4
0
votes
1 answer
Bad number of arguments for type constructor in Isabelle/hol
I am a newbie in Isabelle/hol and I have this record declaration:
record ('v,'w) fca = object_set :: "'v set" attribute_set :: "'w set" inc_set :: "('v×'w) set"
and I want to instantiate to obtain a concrete record like:
definition Concrete_fca ::…

Jceric
- 3
- 2
0
votes
1 answer
Concrete 5 Theme: for Menu navigation
i am new to concrete 5, i search alot for theming of Menu (i.e: sub menu's) navigation with image icon and description but not found any related material. i have the following Html:
0
votes
0 answers
How to include class file in custom block ( Concrete CMS 5)
How to load the class file into Custom blocks.
I have created a custom block. and I need to include one class file into multiple files. so could you please guide me?
Please see attached…

Hitesh Techarck
- 21
- 4
0
votes
1 answer
Why can't .NET mock frameworks use new to hide non-virtual methods for non-sealed classes?
For example:
public class ThirdPartyClass
{
public void DoSomething() { ... }
}
// Mock framework generated class
public class MockThirdPartyClass : ThirdPartyClass
{
public new void DoSomething() { // Mock user's deletegate goes here…

KJS714
- 1