The moose likes Other Application Frameworks and the fly likes Tapestry - listbox solution needed Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "Tapestry - listbox solution needed" Watch "Tapestry - listbox solution needed" New topic
Author

Tapestry - listbox solution needed

Rahesh Kumar
Ranch Hand

Joined: Sep 10, 2004
Posts: 53
Hi all,

I am using Tapestry for my implementation and I am facing one distinct problem, need ur help in this regard

I have a select box with various options , on selecting a particular option from the select box , without submitting the form will it be possible to load a text box with the value that is selected.

for e.g. Assume that I have various projects shown in the select box , with their corresponding ids in the value field for each option , now i have to take the project id on selecting a project without submitting the form and also i have to update a texbox with the name of the projectlead for that paricular project id which i need to take for running the query to get the projectlead name . Can this be done using Tapestry. if so ,can anyone of you help me in implementing this? Sample codes is what i need npw urgently

Thanks in advance
Raheshkumar.R
Alexander Kolesnikov
author
Ranch Hand

Joined: Feb 26, 2005
Posts: 99
Well, if you want to do anything WITHOUT submitting the form, Tapestry, or any other server side framework, won't help you. The only thing you can use like this is JavaScript. You can create a custom component in Tapestry which could be a list box PLUS your custom JavaScript, but this is a long story, even with Tapestry...


Alexander Kolesnikov<br />Java Web Developer<br />SCJP 1.4, SCWCD 1.4, SCBCD 1.3<br /><a href="http://sundraw.ws" target="_blank" rel="nofollow">Tapestry 5: Building Web Applications</a><br /><a href="http://sundraw.ws/batik.jsp" target="_blank" rel="nofollow">Java Drawing With Apache Batik</a>
 
 
subject: Tapestry - listbox solution needed
 
Threads others viewed
Unable to retain Dropn down values after submitting form
JSP Form values Not able to submit
passing hidden value to action class in struts-2
Select box get refresh after populating the data into a table.
input file element
IntelliJ Java IDE