Application configuration file

2014-01-07 Thread Giuliano Catrambone

Hi all,
can someone suggest me how to manage an application configuration file
in a struts application?

I'm thinking a configuration file like
myapp.properties

Is there a place in a struts app where I can read the properties 
cfg file just once

and share it in every java file (actions, )?

Thanks
giu


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



struts-jquery-tree-tags issues

2013-12-12 Thread Giuliano Catrambone

Hi,
I'm trying to manage a tree using struts-jquery-tree.

In my jsp I have:

s:url var=menuTreeDataUrl action=menuTreeData/
sjt:tree
id=jsonTree
href=%{menuTreeDataUrl}
onClickTopics=treeClicked
onClick=managenode()
/

I implemented using java the menuTreeDataUrl action and the tree is 
filled

correctly.

My problem is that I do not know in the javascript managenode function
how to get information regarding the current selected node, i.e. 
like his id,

his text, ...

Could someone tell me how to retrieve those information?
Thanks
Giuliano


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org