Sitemap

Amicuk Programming Answers

How to use xtags: when or xtags: if on variable id

-0001-11-30   Views:0

Advertisement

<!-- <xtags:variable id="data" context="<%=specs%>" select="//header/msds"/>           <a href="/DATA/<%=data%> target="#">MSDS</a> --> My problem is if the value of data is

<!-- <xtags:variable id="data" context="<%=specs%>" select="//header/msds"/>
          <a href="/DATA/<%=data%> target="#">MSDS</a>
-->
My problem is if the value of data is null it gives the error page not found in the explorer but I want to href to some html file that for this item data is not there(actually data is holding a pdf file name if no file is attched to this item then i want to display the not data vailable for this item
how I can use xtags: when
xtags:otherwise doing checking on the id data
Thanks

The replay answer
Advertisement
Thanks for response
I got the same code from xtags library but still the problem is
<xtags:choose>
<xtags:when test="firstName">
Hello <xtags:valueOf select="@firstName"/>
</xtags:when>
<xtags:otherwise>
Hello there friend
</xtags:otherwise>
</xtags:choose>
I am not clear that this firstname is the is id or what
I wanted to confirm that I have to use this whole code inside a xtage: variable
like for example my code is
*<xtags:variable id="msds" context="<%=specs%>" select="//header/msds"/>*
I have to validate msds that if it has some value go for it other was I can provide ahtml file displaing no file i sthere

Go to See the other 4 answers

How to use xtags: when or xtags: if on variable id

Category:DefaultRelease time:-0001-11-30Views:130

<!-- <xtags:variable id="data" context="<%=specs%>" select="//header/msds"/>           <a href="/DATA/<%=data%> target="#">MSDS</a> --> My problem is if the value of data is[More]

Oracle XTags?

Category:DefaultRelease time:-0001-11-30Views:130

Is anyone aware of a Java taglib similar to Jakarta's XTags but uses Oracle's parser rather than DOM4J? For those that are not familiar, XTags encapsulates useful logic for parsing XML, iterating nodes, retrieving values, and performing conditional l[More]

How to find the database table behind the xtags  varibles?

Category:DefaultRelease time:-0001-11-30Views:130

if in xtags we find that some varibles are not having the right data coming from xml -> database tables so how can we find out the names of database table behind it . <!-- <xtags:variable id="msds" context="<%=specs%>" s[More]

Xtags problem (weird one :-])

Category:DefaultRelease time:-0001-11-30Views:130

hi all in my jsp i use xtags, i iterate fith the forEach like this: <xtags:parse>                 <io:request url="<%=url%>" encoding="ISO-8859-1"/>             </xtags:parse>             <%int count=0;%>[More]

Clubbing two XMLs before display using xtags

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I need an approach to club two xmls one after the other and then parsing the new combined xml into xtags as the logic below to generate an html output. <xtags:style xml="<%=sXml%>" xsl="<%=sXsl%>"> <xtags:param[More]

XTags download missing.

Category:DefaultRelease time:-0001-11-30Views:130

Hi there, i am trying to download XTags from apache repository. But unfortunately i am getting *404* error. can you please suggest me some other source to download it. it is really my need of the hour.. Regards, A.From what I can tell, XTags was depr[More]

XTags If statement

Category:DefaultRelease time:-0001-11-30Views:130

Here's my XML document <?xml version="1.0" encoding="UTF-8" ?> - <rooms> <nextID>4</nextID> - <room id="000"> <RoomName>Theory1</RoomName> <capacity>40</capacity> <numC[More]

SIP Conversion - No longer able to make modem calls

Category:DefaultRelease time:2015-10-11Views:130

We are working to convert our voice network off of PRI's and on to SIP Trunks. Call Flow: ITSP—SIP—CUBE—H323—CUCM—H323—Branch Router(2911 or 2811)—Analog Device (Cash Advance Machine) on FXS port. All locations that have converted to SIP are now unab[More]

Auto-loading of figures using Tagged text

Category:DefaultRelease time:2015-10-11Views:130

Hi All, Is there any possiblity to load the figures automatically while loading the InDesign tagged text files, but it's possible using XTags in Quark. Thanks, PraveenOk, no problem i found this help articles: https://support.mozilla.org/en-US/kb/how[More]

How to use JSP custom tag lib in PAR file?

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I am trying to customize mastheaderpar file. For that I have downloaded relevant par file and making the changes accordingly. As part of the changes I would require to use JSP custom tag library in my par file. I have the TLD file and relevan[More]

Error in displaying JSP using Tomcat and xml

Category:DefaultRelease time:2015-10-11Views:130

Anybody out there can help me solve this problem??? I cant display the table... The error came out like dis : org.apache.jasper.JasperException: This absolute uri (http://jakarta.apache.org/taglibs/xtags-1.0) cannot be resolved in either web.xml or t[More]

Hot
I am running Adobe Reader X version 10.1.3 on a MacBook Pro with Mac OSX 10.7. For some reason I can only print one copy of a PDF at a time, even if I set the number of copies in the print dialogue box and the Printer dialogue box. Help!  It's very f [More]
Hi, Following is the process followed:- Execute EL35 transaction to generate MRO Print in SAP ISU. at back end a Meter readings are fetched from a data server and uploaded in the sap isu using BAPI BAPI_MTRREADDOC_UPLOAD as a background process after [More]
Hi all, I wanted to display subtotal and total text in the output. I searched in SDN and specified subtotal_text in Layout. But still i am not getting the subtotal Text in  output. Here is my code..... Please help me , where i did wrong? REPORT  YTES [More]
In PI 7.0 there is a monitor tree in NWA monitor browser named "SAP XI Adapter Engine" as follows: Monitoring > Java System Report > Select Monitor Browser > Show: Predefined Local J2EE View > Select All view > Selcet SAP XI Adapt [More]
When you host a website with business catalyst do you get your own domain name with it or do you have to buy one separately?Hi there, You need to get a domain yourself.Read other 2 answers [More]
Hi I have installed JDI landscape and am nearly finished but I encounter a null pointer exception when I tried to adjust dependencies for my newly created SC and as a result I cannot create a track (no SCs could be added to it). The exception is as f [More]
I seems OS X Mail to automatically deletes and erases email invitations for calendar events from the inbox after the user accepts them. They are even removed from the trash, meaning that it is no longer possible to find and view the included message, [More]
Hi all, How can i make trigger with basler camera GIGE 659x494 - 70 FPS and I/O terminal blockFrank, If you are wiring an isolated power output to the EVS you will need to apply a power supply to the terminal block.  This is mentioned in the "wiring [More]
I have collected the following code from "http://www.concentric.net/~adhawan/tutorial/" import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.naming.NameAlreadyBoundException; import j [More]
Hi, I need help to understand, how to migrate open service contract from legacy to SAP CRM , what all points we need to consider like planning finanical data for ERP CO integration etc... as i am new to service module..would be great if someone can s [More]