Possible to have "sub-templates" in Dreamweaver ?
Hello, I'm new to website building using dreamweaver, but I
purchased a tutorial and I'm really starting to get it, though I
have a question, let's say I want to create a website similar to
this one : www.franzferdinand.co.uk
All pages of that site have the same upper menu, so I would
use a template for that in DW in order to easily change something
on all pages at once if needed.
Now go to the lyrics page, every song you choose takes you to
another website with the proper lyrics, if I want to add a song to
the list on the right, I would need to add it to all individual
lyrics pages, unless I have a template for that, but I'm already
using the templates feature for the upper menu of all other
webpages... so is it possible to have say "sub-templates" in DW ?
Thanks, I hope I managed to be clear,
Francis.
Personal opinion has nothing to do with it. Neither does "a
work of art".
There is a strong movement toward standards-compliant
websites and with good
reason, I think. A standards-compliant site is far more
likely to display
correctly on a wide variety of browsers and platforms, both
now and in the
future. One concern I have with the site you referenced is
that I suspect
some of the coding liberties the designer took were to
facilitate certain
design considerations. IOW function followed form. So to try
to emulate the
site's design might, I repeat might, force coding compromises
that could
undermine the site's functional structure.
If you're happy to build poorly-coded sites that is your
choice. A couple of
years? I can only hope that if you are planning to build
sites for others
you disclose that the shelf life of what you build will only
be a couple of
years. My clients would be sadly disappointed with such
quality.
Walt
"Soulgolem" <[email protected]> wrote in
message
news:f77472$28q$[email protected]..
> Hi, thanks for the info.
>
> As for the other thing, I said I wanted to create
similar website, never
> intended to say I wanted to copy paste the code and it's
mistakes, if that
> was
> the case, I wouldn't need Dreamweaver.
>
> My personal opinion differs from yours anyway, the
website is fast and
> efficient and has been displayed perfectly on all
browsers (Mac or PC)
> that
> I've used, it may not be perfectly coded, but it wasn't
meant to be a work
> of
> art and will serve its purpose well for a couple of
years I guess.
>
Similar Messages
-
Is it possible to have sub-folder events inside an event on iPhoto?
Is it at all possible to have an Event (eg. Pets) then have sub-events inside that event (eg. Dog, Cat etc.) in iPhoto?
I can't seem to find anything...
Any help greatly appreciated.No it's not.
Basically, Events are organisation for those who can't be bothered. SImple date and time grouping of photos.
If you want more, now it's time to explore Albums and Folders.
So, a Folder called 'Animals' and within it, two Albums, one for 'Dog' and one for 'Cat'
Albums are much more flexible than events, you can arrange the photos within albums with much more flexibility. A photo can be in multiple albums using no extra disk space, whereas to have a photo in multiple Events requires a duplicate file and so on.
FWIW here's a canned answer I use to illustrate some of the organisation possibilities of iPhoto...
I use Events simply as big buckets of Photos: Spring 08, July - Nov 06 are typical Events in my Library. I use keywords and Smart Albums extensively. I title the pics broadly.
I keyword on a
Who
What
Where basis (The When is in the photos's Exif metadata). I also rate the pics on a 1 - 5 star basis.
Using this system I can find pretty much find any pic in my 50k library in a couple of seconds.
So, for example, I have a batch of pics titled 'Seattle 08' and a typical keywording might include: John, Anne, Landscape, mountain, trees, snow. With a rating included it's so very easy to find the best pics we took at Mount Rainier.
File -> New Smart Album
set it to 'All"
title contains Seattle
keyword is mountain
keyword is snow
rating is 5 stars
Or, want a chronological album of John from birth to today?
New Smart Album
Keyword is John
Set the View options to Sort By Date Ascending
Want only the best pics?
add Rating is greater than 4 stars
The best thing about this system is that it's dynamic. If I add 50 more pics of John to the Library tomorrow, as I keyword and rate them they are added to the Smart Album.
In the end, organisation is about finding the pics. The point is to make locating that pic or batch of pics findable fast. This system works for me. -
Is it possible to have a Groove Template show up globally, i.e. in the menu
Hi All,
I've been creating custom groove templates and would like to have these templates show up in every song automatically, is that possible? I'm thinking it's not but should ask anyway,
thanks,
tYou need to copy the regions that make up the groove templates to every project.
What you can do is copy the regions to a new project and pack those tracks into a folder and/or hide the tracks. Set the regions as groove templates...
This can now be saved as a template and every time you open that template the groove templates will show in the Quantize menu.
JG -
PLEASE HELP - Problem with 2 column fixed template in Dreamweaver CS3
I am trying to create a website using the 2 column fixed, right sidebar, header and footer html template in Dreamweaver CS3. I tried putting a picture in the right side bar as well as with in the main content or left portion of the page, and neither picture is showing up when I view it in any of the browsers I'm using.
I've made some minor changes in colors and sizing, but other than that no other changes. The pic I put in for the header is showing up just fine though.
Any help or advice to solve this issue would be greatly appreciated.
Thanks!!Here is the base Dreamweaver code including the pic references that I'm trying to show on either side - when the browser opens, it only shows a blank space where the pics should be... let me know what you think. Thanks!!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/AL TemplateNEW.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Temp Home</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #666666;
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
.twoColFixRtHdr #container {
width: 780px; /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
background: #FFFFFF;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border: 1px solid #000000;
text-align: left; /* this overrides the text-align: center on the body element. */
.twoColFixRtHdr #header {
background: #DDDDDD;
padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
.twoColFixRtHdr #header h1 {
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
.twoColFixRtHdr #sidebar1 {
float: right; /* since this element is floated, a width must be given */
width: 200px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 10px;
.twoColFixRtHdr #mainContent {
margin: 0 250px 0 0; /* the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
.twoColFixRtHdr #footer {
padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
background:#DDDDDD;
.twoColFixRtHdr #footer p {
margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
.fltlft { /* this class can be used to float an element left in your page */
float: left;
margin-right: 8px;
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
-->
</style><!--[if IE 5]>
<style type="text/css">
/* place css box model fixes for IE 5* in this conditional comment */
.twoColFixRtHdr #sidebar1 { width: 220px; }
</style>
<![endif]--><!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColFixRtHdr #sidebar1 { padding-top: 30px; }
.twoColFixRtHdr #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]--></head>
<body class="twoColFixRtHdr">
<div id="container">
<div id="header">
<h1>Header</h1>
<!-- end #header --></div>
<div id="sidebar1">
<h3>Sidebar1 Content</h3>
<!-- InstanceBeginEditable name="RightSideBar" -->
<p>Right Side Bar Content - - - </p>
<p>Inserted pic below here</p>
<p><img src="/images/Syntergy5.jpg" width="123" height="105" /></p>
<p>The background color on this div will only show for the length of the content. If you'd like a dividing line instead, place a border on the right side of the #mainContent div if it will always contain more content. </p>
<p>Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend sollicitudin, molestie id, varius et, nibh. Donec nec libero.</p>
<!-- InstanceEndEditable -->
<p> </p>
<!-- end #sidebar1 --></div>
<div id="mainContent">
<h1> Main Content </h1>
<!-- InstanceBeginEditable name="MainContent" -->
<p>Main Content - - </p>
<p>inserted pic below here:</p>
<p><img src="/images/Kelly1.jpg" width="285" height="236" /></p>
<p> </p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam, justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio. Donec et ipsum et sapien vehicula nonummy. Suspendisse potenti. Fusce varius urna id quam. Sed neque mi, varius eget, tincidunt nec, suscipit id, libero. In eget purus. Vestibulum ut nisl. Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend sollicitudin, molestie id, varius et, nibh. Donec nec libero. </p>
<!-- InstanceEndEditable -->
<p>
<!-- end #mainContent -->
</p>
</div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
<div id="footer">
<p>Footer</p>
<!-- end #footer --></div>
<!-- end #container --></div>
</body>
<!-- InstanceEnd --></html> -
Calling Sub-Templates from a Template not working
I have a Template that I want to call a multiple Sub-Templates, and the Sub-Templates actually define an entire report. After I load the Data and try to preview I get the following error:
Caused by: oracle.xdo.parser.v2.XSLException: <Line 39, Column 62>: XML-22049: (Error) Template 'MWAC_JOB_RTG' invoked but not defined.
Can someone tell me what this means? Is what I'm trying to do even possible?Is the sub template accessible by the main template? Have you included the import statement in your main template?
Thanks!
BIPuser -
Controlling the header size when using sub templates
Hi All,
I have a conditional header subtemplate which has a different company logo for each country. I have a header sub template which has the list of all possible logo's which are conditinally invoked from the main template. Everything works fine. But the header size if too huge. I have tried different options of reducing the margin-size, setting vertical alignment to the top, but none of them seems to make the header size any smaller. Pls help.
Thanks
SwarnaHi,
once i upload the rtf to the server With the static url i am able to view it . the problem is occuring only when i add the ${HTTPSERVER} in the import statement. I have set the property "Disable external reference" to false.
Here is my static URL
<?import:http://myserver:9704/xmlpserver/HeaderFooter.rtf?>
After adding property of HTTPSERVER in xdo.cfg file URL is
<?import: http://${HTTPSERVER}/HeaderFooter.rtf?>
further i am even able to download the file when I run the static URL.
Please let me know if any settings need to be done -
Is it possible to have text typed on screen like its being typed
hi,
i am wondering if it is possible to have it so i have some
text appear on the screen so that it looks as if it is being typed
onto the screen,
i am new to dreamweaver and don't know much about coding so
if you can help me i would appreciate it
many thanks
LukeOr with a javascript routine that places the content on the
screen one
letter at a time.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"CaryD" <[email protected]> wrote in message
news:g1cg4k$5o5$[email protected]..
> This would require animation, either with an animated
GIF image or with
> Flash. -
Is there a possibility of creating a template in flash?
Hello
I hope someone can help me. I have build a flash page which contains a complicated drop-down menu. This menu will be in 20 different pages (slideshows). If I change something in this menu (movie) I have to change it in 20 different pages (copy / paste). Is there a possibility of creating a template like in Dreamweaver. So that when I adjust the template, it will automaticaly adjust all 20 pages containing this particular template? Thank you very much for your advice. SarosaThank you all for your tips. Yes all of the 20 pages will be each a different flash file with this same movie in it.
To Ross: Unfortunately I have not yet learned XML. So I don't know how to do that.
To doghouseJim: This sounds good. I think I know what you mean, but I don't exactly know how to do it. But I will try this out tomorrow and also check out your link. Thanks -
Problem in Consistent Header and Footer with Sub Templates in BI publisher
Hi All,
I have recently started working with OBI and used Sub templates for getting Consistent Header and Footer in all of our reports. I did this in the following way
1. Created one template called HeaderFooter.rtf with Header and footer templates.
2. placed the file in web server and called in the main Template with
<?import: http://myserver.com:9704/xmlpserver/HeaderFooter.rtf?> I mean as static URL and it is working fine.
3. Now as a part of generalizing the server i have added HTTPSERVER property in xdo.cfg file which is located in
%BI_REPOSITORY%/Admin/Configuration.
4. I have checked this property by placing <?xdoxslt:getXDOProperties($_XDOCTX)? in my rtf file and HTTPSERVER property is showing same as that of static.
5. Now when i place <?import:http://{$HTTPSERVER}/HeaderFooter.rtf?> in my rtf it is ending with an error.
so can anyone please help me out in this regard?Hi User XY,
you might want to ask this in the [url http://forums.oracle.com/forums/forum.jspa?forumID=245]BI Publisher Forum
brgds,
Peter
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
BuilderPlugin: http://builderplugin.oracleapex.info
Work: http://www.click-click.at -
Issue with 'text box' in rtf sub template for peoplesoft XMLP
Hi all,
i have a weired problem using 'text Box' in a sub template. I am calling a sub template from my template. In my Sub template i have a text box ( i am using text box bcoz i want to justify the text not to the page margin but starting from a specific column.not sure if there is any other way with which i can do the same !!) . When i process the report (using application engine program) i get the below error
Message Log entry:
[052311_071441208][oracle.apps.xdo.common.xml.XSLTWrapper][ERROR] XSL error:
psxmlp://SUB_BMX2<Line 63, Column 191>: XML-22031: (Error) Variable not defined: '_MR'.
@Line 63 ==> </xsl:stylesheet>
[052311_071441216][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at com.peoplesoft.pt.xmlpublisher.PTFOProcessor.generateOutput(PTFOProcessor.java:74)
Caused by: oracle.xdo.parser.v2.XPathException: Variable not defined: '_MR'.
at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1534)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:521)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
... 13 more
[052311_071441218][oracle.apps.xdo.template.FOProcessor][ERROR] End Memory: max=64MB, total=11MB, free=1MB
PeopleTools 8.49.27 - Application Engine
Copyright (c) 1988-2011 PeopleSoft, Inc.
All Rights Reserved
Processing started
data extraction for EMPLID:1000646332 EMPL_RCD:0 EFFDT:2009-12-28 and EFFSEQ:6
CFilem::LoadDefn(RDCRHIUTEECKNDZN2SPSRQ) : read 1 chunks
UnchunkStuff : read 1 chunks for nCharDataLen 10520 chars
CFilem::LoadDefn(RDCRHIUTEECKNDZN2SPSRQ) : after decode & decompress: 35330 bytes
Calling XMLP
Processing Report Defn:TR_BMX2
Error Executing XMLP.Error generating report output: (235,2309) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport PCPC:51952 Statement:1163
Called from:TR_LATAM_CONTRACTS.ContractsXML.OnExecute Name:ExecuteXmlp Statement:16
Called from:TR_LAMCNTRCT.MAIN.GBL.default.1900-01-01.Step04.OnExecute Statement:20
Process 442706 ABENDED at Step TR_LAMCNTRCT.MAIN.Step04 (PeopleCode) -- RC = 22 (108,524)
Process %s ABENDED at Step %s.%s.%s (Action %s) -- RC = %s
It works fine when i remove the text box from my sub template. I tried to put the text box directly in the main template and it worked fine !! it is erroring out only when i use the text box in sub template !!
Template file:
<?import:psxmlp://SUB_BMX2?>
<?choose:?>
<?when: .//LETTER_CD=”PA4”?>
<?call: BA101?>
<?end when?>
<?otherwise:?>
Invalid Letter Code. No Sub Template Call defined for this Letter Code.
<?end otherwise?>
<?end choose?>
Sub Template:
<?template:BA101?>
Testing without text box.
Testing with text box
there is a text box with text here .. cannot be copied from word !!
<?end template?>
i got the below error when i tried to 'preview' the report from my report definition.
Error generating the report output: During calling method PTFOProcessor.generateOutput, the XDO engine throws an exception:NULL. (235,3101) (235,2309)
Error occurred during the process of generating the output file from template file, XML file, and the translation XLIFF file.
Any help would be greatly appreciated.
Edited by: Naveen Kumar on May 23, 2011 4:31 AMmisunderstood =/
Original (Coming - output): "<PAY_TXT>PAYκ Contact your bank or financial institution to make this payment from your cheque, savings, debit or transaction account.</PAY_TXT>"
it's in output but what is data in database ?
sorry but without knowing about source data for forming the xml i haven't ideas about your problem
in db it's "TM " or "™" or ... ?
Original (Coming - output): "<PAY_TXT>PAYκ Contact your bank or financial institution to make this payment from your cheque, savings, debit or transaction account.</PAY_TXT>"
Something like XAE or "K" after PAY Value in the xml tag and continued the text value. (Tag value is not getting copied exactly here - i am sorry for that )
that's ok. i need to see the problem not the data as is
Expected (output): "Here it needs to produce the "PAY TM" (Here "TM" should be super scripted to "PAY" Value in tag).
as super scripted in xml?
as idea - you can have <PAY_TXT>PAY TM</PAY_TXT> and in publisher set TM as super
Designing XSL Subtemplates - 11g Release 1 (11.1.1) -
Problem creating dynamic URI for importing xsl sub templates in rtf
Hi,
We are using xsl based sub templates in RTF. My code in RTF to import sub template is
<?import:http://localhost:7001/xmlpserver/Header.xsl?>
<?call@inlines: CustomerReportHeader?><?end call?>
This sub template import statement is used in lot of RTF's. We require to configure host,port name in server run time properties and will get the value in RTF and will construct URI dynamically ,So we put one property in xdo.cfg.
xdo.cfg contains as below
<config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
<properties>
<property name="xdk-secure-io-mode">false</property>
</properties>
<properties>
<property name="xslt.HTTP">'localhost:7001/xmlpserver'</property>
</properties>
</config>
and i changed my sub template call to
<?import:http://${HTTP}/Header.xsl?>
<?call@inlines: subtemplate1?><?end call?>
Where subtemplate1 : is one sub template in side Header.xsl
This configuration is not working. The HTTP value is not being parsed. The BI publisher throwing exception as "Unknown host exception ${HTTP}"
Please note that : I am able to print HTTP run time variable value in report by <?$HTTP?> adding in Form Field text.
I have installed BI publisher 10.1.3.4.1 (xmlpserver) in weblogic 10.3.5
Please guide us on this above problem.Hi,
The problem got resolved when we tried same thing in BI publisher 10.1.3.4.2 (xmlpserver) in weblogic 10.3.5. It seems that BI publisher 10.1.3.4.1 does not have dynamic URI support.
Thanks,
Sanjaya
Edited by: Sanjaya on Sep 4, 2012 2:09 AM -
I have a template that I am able to plug different pictures into at different times. The problem is that when I plug an image into that template, I find that the image is either too big or too small. Is there a way to plug the image into the template and resize the image (and not the template itself) OR will I have to go to the file with the original image and resize it there and then try to plug it in to the template to see if it fits------and if it does not fit, go back to the original file with the image and resize it again and see if that fits---and so on and so on...........? I have tried the" image size" option but it's hit or miss------mostly miss!
Thanks!Read up on Smart Objects. It looks like you have no idea as to how to create and use them.
Jut create a Smart Object from the layer containing whatever it image it is that you are "plugging into your template". But you do need to learn the application at its most basic levels.
Photoshop is a professional level application that makes no apologies for its very long and steep learning curve. You cannot learn Photoshop in a forum, one question at a time.
Or is it possible that you don't even have Photoshop proper but the stripped-down Photoshop Elements?"
If the latter is the case, you're in the wrong forum. This is not the Elements forum.
Here's the link to the forum you would want if you're working in Elements.:
https://forums.adobe.com/community/photoshop_elements/content
If you do have Photoshop proper, please provide the exact version number of that application and of your OS.
(edited for clarification) -
How to call a Sub template in BI Publisher for the same Loop
Hi,
I'm trying to achieve a multi template invoice customer facing Report output by using sub templates in BI publisher. I've stored the Template2.rtf file in Local machine temp directory and calling it in the main RTF. My Scenario is as described below:
<?import:file:///C:\temp\Template2.rtf?>
<? For-each@section: HEADERS?>
****Contents of header data and it's line***
<?start@last-page:body?><?end body?>
***last page sub totals****
**in next page i'm calling another .rtf file which is the second This template should repeat for each header transaction**
<?call-template:Template2?>
<?end for-each?>
While trying to preview the output from Bi publisher Template, either it goes to infinite loop or it hangs up with error.
Am i getting it wrong? for the Template2.rtf which i'm calling has contents <?template: template2?> <? For-each: cust_headers?> ** logic** <?end-for-each?> <?end template?>
So for a given transaction i need to print two templates. All the data will be under <header> group. Please help me out if i'm missing something in the above.Do you get a "Template invoked but not defined error"? If so, the reason is because you the template can not be found...
In your case, you have defined the template as:
<?template: template2?> <? For-each: cust_headers?> ** logic** <?end-for-each?> <?end template?>
However, in your call statement, you have (upper case T): <?call-template:*T*emplate2?>
Change that and see if it resolves your error. If not provide details about the error.
Thanks,
Bipuser -
RE: DropLists in ArrayFields - is it possible to have adifferent sele
Richard;
Here you go....
newList : Array of ListElement = new;
{ add elements }
row : Integer = { get your row };
column : Integer = { get by name or just know the number }
// poof! Watch that down cast!
(DropList)(<arrayField>.BodyGrid.GetChildInCell(row,column)).SetElementList(
newList);
You can also change FieldWidget settings....
<arrayField>.BodyGrid.GetChildInCell(row,column).FillColor =
C_BLUE;
My array field doesn't scroll (lucky me!). See if the AfterFieldScrolled
event fires at the right time to recalculate the widget state. I haven't
played with it and I'm far from a Forte GUI guru, but I suspect that you are
altering the column template and the visible widget is separate from the
data. So as you scroll, the data would scroll but the new settings stay
put. That's not what I would want/need. The widget reflects something
about the data. When the data scrolls, so should the presentation
properties!
What may be needed is to somehow derive the presentation state settings
dynamically from the mapped data. So when the data scrolled, the dynamic
settings change on the new presentation row.
Let me know.....
Scott Irwin
-----Original Message-----
From: Richard Finegan [SMTP:[email protected]]
Sent: Monday, August 24, 1998 1:38 PM
To: 'Forte Users Mailing List'
Subject: DropLists in ArrayFields - is it possible to have a
different selection list per row?
I have a DropList in an ArrayField column. Is it possible to have a
different list of selections for each DropList in a different row?
(ex.
DropList #1 in row #1 can choose from a/b/c, whereas a DropList #2
in row
#2 can choose only from d/e/f, etc.) Technote 4996 seems to imply
that it
isn't possible, and everything I've tried so far has failed as well.
Any insight appreciated.
Richard Finegan
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>One way to do this is to get at the specific dropList widget in the
arrayField by calling the getChildInCell(Row,Column) method on
<..theArrayField..>.BodyGrid. This widget can then be assigned any
dropList you want. Depending on the uniqueness of the individual
dropLists, each data row specific dropList can be coded as an attribute
(array of ListElement) on the mapped class, which can then be assigned
to the dropList widget.
A code snippet to do this would be -
method refreshArray
begin
for displayRow in 1 to <myArrayField>.VisibleRows do
dataRow : integer = displayRow + <myArrayField>.TopRow - 1;
myDropListWidget : dropList =
dropList(<myArrayField>.BodyGrid.getChildInCell(displayRow,
<..columnNumOfDropList..>));
myDropListWidget.setElementList(myArrayField[dataRow].myElementList);
end for;
end method;
This method has be called only when the user scrolls the arrayField, as
in -
when <myArrayField>.AfterFieldScrolled do
refreshArray();
Hope this helps.
Prashant.
From: Richard Finegan[SMTP:[email protected]]
Reply To: Richard Finegan
Sent: Monday, August 24, 1998 11:38 AM
To: 'Forte Users Mailing List'
Subject: DropLists in ArrayFields - is it possible to have a
different selection list per row?
I have a DropList in an ArrayField column. Is it possible to have a
different list of selections for each DropList in a different row?
(ex.
DropList #1 in row #1 can choose from a/b/c, whereas a DropList #2 in
row
#2 can choose only from d/e/f, etc.) Technote 4996 seems to imply
that it
isn't possible, and everything I've tried so far has failed as well.
Any insight appreciated.
Richard Finegan
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
Dreamweaver Template Without Dreamweaver
Hi.
I'm doing an internship for the semester and the place i work is having me redesign their intranet. I'll be gone in December, and while no immediate changes will really need to be made, over time they will probably want to do something such as adding a link in the side menu...
The problem is, I don't think they use Dreamweaver--if they're using another web design program, is it possible for them to edit the dreamweaver template I've created for them?
Thanks.Another approach is to use Server-Side Includes (text files) that contain hyperlinks, common headers & footers for example. Person responsible for updates could edit the SSI files in any html editor. Upload to server and the server would populate changes throughout the site.
More on SSIs:
http://www.smartwebby.com/web_site_design/server_side_includes.asp
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com
Maybe you are looking for
-
SUN JES - migrating from Solaris to Red Hat Linux
I have some EJBs working fine on JES 2004Q2 on Solaris. I want it to work on Linux JES 2005Q4. I guess all that I may need to do is: - Install JES 2005Q4 for Linux - Deploy by EJBs Is there anything else I should be taking care?
-
What does "Adjustments disabled" mean and how do I get it enabled?
When 2.1 came out I bought it, but have only tried to use it today. Projects works, Metadata works but Adjustments says "Quick Preview On (adjustments disabled). I have a couple of questions? 1) How did this happen? 2) What does it mean and? 3) How c
-
I can't see recent photos added to iphoto in screensaver options!
I am trying to update my system preferences, in particular my screensaver. I have the screensaver option on 'shuffle' so that I can choose a various selection of albums I want to show on my screensaver. However, the most recent album added to iphoto
-
Is it free to call other EE mobile numbers
If I switch to EE and call my friends that are also on EE, what price plan allows me free calls to them ?
-
The latest software today (11-14-2014) is for new camera raw cameras. Do not own any of these cameras so tried to hide the update. Update will not hide the update. Tried three times - no luck - possible bug. Reported to apple feedback today. OK Now I