Hiding or untag element (ID CS3 JS)
Hi<br /><br />In Xml file <br /><br />.... percent.<xref type="fn" rid="fn1"><sup>1</sup></xref>.....<br /><br />I want to insert footnote through script. The footnote is inserted but the numbers are occuring twice (one is the number in <xref> and other is automatic footnote insertion number by the script).<br /><br />Is there any possibility to hide <xref> through script?<br /><br />I tried the following<br /><br />function xref(){<br />this.name = "xref";<br />this.xpath = "//xref/sup";<br />this.apply = function(myElement, myRuleProcessor){<br />with(myElement){<br /> try{ <br />myElement.parent.xmlElements.item("sup").convertToAttribute("sup");<br />}<br />catch (e) {}<br />}<br />return true;<br />} <br />}<br /><br />But error is thrown.<br /><br />Uncaught javascript exception: Invalid structure iterator for the current XML rules process detected! Please modify the rules so the structural changes happen after the children nodes have processed (or skipped).<br /><br />Thanks in advance
Hi
Is there any possibility to hide the contents of an element?
Similar Messages
-
Space left in the printout after hiding the text element in smartform
Hi
In my smartform there is space left in the printout after hiding the text element with condition.
Is there any way by which we can remove the space in the smartform,
Thanks
AnkHi ,
I am displaying the text in table with two columns and in one column i am giving the text elemnt and in other the value.
I had given the condition that if the data is not present then the text elemnt should not be shown in the form .My form is working perfectly except that its leaving the space for that text element.
thanks
Ank -
I have some screen elements which I hide.
On hiding, however, the area appears as blank; i.e. there is an unwanted space between screen elements.
Is there a way to eliminate the extra visible space?
Regards,
AbhinavaAT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_sab = 'X'.
IF screen-group1 = 'GR1' OR screen-group1 = 'GR2'.
<b> screen-active = '0'.
screen-invisible = '1'.</b>
ELSE.
screen-active = '1'.
screen-invisible = '0'.
ENDIF.
<b>MODIFY SCREEN.</b>
Endif.
USe active and invisible.
regards
vinod -
Dear All,
I am enhancing a standard web dynpro component HAP_DOCUMENT_BODY, view VW_TABS_VIEW where I would have to add an Image on the first tab of the tab strip.
So i have Imported a MIME object inside the standard application and have bouned it to a an IMage container. Now the fixed image is appearing in all tabs of the tab strip. Hence i want to hide the image in different tabs strip through code.
Also my requirement is to display different image for different login languages too.
Basically i have two questions here.
i) I would want to know how to hide Image object or the transparent container which holds the IMAGE object, dynamically through the code inside the MODIFYVIEW method of the view
ii) Is there an option to dynamically specify diffent image based on the login language with the IMage container?
require you kind help.
Thanks,
SridharanHi ,
This is a Webdynpro related question. you would have got many repsonses if you posted in webdynpro forum.
i) I would want to know how to hide Image object or the transparent container which holds the IMAGE object, dynamically through the code inside the MODIFYVIEW method of the view
You can do a post_exit enhancement in the MODIFYVIEW method. Get the UI element object from view and There are methods to set the visibility at runtime.
Is there an option to dynamically specify diffent image based on the login language with the IMage container?
i think yes, same procedure as first question's answer. Based on condition you can change the source path of the mime object . -
Hiding a container element from a standard applicaition
hi,
i have a requirement to remove the UI elements in a transparent container from a view of a standard webdynpro component HRRCF_C_PREFERENCES_UI. This component is being used as a sub component in a main application.
The transparent container within has a drop down list and a few buttons.
So i created a component configuration for the component HRRCF_C_PREFERENCES_UI and changed the property of the UI element in the configuration to invisible. This worked, the container element was invisible in the application. But two other containers next to the UI element that was hidden did not move to the left . No proper alignment.
Is this the standard behavior of a component configuration? i don't think so.
Now in my option, the other only possible option is to hide the button by changing the attribute in the WDDOMODIFYVIEW method of the view.
Could someone please help me how to set the attribute problematically? Is there a different way to meet this requirement?
Need some help.Thanks.
Best Regards,
SridharanHi,
Just go to enhancement mode in your webdynpro component and delete that button from UIElement hierarcy.
If you want your button back, delete the enhancement.
Regards
Vishal kapoor -
Hiding an UI element dynamically in webdynpro ABAP
Hi Gurus,
I want to hide a Interactive form UI element dynamically at run time. Please let us know how to proceed with this and provide the code for this, which will be helpful.
Thanks
Rahulhi ,
bind the VISIBLE property of the UI element with a context attribute created in the CONTEXT tab. This context attribute should be of type WDUI_VISIBILITY
u can refer this code
wd_context->set_attribute( name = '<attribute name>' value = if_wdl_core=>visibility_visible )." to make it visible.
wd_context->set_attribute( name = '<attribute name>' value = if_wdl_core=>visibility_none ). "to make it invisible
regards,
Amit -
Problem in Hiding the Screen Elements in CRMD_ORDER
Dear Experts,
I am working in SAP CRM 5.0 Implementation project.
My client Do not want all the elements in the Transaction code 'CRMD_ORDER'.I would like to hide Some fields.Is there any BAdI to Hide the
Transaction Data Tab and also I want to hide some fields in Item Details Tab.
Please help me is there any BAdI or any other way to achieve my Requirement.It is very Urgent.Please Help me.
Thanks & Regards,
Ashok.Hi,
You can follow any one of the following approaches:
1. Use the screen variant transaction SHD0 to create the transaction variant and assign your own screen variants. The screen variants can be used to hide the fields/tabs as per your requirements. Assign the transaction variant to the specific transaction types. You can maintain different transaction variants for different transaction types.
2. Use the BAdI CRM_ORDER_FIELDCHECK to modify the field status from modifiable to display only. However, this can not be used to hide any particular field/ tab.
Regards,
Kaushik -
Editing with Photoshop CS3 from Photoshop Elements 8
I posted this in the PSE forum but didn't get any hits. Hopefulyy I'll be luckier here.
I have just purchased Photoshop Elements 8. I do all my editing usually with Photoshop CS3. I use Elements mainly for the organizer.
When I choose Edit with Photoshop from the organizer, it launches the application but the photo does not open in Photoshop. Nevertheless, there is a banner accross the photo in Elements that says "Edit in Progress". If I close Potoshop CS3, the banner stays there. I have to close Elements to get rid of it. If I choose "Open with Photoshop Elements" it works fine.
That used to work fine with my previous version of Elements 6.0. Everything works fine in CS3. Any suggestion on what I might be doing wrong?
I'm running Photoshop Elements and CS3 on Windows Vista 64 bit.
Thanks.I have too much invested in Elements Organizer. 1000's of photos over a period of 5 years - tagged, version sets, stacked, albums, collections, ... I don't believe Bridge can do all of that.
I replicated the environment on a different PC with XP instead of Vista. Same problem. There seems to be a bug between Elements 8 and CS3. I don't have CS4 to test it with.
Come guys, with all the people in this forum, someone must have hit the problem or has an idea of what's going on. I logged a case with Adobe support but I doubt this will be a quick resolution.
Thanks. -
[CS3, AS] Anyone for tag?
A few weeks ago, I happily wrote a little script to split a multi-column text frame into separate frames. I found it straightforward to do and an encouraging first foray into InDesign scripting.
Yesterday I was informed that I need to add a new feature to this script. For accounting purposes, every element on our pages has to be tagged.
Obviously my naive and innocent little newly-created text frames are untagged. I thought it would a straightforward matter to add the tagging bit on to my script.To do so seemed compulsory.
Is there any scripter around who would put up a little message at the end of their script saying "Now open the tags panel and tag all your nice new text frames"?
So I looked into the Scripting Guide and found it's to do with XML, a subject about which I know very little and as I read on I felt I was knowing even less; just growing in confusion.
So I skipped to the sample scripts and high up in the list was one entitled "Untag Element". Strangely enough, I found this encouraging and scanned eagerly downward for the one entitled "Tag Element". No such luck.
I also opened and read quite a few scripts with vaguely promising titles. None helped.
This is a subject about which I neither want nor need to know too much, although I assure you I have spent some hours in fruitless research. I am simply trying to meet someone else's need.
Can anyone out there please put me out of my misery by providing me with what I suspect will be a childishly simple line to add the required tags to my text frames?I hate it when someone else points out something like that. OTOH, if I noticed it myself, well, never too shy to pat myself on the shoulder for being smart.
Perhaps not needed anymore, but the magic command to tag a frame is not "Tag" (that would be too easy, wouldndnit), but it's called "markup". I'd have to look up how to actually use it, though. -
Manipulate the browser elements in report page....
Hi,
How to manipulate the browser elements in report page? i.e hiding the field element, hiding entire row, disable or enable a particular cell(or text field) from a row, hiding value in a cell....so on.
i used apex_items to create a report text fields.
I tried to manipulate fields using javascript API's, i cant get to...
how to do this?
Thanks....ok,
I would like to order:
first row: label1 spacer texfield1 spacer label2 texfield2 label3 spacer label3...
secod row: label4 spa.....similarly
I use a af:panelformLayout with rows 2 and maxColumns 3, but no orders.... -
It appears that some tools are missing, or hiding, in PS Elements 7. For example, I need to use the Impressionist brush. The online help says that if you don’t see it in the toolbox, select either the Brush tool or the Color Replacement tool , and then click the Impressionist Brush tool icon in the options bar.
First, when I click the Brush tool, there is no Impressionist Brush tool icon in the options bar.
Second, I can't find the Color Replacement tool.
The tools on the left side of PSE 7 that have little arrows (usually indicating a flyout set of tools) don't fly out.
Is there something I'm doing wrong? A weird setting somewhere?
Thank you,.Hi,
The similar tools are stacked on top of other. They can be accessed by pressing Right click on the icon of the tool you see on the top.
Not all tools have tools stacked. There is an arrow below the tool icon to indicate the stacked tools. You just have to press right click to open the stack.
For Impressionist brush, All sorts of brushes are stacked in one stack.
Brush tool stack contains : Brush tool, Color Replacement tool, Impressionist tool and Pencil tool.
While the first three have the same "B" hey as shortcut,, Pencil tool has "N" as tghe keyboard shortcut.
Hope this helps.
Thanks,
Swarnima -
Hello gurus,
In my web dynpro application i have a requirement where i want to hide a whole group if the information is not available. For example i fire a query select single * ... in method WDINIT, if sy-subrc <> 0.. then i want to hide the whole group. How can i do it?? I don't want to hide it on any action of button or radio button. I want it runtime without any action. Please let me know..
Regards,
Yayati EkboteHi,
1) Create an ATTRIBUTE (VISIBILITY) with WDUI_VISIBILITY type.
2) Maintain context binding
3) Go to VISIBLE property of the element and maintain binding with attribute VISIBILITY
At runtime, use the following code:
call method elem_visible->set_attribute
exporting
name = 'VISIBILITY'
value = 01.
OR
wd_context->set_attribute( name = 'VISIBILITY' value = 01 ).
Please note: VALUE = 01 to make element INVISIBLE.
VALUE = 02 to make element VISIBLE
You can also refer to the following links:
Hiding an UI element dynamically in webdynpro ABAP
http://www.****************/Tutorials/WebDynproABAP/Hide/Page1.htm -
How Do I create an Admin account?
Hi
This sounds silly but.... How do I set up an administrator account ?
I am using DW CS3 and ADDT and PHPMYADMIN
I can create a table with a level_user field and al the other usual fields
I can use the login wizard and / or the ADDT control panel to set and add user levels so I have added user and admin levels and I can figure out the rest I think but h I have read many tutorials and I still can't figure out how to create an admin account? I have thought I have to create a temp form with a level field just to upload my admin level into the user_level field in my database table, say level "1" and then creat another form with no user level field for users to upload their info and have their level set by the default value in the login wizard say level "2"
Does this sound like the correct way to go about thing?
Is there a better more logical way to do this?
I have asked this question in the nonrmal dreamweaver and I was told to
"Use a frontend like PHPMyAdmin to construct the db and set one of the account's user levels to something like "admin" instead of "y" or whatever and then filter on "admin."
I really don't understand this as I only want to set acces levels to one table so that I can delete records as administrator and so that noone else can access certain pages
Anyone got any ideas?
Any help would be more than helpful
Have a nice dayHi Charis,
I have asked this question in the nonrmal dreamweaver and I was told to
"Use a frontend like PHPMyAdmin to construct the db and set one of the account's user levels to something like "admin" instead of "y" or whatever and then filter on "admin."
folks in the regular DW forums don´t necessarily know how ADDT handles the "user levels", so here´s my suggestion:
a) create the ADDT "login" table with PhpMyAdmin, add one default record
(probably your own account) and set its "level_usr" column´s value to "1"
b) add this very column to ADDT´s array of session variables within the Control Panel and name it, say "kt_level"
I really don't understand this as I only want to set acces levels to one table so that I can delete records as administrator and so that noone else can access certain pages
once you have the additional session variable "kt_level" defined, you can always filter against this one -- for example...
a) in a "Show If Conditional Region"
(for hiding certain page elements)
b) in a "Restrict Access To Page" behaviour
(to prevent access to a whole page)
and then creat another form with no user level field for users to upload their info and have their level set by the default value in the login wizard say level "2"
that´s a good approach :-)
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver -
Issue with instant ringback when using sip trunk to SP
Hi all,
We use CUCM 8.0.2.
We have a SIP trunk to a SP connected via one of our Cisco 2911 routers configured as a CUBE.
Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.0(1)M3, RELEASE SOFTWARE (fc2)
c2900-universalk9-mz.SPA.150-1.M3.bin
Cisco CISCO2911/K9 (revision 1.0)
Technology Package License Information for Module:'c2900'
Technology Technology-package
Current Type
ipbase ipbasek9 Permanent
security securityk9 Permanent
uc uck9 Permanent
data None None
We also have several ISDN lines that run out via various Cisco routers configured as H323 gateways.
We use 7945 and CIPC for our phones.
We're having an issue with calls going via the SIP trunk where we hear ringing instantly after dialling - but before the actual device at the other end starts ringing (considerable difference).
Using the SIP trunk: If I make a call to my mobile phone - I hear ringing instantly - about 3 rings before my mobile phone actually starts ringing - undesireable.
Using H323 gateway: If I make a call to my mobile phone - I hear silence for a bit - then ringing when the mobile starts ringing - desired.
Using SIP trunk: If I make a call to a landline that is ready - it rings instantly for at least 1 ring - before the actual phone I'm calling starts ringing - undesireable.
Using H323 gateway: There is a momentary pause before hearing ringing on my phone and the phone I dialled - desired.
Using SIP trunk: If I make a call to a landline that is off-hook (with no call-waiting/etc.) - it rings once and then returns the busy signal (the worst issue) - undesireable.
Using H323 gateway: There is a momentary pause before hearing busy signal - desired.
Phone to phone internally (same network): Operates as expected (instantly rings locally and on the phone I'm calling). Between phones that utilise the SIP trunk and phones that utilise the H323 gateways within the same network - communication is instant and as expected.
Any ideas why this happens and how to stop it?
I want it to not ring until the situation is known and that it can provide the appropriate feedback (ringing/busy/etc.).
Some possibly relevant config (note that there is a known bug with this IOS that meant I had to declare the codec in each dial-peer as the voice class would not work):
voice service voip
address-hiding
mode border-element
allow-connections sip to sip
sip
bind control source-interface GigabitEthernet0/0
bind media source-interface GigabitEthernet0/0
header-passing error-passthru
early-offer forced
midcall-signaling passthru
interface GigabitEthernet0/0
ip address x.x.x.x 255.255.255.252
ip access-group acl.SIP-IN in
no ip redirects
no ip unreachables
ip verify unicast reverse-path
ip virtual-reassembly
duplex full
speed 100
no cdp enable
gateway
timer receive-rtp 1200
sip-ua
connection-reuse
gatekeeper
shutdown
dial-peer voice 1 voip
description *** INBOUND CALLS FROM CARRIER ***
translation-profile incoming SIPTRUNK-INCOMING
session protocol sipv2
incoming called-number #blah blah#
dtmf-relay rtp-nte
codec g711alaw
ip qos dscp cs5 media
no vad
dial-peer voice 61 voip
description **** WA, SA AND NT NUMBERS ****
destination-pattern 0[8]........
session protocol sipv2
session target ipv4:<MY SP's SIP SERVER>
incoming called-number 0[8]........
dtmf-relay rtp-nte
codec g711alaw
ip qos dscp cs5 media
no vad
dial-peer voice 81 voip
description **** MOBILE NUMBERS ****
destination-pattern 0[4]........
session protocol sipv2
session target ipv4:<MY SP's SIP SERVER>
incoming called-number 0[4]........
dtmf-relay rtp-nte
codec g711alaw
ip qos dscp cs5 media
no vad
dial-peer voice 500 voip
description *** INBOUND SIP TRUNK TO CUCM PUB ***
translation-profile outgoing SIPTRUNK-CALLING-ADD-0
preference 1
destination-pattern 5[12]..
session protocol sipv2
session target ipv4:<OUR CUCM PUBLISHER IP>
dtmf-relay rtp-nte
codec g711alaw
ip qos dscp cs5 media
no vad
Any help or a point in the right direction would be greatly appreciated.
Cheers,
BrettI ended up resolving this issue as follows:
In CUCM, under Device > Device Settings > SIP Profile.
I modifed the profile relevant to my SIP trunk, under the "Trunk Specific Configuration", I set "SIP Rel1XX Options" from "Disabled" to "Send PRACK if 1xx Contains SDP".
Now, I get the expected delay before hearing ringback.
Solved! -
Is it possible to create a dual y-axis chart in Xcelsius?
Is it possible to create a dual axis type chart, mixed bar and line?
Xcelsius does not currently have the ability to create a dual axis chart. However, other users have been able to create a workaround by layering two charts on top of each other and hiding the undesired elements of the second chart. A third chart can be added in much the same way to display the second axis' label(s). Searching the internet for articles from users should locate step by step instructions.
Maybe you are looking for
-
How to e-mail/not e-mail a scheduled report based on records returned
Hi Everyone, Is there a way that there can be logic performed on a report that has been scheduled and ran before it gets sent via e-mail to the end users? We have scheduled reports that often end up with 0 records returned but users still get the e-
-
The issue started just out of warranty. Had powering on problem and did not want to spend money on repair. After that the phone crashed and refused to power on for 4 months. Now I am eligible for repair but apple store declined saying it is a hardwar
-
Printing PDFs - Can I Print Just One Page
I want to print one page of a multi-page .pdf document. There does not appear an option to just print one page when I go to print. Am I missing something? Please help.
-
Hi all, I'd like to announce my new product, text2gui, which makes Swing development much faster. text2gui lets you specify a GUI hierarchy using a syntax that is much easier to write compared to Java. Here is an example of a GUI description: content
-
I installed generic Microsoft drivers for a new moniter, and all of my Acrobat file icons disappeared. Actually, all of my Adobe program icons disappeared as well, but I've been able to find some of them on my system. But while I still have the fil