Solved

JSp span tag working in java spring web application

Posted on 2014-03-06
2
650 Views
Last Modified: 2014-03-24
Hi,
Please help me understand the line : <span id="{id}_loaderPrice" class="loaderPrice">Getting Price...</span>
in the below substring of a JSP file :
<li class="col-1-2 res-price-details">
			<span id="{id}_loaderPrice" class="loaderPrice">Getting Price...</span>
			<span id="{id}_pricePanel" class="hide res-price-dom">
			<h3 onmouseover="FareDetails.showFareSummaryModal(this)" onmouseout="Modal.hide();" id="{price_id_summary}" data-width="350" title="Fare Summary" data-content="FareDetails.showFareSummary('{id}')" data-contentdynamic="true" data-trigger="hover" data-toggle="popover" href="javascript:void(0)" data-placement="right" data-contentcss="res-modal res-fare res-summary">
				<sup class="RupeeSign">Rs.</sup> <span id="{price_id}"></span>
			</h3>
			<h4 class="strikeprice hide" id="{id}_pricert"><span id="{price_idr}"><sup class="RupeeSign">Rs.</sup> </span></h4>
			<a href="javascript:void(0);" data-url="/air-search/resources/html/domestic/overlay-flight-details-new.jsp"  class="popmodal flightDetailLink eventTrackable" data-trackcategory="DOM Flight SRP Page" data-trackaction="Flight Option" data-trackvalue="View Flight Details" data-ajax="true" data-width="720"  data-placement="window" data-tab="0" data-bid="{id}" data-onsuccess="FlightDetails.showDetail('{id}', '0')" title="Flight Details" data-contentcss="res-modal padZero" data-onshow="FlightDetails.hideBodyScroll('{id}')" data-onhide="FlightDetails.showBodyScroll('{id}')">Flight Details</a>
			
			</span>
				<aside class="price-Sec">
				<input type="button"  onclick="PriceUpdater.bookNow(this);" value="Book Now" class="ytBtn bookNow_js eventTrackable" data-trackcategory="DOM Flight SRP Page" data-trackaction="Flight Option" data-trackvalue="Book Now" id="{id}_btnBook" title="Book Now" data-content="PriceUpdater.checkPrice('{id}')" data-original-title="Confirming Your Flight" data-modalwindow="true"  data-contentcss="anuj" data-contentdynamic="true" data-toggle="popover" data-placement="window" data-manual="true" data-width="360" />
				<!-- not required <span class="yatraMiles"><i class="credit"></i>204 yatra miles</span> -->
				<span class="seatMsg">{sl}</span>
				</aside>
			</li>
		

Open in new window

     

            How does the line which i mentioned gets executed. If i search the string "loaderPrice" in my project i see it included in only 1 js file
            and rest all are .css files.
0
Comment
Question by:Rohit Bajaj
2 Comments
 
LVL 9

Accepted Solution

by:
Sar1973 earned 250 total points
ID: 39911581
It seems to be a span tag related to a class defined in some .css file (see http://www.w3schools.com/tags/tag_span.asp for details).
0
 
LVL 20

Assisted Solution

by:chaitu chaitu
chaitu chaitu earned 250 total points
ID: 39911707
I think this id is coming dynamically from controller.if you are using Spring EL language then you can use like this.but in your case there is nothing before id.if possbile paste the controller and jsp and config files.

id="${id}_loaderPrice"
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now