Solved

JSp span tag working in java spring web application

Posted on 2014-03-06
2
666 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This video teaches viewers about errors in exception handling.

695 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