Problems with templates overtaking first line?
Has anyone else had a problem with templates taking over the first line of code in any page that a template is applied to?
I created a template that starts like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="head" -->
but when that particular template is applied to a page it writes this to the code:
<!-- InstanceBegin template="/Templates/default.dwt" codeOutsideHTMLIsLocked="false" --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="head" -->
I don't particularly mind this, but in IE8, because the comment is the first line - and NOT the doctype, it forces the browser into another doctype and breaks the page.
Has anyone experienced this?
I've tried re-creating my templates, but I'm not finding the reason why it decides to place that comment in the beginning sometimes..
The problem may be that the comment is on the same line as the doctype, try putting a blank line between the template comment and the doctype statement
e.g.
..... IsLocked="false" -->
<!DOCTYPE HTML .....
The comment is place in the line before the doctype to enable editing of server side code, (php, asp, .net, etc.).
PZ
Similar Messages
-
Compilation problem with templates while using option -m64
Hi,
I have compilation problem with template while using option -m64.
No problem while using option -m32.
@ uname -a
SunOS snt5010 5.10 Generic_127111-11 sun4v sparc SUNW,SPARC-Enterprise-T5220
$ CC -V
CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
Here is some C++ program
############# foo5.cpp #############
template <typename T, T N, unsigned long S = sizeof(T) * 8>
struct static_number_of_ones
static const T m_value = static_number_of_ones<T, N, S - 1>::m_value >> 1;
static const unsigned long m_count = static_number_of_ones<T, N, S - 1>::m_count + (static_number_of_ones<T, N, S - 1>::m_value & 0x1);
template <typename T, T N>
struct static_number_of_ones<T, N, 0>
static const T m_value = N;
static const unsigned long m_count = 0;
template <typename T, T N>
struct static_is_power_of_2
static const bool m_result = (static_number_of_ones<T,N>::m_count == 1);
template <unsigned long N>
struct static_number_is_power_of_2
static const bool m_result = (static_number_of_ones<unsigned long, N>::m_count == 1);
int main(int argc)
int ret = 0;
if (argc > 1)
ret += static_is_power_of_2<unsigned short, 16>::m_result;
ret += static_is_power_of_2<unsigned int, 16>::m_result;
ret += static_is_power_of_2<unsigned long, 16>::m_result;
ret += static_number_is_power_of_2<16>::m_result;
else
ret += static_is_power_of_2<unsigned short, 17>::m_result;
ret += static_is_power_of_2<unsigned int, 17>::m_result;
ret += static_is_power_of_2<unsigned long, 17>::m_result;
ret += static_number_is_power_of_2<17>::m_result;
return ret;
Compiation:
@ CC -m32 foo5.cpp
// No problem
@ CC -m64 foo5.cpp
"foo5.cpp", line 20: Error: An integer constant expression is required here.
"foo5.cpp", line 36: Where: While specializing "static_is_power_of_2<unsigned long, 16>".
"foo5.cpp", line 36: Where: Specialized in non-template code.
"foo5.cpp", line 26: Error: An integer constant expression is required here.
"foo5.cpp", line 37: Where: While specializing "static_number_is_power_of_2<16>".
"foo5.cpp", line 37: Where: Specialized in non-template code.
"foo5.cpp", line 20: Error: An integer constant expression is required here.
"foo5.cpp", line 43: Where: While specializing "static_is_power_of_2<unsigned long, 17>".
"foo5.cpp", line 43: Where: Specialized in non-template code.
"foo5.cpp", line 26: Error: An integer constant expression is required here.
"foo5.cpp", line 44: Where: While specializing "static_number_is_power_of_2<17>".
"foo5.cpp", line 44: Where: Specialized in non-template code.
4 Error(s) detected.
Predefined macro:
@ CC -m32 -xdumpmacros=defs foo5.cpp | & tee log32
@ CC -m64 -xdumpmacros=defs foo5.cpp | & tee log64
@ diff log32 log64
7c7
< #define __TIME__ "09:24:58"
#define __TIME__ "09:25:38"20c20
< #define __sparcv8plus 1
#define __sparcv9 1[snipped]
=========================
What is wrong?
Thanks,
Alex VinokurBug 6749491 has been filed for this problem. It will be visible at [http://bugs.sun.com] in a day or two.
If you have a service contract with Sun, you can ask to have this bug's priority raised, and get a pre-release version of a compiler patch that fixes the problem.
Otherwise, you can check for new patches from time to time at
[http://developers.sun.com/sunstudio/downloads/patches/]
and see whether this bug is listed as fixed. -
Problems with Template JDeveloper 11g
Hi! I have problems with template in Jdeveloper 11g.
I had created jspx page from templeate:
<?xml version='1.0' encoding='windows-1257'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=windows-1257"/>
<f:view>
<af:document>
<af:form>
<af:pageTemplate viewId="/augiTemplate.jspx">
<f:facet name="mainArea"/>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
</jsp:root>
THERE are error:
JSF page template at path /augiTemplate.jspx requires a model binding!!!
Why it is so an what it means? Pleas help!
Best regards!Hi,
it means that your template has an ADF binding (PageDef) reference. When you create a page in the JSF page dialog and assign the template then the binding reference is created for you. You should see a bulb in the page source editor. Press it an it should create the missing binding for you
Frank -
CS4 Problem with Template Updates
There's another thread on this subject, but I couldn't see any final resolution.
I'm having a problem with Template Update.
I have all pages in site linked to a single template. I built the template 1st and then created each page from the template using normal method.
When I now make a change to the template, I save the template and it automatically saves and opens a box to select pages to update. I do NOT have to use the Updates feature on the top menus, but I have done that too just to try different things. When I select all the files, it updates them all, most of them correctly. BUT, one or several of them will have a NEW Main Content (and sometimes header) superimposed on top of the existing Main Content (or header). It shifts the page downward and to the right. By the way, down below the screwed section, the content is all still there and the original template is still intact under the screwed up area.
To fix it, I create a new page from the template and start over inserting the Main Content, which is nothing special, just formatted text. Next time I update, that same page will always get screwed up again, but sometimes 1 or more different pages will also get screwed up in the same way, always with a new nested Main Content area (on top of the original or sometimes pushed down half a page).
I thought it might be because of a nested Main Content in that section of the template, but I see none, or any other abnormal html. It does not do this to all 20-30 pages, just one every time and one or more random ones. I see nothing in html different from one page to the next.
Don't know how to attach documents to this, but I have the template and two of the screwed up pages to send.
Charlie
[email protected]The site is http://www.michaelchekhov.net
Public directory is /public_html, but that's the root, so the links below should work.
These pages are out of their normal directory, so the supporting links won't work, but you can see the code. Look at the home page and you can see what all the pages are supposed to look like.
The template which created the problem with the pages below is at /support/TEMPLATE index.dwt
The page that consistently fails is called poatool.html - the bad one is at /support/BAD poatool.html
A 2nd page that failed on that UPDATE is there also - /support/BAD bibliography.html
The currently working copy of the page that fails everytime is /articles/poatool.html.
Thanks.
Charlie -
I'm having problem with my iphone4S first when i updated software to 7.1 after a month or so wifi turned grayed, second when i tried to turn off in the night as soon as i turn it on battery empty now its totaly dead. What should i do with it?
1) This is because of software version 1.1. See this
thread for some options as to how to go back to 1.0,
which will correct the problem...
http://discussions.apple.com/thread.jspa?threadID=3754
59&tstart=0
2) This tends to happen after videos. Give the iPod a
minute or two to readjust. It should now be more
accurate.
3) This?
iPod shows a folder icon with exclamation
point
4) Restore the iPod
5) Try these...
iPod Only Shows An Apple Logo and Will Not Start
Up
iPod Only Shows An Apple Logo
I think 3,4, and 5 are related. Try the options I
posted for each one.
btabz
I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again -
Replication problems with slow ( 20kB/s line)
Yesterday we noticed on our production database that replication did not run anymore because of an error in one record. This forced us to re-iniitalize the subscription. Maybe this is exactly what we should not have done but we did . The result was that
production stopped because of the first part of the replication to dump all the tables and make new empty ones. The problem is that this does not seem a good idea for a slow connection between 2 machines. Better would be that we could just restart the replication
from a backup but as far as I know this is not possible.
So my question is now what can we do to speed up the replication if there is no way that we can improve the line quality. (One server is in NL and the other in CN, and as everybody know there is the great big firewall in Bejing which controlls all the internet
traffic. )
Is there a way to prevent replication from emptying the tables and fill them again.
Many thanks Peter KaldenbergI know that probably there is a problem with our firewalls but the fact remains that we are facing with slow connections so I ques what can we do at SQL level to speed replication or better not to have to do bulk copy over the net. In-fact why does SQL not
use some kind of delta protocol. When only data is involved this should work. Of course when the layout of tables has been changed then it makes sense the tables has to be rebuild but not for data.
Maybe a solution could be to use check-sum checking and only update these records which are different and of course add the missing once.
Additional why does the replication not give information how far the bulk copy is at least then the user knows its still working. Now what ever setting I change after 10 min the replication does not give any useful information. Which results in that the
user is thinking that the replication does not work anymore.
What about 3rd party replication tools are they any better?
Peter -
Second line with BT Broadband, first line broadban...
Hi
My first line was with BT but I went over to Sky and I was receiving 4.6MB /667 after much problems at first it settled down to this. As they was a few using the line, I had a second line fitted by BT and had broadband 10GB 20GB they est. 4MB, ok at first it came on and after test it stabled at 3.5Mb, then the first line played up the broadband dropped down and now is sitting at between 2.8MB / 776. The second line has also drop to 2.6/ 448. Bt help said to have the master socket moved to cut out any extension so I did and that cost me £150, it hasn't help at I am connected filter into the Master box. I have contract Sky twice over the matter and they said the BT engineer who came to connected the new line must had done something to they line as they can't get the modem to connect and high then 3Mb. The New BT line was a new line from the box outside my building. Sky was also saying have the master socket moved to cut out the extensions Extension they put in for the Sky TV boxes.
Just feel like I am being capped because I have two phones lines .
Here are detalis from the second line BBH3
Line state: Connected
Connection time: 0 day, 01:01:12
Downstream: 2,720 Kbps
Upstream: 416 Kbps
ADSL settings
VPI/VCI: 0/38
Type: PPPoA
Modulation: G.992.1 Annex A
Latency type: Interleaved
Noise margin (Down/Up): 15.5 dB / 7.0 dB
Line attenuation (Down/Up): 47.0 dB / 29.5 dB
Output power (Down/Up): 18.2 dBm / 12.5 dBm
FEC Events (Down/Up): 7 / 0
CRC Events (Down/Up): 0 / 0
Loss of Framing (Local/Remote): 0 / 0
Loss of Signal (Local/Remote): 0 / 0
Loss of Power (Local/Remote): 0 / 0
Loss of Link (Remote): 0
HEC Errors (Down/Up): 0 / 0
Error Seconds (Local/Remote): 0 / 0
First line with SKy
ROUTER STATUS
Firmware Version
SKY_2.04
ADSL PortMAC AddressIP AddressNetwork TypeIP Subnet MaskGateway IP AddressDomain Name Server
F0:7D:68:64:95:99
2.223.43.102
MER
255.255.255.192
2.223.43.126
90.207.238.97
LAN PortMAC AddressIP AddressDHCPIP Subnet Mask
F0:7D:68:64:95:96
192.168.0.1
On
255.255.255.0
ModemADSL Firmware VersionModem StatusDownStream Connection SpeedUpStream Connection SpeedVPIVCI
A2pD030i.d22k
ADSL Link Up
2842
796
0
40
Sky are saying I need to go throught BT to have the master socket of the first line moved.you have two very similar lines with different suppliers one onADSLMAX up to 8mb service BT the other is an LLU service different technologies
sky's suggestion of moving the first lines master moved is rubbish and just going to cost you money for no good reason
you are not being capped because you have two lines
your noise margin on your BT line is higher than normal if you maintain 3 days stable connection then you can get the forum mods to reset your noise margin to the default 6 this will improve your speed however the sky line is down to them as are any repairs regarding broadband on it
If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’ -
Problem with creating a straight line with polygamo lasso
I am having a problem with polygamo lasso. when i create a triangle or a rechtangle in straight line it is turn out the line become not straight. I don't what did i wrong, was always working fine till today. YOu can see the pic the top line lookslike a step.
Ihope I did right, was not sure how to save as channel.
-
Email attachment with .txt file (first line blank in the file)
Hi all ,
Iam trying attach .txt file to email , the file that iam accessing from server . But first line blank (extra) even though i dont have blank line in original file .Can any help me out to resolve this issue?
<u>Example</u> original file
12345 aa pq
<u>Email attachment file</u>
-> This line
12345 aa pq
This is my code:
REPORT ZTEST_FILE .
DATA:BEGIN OF t_upload occurs 0,
matnr LIKE zwplcsmev-matnr,
zwgehrrg LIKE zwplcsmev-zwgehrrg,
zwgehrct LIKE zwplcsmev-zwgehrct,
zwgbev LIKE zwplcsmev-zwgbev,
zwpldt LIKE zwplcsmev-zwpldt,
zwacdt LIKE zwplcsmev-zwacdt,
END OF t_upload.
*DATA: maildata type sodocchgi1.
*DATA: mailtxt type table of solisti1 with header line.
*DATA: mailrec type table of somlrec90 with header line.
DATA: it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA:REC(80) TYPE C.
DATA g_mask(20) TYPE c VALUE ',., ..'.
DATA: it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA:P_ERROR(3).
DATA:P_REFO(3).
DATA: gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
DATA: t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
w_cnt TYPE i,
w_sent_all(1) TYPE c,
w_doc_data LIKE sodocchgi1.
selection-screen begin of block b1 with frame title text-001.
parameters:p_file type localfile.
parameter:p_email type ad_smtpadr.
selection-screen end of block b1.
--At Selection-Screen- -
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'TB_LIMIT_WS_FILENAME_GET'
EXPORTING
def_filename = p_file
mask = g_mask
mode = 'S'
title = 'INPUT FILE'
IMPORTING
filename = p_file
EXCEPTIONS
selection_cancel = 1
selection_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
START-OF-SELECTION.
PERFORM process_file.
if p_error = 'X' AND P_REFO <> 'X'.
PERFORM populate_message_body.
ENDIF.
IF P_REFO = 'X' AND P_ERROR <> 'X'.
it_message = 'Please find Attached file'.
APPEND it_message.
PERFORM send_attachment tables it_message
it_attach
using p_email
'Crest to Plc Data'
'TXT'
p_file
changing gd_error
gd_reciever.
ENDIF.
Instructs mail send program for SAPCONNECT to send email(rsconn01)
PERFORM initiate_mail_execute_program.
END-OF-SELECTION.
*& Form process_file
text
FORM process_file.
*CONSTANTS: con_cret TYPE x VALUE '0D', "OK for non Unicode
con_tab TYPE x VALUE '09'. "OK for non Unicode
DATA :l_path TYPE string.
l_path = p_file.
CONSTANTS: con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB
con_cret type c value cl_abap_char_utilities=>newline.
OPEN DATASET P_FILE FOR INPUT IN TEXT MODE encoding default.
if sy-subrc = 0.
do.
read dataset p_file into IT_ATTACH.
IF SY-SUBRC NE 0 .
EXIT.
ELSE.
T_UPLOAD = IT_ATTACH.
CONCATENATE con_cret it_attach INTO it_attach .
append it_attach.
clear it_attach.
P_REFO = 'X'.
APPEND T_UPLOAD .
clear t_upload.
ENDIF.
ENDDO.
else.
p_error = 'X'.
ENDIF.
ENDFORM. "process_file
*& Form populate_message_body
text
FORM populate_message_body.
w_doc_data-obj_name = 'TEST'.
w_doc_data-obj_descr = 'Crest to Plc Data'.
w_doc_data-obj_langu = sy-langu.
it_message = 'File Not Found'.
APPEND it_message.
t_receivers-receiver = p_email.
t_receivers-rec_type = 'U'.
append t_receivers.
call function 'SO_NEW_DOCUMENT_SEND_API1'
exporting
document_data = w_doc_data
document_type = 'RAW'
put_in_outbox = 'X'
tables
object_header = it_message
object_content = it_message
receivers = t_receivers
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
if sy-subrc = 0.
commit work.
SUBMIT rsconn01 USING SELECTION-SET 'SAP&CONNECTINT' AND RETURN.
else.
MESSAGE s027(vv) WITH 'E-mail not sent'.
endif.
ENDFORM. "populate_message_body
*& Form send_attachment
text
FORM send_attachment tables pit_message
pit_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
w_doc_data-doc_size = 1.
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = pit_attach[].
clear t_attachment.
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
if sy-subrc = 0.
commit work.
SUBMIT rsconn01 USING SELECTION-SET 'SAP&CONNECTINT' AND RETURN.
else.
MESSAGE s027(vv) WITH 'E-mail not sent'.
endif.
Populate error return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM. "send_attachmentJust copy the code below and execute . I just checked and found the exact values on attachment with no blank lines. This is more simple than the one u have written , just include ur data upload logic . For ITAB values to be attached i have written a simple logic to retrive from EKPO. Just copy this code and execute. u will understand then.
I understand that ur initial requirement was to attach the file directly and not to upload and attach. If u still want to go for the old requirement then check out the code(2nd program of the two that i have sent) that i have sent u on ur previous post.
REPORT ZEMAIL_ATTACH .
TABLES: ekko.
PARAMETERS: p_email TYPE somlreci1-receiver
DEFAULT '[email protected]'.
TYPES: BEGIN OF t_ekpo,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
END OF t_ekpo.
DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
wa_ekpo TYPE t_ekpo.
TYPES: BEGIN OF t_charekpo,
ebeln(10) TYPE c,
ebelp(5) TYPE c,
aedat(8) TYPE c,
matnr(18) TYPE c,
END OF t_charekpo.
DATA: wa_charekpo TYPE t_charekpo.
DATA: it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
w_cnt TYPE i,
w_sent_all(1) TYPE c,
w_doc_data LIKE sodocchgi1,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
*START_OF_SELECTION
START-OF-SELECTION.
Retrieve sample data from table ekpo
PERFORM data_retrieval.
Populate table with detaisl to be entered into .xls file
PERFORM build_TXT_data_table.
*END-OF-SELECTION
END-OF-SELECTION.
Populate message body text
perform populate_email_message_body.
Send file by email as .TXT speadsheet
PERFORM send_file_as_email_attachment
tables it_message
it_attach
using p_email
'Example .TXT documnet attachment'
'TXT'
'filename'
changing gd_error
gd_reciever.
Instructs mail send program for SAPCONNECT to send email(rsconn01)
PERFORM initiate_mail_execute_program.
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
FORM data_retrieval.
SELECT ebeln ebelp aedat matnr
UP TO 10 ROWS
FROM ekpo
INTO TABLE it_ekpo.
ENDFORM. " DATA_RETRIEVAL
*& Form BUILD_TXT_DATA_TABLE
Build data table for .txt document
FORM build_txt_data_table.
CONSTANTS: con_cret TYPE x VALUE '0D', "OK for non Unicode
con_tab TYPE x VALUE '09'. "OK for non Unicode
*If you have Unicode check active in program attributes thnen you will
*need to declare constants as follows
*class cl_abap_char_utilities definition load.
*constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
con_cret type c value cl_abap_char_utilities=>CR_LF.
CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
INTO it_attach SEPARATED BY SPACE . "con_tab.
CONCATENATE con_cret it_attach INTO it_attach." Use this if req.
APPEND it_attach.
LOOP AT it_ekpo INTO wa_charekpo.
CONCATENATE wa_charekpo-ebeln wa_charekpo-ebelp
wa_charekpo-aedat wa_charekpo-matnr
INTO it_attach SEPARATED BY SPACE ."con_tab.
CONCATENATE con_cret it_attach INTO it_attach." Use this if req.
APPEND it_attach.
ENDLOOP.
ENDFORM. " BUILD_txt_DATA_TABLE
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM send_file_as_email_attachment tables pit_message
pit_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = pit_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
*& Form INITIATE_MAIL_EXECUTE_PROGRAM
Instructs mail send program for SAPCONNECT to send email.
FORM initiate_mail_execute_program.
WAIT UP TO 2 SECONDS.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDFORM. " INITIATE_MAIL_EXECUTE_PROGRAM
*& Form POPULATE_EMAIL_MESSAGE_BODY
Populate message body text
form populate_email_message_body.
REFRESH it_message.
it_message = 'Please find attached a list test ekpo records'.
APPEND it_message.
endform. " POPULATE_EMAIL_MESSAGE_BODY
execute this code and i hope that will help u.
regards,
Barath. -
Problem with CDATA and new line character
I parse a xml document with org.w3c.dom, the document contain a CDATA section in which there are more lines of text, each line is terminated with the new line character (\n).
Example:
<nota>
<[CDATA[
first line
second line
third line
]]>
</nota>
When a parse this node:
Text txt_nota=(Text)elm_nota.getFirstChild();
String nota=txt_nota.getData();
the value returned is one string with no new line characters, example:
"first linesecond linethird line"
what's wrong?Because i use the string nota into a jsp page and i print the string nota into a textarea and the text is with no newline, example:
<textarea name="nota" rows="4" cols="60"><%= nota %></textarea>
the text into textarea is:
first linesecond linethird line
but i want that the text displayed into textarea is equal the text into the CDATA section:
first line
second line
third line -
Problem with templates in Dreamweaver...
I'm using Dreamweaver 8 and here is my dilema... Originally I
had my
template named something different. I changed the name of the
template and
now my other pages that run off that template wont work
because of this
code...
<html><!-- InstanceBegin
template="/Templates/index2.dwt"
codeOutsideHTMLIsLocked="false" -->
<head>
I obviously changed the name of the template so it is no
longer index2.dwt.
The problem is is that this code doesn't actually show up in
the template
itself it shows up in the pages that are using that template.
I want to
know how I go about changing this bit of code in all my pages
that use the
template without having to do it by hand. There must be an
easy way?
Thanks!
Chris JumonvilleGood luck!
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
==================
"Chris Jumonville" <[email protected]> wrote in
message
news:[email protected]...
> Murray,
>
> Nope, I messed up. I accidently changed the name of the
file without
> doing it in Dreamweaver so that is my fault. Thanks for
the useful
> information about the find and replace feature. I didn't
know it would be
> able to do it in the template is the files were closed.
I think I tried
> it while they were open and that is why it didn't work.
Easy fix and I
> just took care of it! Thanks!
>
> -Chris
>
> "Murray *ACE*" <[email protected]>
wrote in message
> news:[email protected]...
>>> I did try remanimg the template from index2.dwt
to my new template name
>>> and for some reason Dreamweaver didn't handle
the rest.
>>
>> Did you do this by selecting the file in the Files
panel, and renaming it
>> there? DW will handle the link management if you do
that.
>>
>>> I didn't know if the find and replace feature
would work since that code
>>> in all the pages using the template is locked...
>>
>> If the file is closed, DW will change the code, even
in locked regions.
>>
>> --
>> 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
>> ==================
>>
>>
>> "Chris Jumonville" <[email protected]>
wrote in message
>> news:[email protected]...
>>> Murray,
>>>
>>> I did try remanimg the template from index2.dwt
to my new template name
>>> and for some reason Dreamweaver didn't handle
the rest. I use templates
>>> alot so I think it may just have been a glitch
and maybe I just needed
>>> to close and restart dreamweaver because now
it's working fine. I
>>> didn't know if the find and replace feature
would work since that code
>>> in all the pages using the template is locked...
>>>
>>> -Chris
>>>
>>> "Murray *ACE*"
<[email protected]> wrote in message
>>> news:[email protected]...
>>>>> There must be an easy way?
>>>>
>>>> There are several ways to do this, but the
easiest would be to close
>>>> all files in DW, and then do a sitewide
search to find
>>>> "/Templates/<name>.dwt" and replace it
with "/Templates/index2.dwt".
>>>>
>>>> You could also just rename (using the files
panel) the template from
>>>> "/Templates/index2.dwt" to
"/Templates/<name>.dwt", and let DW handle
>>>> the details.
>>>>
>>>>
>>>> --
>>>> 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
>>>> ==================
>>>>
>>>>
>>>> "Chris Jumonville"
<[email protected]> wrote in message
>>>> news:[email protected]...
>>>>> I'm using Dreamweaver 8 and here is my
dilema... Originally I had my
>>>>> template named something different. I
changed the name of the
>>>>> template and now my other pages that run
off that template wont work
>>>>> because of this code...
>>>>>
>>>>> <html><!-- InstanceBegin
template="/Templates/index2.dwt"
>>>>> codeOutsideHTMLIsLocked="false" -->
>>>>> <head>
>>>>>
>>>>> I obviously changed the name of the
template so it is no longer
>>>>> index2.dwt. The problem is is that this
code doesn't actually show up
>>>>> in the template itself it shows up in
the pages that are using that
>>>>> template. I want to know how I go about
changing this bit of code in
>>>>> all my pages that use the template
without having to do it by hand.
>>>>> There must be an easy way?
>>>>>
>>>>> Thanks!
>>>>> Chris Jumonville
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
> -
Problem with "carriage Return" or "Line Feed" in a table
Hello,
I need help with the function Zeichen(), so called it in german, I'm not sure if it is char() in english.
In Pages Version 4.0.1 (746) I've created a table in Pages with this function to make an "carriage Return" in a cell.
Here an example: { ="Hello" & Zeichen(10) & "World" }, in the cell is now:
| Hello |
| World |
But in Pages Version 4.0.3 (766) this function ZEICHEN() not allow the number 10 and other till 32 (I allready read the manual and understand this problem).
Anybody an idea to make a "Carriage Return" or "Line feed" in a formular, in a cell, in a table, in Pages?
Thanks
Detlev Kormannkdetlev wrote:
Your workaround will not be possible in my table, because there is no empty cell in the table, but I think it is also a good help too.
*In fact I forgot that you are using a table in Pages.*
Remaining on my first idea, In Numbers we may achieve the same goal using an auxiliary table with a single cell containing the needed line break.
If this table is named "LineBreak",
the formula will be:
="Hello"&LineBreak :: $A$1&"World"
*In Pages, here is my workaround:*
Enter the cell
type a§b
don't type the character § but ctrl + return.
The cell will contain
a
b
with the arrow, move before the a
type =B2&"
delete the original a
move to the right
delete the original b
type "&C7
Yvan KOENIG (VALLAURIS, France) mercredi 7 octobre 2009 17:20:04 -
Noob Question: Problem with Persistence in First Entity Bean
Hey folks,
I have started with EJB3 just recently. After reading several books on the topic I finally started programming myself. I wanted to develop a little application for getting a feeling of the technology. So what I did is to create a AppClient, which calls a Stateless Session Bean. This Stateless Bean then adds an Entity to the Database. For doing this I use Netbeans 6.5 and the integrated glassfish. The problem I am facing is, that the mapping somehow doesnt work, but I have no clue why it doesn't work. I just get an EJBException.
I would be very thankfull if you guys could help me out of this. And don't forget this is my first ejb project - i might need a very detailed answer ... I know - noobs can be a real ....
So here is the code of the application. I have a few methods to do some extra work there, you can ignore them, there are of no use at the moment. All that is really implemented is testConnection() and testAddCompany(). The testconnection() Methode works pretty fine, but when it comes to the testAddCompany I get into problems.
Edit:As I found out just now, there is the possibility of Netbeans to add a Facade pattern to an Entity bean. If I use this, everythings fine and it works out to be perfect, however I am still curious, why the approach without the given classes by netbeans it doesn't work.
public class Main {
private EntryRemote entryPoint = null;
public static void main(String[] args) throws NamingException {
Main main = new Main();
main.runApplication();
private void runApplication()throws NamingException{
this.getContext();
this.testConnection();
this.testAddCompany();
this.testAddShipmentAddress(1);
this.testAddBillingAddress(1);
this.testAddEmployee(1);
this.addBankAccount(1);
private void getContext() throws NamingException{
InitialContext ctx = new InitialContext();
this.entryPoint = (EntryRemote) ctx.lookup("Entry#ejb.EntryRemote");
private void testConnection()
System.err.println("Can Bean Entry be reached: " + entryPoint.isAlive());
private void testAddCompany(){
Company company = new Company();
company.setName("JavaFreaks");
entryPoint.addCompany(company);
System.err.println("JavaFreaks has been placed in the db");
}Here is the Stateless Session Bean. I added the PersistenceContext, and its also mapped in the persistence.xml file, however here the trouble starts.
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
@Stateless(mappedName="Entry")
public class EntryBean implements EntryRemote {
@PersistenceContext(unitName="PersistenceUnit") private EntityManager manager;
public boolean isAlive() {
return true;
public boolean addCompany(Company company) {
manager.persist(company);
return true;
public boolean addShipmentAddress(long companyId) {
return false;
public boolean addBillingAddress(long companyId) {
return false;
public boolean addEmployee(long companyId) {
return false;
public boolean addBankAccount(long companyId) {
return false;
}That you guys and gals will have a complete overview of whats really going on, here is the Entity as well.
package ejb;
import java.io.Serializable;
import javax.persistence.*;
@Entity
@Table(name="COMPANY")
public class Company implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
@Column(name="COMPANY_NAME")
private String name;
public Long getId() {
return id;
public void setId(Long id) {
this.id = id;
public String getName() {
return name;
public void setName(String name) {
this.name = name;
System.err.println("SUCCESS: CompanyName SET");
@Override
public int hashCode() {
int hash = 0;
hash += (id != null ? id.hashCode() : 0);
return hash;
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
if (!(object instanceof Company)) {
return false;
Company other = (Company) object;
if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
return false;
return true;
@Override
public String toString() {
return "ejb.Company[id=" + id + "]";
}And the persistence.xml file
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
<persistence-unit name="PersistenceUnit" transaction-type="JTA">
<provider>oracle.toplink.essentials.PersistenceProvider</provider>
<jta-data-source>jdbc/sample</jta-data-source>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<property name="toplink.ddl-generation" value="create-tables"/>
</properties>
</persistence-unit>
</persistence>And this is the error message
08.06.2009 10:30:46 com.sun.enterprise.appclient.MainWithModuleSupport <init>
WARNUNG: ACC003: Ausnahmefehler bei Anwendung.
javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: Transaction aborted; nested exception is: javax.transaction.RollbackException: Transaktion für Zurücksetzung markiert.; nested exception is:
javax.transaction.RollbackException: Transaktion für Zurücksetzung markiert.
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: Transaction aborted; nested exception is: javax.transaction.RollbackException: Transaktion für Zurücksetzung markiert.; nested exception is:
javax.transaction.RollbackException: Transaktion für Zurücksetzung markiert.
at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:243)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:205)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
at ejb.__EntryRemote_Remote_DynamicStub.addCompany(ejb/__EntryRemote_Remote_DynamicStub.java)I spend half the night figuring out whats wrong, however I couldnt find any solution.
If you have any idea pls let me know
Best regards and happy coding
Taggert
Edited by: Taggert_77 on Jun 8, 2009 2:27 PMWell I don't understand this. If Netbeans created a Stateless Session Bean as a facade then it works -and it is implemented as a CMP, not as a BMP as you suggested.
I defenitely will try you suggestion, just for curiosity and to learn the technology, however I dont have see why BMP will work and CMP won't.
I also don't see why a stateless bean can not be a CMP. As far as I read it should not matter. Also on the link you sent me, I can't see anything related to that.
Maybe you can help me answering these questions.
I hope the above lines don't sound harsh. I really appreciate your input.
Best regards
Taggert -
CS3 AE: Problem with Template!
I purchased a set of templates for After Effects…they appear to be precisely what I need what there is a strange problem.
There are 14 slots on the timeline but number one repeats! The first image repeats at around 32 seconds...thus creating 15 images total. I have been struggling for two days with this...I assumed that I had inadvertently done something to the template. However, I played the preview video and it does the same thing! The template is perfect for my needs but the repeating image is totally frustrating. To state the problem another way…what image you put in the first slot repeats at about 32 seconds. I suppose I could just chop the end off but that would mean throwing away 25% of the template. And besides, I am just too darned stubborn to give up.
I am less than an expert with AE...I have tried looking in the flowchart to see if I can figure out what is happening but with no luck.
If you could look at this I would you my every lasting thanks:
Instructions: http://www.box.net/shared/19aern6tg585431svnhf
Template: http://www.box.net/shared/ydvp6i26u4ldarzry6v6
Preview: http://www.box.net/shared/jksk51kyu9qg5vikf5ac
These do not contain viruses…but you may want to run your AV on them to be sure.
Thank you. Thank you.The first thing to do is look at the Edit Comps Image 01 in the Project Panel. You'll see that it's used 2 times. Right click on the comp and it will reveal the two comps that it's used in.
Now check out layer 7 in the Comp1 precomp. That's where all of the animation takes place. There's the second copy of the pre-comp where image 1 is used. There's an error in the template. You could easily fix it by duplicating one of the Image precomps and dropping a new image in it, then replacing Image one in Image 01 Precomp Final 2. -
Problems with templates in DW MX 2004
As the subject line states, I'm using Dreamweaver MX 2004.
The problem is, I haven't made any updates to my site for a few
months, but the last time I did make an update, the templates were
working fine. Now when I go to make an edit to one of the
templates, the change doesn't propagate to any of the pages based
on that template (messages suggest that Dreamweaver can't find the
template files, but the path to the templates is correct, and the
templates subdirectory is intact with the templates still there as
they always have been. It's like the pages have spontaneously lost
all connections to the templates, but not 'really' since the pages
still recognize editable and noneditable regions specified by the
templates. Can someone please help?!? I'm getting a little
desperate at this point to understand what's going on.
(otherwise I'll be forced to remove templates from pages,
which will cause me ALOT of time and work, and introduce the
potential for alot of error when updating pages consistently.)
ThanksDo changes to other templates work on this site? Do they work
on other
sites?
Here are seven common mistakes that will result in changes
not propagating
from Template to child -
1. Rename the Templates folder
2. Move the Templates folder to some other folder level in
the site other
than root level
3. Move a template out of the Templates folder.
4. Make changes to an editable region of the template (which
will not
propagate)
5. Assume that template changes can be uploaded to the server
without also
uploading the changed local files
6. Corrupt the site cache so that the link between template
and child page
is broken
7, Improperly create your child pages by simply opening the
template,
adding page specific content, and resaving the template with
an *.html
extension rather that its *.dwt extension. (you can tell if
this is the case
by looking at the code on a child page - if you see anything
like <!--
TemplateBeginEditable... then this is what you have done). If
you *have
done this*, then recreate the child pages (in DWCS3) using
FILE | New > Page
from Template, select the template and click CREATE.
The 6th problem can be repaired by using SITE | Advanced >
Recreate Site
Cache, and the six others can be fixed by just not doing
them. Have you
done any of those?
Or, read this -
http://www.adobe.com/go/dd83ba8b
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"frostdawn" <[email protected]> wrote in
message
news:[email protected]...
> As the subject line states, I'm using Dreamweaver MX
2004. The problem is,
> I
> haven't made any updates to my site for a few months,
but the last time I
> did
> make an update, the templates were working fine. Now
when I go to make an
> edit
> to one of the templates, the change doesn't propagate to
any of the pages
> based
> on that template (messages suggest that Dreamweaver
can't find the
> template
> files, but the path to the templates is correct, and the
templates
> subdirectory
> is intact with the templates still there as they always
have been. It's
> like
> the pages have spontaneously lost all connections to the
templates, but
> not
> 'really' since the pages still recognize editable and
noneditable regions
> specified by the templates. Can someone please help?!?
I'm getting a
> little
> desperate at this point to understand what's going on.
>
> (otherwise I'll be forced to remove templates from
pages, which will cause
> me
> ALOT of time and work, and introduce the potential for
alot of error when
> updating pages consistently.)
>
> Thanks
>
Maybe you are looking for
-
Error in running DME - No advice number
Hi, Seeking experts help as I ran into some issues in DME. got to do a immediate fix. When I ran DME (RFFOUC_T ) for the Pymt method P ( Bnk Trasfers). First I got a popup to provide printer details - DME accompanying sheet - Bnk ID When I insert out
-
Every time I try to use my sync account, it informs me that "Sync encountered an error while connecting: Incorrect account name or password. Please try again." I tried changing my password. I even made a new account. It still does the same thing.
-
Need to call webservice WSDL directly from Java code
Hi All, I hope u all are doing great. I am new to web services and i have a requirement where i need to call the webservice directly from the java code, we dont need any middle layer(via proxy n all). Can you all please help me on this, we are using
-
KB installation stuck in "Pending Verification" and "Waiting to Install"
Hi All Recently we deployed some MS patches to some machine, though most of the machines have got them installed successfully there is a machine showing few KBs as "Waiting to Install" and one KB as "Pending Verification". [Screen Shot below] I think
-
Delimiting Cost Centre and Delimiting Company Code
Hi Team, There is a business scenario I want to discuss and get your opinions; A Country's Currency is changing from 01012009; I am getting stuck when I reach the cost Centres. When i come to Cost Centre, is there a way where I can modify the Currenc