[ ops-users ] Hi

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

[ ops-users ] Hi

Phani Prakhya
How to set index of repeat manually ..
initial when page loads, repeat will be point to first node ...
I dont want that functionality and even more i want to change manually ( progrmatically ) where ever I want ..

Plz help me



--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: [ ops-users ] Hi

Hank Ratzesberger
Hi,

There is a <setindex> element with event attributes, etc.

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

I hesitate to suggest where and how to use this without
any idea of your code.  The xforms-ready, xforms-value-changed,
and xforms-select are some options

Regards,
Hank

It is possible to have an <action> element that


On Jun 13, 2008, at 11:56 AM, Prakhya Phani Kiran Kuamr wrote:

> How to set index of repeat manually ..
> initial when page loads, repeat will be point to first node ...
> I dont want that functionality and even more i want to change  
> manually ( progrmatically ) where ever I want ..
>
> Plz help me
>
>
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.org/wws
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: [ ops-users ] Hi

Phani Prakhya
Hi,

Thank you ... I am able to change the index ..
one more problem I have is .. after page load, index should not point to any node.
user has to explicitly select during first time ..

I am using xforms-ready to event to set index ...

I tried to set -1 and 0 , still ponting to first node ..

Plz help me ...

sorry for the code not pasting ...

--- On Fri, 6/13/08, Hank Ratzesberger <[hidden email]> wrote:
From: Hank Ratzesberger <[hidden email]>
Subject: [ops-users] Re: [ ops-users ] Hi
To: [hidden email]
Date: Friday, June 13, 2008, 12:53 PM

Hi,

There is a <setindex> element with event attributes, etc.

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

I hesitate to suggest where and how to use this without
any idea of your code. The xforms-ready, xforms-value-changed,
and xforms-select are some options

Regards,
Hank

It is possible to have an <action> element that


On Jun 13, 2008, at 11:56 AM, Prakhya Phani Kiran Kuamr wrote:

> How to set index of repeat manually ..
> initial when page loads, repeat will be point to first node ...
> I dont want that functionality and even more i want to change
> manually ( progrmatically ) where ever I want ..
>
> Plz help me
>
>
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.org/wws

Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042
--
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
OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: [ ops-users ] Hi

Hank Ratzesberger

As I understand, the indexes are one based and they cannot be
out of range.  Probably your attempt is simply ignored.  Maybe
OF logfiles will tell you something.

I suppose it gets more complicated, a "flag" variable in some
control instance which is initially false() and only becomes
true() when the user first makes a selection.

If you are noticing that the selected items have a different
background color (in the default theme / CSS sytles).... I am
not sure the best way to remedy that, such as updating the
class/style in JavaScript after the user makes a selection.

Cheers,
Hank

On Jun 13, 2008, at 1:29 PM, Prakhya Phani Kiran Kuamr wrote:

> Hi,
>
> Thank you ... I am able to change the index ..
> one more problem I have is .. after page load, index should not  
> point to any node.
> user has to explicitly select during first time ..
>
> I am using xforms-ready to event to set index ...
>
> I tried to set -1 and 0 , still ponting to first node ..
>
> Plz help me ...
>
> sorry for the code not pasting ...
>
> --- On Fri, 6/13/08, Hank Ratzesberger <[hidden email]> wrote:
> From: Hank Ratzesberger <[hidden email]>
> Subject: [ops-users] Re: [ ops-users ] Hi
> To: [hidden email]
> Date: Friday, June 13, 2008, 12:53 PM
>
> Hi,
>
> There is a <setindex> element with event attributes, etc.
>
> http://www.w3.org/TR/xforms11/#action-setindex
>
> I hesitate to suggest where and how to use this without
> any idea of your code. The xforms-ready, xforms-value-changed,
> and xforms-select are some options
>
> Regards,
> Hank
>
> It is possible to have an <action> element that
>
>
> On Jun 13, 2008, at 11:56 AM, Prakhya Phani Kiran Kuamr wrote:
>
> > How to set index of repeat manually ..
> > initial when page loads, repeat will be point to first node ...
> > I dont want that functionality and even more i want to change
> > manually ( progrmatically ) where ever I want ..
> >
> > Plz help me
> >
> >
> > --
> > 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
> > OW2 mailing lists service home page: http://www.ow2.org/wws
>
> Hank Ratzesberger
> NEES@UCSB
> Institute for Crustal Studies,
> University of California, Santa Barbara
> 805-893-8042--
> 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
> OW2 mailing lists service home page: http://www.ow2.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
> OW2 mailing lists service home page: http://www.ow2.org/wws
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: [ ops-users ] Hi

Phani Prakhya
Hi.. thnak you for your answer ...

I created a instance and bind with index('id-of-repeat') ... but whenver i am selecting row in repeat it is not updating ..

I want to put a value change listener to this new instance, so that when value change listener fires i will make flag as true ..

when falg is true, i,e user selected a row .. I can do whatever action I want ..

but unfortunately, my new instance value not changing with change in row of repeat ...

plz help me !!!!!!!

--- On Fri, 6/13/08, Hank Ratzesberger <[hidden email]> wrote:
From: Hank Ratzesberger <[hidden email]>
Subject: [ops-users] Re: Re: Re: [ ops-users ] Hi
To: [hidden email]
Date: Friday, June 13, 2008, 1:46 PM

As I understand, the indexes are one based and they cannot be
out of range. Probably your attempt is simply ignored. Maybe
OF logfiles will tell you something.

I suppose it gets more complicated, a "flag" variable in some
control instance which is initially false() and only becomes
true() when the user first makes a selection.

If you are noticing that the selected items have a different
background color (in the default theme / CSS sytles).... I am
not sure the best way to remedy that, such as updating the
class/style in JavaScript after the user makes a selection.

Cheers,
Hank

On Jun 13, 2008, at 1:29 PM, Prakhya Phani Kiran Kuamr wrote:

> Hi,
>
> Thank you ... I am able to change the index ..
> one more problem I have is .. after page load, index should not
> point to any node.
> user has to explicitly select during first time ..
>
> I am using xforms-ready to event to set index ...
>
> I tried to set -1 and 0 , still ponting to first node ..
>
> Plz help me ...
>
> sorry for the code not pasting ...
>
> --- On Fri, 6/13/08, Hank Ratzesberger <[hidden email]>
wrote:

> From: Hank Ratzesberger <[hidden email]>
> Subject: [ops-users] Re: [ ops-users ] Hi
> To: [hidden email]
> Date: Friday, June 13, 2008, 12:53 PM
>
> Hi,
>
> There is a <setindex> element with event attributes, etc.
>
> http://www.w3.org/TR/xforms11/#action-setindex
>
> I hesitate to suggest where and how to use this without
> any idea of your code. The xforms-ready, xforms-value-changed,
> and xforms-select are some options
>
> Regards,
> Hank
>
> It is possible to have an <action> element that
>
>
> On Jun 13, 2008, at 11:56 AM, Prakhya Phani Kiran Kuamr wrote:
>
> > How to set index of repeat manually ..
> > initial when page loads, repeat will be point to first node ...
> > I dont want that functionality and even more i want to change
> > manually ( progrmatically ) where ever I want ..
> >
> > Plz help me
> >
> >
> > --
> > 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
> > OW2 mailing lists service home page: http://www.ow2.org/wws
>
> Hank Ratzesberger
> NEES@UCSB
> Institute for Crustal Studies,
> University of California, Santa Barbara
> 805-893-8042--
> 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
> OW2 mailing lists service home page: http://www.ow2.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
> OW2 mailing lists service home page: http://www.ow2.org/wws

Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042
--
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
OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: [ ops-users ] Hi

Hank Ratzesberger

Well, it is difficult to know if I am helping or not, only
providing some ideas.

When I say "instance of data" I meant some boolean element
that <setvalue> refers or is bound to.  Is the <setvalue>
a child of the repeat?  It needs to be a child that will
receive the message of the repeat.

I'm now sure how to help further.  Make certain you can
set the instance data with a trigger, just to test,
then use the instance inspector to see if it is change
in response to other messages.  Look at more of the sample
code for some ideas.

Best,
Hank


On Jun 13, 2008, at 4:19 PM, Prakhya Phani Kiran Kuamr wrote:

> Hi.. thnak you for your answer ...
>
> I created a instance and bind with index('id-of-repeat') ... but  
> whenver i am selecting row in repeat it is not updating ..
>
> I want to put a value change listener to this new instance, so that  
> when value change listener fires i will make flag as true ..
>
> when falg is true, i,e user selected a row .. I can do whatever  
> action I want ..
>
> but unfortunately, my new instance value not changing with change  
> in row of repeat ...
>
> plz help me !!!!!!!
>
> --- On Fri, 6/13/08, Hank Ratzesberger <[hidden email]> wrote:
> From: Hank Ratzesberger <[hidden email]>
> Subject: [ops-users] Re: Re: Re: [ ops-users ] Hi
> To: [hidden email]
> Date: Friday, June 13, 2008, 1:46 PM
>
> As I understand, the indexes are one based and they cannot be
> out of range. Probably your attempt is simply ignored. Maybe
> OF logfiles will tell you something.
>
> I suppose it gets more complicated, a "flag" variable in some
> control instance which is initially false() and only becomes
> true() when the user first makes a selection.
>
> If you are noticing that the selected items have a different
> background color (in the default theme / CSS sytles).... I am
> not sure the best way to remedy that, such as updating the
> class/style in JavaScript after the user makes a selection.
>
> Cheers,
> Hank
>
> On Jun 13, 2008, at 1:29 PM, Prakhya Phani Kiran Kuamr wrote:
>
> > Hi,
> >
> > Thank you ... I am able to change the index ..
> > one more problem I have is .. after page load, index should not
> > point to any node.
> > user has to explicitly select during first time ..
> >
> > I am using xforms-ready to event to set index ...
> >
> > I tried to set -1 and 0 , still ponting to first node ..
> >
> > Plz help me ...
> >
> > sorry for the code not pasting ...
> >
> > --- On Fri, 6/13/08, Hank Ratzesberger <[hidden email]>
> wrote:
> > From: Hank Ratzesberger <[hidden email]>
> > Subject: [ops-users] Re: [ ops-users ] Hi
> > To: [hidden email]
> > Date: Friday, June 13, 2008, 12:53 PM
> >
> > Hi,
> >
> > There is a <setindex> element with event attributes, etc.
> >
> > http://www.w3.org/TR/xforms11/#action-setindex
> >
> > I hesitate to suggest where and how to use this without
> > any idea of your code. The xforms-ready, xforms-value-changed,
> > and xforms-select are some options
> >
> > Regards,
> > Hank
> >
> > It is possible to have an <action> element that
> >
> >
> > On Jun 13, 2008, at 11:56 AM, Prakhya Phani Kiran Kuamr wrote:
> >
> > > How to set index of repeat manually ..
> > > initial when page loads, repeat will be point to first node ...
> > > I dont want that functionality and even more i want to change
> > > manually ( progrmatically ) where ever I want ..
> > >
> > > Plz help me
> > >
> > >
> > > --
> > > 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
> > > OW2 mailing lists service home page: http://www.ow2.org/wws
> >
> > Hank Ratzesberger
> > NEES@UCSB
> > Institute for Crustal Studies,
> > University of California, Santa Barbara
> > 805-893-8042--
> > 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
> > OW2 mailing lists service home page: http://www.ow2.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
> > OW2 mailing lists service home page: http://www.ow2.org/wws
>
> Hank Ratzesberger
> NEES@UCSB
> Institute for Crustal Studies,
> University of California, Santa Barbara
> 805-893-8042--
> 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
> OW2 mailing lists service home page: http://www.ow2.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
> OW2 mailing lists service home page: http://www.ow2.org/wws
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: [ ops-users ] Hi

Phani Prakhya
Hi Hank,

what message my setvalue in repeat need to recieve ?

Where I can get code example ?

Please help me ..

Thanks
Phani

--- On Fri, 6/13/08, Hank Ratzesberger <[hidden email]> wrote:
From: Hank Ratzesberger <[hidden email]>
Subject: [ops-users] Re: Re: Re: Re: Re: [ ops-users ] Hi
To: [hidden email]
Date: Friday, June 13, 2008, 5:09 PM

Well, it is difficult to know if I am helping or not, only
providing some ideas.

When I say "instance of data" I meant some boolean element
that <setvalue> refers or is bound to. Is the <setvalue>
a child of the repeat? It needs to be a child that will
receive the message of the repeat.

I'm now sure how to help further. Make certain you can
set the instance data with a trigger, just to test,
then use the instance inspector to see if it is change
in response to other messages. Look at more of the sample
code for some ideas.

Best,
Hank


On Jun 13, 2008, at 4:19 PM, Prakhya Phani Kiran Kuamr wrote:

> Hi.. thnak you for your answer ...
>
> I created a instance and bind with index('id-of-repeat') ... but
> whenver i am selecting row in repeat it is not updating ..
>
> I want to put a value change listener to this new instance, so that
> when value change listener fires i will make flag as true ..
>
> when falg is true, i,e user selected a row .. I can do whatever
> action I want ..
>
> but unfortunately, my new instance value not changing with change
> in row of repeat ...
>
> plz help me !!!!!!!
>
> --- On Fri, 6/13/08, Hank Ratzesberger <[hidden email]>
wrote:

> From: Hank Ratzesberger <[hidden email]>
> Subject: [ops-users] Re: Re: Re: [ ops-users ] Hi
> To: [hidden email]
> Date: Friday, June 13, 2008, 1:46 PM
>
> As I understand, the indexes are one based and they cannot be
> out of range. Probably your attempt is simply ignored. Maybe
> OF logfiles will tell you something.
>
> I suppose it gets more complicated, a "flag" variable in some
> control instance which is initially false() and only becomes
> true() when the user first makes a selection.
>
> If you are noticing that the selected items have a different
> background color (in the default theme / CSS sytles).... I am
> not sure the best way to remedy that, such as updating the
> class/style in JavaScript after the user makes a selection.
>
> Cheers,
> Hank
>
> On Jun 13, 2008, at 1:29 PM, Prakhya Phani Kiran Kuamr wrote:
>
> > Hi,
> >
> > Thank you ... I am able to change the index ..
> > one more problem I have is .. after page load, index should not
> > point to any node.
> > user has to explicitly select during first time ..
> >
> > I am using xforms-ready to event to set index ...
> >
> > I tried to set -1 and 0 , still ponting to first node ..
> >
> > Plz help me ...
> >
> > sorry for the code not pasting ...
> >
> > --- On Fri, 6/13/08, Hank Ratzesberger <[hidden email]>
> wrote:
> > From: Hank Ratzesberger <[hidden email]>
> > Subject: [ops-users] Re: [ ops-users ] Hi
> > To: [hidden email]
> > Date: Friday, June 13, 2008, 12:53 PM
> >
> > Hi,
> >
> > There is a <setindex> element with event attributes, etc.
> >
> > http://www.w3.org/TR/xforms11/#action-setindex
> >
> > I hesitate to suggest where and how to use this without
> > any idea of your code. The xforms-ready, xforms-value-changed,
> > and xforms-select are some options
> >
> > Regards,
> > Hank
> >
> > It is possible to have an <action> element that
> >
> >
> > On Jun 13, 2008, at 11:56 AM, Prakhya Phani Kiran Kuamr wrote:
> >
> > > How to set index of repeat manually ..
> > > initial when page loads, repeat will be point to first node ...
> > > I dont want that functionality and even more i want to change
> > > manually ( progrmatically ) where ever I want ..
> > >
> > > Plz help me
> > >
> > >
> > > --
> > > 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
> > > OW2 mailing lists service home page: http://www.ow2.org/wws
> >
> > Hank Ratzesberger
> > NEES@UCSB
> > Institute for Crustal Studies,
> > University of California, Santa Barbara
> > 805-893-8042--
> > 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
> > OW2 mailing lists service home page: http://www.ow2.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
> > OW2 mailing lists service home page: http://www.ow2.org/wws
>
> Hank Ratzesberger
> NEES@UCSB
> Institute for Crustal Studies,
> University of California, Santa Barbara
> 805-893-8042--
> 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
> OW2 mailing lists service home page: http://www.ow2.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
> OW2 mailing lists service home page: http://www.ow2.org/wws

Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042
--
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
OW2 mailing lists service home page: http://www.ow2.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
OW2 mailing lists service home page: http://www.ow2.org/wws