Sitemap

Amicuk Programming Answers

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

-0001-11-30   Views:1

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
As said above. I haven't changed much,since 1 year ago. Have apple 3gs, os 4.1. Added a few apps. I think things changed by doing update of apps. Most of my apps are for free. I would really like to find out what my iphone does. I saw on the detail o [More]
I am running Windows Server Standard 2012 as a basic File server and Remote Access Server.  I am able to log into to Server remotely using Windows Remote Desktop Client on Windows 7 and 8 machines without problems When I try to log in using outside t [More]
Hi I have a G4 mirror door + broadband connection and want to setup a wireless network as i plan to buy an iBook for internet access around the house. I think I need to buy an Airport card to go into my G4... is this correct? I'm not sure if i can us [More]
This week I upgraded to iOS5 on my iPad1 and iTunes 10.5 on Windows.  I have iTunes set for me to manually manage my music and movies. If I copy an *.mp4 file to the iPad, as before it shows up as a movie and plays fine on the iPad.  But episodes of [More]
So I updated my iPad 2 to IOS 5, and now iTunes is in French.  My language setting is British English, and my region format is United Kingdom.  It was in English before...  I've tried switching to Deutsch and Deutschland and iTunes continues to be in [More]
Is it possible to change the order that extensions load? I have a particular one that i would like to load last. CheersI remember reading some articles a couple years ago about OSX and extensions. The articles basically said that OSX launches all of [More]
Does anyone know if this sync issue has been fixed? Apparently new upgrades were initially causing problems with mobileme calendar sync and some calendars were lost?I haven't had any issues on 10.6.2.Read other 2 answers [More]
I have an hour-long clip of a performance, taken with the camera on a fixed tripod. I used a second camera to take closeups and shots from other angles. Now I would like to insert occasional cutaways from the second camera into the long clip from the [More]
phone is disabled.  I am connected but can not get the phone up and runningHi june2965, Thanks for visiting Apple Support Communities. If you're seeing a message that your iPhone is disabled, the steps in this article can help: iOS: Forgotten passcod [More]
In Safari advanced settings I have 14MB of website data.  Some entries have a large amount of data such as mail.google.com with 4.3 MB.  Google Mail in Safari is web based and I have no offline content except 1 small unread message in my inbox.  My c [More]