check if the action method is OK.
if the "#{myback.doit}" doit does occure with the same case.
and myback bean have bean initialized correctly or not.
I think that this happens when there is a problem with the action method binding.

On 2/8/06, ::SammyRulez:: <[EMAIL PROTECTED]> wrote:
even without immediate="true" the behaviour is the same: the action do
not occurs nor the page is reloaded: it does absolutely nothing!
I supposed the problem is with jspx because the same code in a jsp page works.

2006/2/8, Hans Sowa <[EMAIL PROTECTED]>:
> Hi
>
> I saw that you used the attribute immediate="true". I guess this is the
> problem because if I understand it correctly immediate means that after
> process validiations it goes directly to the phase Render Response.
>
> If you don't have a good reason for it, delete it.
>
> Hope, this will help you.
>
> best regards Hans
>
> 2006/2/8, Martin Marinschek < [EMAIL PROTECTED]>:
> > No clue.
> >
> > JSPX is not the problem, I'm using JSPX a lot in my current project.
> > Can you do some debuggin by checking into FacesServlet and going
> > through the lifecycle?
> >
> > regards,
> >
> > Martin
> >
> > On 2/8/06, ::SammyRulez:: < [EMAIL PROTECTED] > wrote:
> > > I have a siple page like this
> > > <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page "
> > > xmlns=" http://www.w3.org/1999/xhtml"
> > >           xmlns:h="http://java.sun.com/jsf/html "
> > >           xmlns:f="http://java.sun.com/jsf/core "
> > >           version="2.0">
> > > <f:view>
> > >  <html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it">
> > >   <head><title>Simple jspx page</title></head>
> > >   <body>
> > >     <h:form id="linkame">
> > >            <h:commandLink action="" immediate="true">
> > >                        <f:param name="pnum"
> value="200590802524177"/>
> > >                        <h:outputText value="view"/>
> > >                 </h:commandLink>
> > >        </h:form>
> > >   </body>
> > > </html>
> > >     </f:view>
> > > </jsp:root>
> > >
> > > and this is the genereted html
> > >
> > >
> > > <html xmlns=" http://www.w3.org/1999/xhtml" xml:lang="it"
> > > lang="it"><head><title>Simple jspx page</title></head>
> > >
> > > <body>
> > > <form id="linkame" name="linkame" method="post"
> > > action=""> > > >       enctype="application/x-www-form-urlencoded"><a
> href="">> > >
> > >
> document.forms
> ['linkame'].onsubmit){document.forms['linkame'].onsubmit();}document.forms['linkame'].submit();return
> > > false;"
> > >
> > > id="linkame:_id0">visualizza</a><input type="hidden"
> > >
> > >                      name="linkame_SUBMIT"
> > >
> > >                      value="1"/><input
> > >         type="hidden"
> name="linkame:_link_hidden_"/><input
> > > type="hidden" name="numeroFattura"/><script
> > >         type="text/_javascript_"><!--
> > > function clear_linkame() {
> > >   var f = document.forms['linkame'];
> > >   f.elements['linkame:_link_hidden_'].value='';
> > >   f.elements['numeroFattura'].value='';
> > >   f.target='';
> > > }
> > > clear_linkame();
> > > --></script></form>
> > > </body></html>
> > >
> > > the command link is not working.. it is displaied but when clicked do
> > > not submit the form...
> > >
> > > any ideas?
> > > --
> > > ::SammyRulez::
> > > http://sammyprojectz.blogspot.com
> > >
> >
> >
> > --
> >
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>
>
>
> --
> mfg Hans Sowa
> mailto: [EMAIL PROTECTED]


--
::SammyRulez::
http://sammyprojectz.blogspot.com



--
Michael Ageeb Fakhry
http://michael.foolab.org

Reply via email to