I have a ResolveTemp in a lazy rule called by a rule. The parameter in resolveTemp() matches the target in another lazy rule called by the same rule. But this resolveTemp does not work. Is it because that the matched target is created by a lazy rule? If so, How I can sort it out?
Another question is that does the resolveTemp() work when the target is created from a rule that has multiple source element in the "from" section? because in the examples that I have seen, the rule in its "from" section has only one source element that one or multiple target elements created from it.
Concerning your first question, it would be easier to see the ATL code excerpts in order to identify the issue.
Concerning your second question, if you have multiple inputs in your lazy rule then you have to pass the corresponding model elements when calling it (e.g. thisModule.myLazyRule(modelElement1,modelElement2)).
Generally, note that the use of standard matched rules is recommended in ATL and that lazy (matched) rules have to be used only when strictly needed.