Re: Parameter not in scope for the XSLT template - John J or others?
From: Mike Walsh [MVP] (englantilainen_at_hotmail.com)
Date: 04/13/04
- Next message: Mike Walsh [MVP]: "Re: Web Part Connection w/ DocLib?"
- Previous message: Mike Walsh [MVP]: "Re: I CAN'T BELIEVE..."
- In reply to: John Jansen \(MSFT\): "Re: Parameter not in scope for the XSLT template - John J or others?"
- Next in thread: Mike Walsh: "Re: Parameter not in scope for the XSLT template - John J or others?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 13 Apr 2004 07:50:33 +0300
Thanks John,
away from a web site, this is not entirely clear to me, but I'll give it a
shot when I'm *at* a test web site and report back.
P.S. You are not expected to be here on a daily basis ! (especially at
weekends) so there was no delay in my mind.
Mike Walsh, Helsinki, Finland
"John Jansen (MSFT)" <johnjan@online.microsoft.com> wrote in message
news:ONGUdAOIEHA.3276@tk2msftngp13.phx.gbl...
> OK, I see the problem.
>
> You are exactly right, I created the Conditional Formatting to make sure
the
> variable is in scope for use in that template. If you get to teh point
> where it is not in scope, you need to either hand code the xsl:variable,
or
> UNDO and create the CF rule yourself.
>
> I think that once it is created you can actually have fun with it instead
of
> creating a new web part, change the filter, view and style of this one.
>
> For example, if you only want one to show up (as would be the case in my
> example where you want to diplay the user's name at the top of the page or
> whatever), change your filter to be ID == 1. OR, create a custom XML file
> that only has one value in it.
>
> You can click on Data..Style and change the layout there, and you can use
> the Table formatting and style tools to make it look anyway you like.
> --
> Thanks!
> John Jansen
> Microsoft Office FrontPage
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> "Mike Walsh [MVP]" <englantilainen@mvps.org> wrote in message
> news:%23c0HKL9HEHA.3240@TK2MSFTNGP12.phx.gbl...
> > I've just posted WSS FAQ - IV.15 "How do I get the logged on user's
> > display
> > name into a basic page? "
> >
> >
http://wss.collutions.com/Lists/FAQ/DispForm.aspx?ID=221&Source=http%3A%2F%2Fwss%2Ecollutions%2Ecom%2Fdefault%2Easpx
> >
> > based on an earlier posting from John Jansen here.
> >
> > I thought I'd better do it myself to see if I had got it right, and
while
> > that enabled me to add a couple of useful comments, I also hit the fact
> > that
> > in my case the parameter was not in scope for the XSLT template - i.e.
the
> > solution didn't work as it failed at the first test stage (point 2.)
> >
> > I should perhaps add that I came across this error only after doing
point
> > 3.
> > and not as John said doing point 2. although I maybe varied from his
test
> > by
> > selecting a different field than Created By when I provoked the Create
> > button into becoming active.
> >
> > If John or anyone else can read this FAQ piece and point out how to get
> > the
> > parameter in scope, I'd be grateful.
> >
> > I'll leave the item up because I'm sure it will work as is for most
people
> > and it's too good to waste.
> >
> > Thanks.
> >
> > Mike Walsh, Helsinki, Finland
> > WSS FAQ at wss.collutions.com
> > Please reply to the newsgroup
> >
> >
> >
>
>
- Next message: Mike Walsh [MVP]: "Re: Web Part Connection w/ DocLib?"
- Previous message: Mike Walsh [MVP]: "Re: I CAN'T BELIEVE..."
- In reply to: John Jansen \(MSFT\): "Re: Parameter not in scope for the XSLT template - John J or others?"
- Next in thread: Mike Walsh: "Re: Parameter not in scope for the XSLT template - John J or others?"
- Messages sorted by: [ date ] [ thread ]