Setting Element in Container
I am using the folloiwng code to set elements in a workflow container then triggering an event. The workflow is being triggered and the container is being created but my elements are not being set. Can someone see the error in my code?
include
<cntn01>.
DATA Container
define swc_container.
data begin of &1 occurs 0.
include structure swcont.
data end of &1.
end-of-definition.
swc_container chkreq.
swc_create_container chkreq.
BREAK-POINT.
checkkey = zcheckrequest-belnr.
object_key = checkkey.
chkreq = zcheckrequest-belnr.
swc_set_element chkreq 'PurchaseType' zreqtype.
swc_set_element chkreq 'subspubsnumber' znumber.
call function 'SWE_EVENT_CREATE'
exporting
objtype = 'ZREQCHECK'
objkey = object_key
event = 'park'
tables
event_container = chkreq.
commit work.
CLaudio,
I did a debug on the program to see the container elements and they appear to be populated. But when the workflow starts, the container is empty. See the bold items below. Those are the values that I am expecting to see but they are not set in the workflow container.
Table CHKREQ
Table Type Standard Table[9x5(297)]
LineELEMENT[C(32 )]TAB_INDEX[N(6 )]ELEMLENGTH[N(3 )]TYPE[C(1 )]VALUE[C(255 )]
VENDOR 000000 010 C
1 AUTHPURCHASE 000000 001 C
2 CONSULTANT 000000 001 C
3 DATASYSTEM 000000 001 C
4 EMPMORALE 000000 001 C
5 FISCYR 000000 004 N 2010
6 FOOD 000000 001 C
7 PURCHASETYPE 000000 005 C RFC
8 SUBSPUBSNUMBER 000000 005 N 00041
9 VENDOR 000000 010 C
Similar Messages
-
i am trying to create a login at the top of a page, where it
will say "Welcome Guest! Not a guest? Sign in here." i inserted a
login table, and tried using it, and it didnt work at all. i used
the behaviors>Set text>set text of container. so when you
click on that text, it changes the text, to the login box. I
inserted the html, and it doesnt work at all. what is going on
here?
thank you.<div align="left" id="toplogin"
onclick="MM_setTextOfLayer('toplogin','','<form
You can only rely on events applied to anchor tags, not to
other page
elements.
Try this code, please -
<div align="left" id="toplogin"><a href="#"
onclick="MM_setTextOfLayer('toplogin','','<form
action="
http://pub20.bravenet.com/passwd/show.php"
method="post" onsubmit="if
(this.checker.checked)
toMem(this)">\n <input
type="hidden"
name="usernum"
value="1706419139" />\n <input
type="hidden" name="cpv"
value="" />\nUser
ID:<strong>\n<input
name="uname" type="text"
style="border: 1px solid #cccccc; width:
100px"
value="Username"
size="15" maxlength="254"
/></strong><span
class="style1">Password:</span><strong><span
class="style4">\n<input
name="passwd"
type="password" style="border: 1px
solid #cccccc; width:
100px;" value="Password"
size="15"
maxlength="254" /><input
type="checkbox"
id="checker"
name="checker"
/>\n</span></strong><span
class="style1"
onfocus="MM_popupMsg(\'Remember Me (Don\'t check if
you are using a
public computer)\')">[?]</span>
<strong>\n<input
type="submit"
name="submit3" value="Login"
style="width: 45px;" />
<input
type="button"
onclick="delMem(this)" value="Forget
Me">\n</form>');return
false">Welcome Guest! Not a guest? Sign
in here</a>.</div>
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
==================
"future-architect" <[email protected]> wrote
in message
news:[email protected]...
> the website address is
http://www.talkitup4free.com/test2 -
Set Text of Container to HTML not working
I have a div tag named "theAnswer" on a page. When the user
clicks the "Submit" button, I want some text to appear inside the
div that has HTML formatting.
The HTML code for the text I want to appear is below:
You are correct! We are committed to conducting
business with
the highest degree of integrity, complying with legal
standards and
regulations and serving others with respect, fairness and
caring. Click here for <a
href="javascript:;"
onClick="MM_openBrWindow('../docs/
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=575')">More
Info</a> or click Continue.
After I put in the Behavior to "Set Text > Set Text of
Container to", choose the correct Div tag, and paste the above into
the "New HTML" field, when I click the Submit button, I get the
following appearing in the div "theAnswer" exactly how it appears
below as text without it being actual formatted HTML.
You are correct! We are committed to conducting
business with
the highest degree of integrity, complying with legal
standards and
regulations and serving others with respect, fairness and
caring. Click here for <a
href="javascript:;"
onClick="MM_openBrWindow('../docs/
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=575')">More
Info</a> or click Continue.
It's not formatted as HTML, it just comes out exactly what
the coding is. Why?!Let's see the page, please.
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
==================
"Jim Rehmann" <[email protected]> wrote in
message
news:g6a3in$dv4$[email protected]..
>I have a div tag named "theAnswer" on a page. When the
user clicks the
> "Submit" button, I want some text to appear inside the
div that has HTML
> formatting.
>
> The HTML code for the text I want to appear is below:
>
> You are correct! We are committed to
conducting business with
> the highest degree of integrity, complying with legal
standards and
> regulations and serving others with respect, fairness
and
> caring. Click here for <a
href="javascript:;"
> onClick="MM_openBrWindow('../docs/
>
>
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=57?5')"
>>More
> Info</a> or click Continue.
>
>
> After I put in the Behavior to "Set Text > Set Text
of Container to",
> choose
> the correct Div tag, and paste the above into the "New
HTML" field, when I
> click the Submit button, I get the following appearing
in the div
> "theAnswer"
> exactly how it appears below as text without it being
actual formatted
> HTML.
>
>
> You are correct! We are committed to
conducting business with
> the highest degree of integrity, complying with legal
standards and
> regulations and serving others with respect, fairness
and
> caring. Click here for <a
href="javascript:;"
> onClick="MM_openBrWindow('../docs/
>
>
Ethics_Standard_1.pdf','','scrollbars=yes,resizable=yes,width=790,height=57?5')"
>>More
> Info</a> or click Continue.
>
> It's not formatted as HTML, it just comes out exactly
what the coding is.
> Why?!
>
> -
How to set alert mail contain SQL text activities
How to set alert mail contain SQL text activities.
In "Notification Templates" topic have no Available Tags about sql text. Can I send mail alert with SQL text?it should be text/plain, for a complete list refer
http://www.freeformatter.com/mime-types-list.html
Regards. -
How do I GET the 'set text of container' behavior in DW CS3 if it's missing?
I'm building a site using CSS in DW CS3 (bought in May 2006) that has some photo gallery pages where a large image changes per thumbnails to its right that are clicked. The thumbnails are in their divs and the wished-for big image should appear in a larger div to the left. I've read in other postings here that I can use Behaviors panel > Set Text > Set text to container to do this, but this behavior is missing in my Set Text submenu. How do I add this behavior there?
Also, how do I not only create this 'on click' behavior, but have the thumbnail image change to a 'HIT' state like a rollover would?
(P.S. - posted this yesterday, slightly different heading, but it didn't appear today)
Thanks for your help --Check this location in windows C:\Program Files\Adobe\Adobe Dreamweaver CS5\configuration\Behaviors\Actions\Set Text
If this Set Text folder is not there it means that the behavior did not get installed. So you might need to reinstall DW CS3. -
Set text of container in DW CS3
I'm building a site using CSS in DW CS3 (bought in May 2006) that has some photo gallery pages where a large image changes per thumbnails to its right that are clicked. The thumbnails are in their divs and the wished-for big image should appear in a larger div to the left. I've read in other postings here that I can use Behaviors panel > Set Text > Set text to container to do this, but this behavior doesn't appear in my Set Text submenu. How do I add this behavior there?
Also, how do I not only create this 'on click' behavior, but have the thumbnail image change to a 'HIT' state like a rollover would?
Thanks for your help --Check this location in windows C:\Program Files\Adobe\Adobe Dreamweaver CS5\configuration\Behaviors\Actions\Set Text
If this Set Text folder is not there it means that the behavior did not get installed. So you might need to reinstall DW CS3. -
How to restore image after Set Text of Container behavior
Hi there, I'm not sure how to apply the Set Text of Container behavior. Basically, when I mouse over an image, I want a larger version of the image with decription text to appear. I also want to restore the original image without text on mouse out.
I want the larger image and its text to appear in the exact location of the original image not anywhere else on the page. Here's an example what I've done to try and achieve the effect:-
1. Create a div and insert image in it.
2. Select the image and Set Text of Container behavior. Under the Set Text of Container dialog box, select the div that the image is in (e.g. div "apdiv1") and type in the New HTML - For example: <img src="largerimage.jpg"><span id="apdiv1">image description</span>
3. Set the event to mouseover
I do not know how to proceed to restore the original image without text when I mouse out. I know I’m doing something wrong to achieve this effect but I can’t figure out what it is. Your help is greatly appreciated!Use CSS Disjointed Rollovers.
http://alt-web.com/DEMOS/CSS-Disjointed-Image-Rollover.shtml
http://alt-web.com/DEMOS/CSS-Disjointed-Rollover-1.shtml
http://alt-web.com/DEMOS/CSS-Disjointed-Rollover-2.shtml
http://alt-web.com/DEMOS/CSS-Disjointed-Rollover-3.shtml
Nancy O.
THANK YOU NANCY It worked perfectly!
THANKS GRAMPS! -
Can links inside "set text of container" behaviours open in a new page?
I am using the set text of container behaviour to show different information within the same page, to keep things neat and simple to navigate. Some of the text needs to be external links, but they open in the current page, not a new page even though I have set the target to _blank.
Is there another way to keep using the set text of container and have the links open in another page?
thanks!
Using CS6 on Macbook Pro 2.6Ghz OSX10.8gryffun wrote:
Well, after some further google searches, I'll answer my own question...
selecting the link inside the set text of container and adding a behaviour to it - "open in browser" will make the link open in a new window.
Or ading target="_blank" to each link will do the same -
"Set text of container" behavior crashes Dreamweaver! (CS3)
When I try to change pages which use the "Set text of
container" behavior it
crashes DW-CS3. The dialog which used to come up first shows
a series of
asterisks in the drop-down for the container selected, and
the CPU does
overtime for about a minute before the correct values appear.
If I change
any values and OK it, then CPU starts using over 90% on DW
and nothing
happens until I force a shut-down (I've left it running for
over 15 mins!)
I have tried setting up a new "Set text of container"
behavior and the same
thing happens.Oh it truly needs work...
http://www.jackbooks.com/Wystan/Regional/Regionalism.htm
Even on a simple new page with a couple of divs this
behaviour is now very
slow and the line of asterisks comes up while waiting for the
dialog to
load. What has changed? How can a simple behaviour be now so
demanding?
"Murray *ACE*" <[email protected]> wrote
in message
news:f4opvn$sod$[email protected]..
> Can we see the page, please?
>
> --
> 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
> ==================
>
>
> "Stephen C" <[email protected]>
wrote in message
> news:f4nd0t$8lq$[email protected]..
>> When I try to change pages which use the "Set text
of container" behavior
>> it crashes DW-CS3. The dialog which used to come up
first shows a series
>> of asterisks in the drop-down for the container
selected, and the CPU
>> does overtime for about a minute before the correct
values appear. If I
>> change any values and OK it, then CPU starts using
over 90% on DW and
>> nothing happens until I force a shut-down (I've left
it running for over
>> 15 mins!)
>>
>> I have tried setting up a new "Set text of
container" behavior and the
>> same thing happens.
>>
> -
Set text of container - javascript help, please!
I have used Dreamweaver behaviours to "Set text of container" and make different writing appear inside a box when I click a hotspot. Now I want people to be able to click on the writing that just appeared and make more text appear in another box. Could someone tell me how to do this? I don't think I can use Dreamweaver's behaviours for this because there's no material trigger... in that the writing that is the trigger only appears when the first trigger is clicked, but I'm more than happy to be corrected!!
So, I've been trawling through javascript libraries but I don't know what I'm doing, so if someone could either tell me how to do this in dreamweaver or really spell out what libraries etc. I need to download and what code I need to make a bit of text that's already a set text of a container into a trigger for a set text of another container, that would be great!
Sorry for the complicated question, it's difficult to explain what I mean.
All help very much appreciated ^^flozzle19262010 wrote:
I... really don't see how that will help you, considering I'm just asking HOW to do something. It's not like there's a mistake in my CSS or whatever, I just want to know if such a thing as described above is possible...
As I say, I'm reluctant to upload it as it's for someone else.
Have a look here http://forums.adobe.com/message/2691056#2691056.
Both Nancy (one of the best in the business) and I have been trying to help. It's your call.
I wish you the best of luck.
Ben -
'set text of container' won't work in IE8
(I'm resubmitting this discussion as I wrote the wrong version of IE in my last post).
Hoping someone can help
At the moment I am using 'swap image' to change the text that appears within one container when I hover over different buttons.
I am using images of text rather than text itself because I have found that the 'set text of container' won't work when tested in IE8 (which is important for me). This makes the page much slower to load than it should be.
It works perfectly in Firefox and Safari but not in IE8.
Below is a link to my site page which shows how it should work (even though it's currently just images not text)
http://www.lindengraphics.com.au/feedback.html
And below is the coding which appears when I set the page using 'set text of container'.
<div id="apDivthumb1"><img src="assets/client_feedback/fdb_thumb1.jpg" alt="thumnbail1" name="fdb_thumb1" width="43" height="43" id="fdb_thumb1" onmouseover="MM_setTextOfLayer('feedbacktbl','','"Example of text I have written."')" /></div>
<div id="apDivthumb2"><img src="assets/client_feedback/fdb_thumb2.jpg" alt="thumbnail2" width="43" height="43" onmouseover="MM_setTextOfLayer('feedbacktbl','','"Example of text I have written."')" /></div> etc etc
I've taught myself Dreamweaver so am still fairly new to it and coding (although not new to website design) so please explain things in simple terms so that it's clear for me.
If anyone has the time to help me with this it would be really appreciated!!
Many thanks in advance, MichelleGood News!
There is no problem in any version of IE on a windows based machine. -
Problem in printing elements of a Set element
I am using iterator to print the elements of a set as below:
Set<String> set = new HashSet<String>();
set.add("element");
Iterator it = set.iterator();
while (it.hasNext()) {
System.out.println(it.next() + "\n");
}The above code perfectly prints all the elements in the set.
I am facing problem when I am trying to store the value of set element in a string and print as below:
while (it.hasNext()) {
System.out.println(it.next() + "\n");
String e = (String)it.next();
System.out.println(e);
}All the elements in the set are not printed. Why is it behaving like so?while (it.hasNext()) {
System.out.println(it.next() + "\n");
String e = (String)it.next();
System.out.println(e);
}You are calling it.next() method twice so it is printing alternate values.
try this:-
while (it.hasNext()) {
String e = (String)it.next();
System.out.println(e + "\n");
System.out.println(e);
} -
Set Text in Container- Different Classes each line of text
I'm using the Set text of Container behavior to function as a caption in my displaced rollover. It works fine but there is one problem I'm having.
My orginal "placeholder" caption looks something like this:
Project Name
Location
Photographer
I achieved this by using "span" on the orginal caption and each line has a class.
However when I rollover it loses it's styling. How do I apply the classes to the text in the behavior?
ThanksSorta.
So I would type in this below in set behavior box?
<span class="projectname">Project Name<br /> </span> etc..... -
Error: Set type Z contains multiple-value attributes
Hi forum,
I have a problem when i try to assign a set type with the same value but diferent name on another set type to the same product category.
This is the detail of the error but i dont know where i have to set this indicator:
If you set this indicator for a particular hierarchy, all categories and set types in this hierarchy are created in the PME.
This gives you the following extended maintenance options at category level:
You can assign set types with multiple-value attributes
You can restrict value ranges and maintain default values for attributes of customer set types.
Any sugerence about this?
Regards and thanks in advance,
MonHi Nelson,
I create two set types, the description is not the problem. I have discover that when i try to assign these attributes in the same set type or in other appears this error.
The set types have the same values. For example:
zcountry1. Values: sp - spain. fr - france.
zcountry2. Values: sp - spain. fr - france.
When i try to configurate the comm_hierarchy in my category appears this error:
Set type zcountry2 contains multiple-value attributes.
Diagnosis
The set type ZGAME5 contains multiple-value attributes. It cannot be assigned to the category as extended maintenance has not been activated.
Procedure
Multiple-value attributes are stored in the PME. If you want to use the set type ZGAME5, you must set the Extended Maintenance Options indicator for the hierarchy.
Extended Maintenance Is Possible for the Hierarchy
Definition
If you set this indicator for a particular hierarchy, all categories and set types in this hierarchy are created in the PME.
This gives you the following extended maintenance options at category level:
You can assign set types with multiple-value attributes
You can restrict value ranges and maintain default values for attributes of customer set types.
Where is this indicator¿? in R3?
So, these are the steps...can anybody help to me?
Regards and thanks in advance. -
How to create a element that contain a element generated in another document
Hi,anybody.
I want to create a element that contained a element generated in another document.The following is my coding:
doc1 = new XMLDocument();
ele1 = (XMLElement)doc1.createElement("AAA");
doc2 = new XMLDocument();
ele2 = (XMLElement)doc2.createElement("BBB");
ele2.appendChild(doc2.createTextNode("bbb"));
XMLNode ele = (XMLNode)ele2.cloneNode(true);
ele1.appendChild(ele);
but there is a DOMException,Node doesn't belong to the current document.
Thanks in advance.
nullHi Marc,
it is currently not possible to check for values in other tables within different repositories (main tables).
If you want to check for values in flat lookup tables, use the "Fields" menu in the expression editor. You will get sth like this:
IS_NULL(Category.Item)
whereas "Category" could be a lookup table (flat, hierarchy, taxonomy) and "Item" a field in it.
Checking across qualified lookup tables is only possible in a very restricted manner.
Hope that helps.
Christian
Maybe you are looking for
-
Anchor a button upper right in a panel?
Have to anchor a button upper right in a panel. Need it to stay anchored even when I use resize and move effects on the panel. Want the button up top, not in the panel's content pane. The only way I know to get a button up there is to put it in the
-
I use line out sound but the sound does not stay on when I start up
I use external speakers with my Mac Pro. However, since I upgraded to Yosemite (with latest upgrades), I have to use the desktop icon to turn on the sound every day. Alternately, I can uncheck the mute box in Preferences. Somehow, the mute button
-
Hi All, We have a web applicatoin where are using struts framework, recently we migrated from weblogic 8 to weblogic 10. Application is develped for only english applicatoin. But for some users the dates are getting displayed in different langauage.
-
How to use the Zoom for Pocket PC 2003?
I try to use the LabVIEW7.1 PDA module zoom feature in my Pocket PC 2003. But I can not make it works right. For example, if I try to zoom to rectangle, the graph does not draw in the selected rectangle. I attached my code. Attachments: sin.vi 48 KB
-
i have gone brain dead. i have 2 calendars. one for work the other for home. can someone remind me how i only print 1. i only need the work calendar printed. when i go back and forth from each calendar the screen only shows the one that is used for w