Re: T5 : Dependant dropdown boxes

2008-04-03 Thread Daniel Alonso
Stephane Decleire wrote: > > Has anyone already tried to implement dependant dropdown boxes with the > Ajax features of Tapestry 5.0.11 ? > I would like to implement a component to get a user address (country, > zipcode, city) and i would like to present the user the cities according > to th

Controlling acccess to different users by profile

2008-04-11 Thread daniel alonso
First of all, thanks for all the support given through this mailing list. I'm a newbie in this framework and after reading a couple of book and the wiki, I have a question concerning about this: I want to control the access to pages by user's role. I've checked the tapestry example about how to au

Re: Controlling acccess to different users by profile

2008-04-14 Thread daniel alonso
Fantastic!Thanks a lot to both of you :D. I will give a try to them 2008/4/11, Thiago HP <[EMAIL PROTECTED]>: > > On 4/11/08, Marcelo Lotif <[EMAIL PROTECTED]> wrote: > > There are two nice articles by Chris Lewis regarding this, and i think > it's > > the best approach out there. Maybe you shoul

Re: Is there any way to represent this?

2008-05-28 Thread daniel alonso
nEvent("activate") > void setupGrid() { > _model = _beanModelSource.create(YourGridRowClassType.class, false, > _componentResources); > _model.get("ColumnYouWantToChangeSortFor").sortable(false); > } > > On Tue, May 27, 2008 at 7:15 AM, daniel alonso <[EMAIL

Re: Is there any way to represent this?

2008-06-02 Thread daniel alonso
> void onActivate() { >model = beanModelSource.create(User.class, false, componentResources); >model.get("username").sortable(false); > } > > Hope that helps. > > -Filip > > daniel alonso skrev: > > Sorry for disturbing again, but I'm a bit

Moving grid and stuff related to a single component

2008-06-02 Thread daniel alonso
Hi everybody again. Firstly I would like to give a lot of thanks to all the people that supports this mailing list, because they give a lot of help. My present problem is that I'm trying to move properties associated with a grid from a Page's Pojo to a component, but when the user submit the for,

Re: Moving grid and stuff related to a single component

2008-06-02 Thread daniel alonso
Sorry again people, I have just solved the problem. If someone would like to know the solution, just ask me ;D 2008/6/2 daniel alonso <[EMAIL PROTECTED]>: > Hi everybody again. Firstly I would like to give a lot of thanks to all the > people that supports this mailing list, because

Re: Moving grid and stuff related to a single component

2008-06-02 Thread daniel alonso
rder to be able to set it... > I tried the in-grid approach, but just went around it when it didn't > work... > > Please share. > > On Mon, Jun 2, 2008 at 11:47 AM, daniel alonso <[EMAIL PROTECTED]> > wrote: > > > Sorry again people, I have just solve

[t5] Refresh a grid by submitting a form

2008-08-05 Thread daniel alonso
Hi everybody!. I have been looking in the wiki, the "Tapestry in action" book and of course, this mailing list, but i don't find how can I solve the next situation. Due to some requirements, pages must be accessible and no javascript is allow for me, so, at first glance, no ajax can be used at my

Re: [t5] Refresh a grid by submitting a form

2008-08-05 Thread daniel alonso
;[EMAIL PROTECTED]> > > The passivate/activate works well for simple criteria. You probably want > to > persist your search criteria instead. The only question then is whether > you > want flash persistence or not. > > > > -Original Message- > > From

[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}");

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

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

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

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

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

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

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

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

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

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

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

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-

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