October 29, 200520 yr How to use a script? I am new to CWP with XSLT and am trying to learn how to use a link with a script. I have taken the xslt home page made with Site Assistant and want to create a login link that will take the user to proper page when logining in. Here is what Site Assistant produced: Login If my link is http://localhost/fmi/xsl/my_stylesheet.xsl?-db=my_database&-lay=my_layout&-grammar=fmresultset&-script=login_cwp Where does it go in the above xsl? Thanks in advance - Sam
October 29, 200520 yr In connection also with your previous question about images: Writing XSLT stylesheets is nothing else than mixing xsl:... instructions that parse your XML result tree with plain HTML, text or XML, that forms your output.
October 30, 200520 yr Author Thanks Martin, so far it is not working. I replaced: Login With: Login And I get the following message: The entity name must immediately follow the & in the entity reference. (XML-0067) I don't have a clue as to what I should be doing here Thanks again - Sam
October 30, 200520 yr Author Martin, we will get there yet. Here is what I did: Login And I get this error: The entity "amp-lay" was referenced, but not declared. (XML-0190) I have not ideal what the above means. Thanks again - Sam
October 30, 200520 yr Author Martin, I compain about my clients not reading all the time. Thanks that did it. Sam
November 1, 200520 yr Author Martin, how would I use a script to automatically have the signed in client taken directly to their records? This has me stumped. I have the home.xslt that was created by site assistant. There will be an enter button for the client. I would then like the script to get the client's AccountName and then go to the appropriate records for that client. Presently I am using IWP which works great except for occasional problems the clients have with the Block Pop-Up Windows. I am exploring CWP as another option to IWP. I have a script that does what I described above, but the concept seems different in CWP.
Create an account or sign in to comment