Thanks!

It does work indeed!

So just changing _link_hidden to _idcl in the javascript did the trick...
I don't really get it but I am glad it is fixed! 

As always Mat, let me thank you for your quick answer!

You do prove teh quality of opensource/community led efforts!

Cheers,

-Eric

PS: can't wait to start my next project using Appfuse 2.0! ;-)



mraible wrote:
> 
> Here's the latest editProfile.xhtml code from 2.0 M5 - does it work for
> you?
> 
> <html xmlns="http://www.w3.org/1999/xhtml";
>       xmlns:f="http://java.sun.com/jsf/core";
> xmlns:h="http://java.sun.com/jsf/html";>
> 
> <head>
>     <meta name="menu" content="UserMenu"/>
> </head>
> 
> <f:view>
> 
> <h:form id="userProfile">
>     <h:commandLink action="#{userForm.edit}" id="edit"/>
> </h:form>
> 
> <script type="text/javascript">
>     var f = document.forms['userProfile'];
>     f.elements['userProfile:_idcl'].value='userProfile:edit';
>     f.submit();
> </script>
> 
> </f:view>
> </html>
> 
> Matt
> 
> On 5/23/07, Eric Taieb <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I have been using appfuse for over 6 months. I am finishing the project
>> and
>> wrapping up the code and testing the interface I suddenly discover that
>> the
>> editProfile menu doesn't work anymore.
>>
>> The problem comes from here:
>> in editProfile.xhtml
>> <script type="text/javascript">
>>     var f = document.forms['userProfile'];
>>     f.elements['userProfile:_link_hidden_'].value='userProfile:edit';
>>     f.submit();
>> </script>
>>
>> if I remove this code and put a link in the page it works.
>>
>> I believe it use to work before...
>>
>> Checkin my SVN logs I see I haven't modified these for a while...
>>
>> Any clues ?
>>
>>
>> Thx in advance!
>>
>> -Eric
>>
>> PS: using appfuse 1.9.4 JSF/Hibernate/Facelets and Spring
>> --
>> View this message in context:
>> http://www.nabble.com/Problem-with-editProfile-%3EuserForm-infinite-reload-refresh-loop-tf3807880s2369.html#a10777126
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> http://raibledesigns.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-editProfile-%3EuserForm-infinite-reload-refresh-loop-tf3807880s2369.html#a10825997
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to