AW: Strange problems with XFroms in OPS3.0

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

AW: Strange problems with XFroms in OPS3.0

Peter.Heintz
Hello,
Are there any findings regarding this issue?



Peter Heintz



-----Ursprüngliche Nachricht-----
Von: Heintz Peter
Gesendet: Mittwoch, 25. Januar 2006 08:50
An: '[hidden email]'
Betreff: AW: [ops-users] Strange problems with XFroms in OPS3.0

Hello Eric,
I used the ObjectWeb Pages to submit my e-mail where I did not find an option to attach files. Sorry for that.
Here I include my file containing the problem-file (the view) as well as a primitive pipeline just for instance debugging, the contoller and an xml-schema for the instance just for information purposes.



Mit freundlichen Grüßen / Best regards,

Peter Heintz
--
Knorr-Bremse SfS GmbH
COC BC,R/BCE11

Moosacher Straße 80,D-80809 Munich
Phone +49 893547-1145
Fax +49 893547-2676
mailto:[hidden email]
http://www.knorr-bremse.com


-----Ursprüngliche Nachricht-----
Von: Erik Bruchez [mailto:[hidden email]] Im Auftrag von Erik Bruchez
Gesendet: Dienstag, 24. Januar 2006 17:19
An: [hidden email]
Betreff: Re: [ops-users] Strange problems with XFroms in OPS3.0

Peter,

Can you attach all the files need instead of pasting them in the body of
the mail? If necessary, you can zip them up.

-Erik (too lazy to copy, paste and save ;-)

[hidden email] wrote:

> Hello,
> I do have a more complex xforms instance. The idea behind that is to have a generic view to fill out a structured but undefined amount of parameter values.
> I pretend the use of several "pages" to the user by defining "pages" within the instance as page nodes. Those "pages" I select in my generic view via xforms:groups.
> I have to types of "pages". One type for "parameters" and an other for some "configuration" (that is just a node with some attributes at the moment). So I have defined two types of virtual pages by using groups in my view.
> To move between the "pages" I have got a previous and next button. A pipeline is at the moment only in use to debug the instance data (null-serializer).
>
> Here are my problems:
>
> 1)
> As long I remove or rename the "configuration" page nodes, it works with exception that I can overtake my readonly attributes used for the boundaries PageNo > 1 < PageMax by very quick pressing the buttons.
>
> 2)
> If I have the two "page" types in my instance it works fine also the first time I move from a "parameter page" type to a "configuration page" type. Going ahead to a next "parameter page" submits the instance to the null-serializer as expected but the view is not updated. A next try of pressing the next button causes the whole application to hang-up without any action or message neither in the console not in the browser.
> In each of  my "parameter pages" I have a test data aforms:input, a xforms:select and a xforms:selec1. When I remove the select and select1 in my view I can move through all pages but e.g. the "help" attributes are not working anymore.
>
> I tried to find a working solution in several ways e.g. using xforms:repeat or xforms:switch instead of groups with almost the same problems.
>
> Here is my view including the instance data.
[...]





--
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: AW: Strange problems with XFroms in OPS3.0

Peter.Heintz
Hello,

I analysed the problem a bit.

What I can say is, if I have:

<xforms:group ref or bind = “expression1”>
        <xhtml:table>
                .
                .
                .
<xforms:repeat nodeset or bind = “expression2”>
                        <xhtml:tr>
<xhtml:td><any html></xhtml:td>
                                <xhtml:td><any xforms controles></xhtml:td>
                        </xhtml:tr>
                </xfroms:repeat >
        </xhtml:table>
</xforms:group>

And I am carrying out dynamically (changing the expression results by changing the xforms:instance) the following sequence:

step 1 expression1 = false expression2 = false -> OK ( as expected nothing is done)
step 2 expression2 = true expression2= true -> not OK (application load endless)

expression1 can  be equal to expression2, both different or e.q. expression2 a futher location step of expression1.

When I remove the “<any xforms controls>” an stay with <any html> all works fine.

After fiddling around I had also cases where “<any xforms controls> “ had be rendered but wrong e.g. the jscalendar appeared where it should not or xfroms:help … did not work. However after that the application was also blocked by endless loading.



--
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: AW: Strange problems with XFroms in OPS3.0

Peter.Heintz
Hello,
I did some further investigation and I realised the problems come with the use of select and select1.
I also find out that in the new version 3.01 there was done something around this area, because now it works when I use xforms:item under the selects what did not in version 3.0.

Substitution of xforms:item by xforms:itemset (what I need) does not work in any version.

I am also not sure if my nodesets are homogenous or not, so I tried to make my application instance what I think more homogenous.

What I received by doing that was a considerable acceleration of application responses. But I do not get rid of by problem.

However a bit help could help.



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