Finding meta-tag attribute values

we are considering using UltraSearch for our web site search and i'm trying to figure out how to implement some of our requirements.
i have created a new Attribute and mapped it to a Meta-tag keyword we have defined, but i can't figure out how to get/select the values found in the Meta-tag so i can create a pull-down list of values.
what are the tables and what is the SQL i need to get these values/words?
thanks!
cb

You may have already solved this issue but I have been trying to do the same thing and here is what I have found:
Within the ultrasearch table structure there is a table named 'dr$wk$doc_path_idx$i'. This table contains the indexed words and other values. One of the columns is named TOKEN_TYPE. From what I have seen there is a unique TOKEN_TYPE for each mapped attribute. You can then select from that table based on TOKEN_TYPE(or create a view for each attribute). For Example: I mapped an attribute called Country to a meta tag named Country. Let's say that the TOKEN_TYPE for this example is '24'. I can then query the table for all values with a TOKEN_TYPE of 24 to give me a list of countries that were found. NOTE: The results returned are single words ie: united, states, kingdom, arab, emirates - not "United States", "United Kingdom", "United Arab Emirates". If you solve how to string them together please post bag.

Similar Messages

  • Custom tag attribute values..

              hi,
              I have created custom tags from my EJB using ejb2jsp tool. I tried the following,
              1 works and the other doesn't,
              a) This works.
              <mytag:foo param1="<%="test"%>" />
              b) this gives me a "ClassCastException" <% String value = "test"; %> <mytag:foo param1="<%=value%>"
              />
              ----++++++ java.lang.ClassCastException: java.lang.Object at javax.servlet.jsp.tagext.TagData.getAttributeString(TagData.java:165)
              at com.niteo.projects.intelXML.xbrl.ejb.jsp_tags._XBRLContentProvider_se tIdTagTEI.isValid(_XBRLContentProvider_setIdTagTEI.java:37)
              at weblogic.servlet.jsp.StandardTagLib.verifyAttributes(StandardTagLib.j ava:443)
              ----++++++
              I have tried all possible tricks, but this doesn't work. Is there something that
              I missed while creating the custom tag Or is it the way I am using the tag..?
              any help pls...
              thx in advance -jay
              

    It seems like you want to be able to clear the default attribute and set an empty attribute in you custom tag. One way around this would be to pass a blank character in. That would force the default to be cleared with the blank. You could take it a step further and trim the attribute value before storing it. Alternatively you could set an overriding attribute such as:
    <slasher:foo name="slasher" ignorewhatever="true" />
    protected String whatever = "some default Value";
    public void setWhatever(String whatever)
         this.whatever = whatever;
    public void setIgnorewhatever(String ignore)
         if(ignore.equals("true"))
              this.whatever = "";
    }Cliff

  • ApplicationResources.properties value as custom tag attribute value

    I have a custom tag which takes 4 parameters, can accept static strings or expressions.
    I would like to send in the value of a key in my ApplicationResources.properties file as one of the values for my attributes but i'm unsure how to do so. I have not found any pertinent information out there either, is this even possible?
    Thanks,
    JP

    you can, but you can't nest tags like this:
    <my:tag attr="<bean:message key="abc">">
    so you'd have to do this, presuming the attribute allows rtexpressions:
    <%
    MessageResources mr = (MessageResources)application.getAttribute(Globals.MESSAGES_KEY); // or the bundle name
    Locale locale = (Locale)session.getAttribute(Globals.LOCALE_KEY);
    %>
    <my:tag attr="<%=mr.getMessage(locale, "abc") %>">

  • UIX table tag's attribute VALUE is missing in jdev 10g production

    In JDeveloper 10g preview, I handled my table's navigation manually and need to set the table's tag attribute VALUE in order to keep the record range.
    However, when i convert my project to JDeveloper 10g Production, eventhought the page is still working fine, but in the design windows will show that the uix page is in invalid state and I found that the attribute VALUE is no more supported.
    Could anyone please help me and let me know how do i set back my record range? Thanks!

    It turns out that you're running into a bug that will be fixed in the soon to be released version of JDev 10g. The good news is that it's a design time bug, so your pages will still work at runtime. You can even fix the bug yourself if you want. In JDEV_HOME\jlib there is uix2-schemas.zip. Inside of that is ui/table.xsd.
    Add the below attribute definition inside of the complex type for the table, and you should be all set.
    <attribute name="value" type="ui:unsignedIntExpressionType" default="1"/>
    Hope this helps,
    Ryan Pollock
    UIX Team

  • Accepting traditional %= ... % dynamic attribute values in tags

    I am using Tomcat 5.5 (Servlet 2.4). This JSP code works:
    <% String strFoo = "index.jsp"; %>
    <jsp:include page="<%= strFoo %>"/>
    ... but this code that uses a custom tag I wrote doesn't work:
    <% String strFoo = "index.jsp"; %>
    <myutil:check url="<%= strFoo %>">
    some content
    </myutil:check>
    I get an error:
    An error occurred at line: nnn in the jsp file: /xxxxxx.jsp
    Generated servlet error:
    strFoo cannot be resolved
    I have set the "url" attribute's rtexprvalue setting to "true" for the myutil:check tag in its .tld file.
    Does anyone have an idea about what might be wrong? I would have thought that what works for a jsp:include attribute should work for any tag attribute value with runtime evaulation enabled.
    Of course, I would rather be using EL expressions, but I have a large body of existing code that I need to get working with this servlet container quickly, and rewriting it all is not an option at the moment.
    Thanks

    Looks good to me. I can't think of any reason why it shouldn't work.
    Can you please show the tld (or an example tld) defining this tag?
    If you could have some 'dummy' code to duplicate the issue, it will be easier to help.
    One thing you might try - take a look at the code generated by the conversion into servlet. It should be in the [TOMCAT]/work directory.
    See if you can figure out from there why strFoo would not be in scope. Maybe you had it nested in another block?
    Hope this helps,
    evnafets

  • Updating tag attributes in design time

    I have a design time renderer for my custom component... As the component renders itself in design time, I set some of the component properties from within the renderer... The property sheet correctly shows those values... However, the associated JSP tag in the source view does not show those attributes... The JSP tag attributes dictate the runtime behavior and since they are not set properly, my component misbehaves.
    How do I make sure that the tag attributes sync up with the property sheet values?
    Also, what is the motivation behind the property sheet displaying the component values and not the JSP tag values? Having it the way it is right now opens itself up to a bunch of out-of-sync problems like the one I encountered.
    Thanks,
    Keyur

    Ok - here are a couple of scenarios:
    1. I have a component, say chart component associated with a connection component like this:
    <my:connection id="connection1" />
    <my:chart connectionId="connection1" />The user first drags and drops the connection component. The ID connection1 is automatically associated to it. Next he drops the chart component. Now, I would like to automatically populate the connectionId attribute without the user having to type it in manually. I am able to do that (in design time) in the renderer of the chart component - I programmatically look for a connection component on the page and set the connectionId attribute of the control. And when I do that it correctly shows the connectionId attribute populated in the property sheet but the corresponding tag attribute is not.
    Sure enough, at runtime, it is the tag attribute values that count and since those are not updated by the IDE, it does not work as expected.
    2. Creator updates the style attribute when I move or resize the component. Now, I also have position attributes left and top defined on my component and I use these attributes at runtime to position my component. So, in design time I extract the left and top values from the style attribute and set them on the component. But again, the tag attributes are not populated and so the component is not positioned properly.
    #1 is to convenience the user so that he doesn't have to manually enter values for attributes which can be automatically populated at design time.
    In fact for #1, I would ideally like to show the user a drop down list of all the connections available to him in the property sheet and select the first one by default. Is this possible?
    #2 is for backward compatibility reasons - We already have runtime renderers in place which use left and top attributes explicitly to render the components at runtime. And this is not restricted to left and top only but other client attributes as well - such as borders, backgrounds etc. which we expose as separate attributes.

  • Use jsp tag output as another tag's attribute value

    I don't know anyone has ever tried this, one tag's attribute value needs to be dynamically set using another tag's output. Something like
    <layout:grid cols="<layout:write name="element" property="value"/>'' space='false'>
    </layout:grid>
    I want the cols attribute of grid tag to be the output of <layout:write name="element" property="value"/>
    The way I wrote is of course not working.
    But I know PHP can do things similar to this, JSP should be able to achieve something like this too.
    If anyone knows how to do this or using any alternative way to do this, please let me know.
    Shane

    something like this...
              OuterTag qParent = null;
              try {
                        Tag myParent = getParent();
                        while (myParent != null ) {
                          // loop up through tags until you find the one you want
                             if (myParent instanceof OuterTag) {
                                  qParent = (OuterTag) myParent;
                                  data = qParent.getSomeData();
                             } else {
                                  myParent = myParent.getParent();
                   }

  • Setting an attribute value of a tag equal to a String variable in scope

    Hi,
    I don't think this is possible because I get an "expression not allowed" error when trying it. But long story short I'm trying dynamically set attribute values on a taglib. For example:
    <%
    String value="attributevalue";
    // set the attribute of the tag below equal to this variable value
    %>
    <tag:mytaglib name="<%=value%>"/>
    I looked at the generated jsp page and seems like the variable "value" is not in scope of the method that processes the tag. Does anyone have any ideas or can confirm that there is no way to do this. Thanks!

    You can do it.
    In your tag library (*.tld) file, have an entry as:
        <attribute>
            <name>name</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>This should do the trick.
    Let us know if it worked for you.
    Thanks and regards,
    Pazhanikanthan. P

  • Using Oracle Text to find attribute values in a XML document

    Can anybody help me? I created a index on a URIType column,
    create index my_index on uri_tab(docurl) indextype is ctxsys.context parameters ('SECTION GROUP my_sections').
    Before index creation I executed these two functions, which prepare Oracle on text search in attribute sections: ctx_ddl.create_section_group('my_sections','XML_SECTION_GROUP') and exec ctx_ddl.add_attr_section('my_sections','machinetype','MachineType@text')
    After index build I looking for an attribute value.
    SELECT e.docName FROM uri_tab e WHERE CONTAINS(e.docurl,'SM_52 WITHIN machinetype') > 0;

    An advise to read Oracle documentation is great but I have done it already and didn't find a way to check a syntax of an attribute retrived from LDAP server.
    I haven't find anything new in $ORACLE_HOME/RDBMS/admin/dbmsldap.sql as well.
    Let's take an example. I have taken some attribute from LDAP server by dbms_ldap.first_attribute and would like to know if the values of this attribute are strings or some binary staff.
    How can I do it?

  • Why there is a difference in a "class" attribute value of html tag when viewed in "Page Source" and using "Inspector", I am refering to new Microsoft site?

    While inspecting the new Microsoft site source, I observed that the "class" attribute value of the "html" tag when seen in Page Source the value given by Tools/Web Developer/Inspect tool. Value with the tool indicates class="en-in js no-flexbox canvas no-touch backgroundsize cssanimations csstransforms csstransforms3d csstransitions fontface video audio svg inlinesvg" while that is given in Page Source is class="en-us no-js"
    The question is why different values are shown?

    Inspector is showing you the source after it's been modified by Javascript and such.
    To see the same thing in the source viewer, press '''Ctrl+A''' to select everything on the page, then right-click the selection and choose '''View Selection Source'''.

  • How to add meta tags and keywords, I cannot find a way to do that

    Does somebody know how can I add content and keywords to my website dome with I web?
    It seems it is important for search engines to find it!

    Content is what you add to your page. The visible part your visitors can see.
    Keywords have to be added with [a META tag in the HEAD|http://www.google.com/search?q=meta%20tag%20head] of the webpage. That cannot be done in iWeb. You have to edit the published pages with a HTML Editor of your choice.
    It's debatable whether these keywords have any impact on being found by a Search Engine.
    Provide good content.

  • How to find the meta tags in a different website

    I have a potential client who wants to know what the meta tags are in some one else's site.
    How would I find them?

    You have posted your message to the "Forum comments" forum. The Forum comments forum is intended for making comments on the functioning of any of the forums. The Forum comments forum is not intended for issues related to the use of Adobe products or other Adobe services, nor for general advise.
    You should find a forum on general web development / design and post there, or potentially if this is related to an Adobe product post in the forum for that product: http://forums.adobe.com/community/

  • Is it possible to regroup data based on attribute value of a tag?

    is it possible to regroup data based on attribute value of a tag?

    Hi Rajeev,
    You can filter records during import if one of the Matching field is of type Lookup.
    In your case if you create City as flat lookup table in MDM & maintain lookup values in DM(Just as an example), then you can import only records where city is HYD.
    Map Name & City, Then in Match Records tab select both the fields (Combination)
    then right click on it & select Filter.. option.
    Now new pop up will open where you be able to see ur Lookup table values, from there select HYD and Add
    Now in default Import Action, set Create Action for None/None (All other will be skip)
    This way you will import only HYD records.
    But this is possible only on Lookup fields & not foe Text fields
    Hope this will help you
    Thanks & Regards,
    Mahi

  • Is it possible to find the meta tags used in a different website?

    I have a potential client that wants to know the meta tags used in a different site from his own. Is that possible?

    View page source in browser.  FYI: Major search engines don't pay attention to Meta keywords.  So I don't think there's much to be gained from this.  What matters most is the actual page content.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Find variable value out of attribute value

    Hi experts,
    We have the following requirement:
    We have several queries in a workbook/Web Apllication.
    Some of them are on sub-department level, other on department level.
    We want the user to key in only sub-department (Unique)
    The department is a navigational attribute of sub-department.
    How can we pass through this department, using the variable -value of sub-department?
    I guess we should use a replacement path variable, but w're getting stuck on the use of the rest of the parameters.
    Or should we do it otherway?
    Thanks for your response
    Udo

    So here, you will have input for sub department for few queries and in other queries you need to populate department based on sub department entered by the user, right?
    Read the subdepartment varaibel value when the user enters and store it as global value in the customer exit code include. Based on that read the attribute value and populate it to the department variable. This just needds some smart ABAP declarations.

Maybe you are looking for

  • Problem in setting transperancy in Jframe

    I have a problem in setting transperancy to the Jframe. I would like to know is there is any way for doing it, if it so how ? With Thanks John

  • Exception handling in function module

    Hi experts, when we write the function module in the report program like "CONVERT_TO_LOCAL_CURRENCY"  if anything goes wrong in this FM the program goes to dump. So how to handling this exceptions. if sy-subrc ne 0 then i need to continue with the ne

  • LOAD_PROGRAM_NOT_FOUND Short dump in R/3

    Hi frnds, I am facing some short dump problem while loading the data from R/3 BW, its a master data. The short dumps are LOAD_PROGRAM_NOT_FOUND and RAISE_EXCEPTION in R/3. Not able to find the exact problem and please suggest some OSS Notes. Thanks H

  • Document level permisssions

    Hello Friends, One of my SharePoint 2013 portal user does not have any level of access to the site and to one of the document libraries. And the documents have unique permissions in the library. Can that user: 1. Access the document 2. Edit and save

  • Re: Official complaints procedure

    I would like to make a compaint about the cutomer option department. I spoke with them last week about moving my service as I was unhappy with the tv service  (well my children were not happy) as it is very slow when changing the channel and scrollin