Tag Libraries : multiple classes for same tag
Hi ,
I have a tag library like this
<tag>
<name>process</name>
<tagclass>packagea.page1</tagclass>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
I have 15 tags like this with the same 'process' name but ofcourse different tagclass files (corresponding to 15 different PAGES)
Now, while the container encounters the tag on any PAGE (all the tags on all the PAGES will have the same prefix 'process'), how will the container know which class file to pick from out of the 15 different class files ???
does this happen sequentially or is there some mechanism of caching within the container ... ??
probably it takes the first, if it's not throwing an exception about it. You should have 1 tag library and multiple tags which should have separate names, not separate tag libs with 1 tag each.
Similar Messages
-
Hi All:
I am trying to create multiple profiles, using unified profile types, to
store multiple values for same properties. Here my intention of using
'unified profile types' is to create multiple profiles (to store multiple
values for a property). All the properties are stored in the same database
maintained by Personalization server. Also, I am trying to use the same
'USER' ejb as profile class/home/pk/jndi.
The scenerio is,
define unified profile types (Business, Vacation) using Personalization
admin tools, using com.beasys.commerce.axiom.contact.User,
com.beasys.commerce.axiom.contact.UserHome,
com.beasys.commerce.axiom.contact.UserPk,
com.beasys.commerce.axiom.contact.User for Profile Class, Home, Pk class,
JNDI name respectively.
Define Property set 'HotelCommerce' with property
HotelProp as single, restricted, text (valid values Single, Double)
Now you can use the attached jsp files to login as a user and try to set the
property value for HotelProp for each profile. As per my understanding, I
was expecting that I can set different values for the property 'HotelProp'
for each profiles. But unexpectedly, all the profiles get the same value.
Question. is it the correct behavior? if yes, how can I achieve this
functionality?
if not, do you see any problem in my scripts?
your answer asap is appreciated. we need to make decision on using
Personalization server v/s developing our own Personalization server!!!:)
thanks,
-rajesh
PS: I have tried 'Unified Profile Example' type too, but that did not work.
[propsettest.jsp]
[home.jsp]I am trying to create multiple profiles, using unified profile types, to
store multiple values for same properties. Here my intention of using
'unified profile types' is to create multiple profiles (to store multiple
values for a property). All the properties are stored in the same database
maintained by Personalization server. Also, I am trying to use the same
'USER' ejb as profile class/home/pk/jndi.Hello Rajesh,
This is not the purpose of the UUP. The UUP is used to allow existing
database schemas to be aggregated with the existing Weblogic Personalization
Server database schema to provide a single, customized user profile with which
to maintain the user properties (
http://e-docs.bea.com/wlcs/p13n/users.htm#1068901 )
If you want to have properties that change value based on some "profile" or
classification of a user, then you should use classifier rules to change the
user from "OnVacation" to "AtWork" or "AtHome". You can use these classifier
rules to select content for the user or conditionally execute logic (
http://e-docs.bea.com/wlcs/p13n/rules.htm )
Ture Hoefner
BEA Systems, Inc.
1655 Walnut Street; suite 200
Boulder, CO 80302
www.beasys.com -
Reg:Multiple UOMs for same item
Hi,
How to define the multiple UOMs for same item.And the item should be converted in one UOM.
Iam using 9.0 PL.08Hi,
Please check SAP help file:
http://help.sap.com/saphelp_sbo900/helpdata/en/89/7ca0a701c64e4a97f4ea5a4edca8b2/content.htm?frameset=/en/44/c4c1cd7ca22e17e10000000a114a6b/frameset.htm
Thanks & Regards,
Nagarajan -
How to avoid multiple listing for same artist?
How to avoid multiple listing for same artist?
Sounds like there might be blanks in the artist name.
For instance "Lou Reed" and "Lou Reed_" will not match.
(Pretend the underscore _ is a blank).
Select all the Lou Reed songs, Get Info, and type "Lou Reed" in the artist field. That should fix it. -
How to compile and register a Java CFX tag with multiple class files?
All-
If this is the wrong forum for CFX questions, please let me
know.
I need to determine how to compile and register a Java CFX
tag that contains multiple class files. One class file implements
the CustomTag interface and the other class files implement various
supporting classes. All of the documentation that I have found
talks about using a single class file. I am assuming that a JAR
file will be involved, but I am not sure of the specifics.
Thanks in advance for your help.
-JoshYes, it will involve a jar. Use your java IDE (eclipse,
etcetera ..) to create a jar containing all of the classes. Check
your ide's documentation for how to create jar files. After you
have created the jar, place the jar in the CF class path so CF will
recognize it. For example the {cf_root}/WEB-INF/lib directory. CF
must be restarted before it will detect the new jar. After
restarting CF, register the CFX tag in the ColdFusion Administrator
using the name of the class that implements the CustomTag
interface.
Though it is worth noting you can also instantiate java
classes directly from ColdFusion (ie without using a CFX
tag). -
"Newbie Unable to load class for custom tag"
I have recently written a custom tag but I have been unable to implement it in a JSP because the server is unable to load the .class file. Below I have supplied the files that contribute to make up the custom tag, aswell as the JSP file used to implement it.
genericDBConnect.java
stored in C:\jakarta-tomcat-3.2.3\webapps\exper\WEB-INF\classes\jsp\tags\dbase
package jsp.tags.dbase;
import java.io.*;
import java.sql.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
public class genericDBConnect extends BodyTagSupport
private String odbcDriver;
private String dataSource;
public void setOdbcDriver(String driver)
odbcDriver = driver;
public void setDataSource(String source)
dataSource = source;
public int doStartTag() throws JspException
return EVAL_BODY_INCLUDE;
public int doEndTag() throws JspException
try{
pageContext.getOut().print("This is the value of odbcDriver = " + odbcDriver + "and dataSource = " + dataSource);
catch(Exception ioException)
System.err.println("Exception thrown in genericDBConnect.doEndTag():");
System.err.println(ioException);
throw new JspException(ioException);
return EVAL_PAGE;
WEB.XML
Stored in: C:\jakarta-tomcat-3.2.3\webapps\exper\WEB-INF
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/dtd/web-app_2_2.dtd">
<web-app>
<display-name>Generic database Connector</display-name>
<description>
Connecting to a database using dataSource and OdbcDriver
Attributes as well as sending a query to the database;
</description>
<taglib>
<taglib-uri>/genericdbconnecttags.tld</taglib-uri>
<taglib-location>/WEB-INF/genericdbconnecttags.tld</taglib-location>
</taglib>
</web-app>
genericdbconnecttags.tld
C:\jakarta-tomcat-3.2.3\webapps\exper\WEB-INF
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!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.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>genericDBConnect</short-name>
<tag>
<name>dbconnect</name>
<tag-class>jsp.tags.dbase.genericDBConnect</tag-class>
<attribute>
<name>dataSource</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>odbcDriver</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>
DBTester.jsp
Stored in:C:\jakarta-tomcat-3.2.3\webapps\exper
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Generic dataBase Connection</title>
</head>
<body>
<%@ taglib uri="/genericdbconnecttags.tld" prefix="database" %>
<database:dbconnect odbcDriver="sun.my.tag.lib" dataSource="hello">
this is the the begining of the end of life as we know it
</database:dbconnect>
</body>
</html>
And this is the error I get:
Error: 500
Location: /exper/DBtester.jsp
Internal Servlet Error:
org.apache.jasper.compiler.CompileException: C:\jakarta-tomcat-3.2.3\webapps\exper\DBtester.jsp(8,0) Unable to load class null
at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:129)
at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:759)
at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:138)
at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:909)
at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:194)
at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:825)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:209)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
Please if you can help I will be very gratefulI was searching about this problem and I found here.
I'm using WSAD 4.0.3 and I'm making my first custom tag.
Here is my files:
======================= CLASS ======================
package sas.ric.tags.teste;
import javax.servlet.jsp.tagext.TagSupport;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.PageContext;
import java.io.IOException;
public class ClTagHello extends TagSupport {
public int doStartTag() {
try {
JspWriter out = pageContext.getOut();
out.println("HELLO!");
} catch (IOException ioe) {
System.out.println("Erro in ClTagHello: " + ioe);
return (SKIP_BODY);
================= TLD ==========================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!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.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>ric</short-name>
<uri></uri>
<info>Exemple</info>
<tag>
<name>hello</name>
<tag-class>sas.ric.tags.teste.ClTagHello</tag-class>
<body-content>empty</body-content>
</tag>
</taglib>
======================== JSP =====================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META name="GENERATOR" content="IBM WebSphere Studio">
<META http-equiv="Content-Style-Type" content="text/css">
</HEAD>
<%@ taglib uri="WEB-INF/app-tlds/tag-hello.tld" prefix="ric" %>
<BODY>
<ric:hello />
</BODY>
</HTML>
==========================================================
Please, help me.
Occur this error "JSPG0058E: Unable to load class null"
Thank's -
Multiple Faces for same person/name?
Hello.
In iPhoto, I have multiple faces for the same person/name. I think it has to do with something regarding images tagged via Facebook coming back into iPhoto? Sometimes I have images that are part of a Facebook album (sync'd with/via iPhoto) which aren't marked with a face, and then they're tagged in Facebook. These tages make their way back into iPhoto as a Face, but they're not grouped with the Faces of the same person/name as other faces. At the end of the day, when I now try and add a face for this person, I see their name pop up four different times as I start to type their name, their name shows up 4 times (with different results for each one) when I created a smart album based on "Face is", etc. Does anyone know how I fix this?
Regards,
Kristin.On the cork board, I only have one face showing.
Everywhere else (in the dropdown when making a smart album, the auto-fill text when naming faces, etc.), there's always the name, four times.
k. -
Finalize() method being called multiple times for same object?
I got a dilly of a pickle here.
Looks like according to the Tomcat output log file that the finalize method of class User is being called MANY more times than is being constructed.
Here is the User class:
package com.db.multi;
import java.io.*;
import com.db.ui.*;
import java.util.*;
* @author DBriscoe
public class User implements Serializable {
private String userName = null;
private int score = 0;
private SocketImage img = null;
private boolean gflag = false;
private Calendar timeStamp = Calendar.getInstance();
private static int counter = 0;
/** Creates a new instance of User */
public User() { counter++;
public User(String userName) {
this.userName = userName;
counter++;
public void setGflag(boolean gflag) {
this.gflag = gflag;
public boolean getGflag() {
return gflag;
public void setScore(int score) {
this.score = score;
public int getScore() {
return score;
public void setUserName(String userName) {
this.userName = userName;
public String getUserName() {
return userName;
public void setImage(SocketImage img) {
this.img = img;
public SocketImage getImage() {
return img;
public void setTimeStamp(Calendar c) {
this.timeStamp = c;
public Calendar getTimeStamp() {
return this.timeStamp;
public boolean equals(Object obj) {
try {
if (obj instanceof User) {
User comp = (User)obj;
return comp.getUserName().equals(userName);
} else {
return false;
} catch (NullPointerException npe) {
return false;
public void finalize() {
if (userName != null && !userName.startsWith("OUTOFDATE"))
System.out.println("User " + userName + " destroyed. " + counter);
}As you can see...
Every time a User object is created, a static counter variable is incremented and then when an object is destroyed it appends the current value of that static member to the Tomcat log file (via System.out.println being executed on server side).
Below is the log file from an example run in my webapp.
Dustin
User Queue Empty, Adding User: com.db.multi.User@1a5af9f
User Dustin destroyed. 0
User Dustin destroyed. 0
User Dustin destroyed. 0
User Dustin destroyed. 0
User Dustin destroyed. 0
USER QUEUE: false
INSIDE METHOD: false
AFTER METHOD: false
User Dustin destroyed. 1
User Dustin destroyed. 1
User Dustin destroyed. 1
User Dustin destroyed. 1
USER QUEUE: false
INSIDE METHOD: false
AFTER METHOD: false
User Dustin destroyed. 2
User Dustin destroyed. 2
User Dustin destroyed. 2
User Dustin destroyed. 2
User Dustin destroyed. 2
User Dustin destroyed. 2
User Dustin destroyed. 2
User Dustin destroyed. 2
USER QUEUE: false
INSIDE METHOD: false
AFTER METHOD: false
User Dustin destroyed. 3
User Dustin destroyed. 3
User Dustin destroyed. 3
User Dustin destroyed. 3
User Dustin destroyed. 3
User Dustin destroyed. 3
User Dustin destroyed. 3
User Dustin destroyed. 3
User Dustin destroyed. 3
USER QUEUE: false
INSIDE METHOD: false
AFTER METHOD: false
User Dustin destroyed. 4
User Dustin destroyed. 4
User Dustin destroyed. 4
User Dustin destroyed. 4
User Dustin destroyed. 4
User Dustin destroyed. 4
User Dustin destroyed. 4
User Dustin destroyed. 4
User Dustin destroyed. 4
USER QUEUE: false
INSIDE METHOD: false
AFTER METHOD: false
User Dustin destroyed. 5
User Dustin destroyed. 5
User Dustin destroyed. 5
User Dustin destroyed. 5
User Dustin destroyed. 5
User Dustin destroyed. 5
User Dustin destroyed. 5
User Dustin destroyed. 5
User Dustin destroyed. 5
USER QUEUE: false
INSIDE METHOD: false
AFTER METHOD: false
User Dustin destroyed. 6
User Dustin destroyed. 6
User Dustin destroyed. 6
User Dustin destroyed. 6
User Dustin destroyed. 6
User Dustin destroyed. 6
User Dustin destroyed. 6
User Dustin destroyed. 6
User Dustin destroyed. 6
User Dustin destroyed. 6
Joe
USER QUEUE: false
INSIDE METHOD: false
AFTER METHOD: false
User Dustin pulled from Queue, Game created: Joe
User Already Placed: Dustin with Joe
User Dustin destroyed. 7
User Dustin destroyed. 7
User Dustin destroyed. 7
User Dustin destroyed. 7
User Dustin destroyed. 7
User Dustin destroyed. 7
User Dustin destroyed. 7
User Dustin destroyed. 7
User Dustin destroyed. 7
User Dustin destroyed. 7
INSIDE METHOD: false
INSIDE METHOD: false
USER QUEUE: true
INSIDE METHOD: false
INSIDE METHOD: false
User Dustin destroyed. 9
User Joe destroyed. 9
User Dustin destroyed. 9
User Dustin destroyed. 9
User Dustin destroyed. 9
User Dustin destroyed. 9
INSIDE METHOD: true
INSIDE METHOD: false
USER QUEUE: true
INSIDE METHOD: false
INSIDE METHOD: false
INSIDE METHOD: true
INSIDE METHOD: false
USER QUEUE: true
INSIDE METHOD: false
INSIDE METHOD: false
It really does seem to me like finalize is being called multiple times for the same object.
That number should incremement for every instantiated User, and finalize can only be called once for each User object.
I thought this was impossible?
Any help is appreciated!Thanks...
I am already thinking of ideas to limit the number of threads.
Unfortunately there are two threads of execution in the servlet handler, one handles requests and the other parses the collection of User objects to check for out of date timestamps, and then eliminates them if they are out of date.
The collection parsing thread is currently a javax.swing.Timer thread (Bad design I know...) so I believe that I can routinely check for timestamps in another way and fix that problem.
Just found out too that Tomcat was throwing me a ConcurrentModificationException as well, which may help explain the slew of mysterious behavior from my servlet!
The Timer thread has to go. I got to think of a better way to routinely weed out User objects from the collection.
Or perhaps, maybe I can attempt to make it thread safe???
Eg. make my User collection volatile?
Any opinions on the best approach are well appreciated. -
Problem using tags as an attribute for other tags.
Hi there,
I'd like to know if there is a way to use a tag as an attribute for an other tag.
Exemple :
<user:testparent param="<user:param param='1' />" >
When doing so, the value of param is <user:param param='1'/>, and not the value that should be returned by the <user:param /> tag.
Is there a way to use the value returned by this tag as a parameter ?
With text, the correct value returned by the tag is used, so I guess it's possible to do so with custom tags.
Thanks.Okay, here is an example of the process...
I have this Class that acts as the parent to all the tags that I use:
package net.thelukes.steven.scriptbits;
import java.io.IOException;
import java.util.HashSet;
import java.util.Set;
//Other Imports ...
public abstract class ScriptBitsTag extends BodyTagSupport {
public int doAfterBody() throws JspException {
return TagSupport.SKIP_BODY;
public int doEndTag() throws JspException {
return TagSupport.EVAL_PAGE;
/* All subclasses of ScriptBitsTag should call super.doStartTag()
* at the begining of their own doStartTag();
public int doStartTag() throws JspException {
initAttributes();
return TagSupport.SKIP_BODY;
public abstract void setAttributeValue(String attributeName, String attributeValue);
public abstract String getAttributeValue(String attributeName);
/* Use this method to initialize attributes at the start of tag execution */
public abstract void initAttributes();
//...So, for example, I will have a sb:slidingFrame tag that looks like this:
package net.thelukes.steven.scriptbits;
// Imports...
public class SlidingFrameTag extends ScriptBitsTag {
private java.util.Map<SlidingFrameAts,String> attributes =
new java.util.EnumMap<SlidingFrameAts,String>(SlidingFrameAts.class);
public int doStartTag() throws JspException {
super.doStartTag();
//... Do initialize here
return TagSupport.EVAL_BODY_INCLUDE;
public int doEndTag() throws JspException {
//... Do work that depends on nested parameter values here...
return TagSupport.EVAL_PAGE;
//Normal setXXX methods for attributes... <sb:slidingFram windowID="..." >
public void setWindowID(String name) {
windowName = name;
//Do What should happen when nested tag does its work...
// <sb:slidingFrame><sb:attribute .../></slidingFrame>
//For me, just put values in proper place in map...
public void setAttributeValue(String name, String value) {
SlidingFrameAts attrib = SlidingFrameAts.valueOf(name);
if (attrib == null)
return;
else if (attrib == SlidingFrameAts.useDefaultStyleSheet)
this.setUseDefaultStylesheet(Boolean.valueOf(value));
else if (attrib == SlidingFrameAts.offX)
attributes.put(attrib, value);
else {
nonDefaultInit = true;
attributes.put(attrib, value);
public String getAttributeValue(String name) {
return attributes.get(SlidingFrameAts.valueOf(name));
//Set Default values for all attributes.
public void initAttributes() {
}So now I have a tag that is designed to be nested inside ScriptBitsTags and provide attributes for them:
package net.thelukes.steven.scriptbits;
//includes
public class ScriptBitsAttributeTag extends BodyTagSupport {
private String attName = null;
private String attVal = null;
//Normal set methods for in tag attribes: <sb:attribute name="..." value="..."/>
public void setName(String name) {
attName = name;
public void setValue(String value) {
attVal = value;
public int doEndTag() throws JspException {
//If value not set yet, it should come from the tag's body
//<sb:attribute name="...">Some Value</sb:attribute>
if (attVal == null) {
if (bodyContent != null && bodyContent.getString() != null) {
attVal = bodyContent.getString().trim();
} else {
//If not found in body, then use empty string for value...
//(or some appropriate value....)
attVal = "";
setAttribute();
return TagSupport.EVAL_PAGE;
//Assign the attribute to the this tag's parent.
private void setAttribute() {
ScriptBitsTag parentTag =
(ScriptBitsTag)TagSupport.findAncestorWithClass(this, ScriptBitsTag.class);
parentTag.setAttributeValue(attName, attVal);
}The TLD has the SlidingFrame tag look like this:
<tag>
<description>Sliding Menu Window</description>
<display-name>SlidingWindow</display-name>
<name>slidingWindow</name>
<tag-class>net.thelukes.steven.scriptbits.SlidingFrameTag</tag-class>
<body-content>jsp</body-content>
<!-- attributes available for in tag sb:slidingFram windowID="..." for example -->
<!-- set required to false to allow the attribute to be set by sb:attribute tag -->
</tag>The rest of the tld is pretty standard... In my JSP I then have:
<sb:slidingFrame windowID="sliding_frame">
<%-- Attribute Set for this sliding frame --%>
<sb:attribute name="speed">
<c:out value="${sessionScope.speedV}"/>
</sb:attribute>
<%-- Content of the sliding frame --%>
Menu Item A<br/>
Menu Item B<br/>
Menu Item C<br/>
<hr/>
Menu Item A<br/>
</sb:slidingFrame>In this case, instead of doing:
<sb:slidingFrame speed="<sb:attribute value='whatever'/>">I nested the attribute tag between sb:slidingFrame's open and close tag. You have to make sure that any work you want to do that depends on the value of speed is done in the doEndTag so as to make sure it occurs after the nested tag does its work. -
How can I combine multiple listings for same genre on iTunes 11?
When I downloaded the newest iTunes version 11, I suddenly had multiple listings for the same genre. I literally have 63 genre listings for "Trance"; 4 listings for "Hip-Hop/Rap" and a few others. There was obviously not a problem with the old iTunes version as they were all grouped together. I do get music from several sources but I have no idea how to combine all my "Trance" listings into one. It takes longer to scroll through the "Trance" genres than the rest of my genres combined. I tried to individually change one the "Hip-Hop/Rap" listings by using the "Get Info" tab and typing in the genre until iTunes can autofill the rest but the problem remains. Any ideas how to combine all these into one genre without compromising the genre name? Thanks
Mac OS X Version 10.6.8 Snow LeopardI believe the closest you can come is look at your songs in Songs. There you can sort by albums.
The album view does not contain a list view any longer. -
Multiple entries for same apps showing next to 'Open With' in contextual menu since last backup
I did a back up of my MBPs internal drive recently, using Carbon Copy Cloner - since then there are multiples of the same icons for all apps under 'Open With' in the contextual menu. I seem to remember there being a command line that could be entered in Terminal to fix this, but I can't find it anywhere.
Can anyone help?Yes, LaunchServices. These are only cache files but can get corrupted. Launch /Utilities/Terminal and copy & paste this at the command line to rebuild LaunchServices: (be sure to copy the entire line it's a scroll)
Code:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
Then press return. Wait until terminal returns to the command line. Quit Terminal. After that, log out and back in or restart. Let us know -
ME01 LSMW multiple record for same material issue.
Hi Experts,
I have an issue with multiple record for the same material and plant when I upload the data from the file. Lets I have the records.
Material Plant Start date Enddate Vendor Porg.
1 0010 20060101 99991231 2 0010
1 0010 20060101 99991231 3 0010
When I upload the above data there are 2 IDOCs created when I am using the method LSMW-IDOC method, but only last record is getting updated and the first one is not getting updated in ME01 souce list. But I am getting the success message for both IDOC in LSMW. So I am not sure how to fix this why only last record is updated and not other records??why do you have 2 idocs?
wouldn't be 1 idoc with 2 items be more logical?
1 record in structure E1EORDH
and 2 records in structure E1EORDM
I believe your 2 IDOCs get posted, but I think your 2nd Idoc overwrites the values entered from the first IDOC. -
Skip lot across multiple batches for same material
Hi,
I am looking for a way to control skip lots across multiple batches for the same material.
We need to do a quality check in production after a certain quantity produced (on a machine, for a material). My idea was to do skip lots (for GR) until we reach a threshold (say 10.000 pcs) and then do an inspection for the next GR for that material.
Any ideas how to set that up?
Thanks for any hint
AndreasHi mergler,
Ref to your query pls check this link Stock Posting for Skip Lots
Thanks in advance -
Multiple entries for same title in ADE title list
I have 6 entries for the same title in the ADE title list. All have the same date and time added. All but one are blank in the "Last Read" column. On my computer I have only 1 epub file for this title. Why do I have multiple entries for the same title? If I delete all entries except for the one that has a date and time in the Last Read column will that be okay -- will I still be able to access the book?
Hi
This is the normal effect of SAP DBSL SQL code translation.
You can find a lot of post on SCN that will help you to understand this behavior...
Regards
About rsdb/prefer_join and rsdb_prefer_union_all
634263 - Selects with FOR ALL ENTRIES -
How to use multiple classes for each form
Hi,
I have created two forms using screen painter and now i want to use different classes for these two forms .
I have declared the Sbo Connection in main class i.e. Set Application ,Connection Context() but while connecting to other classes
for executing the code for that form SAP is not connected to that class.How to use multiple classes functionality i don't able to
do that.Please provide some sample codes for that as it will be more helpful for me to understand.
Thanks & Regards,
AmitHi Amit,
In fact, its more advisable to use separate classes for every form that you use. Have one common class, say, for eg., clsMain.cs which has all the connection and connectivity to other classes, wherein, the menu event and item event of this main class, will just be calling the menu / item event of other classes.
The individual functionality of the child classes will be called from the item / menu event of the respective classes.
Item event in clsMain.cs will be as below.
private void oApplication_ItemEvent(string FormUID, ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent)
SAPbouiCOM.Form oForm;
BubbleEvent = true;
try
if ((pVal.FormTypeEx == "My_Form1Type") && (pVal.EventType != SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD))
oForm = oApplication.Forms.GetForm("My_FormType", pVal.FormTypeCount);
NameSpace.Repots.ClsForm1.ClsForm1_ItemEvent(oApplication, oCompany, oForm, ref pVal, ref BubbleEvent);
if ((pVal.FormTypeEx == "My_Form2Type") && (pVal.EventType != SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD))
oForm = oApplication.Forms.GetForm("My_FormType", pVal.FormTypeCount);
NameSpace.Repots.ClsForm1.ClsForm2_ItemEvent(oApplication, oCompany, oForm, ref pVal, ref BubbleEvent);
Now, in the individual classes, you can have their respective item events, which will be called from the main class, and the respective functionalities will occur.
Hope this helps.
Regards,
Satish.
Maybe you are looking for
-
Passing variables to server is not working
I am new to action scripts, so I'm not even sure where to start. I have bits and pieces that I know work, but am not sure why the action script and the php file on the server do not seem to be talking correctly to each other. The action script seems
-
Conversion of a .jar OR a .class file into a .exe file
Can anyone tell me as how to convert a .jar OR a .class file into a .exe file I need to know as soon as possible.
-
MD04 whem returns Third-party sales
Srs, I have a process where they generate a sales process whith sales order and billing and second monent a sales order , with shipping and billing. Our process is MTO and therefore the first step I generate the need for production in MD04. If the or
-
Why is the max volume so low on my ipod 6th gen
why is the max volume so low on my ipod 6th gen
-
Open multiple PDF's...
Is there a way to open multiple instances of Adobe Reader on Android?