Problem passing several values as component's parameter

2008-11-07 Thread Daniel Alonso Sanchez
Hi everybody again. I need to pass a list of literals as parameter of a custom component. Look like this: t:newBeanColumn t:id="formpersonales" object="datosPersonales" numColumns="1-3-5-2" That literal (1-3-5-2) are 4 numbers that i need to process, but tapestry give me an exception. Is the

Re: Conditional Validation in t5

2008-10-24 Thread Daniel Alonso Sanchez
For god's shake, thanks a lot for your response,Hugo! I was trying something different for activate validations in both sides, but, due to the restrictions I think I'm gonna follow your idea. Thanks a lot again for your time :D -- View this message in context: http://www.nabble.com/Conditional-

Conditional Validation in t5

2008-10-23 Thread Daniel Alonso Sanchez
Hi everybody, we are in a hurry in our project, because some requirements made us to put somethin like Conditional Validations. For instance, input components (textfield, select, ...) will always have format validations, but when the page will be invoked with a parameter, a validation required i

Enable validation of fields by request parameter

2008-10-21 Thread Daniel Alonso Sanchez
Hello to everybody. Due to some requirements, we need to activate/de-activate the validation of the fields in a form. We declare each field with @Validate("required") (for instance), and we desire to enable/disable those validations by a value passed through the request. Is there any way to do so

Load ClassPathXMLApplicationContext just one time in the app

2008-10-02 Thread Daniel Alonso Sanchez
Hi everybody. I'm trying to optimize the loading of the cxf XML context of our application (for web services invocation) and so i have been reading all the stuff concerning Binding, because i think that, as happens with another modules like Hibernate, is there a possibility to load the xml context

Re: Anchor problem: other components being affected

2008-09-26 Thread Daniel Alonso Sanchez
ooops, my apologizes for that, i have no idea of that. I will try immediately. Thanks a lot ;D -- View this message in context: http://www.nabble.com/Anchor-problem%3A-other-components-being-affected-tp19684509p19684919.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Anchor problem: other components being affected

2008-09-26 Thread Daniel Alonso Sanchez
Well, i must confess i really didn't know how to title this post, so... my apologizes for the name. The thing is that I have an anchor that looks like this: Subtitle3 A first glance to this code made me think that everthing will we ok, but my surprise after the rendering of the tml was that th

Re: Questions about T5 html markup generated

2008-09-25 Thread Daniel Alonso Sanchez
Filip S. Adamsen-2 wrote: > > Weird. I just noticed that. I can't find either shape or rect anywhere > in the Tapestry source, though. Oh, and the shape attribute is defined > alright, so it shouldn't be a problem, really. > > -Filip > > On 2008-09-25

Re: Questions about T5 html markup generated

2008-09-25 Thread Daniel Alonso Sanchez
Joe Chen wrote: > > Hi, > I've noticed some quirks about the html generated by T5, and I was > wondering how I could go about changes these things. I would appreciate > it > if someone could point out how to fix these things. > > 1) When using , an additional attribute xmlns=" > http://www.

Re: Tags not being closed by t5. W3C Accesibility Fails :(

2008-09-25 Thread Daniel Alonso Sanchez
ip on it. > > -Filip > > On 2008-09-25 12:44, Daniel Alonso Sanchez wrote: >> Wow, it works! Thanks so much, i didn't know anything about that but, >> there >> is another problem. >> >> That solution is great for closing the tags, but it introduce this

Re: Tags not being closed by t5. W3C Accesibility Fails :(

2008-09-25 Thread Daniel Alonso Sanchez
Wow, it works! Thanks so much, i didn't know anything about that but, there is another problem. That solution is great for closing the tags, but it introduce this piece of code at the begining of the page this is causing a wrong placing of our divs. On the other hand, placing into the sec

Tags not being closed by t5. W3C Accesibility Fails :(

2008-09-25 Thread Daniel Alonso Sanchez
Hi everybody, I'm in a hurry because we have to develop an application that respects w3c accesibility. The thing is that our pages have this header: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> And in a specific tml file, we have this tag: After requesting the page, the html

Re: I can't make the Redirect Exception Sample on Wiki works

2008-08-22 Thread Daniel Alonso Sanchez
Sven Homburg wrote: > > have you read this ? > http://tapestry.apache.org/tapestry5/cookbook/exceptions.html > > 2008/8/22 Daniel Alonso Sanchez <[EMAIL PROTECTED]> > >> >> Hi everybody again :D. I'm trying to develop my own Exception Page that >

I can't make the Redirect Exception Sample on Wiki works

2008-08-22 Thread Daniel Alonso Sanchez
Hi everybody again :D. I'm trying to develop my own Exception Page that rise when a Custom Exception of my own rise. I have followed the sample http://wiki.apache.org/tapestry/Tapestry5RedirectException that goes here , but the app never reach that page. I have copied line by line the sample, m

Re: [t5] Use messages from app.properties in java classes

2008-08-21 Thread Daniel Alonso Sanchez
Sven Homburg wrote: > > look for that, that should helps you > http://pastebin.com/f2a26b195 > > - > best regards > Sven > Thanks a lot again, Sven. Your help is very much aprecciated ;D. The Proxy in my lan is deniying me of accessing to that link, so i will check it when i arrive at h

Re: [t5] Use messages from app.properties in java classes

2008-08-21 Thread Daniel Alonso Sanchez
Andy Pahne-3 wrote: > > >> Thanks a lot for your response, but the problem still remains :-((. I >> have >> insert this code >> - >> @Inject >> private ComponentResources resources; >> >> >> >> and >> >> - >> resources.getMessages().get("hibernateexcept

Re: [t5] Use messages from app.properties in java classes

2008-08-21 Thread Daniel Alonso Sanchez
; I am not aware if you can inject Messages directly, but I would not be > surprised if you could somehow. > > > Andy > > > Daniel Alonso Sanchez schrieb: >> Hi again to everybody, sorry for dsiturbing again, but i have spent at >> least >> two hours

[t5] Use messages from app.properties in java classes

2008-08-21 Thread Daniel Alonso Sanchez
Hi again to everybody, sorry for dsiturbing again, but i have spent at least two hours reading the docs, wiki, Tapestry in Action book, but... i can't solve my actual problem. The thing is that i'm trying to create a MessagesComponent: a component that let's to add aliases, and before insert them

Re: [t5] Modal Windows with t5Components Window Class

2008-08-20 Thread Daniel Alonso Sanchez
Sven Homburg wrote: > > give the showCenter methode the parameter value "true" and it should works > > 2008/8/20 Daniel Alonso Sanchez <[EMAIL PROTECTED]> > >> >> >> >> # click here for modal >> window >> >> >>

Re: [t5] Modal Windows with t5Components Window Class

2008-08-20 Thread Daniel Alonso Sanchez
Sven Homburg wrote: > > # click here for modal > window > # click here for modal window Sorry for disturbing again, but inside my js function called ShowWindow2 i have the following code function showWindow2(idSeccion ) { ${window2.componentResources.id}.setTitle("Ayuda")

Re: [t5] Modal Windows with t5Components Window Class

2008-08-20 Thread Daniel Alonso Sanchez
# click here for modal window Sorry for disturbing again, but inside my js function called ShowWindow2 i have the following code function showWindow2(idSeccion ) { ${window2.componentResources.id}.setTitle("Ayuda"); ${window2.componentResources.id}.setURL("${generar

[t5] Modal Windows with t5Components Window Class

2008-08-20 Thread Daniel Alonso Sanchez
Hi again to everybody, i have came back again with more doubts and questions %-| I'm using the Window class of t5components, but i have a problem: i wan't partial behaviour of GoogleWindow sample (disabled background), but with the behaviour of the others (not automatically open, just manually).

Re: [t5] Is there anyway of passing parameters to expressions?

2008-08-19 Thread Daniel Alonso Sanchez
Wow, thank you so much for the support. At first i would give a try to the easiest solution, then i will test the second. Thank you so much again for everything ;D -- View this message in context: http://www.nabble.com/-t5--Is-there-anyway-of-passing-parameters-to-expressions--tp19047455p190635

[t5] Is there anyway of passing parameters to expressions?

2008-08-19 Thread Daniel Alonso Sanchez
Sorry for the strange subject :D, but i don't know the correct way to name it. I have something that looks like this: function showWindow2() { ${window2.componentResources.id}.setTitle("Ayuda") ${window2.componentResources.id}.setURL("${generarEnlace}");