I think I have narrowd the problem a little closer. It looks like it has
something to do with the excluded MyFaces dependencies. If I don't exclude
the MyFaces libs and use them in addition to Suns RI libs the error
disappears but I get a page without any profile input components. Only the
menu and the footer are displayed. This dosen't change if I comment out the
jsfcljs(document.forms['userProfile'],'userProfile:edit,userProfile:edit','');
line or not. Attached you can find three files which are the editProfile
source files for the following situations:
Example_1.txt: no MyFaces libs and commented out jsfcljs(...
Example_2.txt: with MyFAces libs and commented out jsfcljs(...
Example_3.txt: with MyFAces libs and jsfcljs(...
Wolfgang
mraible wrote:
>
> Sounds like we might've missed something then. I'd suggest you look at
> this file and try to modify it so the property that's blank gets
> populated correctly. You can probably comment out the JavaScript that
> submits the form and use "view source" to see if it gets populated
> correctly.
>
> Matt
>
> On Dec 11, 2007, at 12:33 AM, base7691 wrote:
>
>>
>> Yes I did.
>>
>> mraible wrote:
>>>
>>> Did you modify the JavaScript code in editProfile.xhtml like the
>>> documentation suggests?
>>>
>>> Matt
>>>
>>> On 12/10/07, base7691 <[EMAIL PROTECTED]> wrote:
>>>>
>>>> I switched from MyFaces to Sun's RI as described in the Reference
>>>> Guide.
>>>> All seems to work well except if I try to click on the Profile
>>>> link in
>>>> the
>>>> menu.
>>>>
>>>> The following error appear:
>>>>
>>>> javax.servlet.ServletException: #{userForm.edit}:
>>>> java.lang.NumberFormatException: For input string: ""
>>>> at
>>>> javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
>>>> at
>>>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
>>>> 487)
>>>> ........
>>>>
>>>> Any ideas?
>>>> Thanks
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/AppFuse-2.0.1---Problem-when-changing-from-MyFaces-to-Sun%27s-JSF-RI-tp14254623s2369p14254623.html
>>>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/AppFuse-2.0.1---Problem-when-changing-from-MyFaces-to-Sun%27s-JSF-RI-tp14254623s2369p14269091.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
http://www.nabble.com/file/p14295312/Example_1.txt Example_1.txt
http://www.nabble.com/file/p14295312/Example_2.txt Example_2.txt
http://www.nabble.com/file/p14295312/Example_3.txt Example_3.txt
--
View this message in context:
http://www.nabble.com/AppFuse-2.0.1---Problem-when-changing-from-MyFaces-to-Sun%27s-JSF-RI-tp14254623s2369p14295312.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]