Re: Problem developing a tag using Struts 2 Arch for Tags

2007-12-10 Thread victor sosa
JspException(e.getMessage()); } } return SKIP_BODY; } } note: This in the sub class TAG newton.dave wrote: > > --- victor sosa <[EMAIL PROTECTED]> wrote: >> Well, It doesn't iterate (end method), what means "When there a

Re: Problem developing a tag using Struts 2 Arch for Tags

2007-12-05 Thread victor sosa
newton.dave wrote: > > I'm not sure what you mean by "using the return > value..." of the start() and end() methods. > > End() does the same thing; this is where (AFAICT) the > bulk of the iteration is done. When there aren't any > objects left to iterate over it does some cleanup and > goes a

Re: Problem developing a tag using Struts 2 Arch for Tags

2007-12-04 Thread victor sosa
Sorry about the while is just a code for test, because I don't know exactly how S2 work for the iterator tag. I am aware about the code ;) Yes, I did see the S2 iterator tag, I see that there isn't any while or for into the code, I suppose that the code repeat using the return of the method. but

Problem developing a tag using Struts 2 Arch for Tags

2007-12-03 Thread victor sosa
I am developing a tag, see tag example below. This tag should produce a json object using the elements into the value stack. I need to know how to repeat the execution of the content in this case , also every execution need to push a new item into the valuestack. So I develop the tag using Comp

Re: javascript update tag value property [OFFTOPIC?]

2007-11-21 Thread victor sosa
. wrote: > > Hello Victor, > > Simplify. something like this should work. > > Maquina.onChange event > { > document.form1.textfield1.value= > document.form1.Maquina.options[document.form1.Maquina.selectedIndex].value; > } > > Regards, > Domingo > >

Re: javascript update tag value property

2007-11-20 Thread victor sosa
ANY IDEAS, how to? victor sosa wrote: > > Hi, I am trying to update a textfield when the select is changed using > javascript event onchange, so How I can do that? Which is the best > practices here? > > > Here is my code, any Ideas? > > >

javascript update tag value property

2007-11-20 Thread victor sosa
Hi, I am trying to update a textfield when the select is changed using javascript event onchange, so How I can do that? Which is the best practices here? Here is my code, any Ideas? function getVolumenInicial() { var volumenInicial = document.ge