Xforms:submit problem!

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Xforms:submit problem!

chary-2

I updated my OPS3.0 Beta 2 to the nightly build of Aug 25th. With this
nightly build, my xforms:submit button
does not show up in the view page!  It appears the xforms:submit is not  
even recognized. I had a corresponding submission defined in the
xforms:model.

I must be doing something wrong as I tried the Address2 example (Next
Generation) and it is working. Address2 example  has the trigger
(submission) defined. What am I missing?

Has anyone run into this problem?

Thanks,
Chary





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Xforms:submit problem!

chary-2

I have just found out that I needed to place <action> within the
xforms:model to make the submit button show up.

Here is what I did:
----------------------------
<html xmlns:xhtml="http://www.w3.org/1999/xhtml"
      xmlns:xforms="http://www.w3.org/2002/xforms"
      xmlns:ev="http://www.w3.org/2001/xml-events"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns="http://www.w3.org/1999/xhtml"
      xsl:version="2.0">


    <head>

    <xforms:model>
       
      <xforms:instance id="main">
            <form xmlns="">
            <action/>  <!--- I have added this to make the xforms:submit
button to show up -->
                 <xsl:copy-of select="/"/>
        </form>
      </xforms:instance>
--------------------------------------------
Chary




chary wrote:

>
> I updated my OPS3.0 Beta 2 to the nightly build of Aug 25th. With this
> nightly build, my xforms:submit button
> does not show up in the view page!  It appears the xforms:submit is
> not  even recognized. I had a corresponding submission defined in the
> xforms:model.
>
> I must be doing something wrong as I tried the Address2 example (Next
> Generation) and it is working. Address2 example  has the trigger
> (submission) defined. What am I missing?
>
> Has anyone run into this problem?
>
> Thanks,
> Chary
>
>
>
>------------------------------------------------------------------------
>
>
>--
>You receive this message as a subscriber of the [hidden email] mailing list.
>To unsubscribe: mailto:[hidden email]
>For general help: mailto:[hidden email]?subject=help
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  
>




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Xforms:submit problem!

Erik Bruchez
Administrator
Chary,

What does your xforms:submit control look like? Is it bound to an
instance node which would happen to be non-relevant?

Asking because just adding an <action> element should not have such an
impact!

-Erik

chary wrote:

>
> I have just found out that I needed to place <action> within the
> xforms:model to make the submit button show up.
>
> Here is what I did:
> ----------------------------
> <html xmlns:xhtml="http://www.w3.org/1999/xhtml"
>      xmlns:xforms="http://www.w3.org/2002/xforms"
>      xmlns:ev="http://www.w3.org/2001/xml-events"
>      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>      xmlns="http://www.w3.org/1999/xhtml"
>      xsl:version="2.0">
>
>
>    <head>
>
>    <xforms:model>
>            <xforms:instance id="main">
>            <form xmlns="">
>            <action/>  <!--- I have added this to make the xforms:submit
> button to show up -->
>                 <xsl:copy-of select="/"/>
>        </form>
>      </xforms:instance>
> --------------------------------------------
> Chary
>
>
>
>
> chary wrote:
>
>>
>> I updated my OPS3.0 Beta 2 to the nightly build of Aug 25th. With this
>> nightly build, my xforms:submit button
>> does not show up in the view page!  It appears the xforms:submit is
>> not  even recognized. I had a corresponding submission defined in the
>> xforms:model.
>>
>> I must be doing something wrong as I tried the Address2 example (Next
>> Generation) and it is working. Address2 example  has the trigger
>> (submission) defined. What am I missing?
>>
>> Has anyone run into this problem?
>>
>> Thanks,
>> Chary
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> You receive this message as a subscriber of the
>> [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>  
>>
>
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Xforms:submit problem!

chary-2
Erik,

After I restarted the Apache web server, the problem has disappeared. I
have removed the <action> element from my model and
the submit button shows up as expected! I am not sure what might have
caused the problem, but, restarting the web server has taken care of it.

Thanks,
Chary


Erik Bruchez wrote:

> Chary,
>
> What does your xforms:submit control look like? Is it bound to an
> instance node which would happen to be non-relevant?
>
> Asking because just adding an <action> element should not have such an
> impact!
>
> -Erik
>
> chary wrote:
>
>>
>> I have just found out that I needed to place <action> within the
>> xforms:model to make the submit button show up.
>>
>> Here is what I did:
>> ----------------------------
>> <html xmlns:xhtml="http://www.w3.org/1999/xhtml"
>>      xmlns:xforms="http://www.w3.org/2002/xforms"
>>      xmlns:ev="http://www.w3.org/2001/xml-events"
>>      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>>      xmlns="http://www.w3.org/1999/xhtml"
>>      xsl:version="2.0">
>>
>>
>>    <head>
>>
>>    <xforms:model>
>>            <xforms:instance id="main">
>>            <form xmlns="">
>>            <action/>  <!--- I have added this to make the
>> xforms:submit button to show up -->
>>                 <xsl:copy-of select="/"/>
>>        </form>
>>      </xforms:instance>
>> --------------------------------------------
>> Chary
>>
>>
>>
>>
>> chary wrote:
>>
>>>
>>> I updated my OPS3.0 Beta 2 to the nightly build of Aug 25th. With
>>> this nightly build, my xforms:submit button
>>> does not show up in the view page!  It appears the xforms:submit is
>>> not  even recognized. I had a corresponding submission defined in
>>> the xforms:model.
>>>
>>> I must be doing something wrong as I tried the Address2 example
>>> (Next Generation) and it is working. Address2 example  has the
>>> trigger (submission) defined. What am I missing?
>>>
>>> Has anyone run into this problem?
>>>
>>> Thanks,
>>> Chary
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the
>>> [hidden email] mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>>  
>>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> You receive this message as a subscriber of the
>> [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
>------------------------------------------------------------------------
>
>
>--
>You receive this message as a subscriber of the [hidden email] mailing list.
>To unsubscribe: mailto:[hidden email]
>For general help: mailto:[hidden email]?subject=help
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  
>




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws