How do i query for a html content using cm:select tag

Hi i want to query the dmsBase directory for any html file(s).
I am using..
<cm:select> tag and using query ="mimeType like 'text/*' "
But it doesnot work
HELP....

Thanks for the reply, however I did find that you can test for a NULL with a Velocity #if statement and it works. Here's what I found this at the below website:
Conditional. Null can be checked for using #if ($obj) obj not null #end syntax.
http://today.java.net/pub/a/today/2003/12/16/velocity.html
Regards

Similar Messages

  • How to write query for this in TopLink ?

    I am doing a simple search in jsp where the search will the based on the choices chosen by user.
    I had given 3 check boxes for those choices.
    The problem is, query will be based on the choice or choices chosed by the user.
    How to write query for this in TopLink ?
    Thanks in Advance..
    Jayaganesh

    Try below solution, it is NOT best solution but might work:
    Declare @Questions TABLE (QuestionID INT, QuestionText Varchar(100))
    INSERT INTO @Questions
    VALUES (1, 'Comment'), (2, 'Score')
    DECLARE @Answers TABLE (authkey INT, QuestionID INT, questiontext VARCHAR(100), answertext VARCHAR(100))
    INSERT INTO @Answers
    VALUES (101, 1, 'comment', 'hi!!'), (101, 2, 'score', '4'), (102, 1, 'comment', 'excellent'), (102, 2, 'score', '5'), (103, 2, 'score', '6'), (104, 2, 'score', '8')
    SELECT
    A.AuthKey
    ,Q.QuestionID
    ,Q.QuestionText
    ,A.AnswerText
    FROM
    @Questions Q
    INNER JOIN @Answers A ON Q.QuestionID = A.QuestionID
    UNION
    SELECT
    A.AuthKey
    ,Q.QuestionID
    ,Q.QuestionText
    ,Null
    FROM
    @Questions Q
    CROSS JOIN @Answers A
    WHERE
    NOT EXISTS (SELECT 1 FROM @Answers SubQry WHERE SubQry.AuthKey = A.AuthKey AND SubQry.QuestionID = Q.QuestionID)
    Output
    AuthKey | QuestionID
    | QuestionText
    | AnswerText
    101 | 1 | Comment | hi!!
    101 | 2 | Score | 4
    102 | 1 | Comment | excellent
    102 | 2 | Score | 5
    103 | 1 | Comment | NULL
    103 | 2 | Score | 6
    104 | 1 | Comment | NULL
    104 | 2 | Score | 8
    Best Wishes, Arbi; Please vote if you find this posting was helpful or Mark it as answered.

  • How to create a clickable Table of contents using Crystal Reports 8.5

    How to create a clickable Table of contents using Crystal Reports 8.5. I was able to create the table of contents using subreport and temporary table. but not able to link to the pages.
    how to make it clickable ?
    -Vivek

    Hi Vivek,
    To you may create on demand sub report.
    In main report only the link will be shown when you click on the link the sub report will be opened in a new tab.
    It can be placed in a Group header and to show the data for that particular group only.
    Click on the Help menu in the crystal Reports Designer and open the Crystal Reports Help
    Go to Index tab and type in subreport
    Select Creating On demand you will get lot of information on that.
    Please let us know if that is enough to solve your problem
    Regards,
    Aditya Joshi

  • How to set value for trim and bleed using jsx script?

    I have tried using bleedoffsetRect but somehow it is not working. Can anybody please help me on how to set value for trim and bleed using jsx script? Any example will be highly appreciated.
    Following is the code I am trying with:
    var _saveName = new File ( root_path +_strFileName+".pdf");
        var _saveOpts = new PDFSaveOptions();
        _saveOpts.printerResolution = 300; 
        var bleedarray = new Array();
         bleedarray[0] =9.00;
         bleedarray[1]=9.00;
         bleedarray[2]=9.00;
         bleedarray[3]=9.00;    
        _saveOpts.bleedOffsetRect = bleedarray;

    I would expect although I've not actually tried this for the bleed off set box to be larger than the artbaord and the first two values to be negative or 0…
    var bleedarray = new Array(-9,-9,artboard.width+9,artboard.height+9);
    Where 'artboard.width' & 'artboard.height' you will have calculated from your file. An Array(9,9,9,9); would not constitute any boxes bounds.

  • Hi i dont have a wifi broadband n i just bought the new ipod touch can anyone tell me how 2 download apps for my ipod without using wifi

    hi i dont have a wifi broadband n i just bought the new ipod touch can anyone tell me how 2 download apps for my ipod without using wifi

    Download the apps on your syncing computer and then sync to the iPod. Note that you can only sync apps for the one syncing computer you use with the iPod. You can manage music and videos among different computer.

  • WRT54GL V 1.1 : how to reserve IP for specific MAC address using DHCP

    My !free! made in China router have this functionality. And yet I have been banging my head with this new reasonably expensive wireless router from Linksys. Anyway I lug my notebook around. I need my home router to be able to automatically configure notebook IP address using DHCP. At the same time I need the ip given by home router through DHCP to be the same IP all the time. So "static" ip is not the solution. Alternative "static" ip is also not a solution. Anything with the word "static" in it is not a solution. I know about third party firmware (wrt or tomato) and I know WRT54GL can be flashed with this third party firware. But I'm not going to void my warranty. This will be my last option but not the solution that I seek. I would like to know how to reserve ip for specific mac address using DHCP for WRT54GL V1.1. If this version have no way to make such configuration, I would like to know if there is official firmware upgrade that address this. Thanks in advance!

    LDK-Anc wrote:
    Tonik - For the life of me, I cannot find DHCP Reservation on the WRT300N. I'm currently configuring one and it would be really useful if I could fine it. Maybe LinkSys calls it something else, but I don't really see anything resembling it. Help!
    Maybe these could help. (Images extracted from the User Guide)
    Setup tab: Basic Setup
    DHCP Reservation
    Message Edited by denman_v2 on 03-25-2008 05:11 PM

  • Customer support html (html service) - how can i query for 'closed' SRs

    hi,
    11.5.10.2
    in customer support html (html service - CSZ), is there any facility to query for SRs that are in 'closed' status?
    currently, a SR in 'closed' status can only be queried if agent knows the exact SR number. on Advanced Search page, even though the application allows 'closed' status to be selected, it does not return any record.
    help is appreciated, as this is critical to our business.
    regards.

    You can search for Closed SRs. Ensure that the search criteria 'Active' is set to 'No'. This will return back closed SRs.
    Who is the customer? Can you provide some more details on the implementation? (you can send me an email to [email protected])
    Thanks.
    Edited by: dejoseph on Mar 31, 2010 12:00 PM

  • How to pass query result to HTML table?

    Hi,
      i want to get the query result in HTMl table instead of Display Grid. how to do it? i searched in help, it suggests use icommand to do this. but i dont know how to pass the select query result to HTML table.. please help me.
    -senthil

    Hi Senthil,
    You can create an icommand query. You can then use the icommand retrieval methods to capture and manipulate the query data.
    (http://help.sap.com/saphelp_xmii115/helpdata/en/Applet_Reference_Details/iCom
    mand_Reference.htm)
    Basically what we did was, use the getColumnCount() and getRowCount() methods, once you have these two numbers you can set two for loops and use String getValue(int ColID, int RowID) , within the for loops you can generate the inner html content and write the values either in a html table or html form (which is what we did). This seems to work well, I'm still playing around with it and may post this approach on sdn by end of this week.
    Mahwish

  • Search function for external html content

    Hi all,
    i have got a Flash Projector which is to be deployed on
    DC/DVD rom. I am using an XML menu to load various chapters and
    sections of html content, images etc. The client is now asking for
    the capability to search within the "books" content.
    Is there any way of doing this? I have found an Extension
    that allows me to search within a text field, but what about
    external content files?
    Please help. I've had a quick look at Director, but I can't
    see any guarantee that that product will give me an easier
    solution, not to mention the weeks or relearning and
    redeveloping...

    You probably need to read all the data into Flash and do the
    searching in Actionscript.
    Director as I recall has better access to the OS so it could
    potentially read a local database. However you should continue to
    consider how to accomplish in Flash.
    If you want to explore accomplishing the same with Flash then
    look at third party products such as Zinc that will allow you to
    get to the OS.

  • SSRS 2008 R2 report does not print the page header for a html content displaying on multiple pages

    Hi
    I need to display the html content from the database. The html content are quite long and can have content of 3-5 pages. Issue I  am facing is f the record has html content of 3-5 pages, then it does not print the page header (which is a separate tablix) on
    second page onwards.
    Nikesh Shah
    Nikesh Shah

    Hi Nikesh,
    According to your description, I’m not sure the meaning of Page header in your scenario. In Reporting Services, a page header that run along the top of each page, respectively. Headers can contain static text, images, lines, rectangles, borders, background
    color, background images, and expressions. But we couldn’t add tablix in the page header.
    If you are saying report header, a report header consists of the report items that are placed at the top of the report body on the report design surface. They appear only once as the first content in the report. So it cannot repeat in other pages.
    If you are saying tablix header, freezing column headers are different in table and matrix. For more details, please refer to the following thread:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c8ddc1af-1bdf-4e72-8aab-0353c7cc848a/ssrs-report-freezing-row-and-column-while-scrolling-issue?forum=sqlreportingservices
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Best practice for sharing html content on different group spaces?

    How can html content be shared between several group spaces?
    One way I have found is to add a html doc to ucm and then to add this doc as a iframe to a page.
    Are there other ways, like adding on one group space page a html layout element and then to view this content in a different space. How could this be done, with an expression language reference?
    Has someone experience in presenting the same html content on different spaces and can share how he does it. Any ideas are welcome.
    Thanks,
    Max

    Hey Max,
    Check out our technical whitepaper on Integrating ECM with Portal Technologies.
    Our "Fishbowl Portlets" allow you to share any content - HTML, WYSIWYG user generated content, documents etc - in multiple contexts (portlets, web apps, etc).
    This is one of the things that we showcased as the recent Collaborate conference in Vegas - WebCenter framework, UCM and the portlets surfacing the same items in different contexts - all personalization aware, configurable and end user/super user editable.
    The white paper can be found here:
    http://www.fishbowlsolutions.com/StellentSolutions/ContentManagementResources/index.htm
    A blog post on it can be found here:
    http://cfour.fishbowlsolutions.com/2010/03/10/fishbowl-portlets-followup-cis-and-content-consumption-options/
    warmly,
    Billy Cripe
    Fishbowl Solutions

  • How to disable Query for single controls in a Form Applet?

    Hi All,
    this should be so simple, but seems like I don't get it at the moment.
    I have a Form Applet in HI Mode and want to disable the possibility to Query on certain fields. these are Calculated fields and querying will most likely crash the application due to heavy performance impact. They should be for displaying only. How to do that? I have searched for Applet Control User Properties and such stuff but couldn't find one.
    Thx

    Hi Siebelade thanks for your reply,
    in the meantime I managed to do it using a BusComp Field User Property called "DisableSearch". If you set this to "TRUE" for the desired fields, the user will receive an error message when trying to query for these fields.
    Benny

  • How to model query for -- existing and unchanged values

    Hello BW Experts,
    I have material and material group as navigational time-dependent attributes. I have a requirement to show the existing and unchanged values for the material and material group in the time frame 2003 to 2006 . how to create a query for this.
    Suggestions appreciated.
    Thanks,
    BWer

    HI ,
    I think u need to add two more date fields as the attributes  to the master data and then use them and give restriction in the query with the Keydate to see data which has unchanged from One range to another . As key Date applies to only the system defined to and from dates present in the Master Data .
    In query give Keydate as 31.dec.2006 and then give restriction for user defined dates sa follows :
    User From : 01.01.1000 - 31.12.2002.
    User To : 01.01.2007 -- 31.12.9999 .
    Regards,
    Vijay.
    Message was edited by: vijay Kumar
    Message was edited by: vijay Kumar
    Message was edited by: vijay Kumar

  • Win7 - Using KMS Server for Office 2010 - How can you query that it's actually using KMS?

    Hi All,
    Our Desktop Support alerted me to an issue in which a client received a pop-up notification about activating Office within 30 days.
    I started to dig into our KMS Service, having inherited it from a prior, now gone for greener pastures colleague of mine.
    I see the Office 2010 key on the KMS Server and there is a corresponding DNS SRV record for the Server.
    Here is that information:
    Name: Microsoft Office 2010, KMSHost edition
    Description: Microsoft Office 2010 KMS, VOLUME_KMS channel
    Activation ID: bfe7a195-4f8f-4f0b-a622-cf13c7d16864
    Application ID: 59a52881-a989-479d-af46-f275c6370663
    Extended PID: 55041-00096-199-345382-03-1033-7601.0000-1222013
    Installation ID: 021315815071370255435840389124010276914515863061481930
    Processor Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88342
    Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88343
    Use License URL: http://go.microsoft.com/fwlink/?LinkID=88345
    Product Key Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88344
    Partial Product Key: xxxxx
    License Status: Licensed
    Remaining Windows rearm count: 4
    Trusted time: 2/18/2014 10:34:28 AM
    Key Management Service is enabled on this machine
        Current count: 10
        Listening on Port: 1688
        DNS publishing enabled
        KMS priority: Normal
    Key Management Service cumulative requests received from clients
        Total requests received: 26175
        Failed requests received: 0
        Requests with License Status Unlicensed: 0
        Requests with License Status Licensed: 24443
        Requests with License Status Initial grace period: 1712
        Requests with License Status License expired or Hardware out of tolerance: 12
        Requests with License Status Non-genuine grace period: 0
        Requests with License Status Notification: 8
    Thing is, I try querying for the KMS status on the Win7 machine and there is no entry anywhere that corresponds to Office 2010:
    c:\Windows\System32>cscript slmgr.vbs -dli bfe7a195-4f8f-4f0b-a622-cf13c7d16864
    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.
    Error: product key not found.
    Where can I make certain that Win7's Office 2010 is in fact using KMS for licensing?  Is it in the registry?
    Thank you very much for your time,
    Mr Mister

    Hi,
    We might consider to use Volume Activation Management Tool to check the Activation Information:
    Reporting Activation Information Using Volume Activation Management Tool 2.0
    Or we could take a look into the application log for event ID 12288, 12289 as well as 12290. (the 12288 and 12289 should be in pairs: client query-kms response)
    More information, please take a look at the below articles:
    How to determine whether the KMS server is working
    Windows Event Log
    Hope this may help
    Best regards
    Michael
    Michael Shao
    TechNet Community Support

  • How to pass query  parameter from HTML in SAP XMII

    I need to pass the value to query parameter from html .i m quite confused about how to do that .can anyone give me a valid point....

    Ramesh,
    Addition of Rupesh,
    U can also pass in the form of INLINE paramters.
    Like
    <Applet name = <appletname> width .......>
    <param NAME = "param.1" VALUE = <value>
    <param NAME=  "param.2" VALUE = " <value>
    </APPLET>
    Thanks
    Hari

Maybe you are looking for

  • Pages document saved as doc not readable by word

    Hi all, Lately I'm having trouble exporting my Pages documents to Microsoft Word format. I've tried the "Export" option directly available in the File menu, as well as the "Save as a copy" option in the Save dialog box. De document is correctly saved

  • Suddenly won't boot, start up commands not working... am I out of luck?

    Funny, this is my first mac being a hardcore and longtime PC user as my "test" mac... everything works perfectly... of course until 12 days after my warranty is up... This morning on waking up my mac to turn on some music in iTunes, i click on the iT

  • What should be configured as channel in Oracle CEP HTTP adapter for remote publishing?

    Hi, Below is the adapter configuration that I have for Oracle CEP HTTP adapter for remote publishing. What exactly should be configured in <channel> here? In the oracle documentation example, it only says /channel2 as an example. Below is the HTTP ad

  • Ipad 2 problem

    Hi there everyone - I was upgrading one of the apps and then the ipad had a line down down the middle and the apple logo - so i tried to switch it off - and now even though i press the start button and round button at the same time - it truns off onl

  • Threading two different text boxes

    Hi.. How do you thread two different text box with two different text format? Eg. Text Box 1: Font Size 50pt... Text box 2: Font Size 10pt.. Once you thread the two text boxes; and delete the content in Text box 1, what ever the content that flows to