template assumptions in xforms:insert

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

template assumptions in xforms:insert

Henrik Pettersen
All,

can I just say that the "first element is the template" assumption in xforms:insert really bites! Now I have to add procedural code in my Orbeon-Java API to remove the first element of any submission of my (expandable) instance. Thank goodness I don't have to xforms:repeat over these elements, or I would have to add even more dingy code. Surely, there must be a better alternative! How about <xforms:insert nodeset=".." at="..." position="..." template="..."/>

Come on, W3C!

Henrik


--
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: template assumptions in xforms:insert

Erik Bruchez
Administrator
Henrik,

Well, it's in fact "the last element is the template" ;-)

This said, I fear that your information is a little outdated ;-) What
you want to do is supported in XForms 1.1 with the @context and @origin
attributes, and yes it was long overdue but it rocks!

And the best thing is that this is implemented in OPS. Check the DMV
Forms example for uses of xforms:insert with those attributes, and the spec:

   http://www.w3.org/TR/xforms11/#insert-action

-Erik

Henrik Pettersen wrote:

> All,
>
> can I just say that the "first element is the template" assumption in
> xforms:insert really bites! Now I have to add procedural code in my
> Orbeon-Java API to remove the first element of any submission of my
> (expandable) instance. Thank goodness I don't have to xforms:repeat over
> these elements, or I would have to add even more dingy code. Surely,
> there must be a better alternative! How about <xforms:insert
> nodeset=".." at="..." position="..." template="..."/>
>
> Come on, W3C!
>
> Henrik
--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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: template assumptions in xforms:insert

Henrik Pettersen
Erik,

that's great news! Thanks for the tip :-) BTW, do you know when OPS 3.5 will be out? Will you wait for XForms 1.1 to become a recommendation first?

Henrik

PS! All: The information on xforms:insert in the documentation ("XForms reference") still refers to 1.0 spec

On 8/28/06, Erik Bruchez <[hidden email]> wrote:
Henrik,

Well, it's in fact "the last element is the template" ;-)

This said, I fear that your information is a little outdated ;-) What
you want to do is supported in XForms 1.1 with the @context and @origin
attributes, and yes it was long overdue but it rocks!

And the best thing is that this is implemented in OPS. Check the DMV
Forms example for uses of xforms:insert with those attributes, and the spec:

   http://www.w3.org/TR/xforms11/#insert-action

-Erik

Henrik Pettersen wrote:

> All,
>
> can I just say that the "first element is the template" assumption in
> xforms:insert really bites! Now I have to add procedural code in my
> Orbeon-Java API to remove the first element of any submission of my
> (expandable) instance. Thank goodness I don't have to xforms:repeat over
> these elements, or I would have to add even more dingy code. Surely,
> there must be a better alternative! How about <xforms:insert
> nodeset=".." at="..." position="..." template="..."/>
>
> Come on, W3C!
>
> Henrik

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/




--
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: template assumptions in xforms:insert

Erik Bruchez
Administrator
Henrik,

 > that's great news! Thanks for the tip :-) BTW, do you know when OPS
 > 3.5 will be out?

Unlike Microsoft with Vista, we will just say "when it is ready" ;-)

We initially wanted a beta by the end of August, as both Alex and I
will be on vacation after that (shame on us!). But not all the 3.5
features are in yet and a beta wouldn't deserve its name of "beta". So
now we plan to release a "stable" milestone build this week. Serious
work on 3.5 should resume starting mid-September, so hopefully 3.5
final can be out a few weeks after that, with maybe a beta release
inbetween. Having a stable milestone release should be a good thing
though.

(The main features missing for 3.5 are the new examples portal and a
reorganization of the examples and resources to make it easier to get
started with OPS. The rest is mainly bug-fixing and documentation.)

 > Will you wait for XForms 1.1 to become a recommendation first?

No, we are not waiting on 1.1. The XForms working group will have a
face to face meeting from September 13 to 15 in Italy (in which I will
participate), and we should progress quite a bit during that meeting,
but there is still a chance that XForms 1.1 will take several months
after that to become a final recomendation. However the further we
advance, the less likely 1.1 is to change in significant ways.

-Erik

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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: template assumptions in xforms:insert

Henrik Pettersen
Erik, OPS-team,

thank you for the update, I'm very excited about the 3.5 release! Thanks for all your hard work, and have a lovely holiday!

Henrik

On 8/28/06, Erik Bruchez <[hidden email]> wrote:
Henrik,

> that's great news! Thanks for the tip :-) BTW, do you know when OPS
> 3.5 will be out?

Unlike Microsoft with Vista, we will just say "when it is ready" ;-)

We initially wanted a beta by the end of August, as both Alex and I
will be on vacation after that (shame on us!). But not all the 3.5
features are in yet and a beta wouldn't deserve its name of "beta". So
now we plan to release a "stable" milestone build this week. Serious
work on 3.5 should resume starting mid-September, so hopefully 3.5
final can be out a few weeks after that, with maybe a beta release
inbetween. Having a stable milestone release should be a good thing
though.

(The main features missing for 3.5 are the new examples portal and a
reorganization of the examples and resources to make it easier to get
started with OPS. The rest is mainly bug-fixing and documentation.)

> Will you wait for XForms 1.1 to become a recommendation first?

No, we are not waiting on 1.1. The XForms working group will have a
face to face meeting from September 13 to 15 in Italy (in which I will
participate), and we should progress quite a bit during that meeting,
but there is still a chance that XForms 1.1 will take several months
after that to become a final recomendation. However the further we
advance, the less likely 1.1 is to change in significant ways.

-Erik

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/




--
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 : Re: pb with mysql and ops

nizarklibi
In reply to this post by Erik Bruchez
Thanks for help but I did something that solved my problem .. I tried a newer version of the driver and it worked i think that was the problem but i m not sure because i tired many others things
 


Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici.

--
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: template assumptions in xforms:insert

Jay Klehr
In reply to this post by Erik Bruchez
Erik,
 
Is there still work planned to reduce the number of JS files included for a basic Xforms document?
 
I still see the calendar files (js and css) being loaded even though I don't use the JS calendar in my form.  It would be sweet if you guys could detect that one too.
 
Jay

________________________________

From: Erik Bruchez on behalf of Erik Bruchez
Sent: Mon 8/28/2006 3:28 PM
To: [hidden email]
Subject: Re: [ops-users] template assumptions in xforms:insert



Henrik,

 > that's great news! Thanks for the tip :-) BTW, do you know when OPS
 > 3.5 will be out?

Unlike Microsoft with Vista, we will just say "when it is ready" ;-)

We initially wanted a beta by the end of August, as both Alex and I
will be on vacation after that (shame on us!). But not all the 3.5
features are in yet and a beta wouldn't deserve its name of "beta". So
now we plan to release a "stable" milestone build this week. Serious
work on 3.5 should resume starting mid-September, so hopefully 3.5
final can be out a few weeks after that, with maybe a beta release
inbetween. Having a stable milestone release should be a good thing
though.

(The main features missing for 3.5 are the new examples portal and a
reorganization of the examples and resources to make it easier to get
started with OPS. The rest is mainly bug-fixing and documentation.)

 > Will you wait for XForms 1.1 to become a recommendation first?

No, we are not waiting on 1.1. The XForms working group will have a
face to face meeting from September 13 to 15 in Italy (in which I will
participate), and we should progress quite a bit during that meeting,
but there is still a chance that XForms 1.1 will take several months
after that to become a final recomendation. However the further we
advance, the less likely 1.1 is to change in significant ways.

-Erik

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/





--
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

winmail.dat (6K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: template assumptions in xforms:insert

Erik Bruchez
Administrator
Jay,

This one is a little harder because we display the calendar when an
xforms:input is bound to a node of type xs:date, and that can change at
runtime.

Now while the general case is harder, in the particular case where there
is no type="xs:date" (and maybe no schema), or simply no xforms:input
field, then we could avoid displaying the calendar. That would be a good
improvement already.

I entered a bug to track this:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=306087&group_id=168&atid=350207

-Erik

Jay Klehr wrote:

> Erik,
>  
> Is there still work planned to reduce the number of JS files included for a basic Xforms document?
>  
> I still see the calendar files (js and css) being loaded even though I don't use the JS calendar in my form.  It would be sweet if you guys could detect that one too.
>  
> Jay
>
> ________________________________
>
> From: Erik Bruchez on behalf of Erik Bruchez
> Sent: Mon 8/28/2006 3:28 PM
> To: [hidden email]
> Subject: Re: [ops-users] template assumptions in xforms:insert
>
>
>
> Henrik,
>
>  > that's great news! Thanks for the tip :-) BTW, do you know when OPS
>  > 3.5 will be out?
>
> Unlike Microsoft with Vista, we will just say "when it is ready" ;-)
>
> We initially wanted a beta by the end of August, as both Alex and I
> will be on vacation after that (shame on us!). But not all the 3.5
> features are in yet and a beta wouldn't deserve its name of "beta". So
> now we plan to release a "stable" milestone build this week. Serious
> work on 3.5 should resume starting mid-September, so hopefully 3.5
> final can be out a few weeks after that, with maybe a beta release
> inbetween. Having a stable milestone release should be a good thing
> though.
>
> (The main features missing for 3.5 are the new examples portal and a
> reorganization of the examples and resources to make it easier to get
> started with OPS. The rest is mainly bug-fixing and documentation.)
>
>  > Will you wait for XForms 1.1 to become a recommendation first?
>
> No, we are not waiting on 1.1. The XForms working group will have a
> face to face meeting from September 13 to 15 in Italy (in which I will
> participate), and we should progress quite a bit during that meeting,
> but there is still a chance that XForms 1.1 will take several months
> after that to become a final recomendation. However the further we
> advance, the less likely 1.1 is to change in significant ways.
>
> -Erik
>
> --
> Orbeon - XForms Everywhere:
> http://www.orbeon.com/blog/
>
>
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
|

Bare Bones OPS

Richard Braman-2
In reply to this post by Henrik Pettersen
Hi Erik.

I am doing an installation on a new server and I am running into
something I have never experienced before.
I am trying to put just the files needed to run my application, no
examples, portlet or other ops stuff.
I packed the following directories (based on ops.war) removing what I
was pretty sure I didn't need
into a war file I called 1040.war.

These are the directories my 1040.war contains:
-> WEB-INF
    -> classes (with all of the orbeon classes)
    -> lib (with all of the needed jars)
    -> resources
       ->config
       ->context
       ->images (only my images)
       ->pageflow.xml
       ->1040 (my files)
    ->cli-ops.jar
    ->common-cli-1_0
    ->web.xml

To my suprise, when I
deployed the war in tomcat (5.x)
up popped the orbeon portlet complete with working examples
when i checked the webapps/1040 directory, the directories and files
mirrored what is in my 1040.war

where are these examples coming from?
I am sure this was covered in a past post a while back, but I searched
throught he archives and found nothing.
Thanks.
Rich




--
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: Bare Bones OPS:Resolved

Richard Braman-2
I figured out the error.  It looks like their is some additional code in
web.xml that was pointing back tot he examples in the source code in my
eclipse.  Now onto the next problem.
Thanks, and congrats to Alex on the wedding.

Richard Braman wrote:

> Hi Erik.
>
> I am doing an installation on a new server and I am running into
> something I have never experienced before.
> I am trying to put just the files needed to run my application, no
> examples, portlet or other ops stuff.
> I packed the following directories (based on ops.war) removing what I
> was pretty sure I didn't need
> into a war file I called 1040.war.
>
> These are the directories my 1040.war contains:
> -> WEB-INF
>     -> classes (with all of the orbeon classes)
>     -> lib (with all of the needed jars)
>     -> resources
>        ->config
>        ->context
>        ->images (only my images)
>        ->pageflow.xml
>        ->1040 (my files)
>     ->cli-ops.jar
>     ->common-cli-1_0
>     ->web.xml
>
> To my suprise, when I
> deployed the war in tomcat (5.x)
> up popped the orbeon portlet complete with working examples
> when i checked the webapps/1040 directory, the directories and files
> mirrored what is in my 1040.war
>
> where are these examples coming from?
> I am sure this was covered in a past post a while back, but I searched
> throught he archives and found nothing.
> Thanks.
> Rich
>
>
>  
> ------------------------------------------------------------------------
>
>
> --
> 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