How can I package a custom block of HTML code to be inserted by clicking the insert panel
Is there a way to package custom HTML code such as
<figure>
<img src="" alt="" />
<figcaption>
Caption
</figcaption>
</figure>
so that I can click a button on the insert panel and insert this code?
Make it a snippet. You will have to insert from the Snippets panel.
Similar Messages
-
How can we crea mass customer from one company code to another company code
Hi Expert,
I have created 10 customer in co. code - ABCD using t.code FD01. Now i want to to extend the same customer in other co. code for example XYZ co. code. onw way i go to FD01 and create with refrence to ABCD co. code. But here i have to do manually one by one customer. Is there any facility where we can extend mass customer from refrence to existing copmany code.Please reply do standard SAP have the same functionality or not.
Regards
Gaurav GuptaFD15 is for Sending
FD16 is for Receiving
Edited by: Murali_Babu. N on May 12, 2011 12:11 PM -
How can I make my XSLT processor accept html code ?
In my applications the Oracle xslt processor wont accept simple HTML tags within an XML source while transforming the source into HTML. Both processors either will throw parser exceptions or ignore the HTML code in the XML source completely, though output-escaping is explicitly enabled.
In detail, I want to transform an XML source like this...
<element>
Hello, this is a <b>XML</b> text source mingled with html<sup>TM</sup>
</element>
... with an XSL Stylesheet like this...
<xsl:stylesheet>
<xsl:output method=html cdata-sections=element/>
<xsl:template match=element>
<html>
<body>
<xsl:value-of select=. output-escaping=yes/>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
... which should result in a HTML code like this ...
<html>
<body>
Hello, this is a <b>XML</b> text source mingled with html<sup>TM</sup>
</body>
</html>
The result, however, is always like this:
<html>
<body>
Hello, this is a XML text source mingled with htmlTM
</body>
</html>
This means that the additional HTML tags inside the XML source have been completely ignored by the XSLT processor though I enabled the output-escaping.
If anybody should think now that mingling HTML with XML text is stupid because I could also format the result with the XSL Stylesheet itself, he might be right, of course, but: I cant avoid this because in my application the XML source results from a users web form entry. The user working with the form must be able to decide whether he wants to include HTML in his text or not. In any case, any HTML code he enters should just be transported WITHOUT ANY CHANGES to the resulting HTML page, not omitted without comments! It seems quite simple to me, but the XSLT processor doesnt want to agree with me in this point :-(
So, once again in brief: Is there any possibility to tell my XSLT processor not to parse, transform or manipulate HTML tags, but to transport them unchanged to the output ?
After weeks of research any helping sign would be a great relief...
Many thanks in advance.I don't understand the answer, can you please expand. I am trying to do a similar thing by creating an output buffer,
assemble a mix of text and html tags and then output this buffer later. All of the html tags are skipped or re-escaped in the final html:
In this example I want to print the IPRCROP, then add an html break (<br>).
Example 1. Use xsl:text with escape = yes
<xsl:variable name="buffy">
<xsl:for-each select="documents/document">
<xsl:value-of select="IPRCROP"/>
<xsl:text disable-output-escaping="yes"><br></br></xsl:text>
</xsl:for-each>
</xsl:variable>
<xsl:value-of select="$buffy"/>
In this case the <br> and </br> end up re-escaped in the output html as #60 etc. so they appear literally as
ALFALFA <br> BARLEY <br>
and in source as: ALFALFA< br > < /br >BARLEY
Example 2, try as pure text, it just skips the <br></br> altogether
<xsl:variable name="buffy">
<xsl:for-each select="documents/document">
<xsl:value-of select="IPRCROP"/>
<xsl:text><br></br></xsl:text>
</xsl:for-each>
</xsl:variable>
<xsl:value-of select="$buffy"/>
output = ALFALFABARLEY -
How can a component generate both stylesheet and HTML code?
Hi All,
I've the following problem. My team is working on several "complex" components which provide a rich client-side behavior (via javascript and css). The components are in charge of generating the following:
+ Stylesheet (linked or inline)
+ Javascript via external libraries
+ HTML code
The problem comes from the fact that the CSS must be generated between the <HEAD> and </HEAD> tags (according to the HTML spec). Obviously, the rest of the code (javascript and HTML) is generated somewhere else on the page, and this is the problem.
Any ideas on how to solve this?
I've been thinking about a pre-process phase that would call every components to render the Css, but it requires substancial changes to JSF... Any help is greatly appreciated
Thanks in advance,
Stephane
http://www.otrix.comThanks for the reply but in my case I absolutely need to generate an addhoc css such as:
<style type="css/....>
.name 1 {position: absolute; visibility: hidden... }
.name 1 {padding: 0 0 0 0;}
</style>
What I do is that I spit-out the css first and then generate the HTML. It works fine in IE but I really wanted to be conform to the HTML spec which says that a STYLE tag should be located in the <HEAD> tag. I guess it's probably too much work just to be compliant with the spec....
Thanks again,
Stephane -
How can I set a custom Home Page while ALSO having a New Tab be the default Mozilla Page?
Why is the "home Page" = to a New Tab page? Why are they linked. I want my.yahoo.com to be my Home Page (currently set properly) but my New Tab page seems to be set to "Conduit" and has a search bar. I have no idea where that came from or how it got set that way. I want to have my current Home Page but make any New Tabs be the Mozilla Default Page with a Google search bar. Is that possible? I am running on Windows XP.
See also this article about the New Tab page (about:newtab):
*https://support.mozilla.org/kb/new-tab-page-show-hide-and-customize-top-sites
You can check for problems with preferences and try to rename or delete the prefs.js file and possible numbered prefs-##.js files and a possible user.js file to reset all prefs to the default values.
*http://kb.mozillazine.org/Preferences_not_saved
*http://kb.mozillazine.org/Resetting_preferences
See alao:
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
How can i call skype customer support
how can i call skype customer support +1800 is not working
Hi, itsolution123, and welcome to the Community,
Here is a link to the instruction on how to contact Skype Customer Service via their secure portal: Contact Customer Service
Skype is aware there can be problems reaching their customer support unit. If you experience difficulty reaching Skype Customer Service, try again using a different web browser and choosing a different path through the various drop-down menu options presented. Also, look to approve a pop-up dialogue box which would connect you to start an instant message chat with a customer service agent. If you have pop-ups blocked in your browser settings, this will also impede reaching an agent.
Regards,
Elaine
Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often! -
How can i disable pop up blocker in Safari?
how can I disable pop up blocker in Safari?
Upper left corner (next to the Apple menu).
Click on the word Safari. -
How can I automatically prepend comment blocks to stored procedures?
How can I automatically prepend comment blocks to stored procedures?
In my organization, the standard is to comment all stored procedures with a comment block that looks like this:
/*-- =============================================
-- Created by: <Owner>
-- Created date: 01/08/2012
-- Purpose: Inserts new setting value, code and description
-- Modifications:
-- Modified by: <Owner>
-- Modification date: 01/08/2012
-- Purpose: Inserts new setting value, code and description
-- =============================================*/Thanks.
select * from v$version;
BANNER
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production Edited by: xDeviates on 01-ago-2012 7:37
Edited by: xDeviates on 01-ago-2012 8:31Hi,
If I want to write a package called pk_fubar, I copy the following script and call it fubar.sql
-- ========== package_name.sql starts here ==========
-- Package_Name.sql
SPOOL &home_dir\package_name.lst
PROMPT . H H EEEE A DDDD
PROMPT . H H E A A D D
PROMPT . HHHHH EEE A A D D
PROMPT . H H E AAAAA D D
PROMPT . H H EEEEE A A DDDD
@@package_name_head
PROMPT . BBBB OOO DDDD Y Y
PROMPT . B B O O D D Y Y
PROMPT . BBBB O O D D Y
PROMPT . B B O O D D Y
PROMPT . BBBB OOO DDDD Y
@@package_name_body
SPOOL OFF
@@package_name_test
-- EXIT
-- ========== package_name_head.sql starts here ==========
CREATE OR REPLACE PACKAGE pk_package_name
AS
FUNCTION sign_in
( in_user_name IN VARCHAR2
, in_password_txt IN VARCHAR2
RETURN PLS_INTEGER
END pk_package_name;
SHOW ERRORS;
GRANT EXECUTE ON pk_package_name TO schema_name_some_role;
-- ========== package_name_body.sql starts here ==========
CREATE OR REPLACE PACKAGE BODY pk_package_name
AS
-- Procedures related to SCHEMA_NAME ...
-- 2012 July 23 -- Package started with proc_x. (Frank Kulash)
-- ** local procedures and variables **
-- ** x **
-- ** initialization section **
-- The following code is executed once per session, when the package is loaded.
BEGIN
set_var ( 'DT_FMT_TXT'
, 'YYYY-MM-DD HH24:MI:SS'
END pk_package_name;
SHOW ERRORS;
-- ========== package_name_test.sql starts here ==========
-- PACKAGE_NAME_TEST.SQL -- Test procedures in schema_name.pk_package_name
SET DOCUMENT OFF
SET SERVEROUTPUT ON SIZE 10000
ALTER SESSION SET NLS_DATE_FORMAT = 'DD-Mon-YYYY HH24:MI:SS';
SPOOL @@package_name_test.lst
PROMPT
PROMPT ***********************
PROMPT ** Testing x **
PROMPT ***********************
PROMPT
SPOOL OFFThen I replace package_name with fubar, and schema_name with the actual schema name. Finally, I cut off parts from the end to create fubar_test.sql, fubar_body.sql and fubar_head.sql. You could easily include a multi-line procedure comment template in this script. Every time you add a procedure or function, ciopy and paste that comment template, and then modify the copy. -
How can i create a custom table in to my banking services server
I am having product type and account type details for those things I need to create a table
Product Id. Account Type
DP_PYGO_P 21
DP_BASIC 25
DP_UNLIMIT 24
DP_ADVANTG 17
DP_SAV 34
DP_TBILL 54
DP_USDCHQ 19
DP_FREEDOM 52
For the above fields how can i create a custom table into banking services serverTransaction SE11, maybe? I don't really see the problem, unless you have never created a transparant table before...
-
How can i use my custom login page in a custom partner application ?
Dear All,
I'm trying to customize a login page displayed other than the default sso login page
by submiting my form to the regular pl/sql procedure : "PORTAL.wwptl_login.login_url"
but i tried to type the requested partner application url in the browser i got the sso
login page other than my custom login page. So, How can i use my custom login page in a custom partner application ?
Regards,
Mohammed Amin
[email protected]I cannot begin to express my level of frustration. I have been trying to use the composition widget light box display for some time now. I drag the widget to my document. The default widget has three small trigger boxes and a large area made up of a forward and backward button, a background, a text box and a frame for your image.
My steps have been …
I click on the little trigger box.
I click on the frame that holds the main image.
I go to the fill menu and browse my computer for my image and then click OK.
IT shows up on my screen. Yay
I attempt to continue using the next two trigger boxes provided in the widget.
After that, I add more by clicking on the little plus sign.
This is where all heck breaks loose.
Every single time I attempt to add thumbnails, something messes up. When I go to preview, either not all of my main images show up, or it starts with the wrong one, or some are missing. I have looked and looked for help on this and the only thing I can find is how easy it is to create a great portfolio lightbox display. But as we know, that only works when your thumbnails are the same image as the images in your lightbox. If you want something different, you have to use the composition wizard. I am finding it extremely difficult and confusing to customize.
Is there an exact sequence you need to use to add images to the slideshow? I am my wits end. -
How can i create a custom object 0REQUID
Hello all,
I have a question. How can i create a custom object 0REQUID? Is it possible to create it without actvating BI content?
Thanks in advance..Hi,
If you want to create a new info object which is a copy of 0REQUID. then
Go to > info object key figure / Chara catalogue> create new key figure / Chara --> enter 0REQUID in front of TEMPLATE and you will get all details of 0REQUID in your new key figure / chara.
Hope this helps.
Assgn pts if helpful.
Regards
Edited by: chintamani deshmukh on Apr 14, 2008 11:09 AM -
How can I create a custom sized video in PP cs6?
How can I create a custom sized video in PP cs6? I have read references to the "desktop" setting but cannot find it. I am trying to find the right settings for a 1080 px x 486 px video (which I need to qualify for hi res on Vimeo). I need to output a 450 x 1000 px video for
my website. Ideally, I'd like the sequence settings as well as the output settings. I am using still shots- no actual video.What are the exact properties of the still images, particularly the pixel dimensions and pixel aspect ratio (PAR).* The letterboxing (black bars top & bottom) is most likely a result of a mismatch in these settings. If this is the case, then the easiest fix is to make sure not only the dimensions but the PAR match.
Say for instance your source images are 1000x1000 with a PAR of 1.0 (square pixels) and your sequence is set also set to 1000x1000 but with the PAR set to D1/DV NTSC (0.9091), the result would be letterboxing as seen here:
*if you're not sure about the PAR of your source images, right click on one of them in the Project panel and select Properties. -
How can I create a custom field in contacts and have it appear in ICal?
How can I create a custom field in contacts (death date) and have it appear in calendar?
Birthdays seems to work fine but I'd like to do the same for a custom field called Date of DeathBy default, iTunes convert files to type AAC which has an extension of .m4a
For iTunes to recognize them as Audiobook files, the extension needs to change from .m4a to .m4b
This can be done a number of different ways. Here are 2 (beginner and advanced)
. simply, by renaming each file from windows explorer
. more complex, by using Start/Run/cmd to get a "DOS" type window,
using the command "cd" to change to the directory that your files are in
and entering "ren *.m4a *.m4b" -
Oracle Forms - How can I create a Data Block with query
Dear friends I have a question, I couldn't do this..
I have a sql query, I want to show the datas of the query.. How can I do this. ?
Data Block Wizard wants a table, view or stored procedure, but I have a query, how can I create a data block with my query.. I m waiting your helps..? Please...
SemihHi,
You have two options
1. create a view and base the block on the view
2. create a block with a query Data Source Type of 'FROM clause query'
Hope this helps
Neil -
How can I add a custom attribute to a catalog area? (CRM Isa Sales)
Gents,
How can I add a custom attribute to a catalog area? (CRM Isa Sales)
Actually I would like to use the Catalog Area Type (maintained in trx COMM_PCAT_ADM on Catalog Area Header level). This field doesn't seem to be available in J2EE webshop. (The field documentation says it is for documentation purposes only so I don't expect it to be transferred).
As this field is not readily available, I would like to add is as an attribute to the Catalog Area. BADI's PCAT_IMS_FEED_ATT and PCAT_IMS_FEED_VAL seem to indicate that it should be possible to add additional fields not only on product level, but also on Area level:
Example implementation code:
method IF_EX_PCAT_IMS_FEED_ATT~READ_NEW_FIELDS.
* Example, how to add new attributes to a indexcategory
* Possible levels are 'C'ategory and 'P'roduct.
* Field 'VALUE' carries the attributetype ('S'tring, 'I'ntegar or
* 'F'loat)
* Structure 'IS_OBJECTS' carries actuall identifiers
data: ls_fields type comt_pcat_ims_feed_ux.
case iv_level.
when 'C'. "Category Level
* no new field
when 'P'. "Product Level
ls_fields-field = 'CUSTOMER_EXIT_FIELD'.
ls_Fields-value = 'S'.
append ls_fields to ct_fields.
* exproduct fields
ls_fields-field = 'REMAN_ABL'.
APPEND ls_fields TO ct_fields.
ls_fields-field = 'EXCH_BUS'.
APPEND ls_fields TO ct_fields.
endcase.
endmethod.
However, when I create an implementation and add some code in the when 'C' part, the attributes do not seem to get transferred. (I've checked in the debug mode of the developer studio).
- My example code:
METHOD if_ex_pcat_ims_feed_att~read_new_fields.
* Possible levels are 'C'ategory and 'P'roduct.
* Field 'VALUE' contains the attributetype
* ('S'tring, 'I'ntegar or * 'F'loat)
DATA:
ls_fields LIKE LINE OF ct_fields.
CASE iv_level.
WHEN 'C'. "Category Level
ls_fields-value = 'S'.
ls_fields-field = 'ZTEST'.
APPEND ls_fields TO ct_fields.
WHEN 'P'. "Product Level
ENDCASE.
ENDMETHOD.
and:
METHOD if_ex_pcat_ims_feed_val~read_new_fields.
CASE iv_level.
WHEN 'C'.
ls_fields-field = 'ZTEST'.
ls_Fields-value = 'Value 1'.
append ls_fields to ct_fields.
WHEN 'P'.
ENDCASE.
ENDMETHOD.
In the ABAP debugger, I can see that my code is touched during initial and delta replications, however, after replication, the fields do not show up in the Java debugger.
Any ideas?
regards,
Wilco MengeHi,
How can I customize the /bin/wcmcommand or how can I make use of [2] to create a custom WCMCommand?
I think the "formUrl" is to post those input value to the jcr repository?
var createDialog = {
"jcr:primaryType": "cq:Dialog",
"id": CQ.Util.createId("cq-createdialog"),
"title":CQ.I18n.getMessage("Create Page"),
"formUrl": CQ.shared.HTTP.externalize("/bin/wcmcommand"),
"params": {
"cmd":"createPage",
"_charset_":"utf-8"
I have added a field called "starred"
Moreover, when I using the firebug to trace the post command, I can see that the starred value is posted also.
:status
browser
_charset_
utf-8
cmd
createPage
label
b
parentPath
/content/keyword_elaboration
starred
c
template
/libs/collab/commons/templates/form
title
a
Source
cmd=createPage&_charset_=utf-8&%3Astatus=browser&parentPath=%2Fcontent%2Fkeyword_elaboration&title=a&label=b&starred=c&template=%2Flibs%2Fcollab%2Fcommons%2Ftemplates%2Fform
However, when I go to the crxde to view the node's attribute, the properity starred is not created
Are there anything I did wrong or missing?
Thanks.
Message was edited by: aslkit
Maybe you are looking for
-
Why can't I interrupt the main thread from a child thread with this code?
I am trying to find an elegant way for a child thread (spawned from a main thread) to stop what its doing and tell the main thread something went wrong. I thought that if I invoke mainThread.interrupt() from the child thread by giving the child threa
-
On my new computer the Bookmarks list no longer 'highlights' the website that I have clicked on and am viewing online. Therefore, I can no longer see exactly which site (location/name) I am viewing because I have quite a number of bookmarks. It waste
-
Ios 7 taking too much time too download
why ios 7 is taking so long to download> any one downloaded succesfully?
-
I have recently installed PSE 8 and everytime I try to Create a Slide Show, through Organizer or Edit, the (Organizer) program crashes leaving me with a crash report to complete. I am running Windows 7 64 bit. Anyone help with this problem, please?
-
LiveCycle Process Automation Exam Bulletin Questions
I have two questions about the LiveCycle Process Automation exam bulletin, more specific about topic 6 "Working with Content Space". - What exactly is meant by the following : understand the constraints related to exposing a business process to Conte