A dmHTML template has a container wrapped in a div that has a heading that
applies to is to the rule that is going to be used.

But what they want to do now, is if there are no object returned by the
rules, they want something different displayed there - in this case just
some text.
But the text does not relate to what the heading states - so looks a bit
daft.

So along the lines of 'Intro', which is only displayed once before the
objects, I thoughtI would have default text, and a heading for with-data and
heading for no-data.

The issue is, the div around the container has no idea what the rule is
going to output.
I did not really want to mess around with javaScript an modify the innerHTML
of the div

So I have brought the wrapping DIV into the rule.
I want to keep the HTML of the DIV in webskins, not embed it in a rule.cfc
or execute.cfm

This is for Farcry 3.

This is not a biggy now - I have put the HTML in the excute() of the rule
and it is doing the job.
I will reviste this when the site gets upgraded to FC5

On Fri, Aug 15, 2008 at 8:06 PM, modius <[EMAIL PROTECTED]> wrote:

>
> On Aug 15, 2:34 pm, "AJ Mercer" <[EMAIL PROTECTED]> wrote:
> > The rule I am working on has the execute method in the rule
> > not as a CFML page - looks like this is how CF5 works
> >
> > I would like the webskin to the render the content, not the rule (which
> is
> > what I have gone with for now)
>
> Not sure what you mean by that.  You want the webskin to output from
> aInvocations populated by your rule?
>
> What problem are you trying to work around?  There may be a more
> elegant solution using the ./execute.cfm approach.
>
> All the best,
>
> -- geoff
> http://www.daemon.com.au/
> >
>


-- 
AJ Mercer
Web Log: http://webonix.net


Once you come to the realisation that everyone is crazy,
You will never be surprised or disappointed ever again.
AJM 2008

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to