Bacchi Gerem

Ranch Hand
+ Follow
since Jan 23, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bacchi Gerem

How can i redirect to parent window from pop up window jsp page . Please let me know
tagcat.jsp



<html>

<body>

<input type="button" name="choose" value="choose" onclick="javascript:openPopUp('Popup.jsp')">

</body>

</html>


popup.jsp


<html>

<body>

<input type="button" name="ok" value="ok" onclick="javascript:open('detail.jsp')">

<input type="button" name="cancel" value="cancel" onclick="javascript:window.close()">

</body>

</html>



detail.jsp

<html>

<body>


</body>

</html>


i want to open detail.jsp page in place of tagcat.jsp.. I can open detail.jsp page in place of pop up window i.e. popup.jsp page place.
i.e. detail.jsp page is replaceing popup.jsp page. But i want this datail page in the place of tagcat.jsp page.
i.e. parent window

Hi
,
I will explain in detail:


tagcat.jsp i.e parent jsp page . It contains a button choose. When i click on choose button it opens another jsp page i.e. popup.jsp page.

Popup.jsp page contains two buttons ok & cancel.

when i click on ok button it has to display a detais.jsp page in parent jsp page place.
But in my case it is displaying popup.jsp page place.





Thanks
<form name="newtemplate" method="post" action="<%=request.getContextPath()+"/gateway.jsp"%>">" >
<input type="hidden" name="<%=Constants.NEXT_ACTION%>" value="automaticNaming">
<input type="hidden" name="<%=Constants.TEMPLATE_ID%>" value="<%= template.getTemplateId() %>">
<input type="hidden" name="tempId" value="<%= template.getTemplateId() %>">
<span class="formelement"><input type="submit" name="Search Again" value="Ok" onclick="javascript:chooseTemplate(this.form,'<%=errorMessage %>')"></span>
<input type="hidden" name="<%=Constants.SUBCATEGORY_ID%>" value="<%=request.getParameter("subcategoryId")%>">
</form>


function chooseTemplate(formname, errorMessage)
{
if ( formname.selbox.options[formname.selbox.selectedIndex].value != ""){
formname.tempId.value = formname.selbox.options[formname.selbox.selectedIndex].value;
formname.templateId.value = formname.selbox.options[formname.selbox.selectedIndex].value;
formname.submit();
}
else{
document.getElementById('error_section').firstChild.data=errorMessage;
formname.selbox.focus();
}
}
Hi,
when i click on choose button there is a pop up window appears (popup window is a jsp page ) . It has two buttons ok & cancel . When i click on ok button it has to show another page on parent window and close popup . But it is not working that way. It is showing another page in popup jsp page (pop up window ) not on the parent window.what i need to do here.

Thanks
Hi ,
when i do mouseover on the colum value it dispays another value on top. How can i do this ? Please let me know.

I can do this by using images in the following way

img src="<config:image name='extras_icon.jpg'/" border="0" alt='extraicon'

But alt command only works for images .

Thanks

>
Hi ,
when i do mouseover on the colum value it dispays another value on top. How can i do this ? Please let me know.

I can do this by using images in the following way



But alt command only works for images .

Thanks

Hi,
I installed jboss-4.2.0.GA on Windows xp . i set environment variable JBOSS_HOME = C:\Program Files\Java\jboss-4.2.0.GA & JAVA_HOME = C:\Program Files\Java\jdk1.6.0_16
i can't start JBOSS server by click on run.bat file . What changes i have to do? Please let me know.

Thanks
14 years ago
I am using netbeans 6.5. I put Useinfo.hbm.xml file in com.lak.granularity package in Source .
14 years ago
Hi,
I am new to spring and hibernate. I am getting following error while i am trying to run my application.


error:

INFO: Reading mappings from resource : com/lak/granularity/Userinfo.hbm.xml
Exception in thread "main" org.hibernate.MappingNotFoundException: resource: com/lak/granularity/Userinfo.hbm.xml not found



hibernate.hbm.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:mysql://localhost:3306/mysql</property>
<property name="hibernate.connection.username">root</property>
<property name="hbm2ddl.auto">create</property>
<mapping resource="com/lak/granularity/Userinfo.hbm.xml"/>
</session-factory>
</hibernate-configuration>



Thanks
14 years ago
I am interested, can you I know the how long the voucher is valid? and does this voucher purchased in US.

-Bhaskar
Hi,
i disabled the Html:select while editing .

<html:select property="connections.item" disabled ="${disable}">
-------------------------------------------------

</html:select>

But i need to set default value.

while i submit the page .It is giving an error message "item required"(form validation)
while editing i don't want to select item again.
How can i set deault value for item if it is disabled?Please give me any suggestion.

Thank tou
15 years ago
I see lot of people ask same question, here is the clarification from Prometric:

*************************************************************************
Thank you for contacting Prometric.

Please be informed that each voucher is valid for one exam and may only be used at an Authorized Prometric Testing Center in the country for which it was purchased.

For more clarifications, you may contact the Candidate Care Center in USA at 800-795-3926.Our hours of operation are Monday through Friday 8:00 AM until 8:00 PM Eastern time.

We hope this information is helpful.

Sincerely,
The Webmaster Team/NN
Prometric
Canton Crossing Tower
1501 South Clinton Street
Baltimore, MD 21244
USA
www.prometric.com/contactus/testtakers/globalcsform.htm.
15 years ago
Sure, let me post my answers..


I am not sure.. this thread posted in 2004
Can any one reply your expertice answers for these questions?