[Seasar-user:18001] [teeda -scope]につぃて

thomas [E-MAIL ADDRESS DELETED]
2009年 7月 15日 (水) 15:19:10 JST


Hello,

In my project i need to set some value in javascripe of menupage of layout
package.and i need to get this value in all other packages.


layout/menu.html

<a class="menu1" onclick="showHide('mymenu',1)"><div id="mastercontrolLabel"
class="mainmenustyle"></div></a>

//javascript

function showHide(theidPrefix,theidNum){
document.getElementById('menuhidden').value=theidNum;
alert(document.getElementById('menuhidden').value)
                       //Here i got the value as 1;
................
...............
..................
}

i would like to get the value of menuhidden variable in
EmployeemasterListPage.java

employeemaster/employeemasterList.html

<html>

............
..............
..............

</html>

public class EmployeemasterListPage {

public int menuhidden;

public Class prerender(){
System.out.println("#########################"+menuhidden);
//Here i got the value as 0
}
}

Is this coding correct?Please advice to solve this problem.

Thanks in advance
トマス
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://ml.seasar.org/archives/seasar-user/attachments/20090715/85166b12/attachment.html>


Seasar-user メーリングリストの案内