cancel
Showing results for 
Search instead for 
Did you mean: 

Send user and password to jsp

piunreks
Champ in-the-making
Champ in-the-making
Hi everybody, i customize web-client-config-custom.xml adding:

<config>
         <actions>
               <action id="test">
               <label>Test</label>
               <image>/images/icons/test.gif</image>
            <href>/lounchApplet.jsp</href>
            <target>"_blank"</target>
            <params>
            <param name="id">#{actionContext.id}</param>
                 <param name="nodeRef">#{actionContext.nodeRef}</param>
            <param name="downloadUrl">#{actionContext.downloadUrl}</param>
            </params>
               </action>
               <action-group id="document_browse">
            <action idref="test" />
               </action-group>
            </actions>
      </config>

It's possible send to jsp page user and password information about the alfresco's user logged?? possibly as already done for id, noderef and downloadUrl…

Thanks a lot!

Nicola.
3 REPLIES 3

piunreks
Champ in-the-making
Champ in-the-making
I try insert

<param name="password">#{UsersBeanProperties.password}</param>
<param name="user">#{UsersBeanProperties.person.properties.userName}</param>

but i obtain a NullPointer… probably UserBeanProperties are not initialized …

Can anyone help me?

Thanks,
Nicola.

piunreks
Champ in-the-making
Champ in-the-making
Unfortunately, nobody response me but luckily I the solution.
Just add

     <param name="password">#{LoginBean.password}</param>
     <param name="username">#{LoginBean.username}</param>

to web-client-config-custom.xml file…

thanks anyway to everybody,

Nicola.

muralie39
Champ on-the-rise
Champ on-the-rise
Thanks for solution..