Hello, I want to convert some of the menu* components to a renderkit.core.xhtml renderer. However, before doing so, I realise I lack a bit of knowledge concerning nodeStamps and MenuModels. I was wondering how the clicked item/link is detected when submitting a form. So far I could figure that when using node stamp, the rendered submitForm script will include something like the following in the simplest example:
<formId>:<hierarchyId>:<rowKey>:<itemId> where <rowKey> is maybe the rowIndex instead? Anyway, this is what makes it important to set the current row key to a new value before re-rendering the stamp. This is, it seems, everything special that has to be done about stamp while rendering the component. However, what happens upon decoding? I cannot find when the setRowKey is called again. I guess it should be in the apply request values phase, but I don't see any class in the hierarchy of NavigationPathRenderer (the one I used to trye to figure out how it works) that override the decode method... Anyone can give me a quick cue on how it is done please? Regards, Simon Lessard Fujitsu Consulting
