Re: Series of questions on a simple invoice application

Aaron Reed <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Paul Everitt wrote:

> 
> Great Aaron, thanks for posting the example, including the bugzilla 
> entry explaining what I should keep an eye on.
> 
> I tried the xform with this:
> 
>   http://ftp.novell.com/pub/forge/xforms-explorer/java/home.html
> 
> The navigation buttons worked ok, changing the first two xforms:output 
> elements.  However, the main form, showing the detail on the "selected" 
> entry, never updated.
> 
> Also, I didn't understand the need for the double <xforms:group>:
> 
>         <xforms:group bind="invoiceIndex">
>           <xforms:group ref="/invoices/invoice[number(/invoices/index)]">
> 
> --Paul
> 

Hey Paul,

As for the double group, I had code in the for originally that started 
at 0 instead of the first invoice, so I had a wrapping group connected 
to a bind that went irrelevant (and thus hidden) if the index was < 1. 
That way there would be no shown invoice.  But now I've made it so that 
the index starts at the first invoice and CAN'T go invalid (using the 
buttons, at least) so that wrapping group is really no longer needed.

I'm sorry, I should have directed you at the links for the other 
processors.  The Novell XForms processor that I was talking about is an 
IE plugin and you can get it at: http://lab.cph.novell.com/nxie/.  I 
don't know whether they've been keeping the publicly available java 
processor up to date or not.

Let me know if you have any other problems,
--Aaron
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.