Tags with empty body can't work in WLS 7.0SP5

Hi, I'm now using WLS 7.0 SP5. In my JSPs, I have the following tag with empty body:
          <jsp:setProperty name="xxxForm" property="style123" value="abc"/>
          It doesn't work. The script works if I change that into:
          <jsp:setProperty name="xxxForm" property="style123" value="abc"></jsp:setProperty>
          However I have found that this problem should be fixed in WLS 7.0 SP1 already. (http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_solution&answerpage=solution&page=wls/S-13458.htm) Any hint about this strange problem? Thanks in advance!

HI,
I am using RangeTimeStep for displaying data in time range. I dont know understand whats wrong with this code as it displays graph with some other criteria that I donot specify in RangeTimeStep. The member of Day is like 02/16/2003 and member value is DAY_460. Although I passed both the values but still getting the same graph.
Would you please tell me whats wrong in the code?
Presentation graph1 = (Presentation)pageContext.findAttribute("ahb_country_pres1");
ThinGraph bubbleGraph = (ThinGraph)graph1.getView();
QueryClient query = (QueryClient) bubbleGraph.getDataSource();
String strTimeDim = "MDM!D_RMI_RIM_OWNER.TIME";
String strStandardHier = "MDM!D_RMI_RIM_OWNER.TIME.TIME_HIER";
Vector vec = new Vector();
vec.addElement("MDM!D_RMI_RIM_OWNER.TIME.TIME_HIER.L.DAY");
Selection sel1 = query.findSelection(strTimeDim);
RangeTimeStep rangeTimestep1 = new RangeTimeStep(strTimeDim,strStandardHier, vec, new Integer (2), RangeTimeStep.BEFORE,"DAY_460");
rangeTimestep1.setAction(RangeTimeStep.KEEP);
sel1.removeAllSteps();
sel1.addStep (rangeTimestep1);
query.applySelections(new Selection[]{sel1});
query.refreshAll();
Regards,
Aamir

Similar Messages

  • [nQSError: 13049] User 'BISYSTEMUSER' with 'empty' permission can not query

    Hi,
    On my local OBIEE 11.1.1.5 Windows 64 bit, I get [nQSError: 13049] error all the time. I understand this must be my configuration is wrong somehow, but comparing with correct installations I can't find a clue, and can't find anything from google either.
    Could you please suggest what can be wrong? How to add permissions?
    - log in to obiee as weblogic/welcome1
    - Administration -> Manage Privileges
    - get: State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 13049] User 'BISYSTEMUSER' with 'empty' permission can not query user population.Please have your System Administrator look at the log for more details on this error. (HY000)
    I have
    - console: myrealm->Users->weblogic and BISystemUser, both in Administrators, BIAdministrators groups
    - em: bifoundation_domain->Security->Credentials, system.user=BISystemUser
    Thanks,
    Wei

    Try doing the following things:
    1) Make sure the user ID you are using as BISystemUser in EM is linked to the BISystemuser role
    2) Add the weblogic user ID to Bi administrator role. ( Do the association in EM ).
    This should solve your problem.
    Thanks,
    -Amith.

  • Records with a picklist field with empty values can't be seen from a report

    Records with a picklist field with empty values can't be seen from a report. I've created a report that have a picklist as a column. When there is no values the record(s) associated to this picklist don't appear. Do you know what are the common causes for this event?
    Regards
    Arturo

    Hi samrat chakraborty ,
    go to SUIM > roles > roles by complexselection criteria>
    under the selection according to authorization values give the object's  form SU53 screen and press enter it will asks the values for given object pass the values as per the SU53 and execute it will give the list of roles.... capture the roles. The user gets access if you give the any one of the listed roles is assigned, assign the role as per your approval process.
    Check with the below link for more assistence:
    http://help.sap.com/saphelp_erp2004/helpdata/EN/71/8fba30840c6e4d90da3526971cc684/frameset.htm
    Regards,
    S.Manu.

  • Custom Tag with open body loop

    Hi
    I'm fairly new to custom tags. I want to do something like the following
    index.jsp
    <mytag:allItems>
    ${item.name} ${item.url}
    </mytag:allItems>
    At the moment I have the following which works fine
    menu.tag
    <jsp:useBean id="items" class="com.content.urls"/>
    <c:forEach var="menuItem" items="${items.attachedItems}">
    ${menuItem.name}
    </c:forEach>
    index.jsp
    <mytags:menu />
    The bean returns a list and the tag file produces the urls which is great. However what I would like to do is using the example above not have the content of the loop fixed. For exmaple I could do
    <mytag:allItems>
    ${item.name}
    </mytag:allItems>
    or
    <mytags:menu>
    <li>${item.name}</li>
    </mytags:menu>
    I would also like to leave it so that closing the tag would still produce the list of urls as a default.
    any help much appreciated.

    Rob - replace your forEach with:
    <c:forEach var="menuItem" items="${items.attachedItems}">
        <%@ variable name-given="menuItem" scope="NESTED" %>
        <jsp:doBody />
    </c:forEach>The key here is that the menuItem variable is then exposed to the tag body before it is output.
    then your jsp will be:
    <mytag:allItems>
        <a href="${menuItem.url}">${menuItem.name}</a>
    </mytag:allItems>To do the last bit - you just need to define a variable for the body and then test whether it is set:
    <jsp:doBody var="body" />
    <c:forEach var="menuItem" items="${items}">
        <c:if test="${not empty body}">
            <%@ variable name-given="menuItem" scope="NESTED" %>
            <jsp:doBody />
        </c:if>
        <c:if test="${empty body}">
             <a href="${menuItem.path}">${menuItem.name}</a>
        </c:if>
    </c:forEach>Peter.

  • Custom tag with no body

     

    The method in your tag handler that is processing your tag (doStartTag()?
              doAfterBody()? doEndTag()?), should return SKIP_BODY if you don't want the
              tag handler to process the body. In your example it doesn't have a body
              anyway, so I guess you should still return SKIP_BODY.
              Hope this helps,
              Kevin Hooke
              In article <95sb9s$2tn$[email protected]>, <[email protected]> writes:
              >Hi,
              >
              >We seem to encounter the following problem:
              >WebLogic JSP engine cannot parse customed tag without a body correctly.
              >E.g., <xyz:foo attrib="value" /> would cause error "no corresponding
              >open tag ...". On the contrary, <xyz:foo attrib="value"></xyz:foo>
              >works fine. Does WebLogic enforces both oepn tag and close tag to be
              >present separately? If yes, is this specified in any of the document?
              >
              >We are using 5.1.
              >
              >Thanks,
              >
              >Xiao Ma
              >
              >
              >Sent via Deja.com
              >http://www.deja.com/
              ----- Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web -----
              http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
              NewsOne.Net prohibits users from posting spam. If this or other posts
              made through NewsOne.Net violate posting guidelines, email [email protected]
              

  • XQuery Mapper - leave out tags with empty values, how to?

    Hi everybody,
    I am using the XQueryMapper to map 2 XML schemas and get an output for a Webservice but I am unable to get rid off the tag elements that are empty (i.e. there is no content within the tag).
    For example:
    If my output is:
    <customer>
    <first_name>John</first_name>
    <last_name></last_name>
    <title></title>
    <company>1BRN</company>
    <customer>
    What I would like to obtain is:
    <customer>
    <first_name>John</first_name>
    <company>1BRN</company>
    <customer>
    What do you have to do to avoid that? If I do NOT use XQuery then that happens as a default behaviour.
    Unfortunately I have to use it.
    Cheers,
    Manuel Silva

    I found the solution to the problem. To avoid getting tags with no content the way to do it is defining properly your schema. Just adding minOccurs="0" if the element is optional, when it returns with no content, it does not come up in the output.
    <xs:element name="order_type" minOccurs="0" maxOccurs="1" type="xs:string"/>
    XQuery builds different constructs behind the scenes depending how your elements are defined.
    Cheers,
    Manuel
    Message was edited by manuel.silva at Aug 27, 2004 1:58 AM

  • Using Aperture with Adobe Bridge: Can It Work?

    I have used all the Adobe apps for ages and love them.
    Photoshop and Bridge are a mainstay of our studio operation here.
    I have been using Adobe LightRoom lately to deal with my RAW shooting.
    I take it to a certain point with LR then I use Bridge to do other things with my files. LR and Bridge can see eachother's metadata and XMP info so they can be opened back and forth between the apps as need be.
    This is critical for our work process.
    What Im wondering is can Aperture be used in a similar way?
    Can Bridge see Aperture's adjustment info and visa versa?
    Do they read eachother's Metadata and or XMP info?
    Does Aperture even use XMP data?
    Reason Im asking this is I admire Aperture's interface and functionality.
    I'd like to possibly use it in place of LightRoom for dealing with my RAW files.
    But without the compatibility with Bridge it wouldnt work for us.
    I read lots of Mac and Adobe publications and have yet to see this issue addressed in any articles.
    Surely other people are in the same boat as me on this one...
    Anyone have any knowledge to share on this matter?
    Thanks.

    Bridge and LightRoom can see each other's image adjustments because they are using almost exactly the same engine to do RAW conversions. Aperture and Bridge won't understand each other's image adjustments, in just the same way that Bridge and Nikon Capture, Canon DPP, Bibble or Capture One etc. can't.
    When it comes to metadata you won't be much better off, as any changes you made in Bridge wouldn't be seen in Aperture unless you re-imported the file and vice-versa.
    Basically, if your workflow is based around Bridge you are stuck with Adobe apps as they are the only ones designed to work with it.
    Ian

  • I have internet explorer and having problems on working with adobe on internet explorer. i want to stay with internet explorer and use adobe that i think is with Google. i can't work on line  with adobe either because I am not with adobe.What do I do to k

    Need to know how I stay on internet explorer and still be able to use adobe. I have tried everything and nothing seems to work online or offline. help!!!

    Help me to how I can work with adobe on internet explorer. I also can not download online with adobe. What do I do?

  • Mail with empty body

    I have been accessing my email accounting using mail. It was working fine until about a week ago when the bodies of the emails were not showing up. I can access the whole email fine using webmail. I also have another account also using mail which hasnt had any problems. I tried accessing this account using another computer with os 10.4 and mail 2.0 and had no problem. I also tried recreating the email account but that didnt fix the problem. Any ideas as to what could be affecting just one account on my computer?

    I have been accessing my email accounting using mail. It was working fine until about a week ago when the bodies of the emails were not showing up. I can access the whole email fine using webmail. I also have another account also using mail which hasnt had any problems. I tried accessing this account using another computer with os 10.4 and mail 2.0 and had no problem. I also tried recreating the email account but that didnt fix the problem. Any ideas as to what could be affecting just one account on my computer?

  • JavaMail: mails with empty body

    Hi all,
    we want to send mails via JavaMail in our webapp. This works most of the time but sometimes it does not. After some time all emails are received without body.
    There are no Exceptions in the log files. We got JavaMail to "debug" to stdout, no error messages there.
    Redeploying the webapp does not work. Restart of weblogic helps.
    We are using weblogic 8.1.2 on SuSE 8.1 with jdk 1.4.2_05.
    Any ideas?
    Regards,
    Alex

    Hi,
    just for the records:
    It was a problem of Systinet WASP 4.7.x. Should be fixed with 5.0.
    Regards,
    Alex

  • USB microphone with Mac mini - can it work?

    I recently bought a cheap USB camera with built-in mic, and a USB headphone/microphone interface. Neither of these microphones work with my shiny new Mac mini (10.7.2). The headphone USB interface works fine, and it even includes a volume and mute - very cool indeed (Arvel HAMU02BK if you want to look it up). In the Sound Preference pane, it shows up as an input, but the meter doesn't show any response. I plug the same mic and adaptor into a G4 PowerBook (10.5.8) and it works. The camera (Buffalo BSW13K08HBK) also shows up as a mic in the Sound Preference pane, but the meter fails to respond (shows about a 60% continuous input signal, but using it with Skype test, doesn't record anything.
    USB2.0 Camera:
      Product ID:          0x0103
      Vendor ID:          0x1e4e  (Etron Technology, Inc.)
      Version:          0.02
      Speed:          Up to 480 Mb/sec
      Manufacturer:          Etron Technology, Inc.
      Location ID:          0xfa121110 / 11
      Current Available (mA):          500
      Current Required (mA):          100
    C-Media USB Headphone Set  :
      Product ID:          0x000c
      Vendor ID:          0x0d8c  (C-MEDIA ELECTRONICS INC.)
      Version:          1.00
      Speed:          Up to 12 Mb/sec
      Location ID:          0xfa121130 / 12
      Current Available (mA):          500
      Current Required (mA):          100
    Camera itself seems to work nicely, though, and there seems to be enough power off the hub to make things work. Is this a bug? If I want to plug a mic into the Mac itself, can I use any of the "pink" 3-pole 3.5mm computer mics?

    Followup - I'm getting:
    kernel: 0        0 AppleUSBCDC: start - initDevice failed
    on the Console every time one of these beasts gets connected. What to do about this?

  • How do I go back to 3.6 from 4.0. Having problems with Wikipedia and can't work with a shorter display [half screen] good with 4.0. McAffee, Norton and other programs aren't supported on 4.0

    I need to go back to 3.6 from 4.0 Because:
    1. Norton, some Mcaffee, and other needed programs aren't supported yet.
    2. Can't downsize 4.0 to fit properly on a half screen, when using a text editor on one half and 4.0 display on the other half. I have to go to a full screen to do somethings, and then back to half screen after. Things aren't easy anymore.
    3. When moving references and extras from Wikipedia to my PC, the reference numbers and other generated items are missing on my PC. Never with 3.6
    Things are not easy going with 4.0!!!!!!!

    I need to go back to 3.6 from 4.0 Because:
    1. Norton, some Mcaffee, and other needed programs aren't supported yet.
    2. Can't downsize 4.0 to fit properly on a half screen, when using a text editor on one half and 4.0 display on the other half. I have to go to a full screen to do somethings, and then back to half screen after. Things aren't easy anymore.
    3. When moving references and extras from Wikipedia to my PC, the reference numbers and other generated items are missing on my PC. Never with 3.6
    Things are not easy going with 4.0!!!!!!!

  • HttpURLConnection with empty body

    Hi, i'm trying to fetch data from the following URL using HttpURLConnection. Considering that the body will only be filled when the aspx loads, how can i read the body after it gets loaded?
    {color:#0000ff}*<HTML>*
    *<HEAD>*
    *<title>Sample site HTTPS</title>*
    *<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">*
    *<script language="javascript">*
    var URL = "https://www.somesite.net/net/AppPages/Login.aspx";
    document.writeln( "<meta http-equiv=\"refresh\" content=\"0; url=" + URL + "\">" );
    *</script>*
    *</HEAD>*
    *<body>*
    *</body>*
    *</html>*{color}

    javapnunes wrote:
    tehre must be a way of programatically return that information after processing. I just have to find it.
    Of course web browsers require manually intervention (which is not what i'm looking for.
    Maybe someone knows how to sort this out, without using browsers
    sigh
    You can of course execute as many page requests as you want. Just like a browser. The code you posted in the OP though shows JavaScript being used. Do you understand that you would then need a JavaScript engine? Because you'd need to parse the JavaScript code and take the correct next steps based on that.

  • Remove XML Tags with White space.

    Hi All, I have a scenario like the below code where I have empty spaces in few columns of my tables. I create XML of the data and send it. There is a lot of code such and I can't add ISNULL() on each and every column. Is there any simple one line code working
    with the XML so that I can remove the tags with only empty spaces. TIA.
    DECLARE @xml1 VARCHAR(max)
    DECLARE @xml2 VARCHAR(max)
    set @xml1 = (SELECT 1 AS Col11, ' ' AS Col21, 'ABC' AS Col31 FOR XML RAW, ELEMENTS)
    set @xml2 = (SELECT 2 AS Col12, ' ' AS Col22, 'ABC' AS Col32 FOR XML RAW, ELEMENTS)
    DECLARE @xml xml;
    SET @xml = Cast('<ROOT>' + ISNULL(@xml1, '') + ISNULL(@xml2, '') + '</ROOT>' as xml)
    SET @xml.modify('delete //*[not(node())]');
    -- Some Way to Remove the XML Tags with Empty space here.
    select @xml as XMLString
    /* Output of the Above script.
    <ROOT>
    <row>
    <Col11>1</Col11>
    <Col21> </Col21> -- This XML Tag with a white space should be removed
    <Col31>ABC</Col31>
    </row>
    <row>
    <Col12>2</Col12>
    <Col22> </Col22> -- This XML Tag with a white space should be removed
    <Col32>ABC</Col32>
    </row>
    </ROOT>
    Welcome to MSDN Forums.
    Feel free to ask your questions and Please Note to Vote all helpful topics and
    Mark all answering posts.
    You Value Community's efforts and Community values your faith.
    - Arun Kumar Allu

    It would have helped if there had been a trim() function in XQuery.
    With some trial and error and inventive thinking I came up with this:
    <span style="color:Blue">SET</span> @xml.modify(<span style="color:#A31515">'delete //*[. <= " "]'</span>);
    As they say: it seems to work. But I leave no warranties.
    Erland Sommarskog, SQL Server MVP, [email protected]
    Wow Erland  this
    seems to work, I need to test it against my data and update on this. Thanks again.
    Welcome to MSDN Forums.
    Feel free to ask your questions and Please Note to Vote all helpful topics and
    Mark all answering posts.
    You Value Community's efforts and Community values your faith.
    - Arun Kumar Allu

  • Why can't I get the average function work with empty cells?

    Why can't I get the average function work with empty cells?

    The thing that I am having a problem with is that I made a different form that calculates the average no matter how may of the cells have numbers or not and I didn't use an if function.  I have tried with this other form and and it calulates as if all the cells where being used.  I am using the [*] in both instances but it only works in the one I did earlier.

Maybe you are looking for

  • My 2nd gen is not appearing in iTunes

    hi

  • Key Figures in variable screen, to limit start up key figures

    Dear experts, This is BI 7 and the report / query is in portal. my query has 40 key figures. 5 is shown and 35 are hidden but can be shown. The user request that they can use a selection screen to pick up which key figures they want when the reports

  • Creating new for Humantask WorkFlow

    Hi, I am trying to create a new user for the humantask work flow. By using this username and password i need to login to Oracle BPM work list and approve or reject the task. I am trying to modify the files in the folder <OracleHome>\bpel\system\servi

  • ISG issue on AAA prepaid authorization

    Hello, I'm currently working on a FTTH project and I  configured a 7204VXR (NPE-G1) along with a 12.2(31)SB2 version of IOS,  in order to use Cisco ISG functionnalities. My cisco config file is in  attachment. We have the following architecture: 

  • How can I register my E51 to Voipbuster?

    Dear more experienced users, I just bought a E51. A wonderful thing. Connection to my WLAN works I did not succeed to connect to my Voip provider Voipbuster. I use a Zyxel P-2602HW-D1A Wireless modem. Can you tell me how to make this work? Thanks! Ma