On Wed, 2011-12-28 at 13:08 -0500, Paul Joseph wrote:
Hi there,
I have a Form, with a listbox styled as a double-listbox.
I have the left side populated with a list of items, and am able to
programmatically select a few of these items using JavaScript.
So far so good.
But how do I
I had thought the double list box as implemented in CForms was a cocoon
creation...sorry about that.
On 12/29/2011 4:17 AM, Thorsten Scherler wrote:
On Wed, 2011-12-28 at 13:08 -0500, Paul Joseph wrote:
Hi there,
I have a Form, with a listbox styled as a double-listbox.
I have the left side
On Thu, 2011-12-29 at 07:39 -0500, Paul Joseph wrote:
I had thought the double list box as implemented in CForms was a cocoon
creation...sorry about that.
hmm, you have not mentioned cforms before. ;)
I have to admit my experience with cforms is a bit outdated I fear, so
cannot help you
Hi there,
I have a Form, with a listbox styled as a double-listbox.
I have the left side populated with a list of items, and am able to
programmatically select a few of these items using JavaScript.
So far so good.
But how do I move these selected items to the Right box using JavaScript
well...the code below seems to work fine on IE7. IF I uncomment out the
line, I get the mis-match error.
:
function addEvent( element, type, handler ) {
if( element.addEventListener ) {
element.addEventListener( type, handler, false );
} else {
//this line is commented out as
On 11/09/2008 07:41 AM, Paul Joseph wrote:
well...the code below seems to work fine on IE7. IF I uncomment out the
line, I get the mis-match error.
:
function addEvent( element, type, handler ) {
if( element.addEventListener ) {
element.addEventListener( type, handler, false );
} else {
//this
Got it...works nicely now, with the line uncommented!
Thanks again, I sure do appreciate it.
rgds
Paul
Jason Johnston wrote:
On 11/09/2008 07:41 AM, Paul Joseph wrote:
well...the code below seems to work fine on IE7. IF I uncomment out the
line, I get the mis-match error.
:
function
On 11/07/2008 09:52 AM, Paul Joseph wrote:
element.attachEvent( 'on' + type, handler );
is giving me a runtime type mismatch error in IE7.
What does it do really. When I comment it out, things seem to continue
to work ;-)
It is the IE-proprietary event attachment method. See
On 11/06/2008 06:05 PM, Paul Joseph wrote:
But if I have a JavaScript function say:
function myFunction() {
alert (loaded);
}
and if I call this function on page load either by using
window.onload=myFunction;
OR by
body onLoad=javascript:scrollToPosition();
then the double-list box stops
This works nicely thanks!
One thing though...the line in the else statement:
element.attachEvent( 'on' + type, handler );
is giving me a runtime type mismatch error in IE7.
What does it do really. When I comment it out, things seem to continue
to work ;-)
rgds
Paul
Jason Johnston wrote:
Hi there,
The double-listbox works fine for me except if I have a script that
executes on page load.
Hence, if I have a simple page, it works fine.
But if I have a JavaScript function say:
function myFunction() {
alert (loaded);
}
and if I call this function on page load either by using
simple--just
replace the listbox in the definition below which works nicely, with
double-listbox.
fi:styling list-type=listbox style=width:140px listbox-size=3
name=other_assignees ONBLUR=writeHidden();/
The page where it works, I notice that this function is also called, but
with one
Hi,
Does anyone already fixed the mutivaluefield in double-listbox styling,
in combination with AJAX in cocoon 2.1.9 or 2.1.10?
Grtz,
Joost
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hello folks,
is there anybody who can help ;-)! I'am using cocoon 2.1.10 and i have some
problems with cforms. I build a model like this:
fd:form xmlns:fd=http://apache.org/cocoon/forms/1.0#definition;
xmlns:i18n=http://apache.org/cocoon/i18n/2.1;
fd:widgets
fd:multivaluefield id=test2
Objet : RE: fb:value et valeurs selectionnées dans une double-listbox
je viens de remarquer que MultiValueJXPathBinding.java a changé entre la
version 2.1.8 er la 2.1.9, y aurait-il un rapport avec mon problème?
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Envoyé
* [EMAIL PROTECTED]:
je viens de remarquer que MultiValueJXPathBinding.java a changé
entre la version 2.1.8 er la 2.1.9, y aurait-il un rapport avec
mon problème?
Bonjour Bérangère,
Non le code n'a pas changé, qu'est-ce qui te fait dire ça?
--
Jean-Baptiste Quenot
aka John Banana
));
Voili, je ne sais pas trop comment m'y prendre.
Merci.
Bérengère
-Message d'origine-
De : Jean-Baptiste Quenot [mailto:[EMAIL PROTECTED]
Envoyé : Thursday, June 22, 2006 10:53
À : users-fr@cocoon.apache.org
Objet : Re: fb:value et valeurs selectionnées dans une double-listbox
OK je vois en effet:
r348415 | giacomo | 2005-11-23 13:06:39 +0100 (Mer, 23 nov 2005) | 1 line
Changed paths:
M
/cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/binding/MultiValueJXPathBinding.java
workaround for
:[EMAIL PROTECTED]
Envoyé : Thursday, June 22, 2006 11:44
À : users-fr@cocoon.apache.org
Objet : Re: fb:value et valeurs selectionnées dans une double-listbox
OK je vois en effet:
r348415 | giacomo | 2005-11-23 13:06:39 +0100 (Mer
dans une double-listbox
J'ai remis multiValueContext.removeAll(this.rowPath); et commenté tout le code
qui suit la ligne // TODO: This is a workaround.
Mais après je ne sais pas trop comment faire pour que la modif soit prise en
compte
Bérengère
-Message d'origine-
De : Jean
* [EMAIL PROTECTED]:
J'ai exécuté cocoon.sh...mais a priori ma modif n'a pas été
J'prise en compte... ai dû zapper un truc...
Il faut lancer le script build pour recompiler Cocoon.
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
Bonjour,
Y a-t-il eu des changements avec la version 2.1.9 pour fb:multi-value
id=widget-id parent-path=channels row-path=channel/
Je ne réussi plus à récupérer les valeurs sélectionnées dans une
double-listbox, ce qui se faisait très bien quand j'étais encore sous la
version 2.1.8?
Merci
: RE: fb:value et valeurs selectionnées dans une double-listbox
Bonjour,
Y a-t-il eu des changements avec la version 2.1.9 pour fb:multi-value
id=widget-id parent-path=channels row-path=channel/
Je ne réussi plus à récupérer les valeurs sélectionnées dans une
double-listbox, ce qui se faisait
double-listbox
Bonjour,
ceci devrait t'aider :
fb:multi-value id=widget-id parent-path=channels
row-path=channel/
C'est totalement non documenté dans Cocoon.
[EMAIL PROTECTED] wrote:
Bonjour,
Est-il possible de récupérer via un fichier de binding, toutes les valeurs
sélectionnées dans une
-listbox?
Pour le moment je ne récupère que le premier élément sélectionné via ma
double-listbox.
Je ne vois pas trop quoi utiliser, mais fb: value n'est pas suffisant.
Merci pour vos conseils.
Bérengère
--
Philippe GASSMANN
Solutions Technologies
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61
Merci, mais en fait je me sens un peu bête, car c'est sûrement évident, mais je
ne vois pas ce que je dois regarder côté de la console JavaScript de
Firefox, surtout que j'utilise IE.
Ce que j'ai oublié de préciser, c'est que l'exemple de double-listbox donné
par cocoon fonctionne correctement
Merci du conseil!
Je vais essayer de suite.
-Message d'origine-
De : Bertrand Delacretaz [mailto:[EMAIL PROTECTED]
Envoyé : Thursday, April 06, 2006 09:50
À : users-fr@cocoon.apache.org
Objet : Re: Problemes avec double-listbox
Le 6 avr. 06 à 09:36, [EMAIL PROTECTED]
[EMAIL PROTECTED
Jean-Baptiste Quenot a écrit :
* [EMAIL PROTECTED]:
J'obtient bien mon double-listbox, mais les boutons sont
inactifs...
Je te conseille de regarder du côté de la console JavaScript de
Firefox.
Ne serait-ce pas un problème lié à l'attribut onload sur le tag body de
ta page
Hello,
I tried using the latest Ajax and Forms block from the BRANCH_2_1_X svn
branch. The issue appears to have been partially fixed, but the
double-listbox styling still won't work in combination with repeaters and
Ajax.
I've now reported that issue, and a crude, Cocoon 2.1.8 specific fix
Fabrizio Sitzia wrote:
Hello
I'm experiencing problems when rendering a multivaluefield using the
'double-listbox' styling - when that multivaluefield is contained in a
repeater, and Ajax is enabled for the form (ft:form-template ajax=true)
The 'double-listbox'-styled fields in the repeater
by replacing the line containing
eval(scripts[i]); in cocoon-ajax.js with setTimeout(scripts[i], 10); )
2. But even if the optNx variable is initialised all right, you will
stumble upon other stuff not being initialised correctly:
The 'double-listbox' widget relies on an object (OptionTransfer
(scripts[i], 10); )
2. But even if the optNx variable is initialised all right, you will
stumble upon other stuff not being initialised correctly:
The 'double-listbox' widget relies on an object (OptionTransfer) that is
normally initialised by a document onLoad() handler.
That is fine for full
Hello
I'm experiencing problems when rendering a multivaluefield using the
'double-listbox' styling - when that multivaluefield is contained in a
repeater, and Ajax is enabled for the form (ft:form-template ajax=true)
The 'double-listbox'-styled fields in the repeater stop working as soon
Steinar Jonsson wrote:
Hi
I have a little i18n problem in 2.1.8:
A form contains a double-listbox that I insert string values into
from javaflow.
Some value strings have content that I want the i18n transformer
to translate. If I just add i18n tags to the strings they are not
transformed
On Sunday 15 January 2006 10:41, Sylvain Wallez wrote:
Steinar Jonsson wrote:
Hi
I have a little i18n problem in 2.1.8:
A form contains a double-listbox that I insert string values into
from javaflow.
Some value strings have content that I want the i18n transformer
to translate
Steinar Jonsson wrote:
On Sunday 15 January 2006 10:41, Sylvain Wallez wrote:
Steinar Jonsson wrote:
Hi
I have a little i18n problem in 2.1.8:
A form contains a double-listbox that I insert string values into
from javaflow.
Some value strings have content that I want the i18n transformer
On Sunday 15 January 2006 21:18, Jason Johnston wrote:
Steinar Jonsson wrote:
On Sunday 15 January 2006 10:41, Sylvain Wallez wrote:
Steinar Jonsson wrote:
Hi
I have a little i18n problem in 2.1.8:
A form contains a double-listbox that I insert string values into
from javaflow.
Some
Steinar Jonsson wrote:
SelectableWidget widget =
(SelectableWidget)form.getChild(widgetName);
widget.setSelectionList(listOfLabelAndValuePairs, value, label);
I believe that if the value of the label path is a
org.apache.cocoon.forms.util.I18nMessage (see the javadocs) then it will
On Sunday 15 January 2006 23:05, Jason Johnston wrote:
Steinar Jonsson wrote:
SelectableWidget widget =
(SelectableWidget)form.getChild(widgetName);
widget.setSelectionList(listOfLabelAndValuePairs, value, label);
I believe that if the value of the label path is a
Hi
I have a little i18n problem in 2.1.8:
A form contains a double-listbox that I insert string values into
from javaflow.
Some value strings have content that I want the i18n transformer
to translate. If I just add i18n tags to the strings they are not
transformed.
What is the correct
I'm creating a Wiki Form and I want to place on in
a List Box but I don't know how to create it. I went throught documentation of
Field, Multivaluefield, Agregatefield (and many others) but still I don't know
how to make a ListBox (1 from N).
Bartosz Zgodziskitel. (61)
8428-157cell. 504-14
I assume that you are using Woody/CForms.
It is very simple, actually, you aren't just looking in the right place.
The listbox is a widget with just a styling of type listbox
You define the selection list values in the Field definition
wd:field id=... required=true|false
wd:label.../wd:label
42 matches
Mail list logo