Custom tags is it possible?
Hi,
I wrote a custom tag like <MLC:I18N key="SSFS_SS" />
Can i use it like as follows
1>
<%
String = <MLC:I18N key="SSFS_SS" />;
or
out.println(<MLC:I18N key="SSFS_SS" />);
%>
2)
<input type="button" value="<MLC:I18N key="SSFS_SS" />" >
Please let me know about this ASAP. I would appreciate if i can get some good explanation.
Thanks
bano
1) No I don't you ca use it like that, not in the scriplet tags but you can easilty have a taglib that outputs a string onto the rendered JSP the equivalent of out.println("A String") just <mytag:hello/>
public class HelloTag extends TagSupport {
public int doStartTag() throws JspException {
try {
pageContext.getOut().print("Hello World!");
} catch(Exception ex) {
throw new JspException(ex);
return SKIP_BODY;
2)Yep this is ok
Similar Messages
-
Custom TAGS can they extend ADF
Hi,
I am trying to solve the age old problem of splitting a group of radio buttons into 2 columns.
A search through the forums suggests that this is not possible and that a custom tag is needed to achieve this.
Please could you confirm a couple of things for me?
1.) When creating a custom tag, is it possible to extend the af:selectOneRadio and amend its behaviour?
2.) If possible, is it desirable to do what was described in 1? If not, what should I do?
3.) Are there any good tutorials/blogs that people could recommend? (If 1 and 2 are possible!)
Many thanks,
JohnHi,
no, you can't extend the Oracle components for this.
AMIS wrote a nice article abot custom JSF components
http://technology.amis.nl/blog/?p=1461
Frank -
Is possible to write a custom tag inside another custom tag ??
Hi
I�m trying to reduce the time needed to code mi app presentation layer, it uses some custom tags with certain configuration, i would like to know if its possible to do something like this inside my custom tag doAfterBody().
public int doAfterBody() throws JspException {
JspWriter writer=bodyContent.getEnclosingWriter();
try {
writer.print("<customTag:myAnotherTag someEspecificConfigurationParams="someEspecificValues"/>");
} catch (IOException e) {
pageContext.getServletContext().log("Error: "+e.getMessage());
}return SKIP_BODY;
}The goal is to simplify the jsp code because the configuration params for the custom tags (css styles and similar) are allways the same.
That don�t work, it simply prints <customTag:myAnotherTag/> in screen but the tag is not evaluated, i�ve tried too something like
public int doAfterBody() throws JspException {
if (repeat) {
JspWriter writer = bodyContent.getEnclosingWriter();
try {
writer.print("<customTag:myAnotherTag/>");
} catch (IOException e) {
pageContext.getServletContext().log("Error: " + e.getMessage());
repeat = false;
return EVAL_BODY_AGAIN;
return SKIP_BODY;
}And it doesn�t worked worked. Maybe using the taghandler classes and calls to the doAfterBody could make it work, but when you need to nest tags it could be a little hell of coupling calls, so before doing it i would like to know if what i want is possible. After reading some books i tought it could work because the stack of out objects, but i can�t make it work.
Another idea is to inherit from tagHandler and override some properties in the tags, but i don�t like the idea to much.
So, can anyone help me??
Thanks.You cannot do that and I have listed out the reason and a possible solution in this post http://forum.java.sun.com/thread.jspa?threadID=697243 from yesterday.
cheers,
ram. -
Is it possible to set a custom tag attribute from a TagExtraInfo?
Hi Everyone,
I'm developing my own tags and I need to set some optional attributes of my custom tag if the user doesn't do it.
Is is possible to do that on the IsValid method of a TagExtraInfo class?
The code is running without exceptions but is not setting the attribute.
My Tag (The optionValue attribute is optional):
<qe:select name="cars" optionBody="carName" optionValue="carID" />My TagExtraInfo class:
public class SelectTei extends TagExtraInfo {
private static final Logger logger = Logger.getLogger(SelectTei.class);
@Override
public boolean isValid(TagData tagData) {
String optionBody = tagData.getAttributeString("optionBody");
String optionValue = tagData.getAttributeString("optionValue");
if (optionBody != null && optionValue==null){
tagData.setAttribute("optionValue",optionBody);
//Other validations....
return true;
}CFGadget wrote:
It's not obvious as to how to set a background color which is by default, black.
Assuming you mean set the background color of a new image, just set the desired canvas color using hex or a named color ie "red", "white", ...
ImageNew([source, width, height, imageType, canvasColor]) -
Is it possible to pass dynamic values to custom tag?
Hi there, I'm trying to build a calendar custom tag so I can drop the calendar into an existing webpage easily.
I have got the calendar displaying on the page but the problem I have is when I try to create 'previous' and 'next' links. Is it possible to pass parameters to a custom tag that have dynamic values?
In PHP it would looks something like:
<a href="bla.php?page=$pagenumber">next page</a>When I create the calendar object I set it to the current date so when I try to increase or decrease the month (next/prev month) it doesn't work because the code is run again and hence setting the current date again.
Any ideas?
Cheers in advance
Message was edited by:
MajorMahemfor eg
<a href=" Display.jsp?id='+<%=customerId%>">Result Page</a>
Please try this,
i didn't work out, any how apply this sample to your code -
Assign custom tag output to variable. Is it possible?
I form the code of page like this:
<body onLoad="... #myArray[XXX]# ...">
<cfoutput>#printTable(...)#</cfoutput>
</body>
function printTable is something like iterate process of
creating tree-menu structure:
<cffunction name="printTable" ...>
<cfloop....>
ArrayAppend(myArray, ....)
<cfoutput><CF_treeItem....></cfoutput>
printTable(....)
</cfloop>
</cffunction>
SO - the problem is that I need myArray elements, but they're
created inside printTable function.
I could save everything into the variable and output later,
like <cfset printTableVar = printTable(....)>, but I use
custom tags
What should I do not to change the things too much?
It would be good if I could assign custom tag result to
variable:
<cfset blablabla = "<....>" &
<CF_treeitem...> ....
Ok, i will do it via external variable
(Caller.blablabla)Obviously the correct solution is to re-write it properly,
but for your question of putting the CT results into a variable,
you just need to use
cfsavecontent. -
Hi, can anyone advise as to whether my tag library code (based
on Apache Jakarta Project) will actually achieve connection
pooling functionality across my entire JSP based application? I
am slightly concerned that my OracleConnectionCacheImpl object
may exist multiple times, hence rendering my conection pooling
attempt useless.
package com.solved.tag.dbtags.connection;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import javax.servlet.jsp.tagext.TagSupport;
import javax.servlet.jsp.JspTagException;
import javax.sql.DataSource;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import oracle.jdbc.pool.OracleConnectionCacheImpl;
* <p>JSP tag connection, used to get a
* java.sql.Connection object.</p>
* <p>JSP Tag Lib Descriptor
* <pre>
* <name>connection</name>
<tagclass>com.solved.tag.dbtags.connection.ConnectionTag</t
agclass>
* <bodycontent>JSP</bodycontent>
<teiclass>com.solved.tag.dbtags.connection.ConnectionTEI</t
eiclass>
* <info>Opens a connection based on a jndiName.</info>
* <attribute>
* <name>id</name>
* <required>true</required>
* <rtexprvalue>false</rtexprvalue>
* </attribute>
* </pre>
* @author Matt Shannon
public class ConnectionTag extends TagSupport {
static private OracleConnectionCacheImpl cache = null;
public int doStartTag() throws JspTagException {
try {
Connection conn = null;
if (cache == null) {
try {
InitialContext ic = new InitialContext();
DataSource ds = (DataSource) ic.lookup
("jdbc/pool/OracleCache");
cache = (OracleConnectionCacheImpl)ds;
catch (NamingException ne) {
throw new JspTagException(ne.toString());
conn = cache.getConnection();
pageContext.setAttribute(getId(),conn);
catch (SQLException e) {
throw new JspTagException(e.toString());
return EVAL_BODY_INCLUDE;
package com.solved.tag.dbtags.connection;
import java.sql.Connection;
import java.sql.SQLException;
import javax.servlet.jsp.tagext.TagSupport;
* <p>JSP tag closeconnection, used to close the
* specified java.sql.Connection.<p>
* <p>JSP Tag Lib Descriptor
* <pre>
* <name>closeConnection</name>
<tagclass>com.solved.tag.dbtags.connection.CloseConnectionTag&
lt;/tagclass>
* <bodycontent>empty</bodycontent>
* <info>Close the specified connection. The "conn"
attribute is the name of a
* connection object in the page context.</info>
* <attribute>
* <name>conn</name>
* <required>true</required>
* <rtexprvalue>false</rtexprvalue>
* </attribute>
* </pre>
* @author Matt Shannon
* @see ConnectionTag
public class CloseConnectionTag extends TagSupport {
private String _connId = null;
* The "conn" attribute is the name of a
* page context object containing a
* java.sql.Connection.
* @param connectionId
* attribute name of the java.sql.Connection to
close.
* @see ConnectionTag
public void setConn(String connectionId) {
_connId = connectionId;
public int doStartTag() {
try {
Connection conn = (Connection)pageContext.getAttribute
(_connId);
conn.close();
} catch (SQLException e) {
// failing to close a connection is not fatal
e.printStackTrace();
return EVAL_BODY_INCLUDE;
public void release() {
_connId = null;
package com.solved.tag.dbtags.connection;
import javax.servlet.jsp.tagext.TagData;
import javax.servlet.jsp.tagext.TagExtraInfo;
import javax.servlet.jsp.tagext.VariableInfo;
* TagExtraInfo for the connection tag. This
* TagExtraInfo specifies that the ConnectionTag
* assigns a java.sql.Connection object to the
* "id" attribute at the end tag.
* @author Matt Shannon
* @see ConnectionTag
public class ConnectionTEI extends TagExtraInfo {
public final VariableInfo[] getVariableInfo(TagData data)
return new VariableInfo[]
new VariableInfo(
data.getAttributeString("id"),
"java.sql.Connection",
true,
VariableInfo.AT_END
data-sources.xml:
<?xml version="1.0"?>
<!DOCTYPE data-sources PUBLIC "Orion data-
sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
<data-sources>
<data-source
class="oracle.jdbc.pool.OracleConnectionCacheImpl"
name="jdbc/pool/OracleCache"
location="jdbc/pool/OracleCache"
url="jdbc:oracle:thin:@oracle1:1521:pdev"
>
<property name="maxLimit" value="15" />
<property name="cacheScheme" value="2" />
<property name="user" value="console" />
<property name="password" value="console" />
<description>
This DataSource is using an Oracle-native DataSource Class so as
to allow Oracle Specific extensions.
A getConnection() call on this DataSource will return
oracle.jdbc.driver.OracleConnection.
The connection returned is a logical connection.
The caching scheme in place is Fixed Wait. Refer below to
possible values.
Dynamic 1
Fixed Wait 2
Fixed Return Null 3
</description>
</data-source>
</data-sources>
many thanks,
Matt.Hi. Show me your pool definition.
Joe
Ramamurthy wrote:
I am using the jsp custom tag library from BEA called sqltags.tld which came with Weblogic 5.1. Currently I am using Weblogic6.1 sp2 on Solaris.
I have created a Connection Pool for Sybase database using the driver com.sybase.jdbc.SybDriver.
When I created jsp page to connect to the connection pool using sqltags custom tag library, I am getting the error
"javax.servlet.jsp.JspException: Failed to write body content
at weblogic.taglib.sql.ConnectionTag.doAfterBody(ConnectionTag.java:43)
at jsp_servlet.__hubwcdata._jspService(__sampletest.java:1014)"
After this message, whenever I try to access the same jsp page I am getting the message
"javax.servlet.jsp.JspException: Failed to load JDBC driver: weblogic.jdbc.pool.D
river
at weblogic.taglib.sql.ConnectionTag.doStartTag(ConnectionTag.java:34)
at jsp_servlet.__hubwcdata._jspService(__sampletest.java:205)".
Can you please help me the reason why this problem is happening and how to fix this ?
This problem doexn't happen consistently. This occurs once in a while.
I tried to increase Login delay Seconds parameter in the Connection Pool to 15 sec. It didn't help me much.
Thanks for your help !!!
Ram -
How to create a custom tag for a custom converter
In Jdeveloper 11g, I have a project where I have created a custom converter class that impements the javax.faces.convert.Converter class. I have registered the converter with an id in the faces-config.xml file of the project, and the converter works fine by using the <f:converter type="myconverter"> tag. However, the custom converter has a field which I would like to set from the tag itself. Hence, I would like to add an attribute to <f:converter> tag if possible or create a custom tag that has the attribute.
I have done some reserach and I found that a custom tag can be implemented: I need to create a class which extends from the ConverterTag class or javax.faces.webapp.ConverterElTag class, which I did, but I also need to create ".tld" (tag library) file which defines the tag itself.
The part about creating the ".tld" file and registring the new tag is what I'm not sure how to do.
Does someone know how to do this?
thank youHi frank,
that's a good document, and it explains how to make a custom converter. I already created the custom converter, it converts a number to any currency pattern. I know java already has a currency converter, but it doesn't support Rupee currency format, and I need that format.
My converter works, but I would like to pass the pattern of the format through an attribute in a tag. Since f:converter doesn't seem to support that, I created a custom tag which uses my converter, and it enables me to pass a pattern to the converter.
All of that works, but I need to be able to pass the pattern as an EL expression, and it's not evaluating the expression before passing it to the converter. It just passes the whole expression as a string. I'm thinking It may be something I'm doing wrong.
this is the tag library definition file:
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.2</tlib-version>
<jsp-version>2.1</jsp-version>
<short-name>custom</short-name>
<uri>custom-currency-converter</uri>
<description>
custom currency custom tag library
</description>
<tag>
<name>CurrencyConverter</name>
<tag-class>
converter.Tag.CurrencyConverterTag
</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>pattern</name>
<type>java.util.String</type>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>
Edited by: Abraham Ciokler on Feb 4, 2011 11:20 AM -
Simple question about custom tags really easy!!
I am trying to make my own custom tags, so far i have created simple one that have i use for heading or to set the page layout for a jsp page, My question is I want to make a custom tag with a body , with a start and end tag can anybody give a simple example of a custom tag which has a body.
I do not mean write me a tag i mean what could a tag with a body be used for? Can you give me some example of what a tag of this kind could do?Thanks having read that and some other pages i have another question:
would it be possible to put the following code into a custom tag so that i can pass in a list and have it output it to a table?
<TABLE >
<%
out.println("<TABLE >\n" +
"<TR BGCOLOR=\"#FFDDAA\">\n" +
" <TH>ID Number\n" +
" <TH>Artist\n"
Iterator it = pricePassed.getpricePassed().iterator();
while( it.hasNext() ){
MySite.VideoBean vids = (MySite.VideoBean) it.next();
out.println( "<TR>\n" +
"<TD><Center><B>" + vids.getRecId() + "</TD>" +
"<TD><Center><B>" + vids.getArtist() + "</TD>"
</TD></TR>\n" );
%></TABLE>At the moment i use the above in a jsp to put data into a table, would it be a massive task to undertake to put into a custom tag? -
Custom tag with rendered attribute
Is it possible to create a custom tag that operates similar to a JSF tag with the rendered attribute? Wrapping output with c:if test="..." is not as nice as the JSF rendered option, but I don't want to use JSF for this particular project.
Edited by: black_lotus on Nov 23, 2007 12:13 PMTLD File, per your previous recommendation:
<attribute>
<name>disabled</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
</attribute>My Tag class (snippet):
public class ButtonTag extends TagSupport
private boolean disabled;
public ButtonTag() {}
public boolean isDisabled()
return disabled;
public void setDisabled(boolean b)
disabled = b;
}A sample of the jsp file invoking it:
<c:set var="result" value="${computedValue}"/>
<ltm:button disabled="${result}"/>Regardless of the value of result, ("true" or "false") it always passes false to the setDisabled method of the button tag class. -
Query reg adding custom tags in SOAP Header - AXIS Receiver Adapter
Hi All,
I need to send custom tags as mentioned below to my traget webservice application. I think I can do this with Receiver AXIS adapter but not sure how it can be done. Can any of you suggest?
<WSContext>
<FromAppId>ABC</FromAppId>
<ToAppId>XYZ</ToAppId>
</WSContext>
Thanks,If you want to add custom tags in the soap header, one possible solution is use XSLT mapping or Java mapping to create header first then do message mapping for mapping the payload structure between your source and target as usual.
So in operation mapping you sequence mapping like this... first XSLT mapping for custom tags for the SOAP Header followed by payload mapping.
Hope that helps.
Search SDN for XSLT Mapping for soap header. Already we have handled these issues. -
<< runtime failure in custom tag 'process' >>>
Trying to create a simple portlet but it keeps giving the following stack
trace.
Any clues ?
TIA
javax.servlet.ServletException: runtime failure in custom tag 'process'
at
jsp._portals._repository.__user_add_portlets._jspService(__user_add_portlets
.java:871)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:106)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:154)
at
com.beasys.commerce.foundation.flow.ServletDestinationHandler.handleDestinat
ion(ServletDestinationHandler.java:51)
at
com.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:448
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:106)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:907)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:851)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:252)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)There are a number possible reasons for the error "runtime failure in custom tag
'process'" for WLCS 3.11 and 3.2. You might check the following:
1) Make sure that WebLogic Server 5.10 SP6 is installed correctly and that
weblogic510sp6.jar and weblogic510sp6boot.jar are at the fronts of
weblogic_classpath and java_classpath, respectively.
2) Check to see if weblogic-tags-510.jar from WebLogic Server 5.10 SP6 is copied
to %weblogic_home%\lib\weblogic-tags-510.jar.
3) The WLPS database is corrupted for reason or another. Rerun the appropriate
database script at \weblogiccommerce\db\cloudscape\create-all-cloudscape.bat or
\weblogiccommerce\db\oracle\create-all-oracle.sql.
Ted
aamerG wrote:
<< runtime failure in custom tag 'process' >>>
Trying to create a simple portlet but it keeps giving the following stack
trace.
Any clues ?
TIA
javax.servlet.ServletException: runtime failure in custom tag 'process'
at
jsp._portals._repository.__user_add_portlets._jspService(__user_add_portlets
.java:871)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:106)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:154)
at
com.beasys.commerce.foundation.flow.ServletDestinationHandler.handleDestinat
ion(ServletDestinationHandler.java:51)
at
com.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:448
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:106)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:907)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:851)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:252)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129) -
Hi,
I have a custom tag that invokes sendRedirect() in the doAfterBody(). I'm curious
as to why the redirection output is not complete. Here's what I always got:
start of output ---------------------------------
HTTP/1.1 302 Moved Temporarily
Location: http://xenon:7001/ctl/error?WebLogicSession=OtCL5lprXh5wN0S5JJF4GFsDfU
BKZk40AQ8mluIVsHKw2TcG5xpz|6804183543513756739/167846717/6/7001/7001/7002/7002/7
001/-1
Server: WebLogic 5.1.0 Service Pack 8 12/20/2000 16:34:54 #95137
Content-Length: 481
Content-Type: text/html
Set-Cookie: WebLogicSession=OtCL5lprXh5wN0S5JJF4GFsDfUBKZk40AQ8mluIVsHKw2TcG5xpz
|6804183543513756739/167846717/6/7001/7001/7002/7002/7001/-1; path=/
Connection: Close
<html><head><title>302 Moved Temporarily</title></head>
<body bgcolor="#FFFFFF">
<p>This document you reque
-- end of output-------------
As you can see, the Content Length is huge compared to the incomplete returned
document.
Can anyone help please?
Thanks,
Iwan
you can pass the response object as argument to your
method..Thanks for your response!
Unfortunately I can't change the doEndTag() method parameters as doEndTag() is defined in the Tag interface. But if you mean pass the response object as an attribute of the tag i suppse that is possible.
However, that's pretty close to the hack I currently have to work around this problem except I'm putting the response object in a request attribute in the page and then retrieving it in the doEndTag() method.
But I am after something a little cleaner than either of these options..... I'm hoping I can just get the response object from another object I have access to. Any more thoughts? -
Hi,
I have couple of questions in Custom Libraray Tags:
1) How I can from Tag Java file to open a new JSP window without the toolbars and determine the window size.
2) How I can read a JSP parameter from Tag Java file. For example I have a field called "x" in JSP is not connected to the TAG by setAttribute.
3) How I can pass a dynamic value to custom tag. <route:routeList agentID = "1" >
how I can change the "1" to a field. When I change it to: <route:routeList agentID = "<%=request.getParameter("agentID")%>" > or to <route:routeList agentID = <%=request.getParameter("agentID")%> > I get empty value, even though the field has a value.
Thank you ...[email protected] ... Well, if you put something as an attribute in the pageContext object, you can get it... same as request or session scope attributes, but I thought the OP meant to do this (I guess not, though.. see below):
<%
String str = "...";
%>
<mytag:stuff .... />
And within the stuff tag, use str as a variable. I don't believe that's possible, because the compiled page in effect becomes like this:
String str = "...";
doStuffTag(whatever the parameters are);
Obviously that's not the right naming for the tag, but you get the idea...
JavaUserProg....
2) First, it's best to put quotes around the tag attributes...
<INPUT readOnly style="WIDTH: 84px; HEIGHT: 22px" name="operation[<%= lineNum%>"] value="<%=operation%>">
Second, do you mean you want to read from the tag what the HTML input field has in it? First, you have to submit the form, then the call request.getParameter("fieldname") to get the value. Otherwise, I'm not clear on what you are really trying to do.
3) If the field in the tag is an int field: setAgentID(int)
Then you can define the tag value as:
<mytag:stuff agentID="1" />
or
<% int aid = 1; %>
<mytag:stuff agentID="<%= aid %>" />
If you just put a static string value like the first way, it converts it. If you put an expression, the expression has to match the type of value it really is. So int for int, String for String, Collection for Collection. -
SAP CRM custom tags in MS Word
Hi
When working with MS Word templates functionality in Attachments assignment block and generating a word document pressing "with template" button we can use BADI CRM_OFFICE_TEMPLATE_BADI to transfer custom tags inside the template. But is it possible to use those custom tags transferred in formulas inside the template? I mean the formula "If" from the menu Insert->Quick parts->Field->If ? Otherwise, is there any solution to use the tags in any formulas inside the template?
Regards,
AliakseiActually it's based on past productive experience of using complicated word templates that I'm basing my answer. My collegaue who had calcuated field requirements did not use formulas in our more complex word templates and instead we performed the calculation in CRM instead. Oh BTW, I'm actually not an SAP Employee by any means, but a customer of SAP instead. We had been using word templates productively on our 7.0 installation for at least four years. When we had to migrate the work to EHP1 system with the new content controls, there were many bugs in the standard delivered solution include problems when macros existed in the document that were released by notes by SAP.
Take care,
Stephen
Maybe you are looking for
-
How do I stop firefox from offering to remember my passwords?
I do not want ANY program to offer to remember ANY of my passwords. Firefox REPEATEDLY asks to remember this information any time I log in to work or personal sites. I am quite capable of remembering my own passwords, and the pop-up key icon is reall
-
Making clickable buttons to open xml images in gallery
I want to do an xml grid image gallery similar to http://www.republicofcode.com/tutorials/flash/as3gridgallery/ However, instead of using thumbnails, I already have images on my site that I want to make clickable buttons to open the images in the gal
-
I would like to set Firefox up so that I can enter a password to allow my children internet access. I don't want them to be able to get on without me knowing about it. Is this possible? Thank you, Katie
-
I performed the most recent update of iTunes, but it did not install properly. I uninstalled iTunes, then reinstalled, but now I am getting an error that states: "Service 'Apple Mobile Device' (Apple Mobile Device) failed to start. Verify that you ha
-
Disable site sharing in Office 365 using CSOM
I have a requirement to disable sharing of sites and documents in Office 365 site collection using CSOM. Manually from UI, I can disable sharing by unchecking Access Request Settings under Site Settings. But could not find a way to do it using CSOM.