Re: Tapestry 5 - cache issue when accessed via proxy

2011-02-21 Thread Pablo dos Reis
If your problem occurs in multiple pages I recommend put the cache configuration in your AppModule. public RequestFilter cacheFilter() { return new RequestFilter() { public boolean service(Request request, Response response, RequestHandler handler) throws I

Own persistence strategy

2011-02-15 Thread Pablo dos Reis
Is there a way I create my own persistence strategy of the fields? I need do something like @Persist("my-persist") because I want to clean the objects persisted after a group of operations. Thanks in advance. -- Pablo Henrique dos Reis

Re: BeanValidator Unable to find a default provider

2010-12-27 Thread Pablo dos Reis
All of these I > replaced with there new equivalents with no problems. I am still testing > but so far I have found on other problems. > > Michael Williamson > Analyst Sr Applications Developer > Phone: 816/997-5994 > > > > From: Pablo dos Reis > > To:

Re: BeanValidator Unable to find a default provider

2010-12-23 Thread Pablo dos Reis
Hi Michael, Do you have many problems in the convertion? I'll want to convert one app from 5.0.10 to 5.2.4. But the app size is a big problem for do it. 2010/12/23 > Thanks Robert, that solved my problem. > > Michael Williamson > Analyst Sr Applications Developer > Phone: 816/997-5994 > > > >

Problem DateField in Windows

2010-11-17 Thread Pablo dos Reis
Hi guys, I have a problem with the componente DateField in only one computer. In November don't appear the first week in the calendar. I think it's a problem in some configuration in firefox or Windows, because the component works well in other computers. Does anyone have any idea what might b

Re: COMPONENTS LIFE CYCLE

2010-11-08 Thread Pablo dos Reis
it's work! thanks Josh and Thiago 2010/11/8 Josh Kamau > HI Pablo; > > Have you tried writting a method annotated with @SetupRender ? it works for > components. You can initialize you component state in that method. > > > regards. > > On Mon, Nov 8, 2010 at

Re: Textfield disabled return a null value

2010-09-22 Thread Pablo dos Reis
*Another option is you change the style.display to none or use the method hide() of prototype element.hide(); * 2010/9/22 Cucchietti Denis > Hi Katia, > > Thanks for your answer i have used an hidden field and its works! > > -Message d'origine- > De : Katia Aresti Gonzalez [mailto:katia

Re: Ajax Form submission in T5.0

2010-08-27 Thread Pablo dos Reis
ok! 2010/8/27 Thiago H. de Paula Figueiredo > On Fri, 27 Aug 2010 10:16:22 -0300, Pablo dos Reis > wrote: > > Thank you Thiago, >> > > You're welcome! > > > I can submission by ajax using ActionLink and Zones, >> but I' m try upgrade T5 versio

Re: Ajax Form submission in T5.0

2010-08-27 Thread Pablo dos Reis
s tapestry-core, tapestry-ioc and tapestry-spring 2010/8/26 Thiago H. de Paula Figueiredo > On Thu, 26 Aug 2010 14:40:53 -0300, Pablo dos Reis > wrote: > > Hi, >> > > Hi! > > I' m using T5.0.10 in my work. >> > > That's old . . . :) > &g

Ajax Form submission in T5.0

2010-08-26 Thread Pablo dos Reis
Hi, I' m using T5.0.10 in my work. We are studing the best way to upgrade the tapestry version. But while it isn't happens, I want know if there are a way to create a form submission using ajax in T5.0. -- Pablo Henrique dos Reis

GSOC 2010 project is finishing

2010-08-16 Thread Pablo dos Reis
Hi everyone, My GSOC 2010 project is finishing Then I uploaded the code example in my tapestry wiki page [0] There are a link called "App Example"[1] to code In this project I created - Drag and Drop palette (component) - AutoCompleteSelect (mixin) - AutoCompleteObject and MixinAutoComp

Re: Refresh zone periodicaly

2010-08-13 Thread Pablo dos Reis
Mite, Is your "ActionLink" inside the "zone"? I already had problem with this. 2010/8/13 Bryan Lewis > Let me try that again. I've had very good results with this PeriodicUpdate > mixin that I heard about from this list. > > http://blog.bolkey.com/2010/05/creating-a-news-feed-in-tapestry-5 >

Re: Refresh zone periodicaly

2010-08-13 Thread Pablo dos Reis
Hi Mite, I think you don' t need put t:id and id in the component only one is enough. But for you have sure if the problem is javascript or other thing. I recommend the firebug. http://getfirebug.com/ 2010/8/13 Mite > > I have tried this approach: > > > > function refreshZoneEvent() > { > do

Re: Refresh zone periodicaly

2010-08-12 Thread Pablo dos Reis
Hi Mite, You can use one javascrit, like this function execute() { // refresh div setTimeout('execute()', 2000); } In this case the div will be refresh for each 2 seconds 2010/8/12 Mite > > Hi > Is there a way to refresh a zone on a fixed period automatically? > > Thanks > -- > View this

Re: [GSOC 2010] GMaps Component

2010-08-11 Thread Pablo dos Reis
lot of the functionality you want. > > Kind regards, > Joachim > > > On 07/19/2010 04:54 AM, Pablo dos Reis wrote: > >> Hi everyone, >> >> >> I intend to create components that encapsulate some features of Maps >> Javascript API v3 >> The goal is allo

Re: Select in Loop

2010-08-11 Thread Pablo dos Reis
Mite, You must use a property of your source as select value. 2010/8/11 Josh Canfield > Are you saying that when you post the form you are getting the last value > from the form stored in the currentBetType and currentAvailableBet > properties? > > With loops you have to remember that you onl

Re: Possible bug in grid when adding delete button

2010-08-05 Thread Pablo dos Reis
I don't know if it's a bug. But other option is you to use ActionLink with Zone to refresh only the grid and not all the form. 2010/8/5 des999 > > Hey guys, > > I have a page used to create/edit an entity object. That object has a list > of children objects, and I display this using a grid on

Re: Dynamic Type

2010-08-04 Thread Pablo dos Reis
Thank you Thiago, I think delegate and if can help me. 2010/8/4 Thiago H. de Paula Figueiredo > On Wed, 04 Aug 2010 11:30:14 -0300, Pablo dos Reis > wrote: > > Is there a way to set the component's type in run time? >> > > Hi, Pablo! > > It'

Dynamic Type

2010-08-04 Thread Pablo dos Reis
Is there a way to set the component's type in run time? I need to choose the layout by onActivate parameter. -- Pablo Henrique dos Reis

Re: T5: Beaneditor annotations are ignored when fetched as lazy association

2010-07-28 Thread Pablo dos Reis
Hi Andreas, I recommend to save the entities separate. save(A); save(B); save(C); save(Main); Maybe it has been a bug in hibernate. http://jira.springframework.org/browse/SPR-7319 2010/7/28 Andreas Pursian > Dear List members, > > sorry for reposting my question but I still couldn't find a

Re: SeleniumTestCase context uninitialized

2010-07-26 Thread Pablo dos Reis
apestry core tests though. > > > -- Josh > > On Jul 24, 2010, at 2:31 PM, Pablo dos Reis > wrote: > > > When I run my test class that extends SeleniumTestCase > > in the following method all calls to context.getAttribute return nul. > > > > > >

SeleniumTestCase context uninitialized

2010-07-24 Thread Pablo dos Reis
When I run my test class that extends SeleniumTestCase in the following method all calls to context.getAttribute return nul. It's necessary any configuration to work well? @BeforeClass public void setup(ITestContext context) { this.testContext = context; delegate = (Se

Re: tapestry validation queries?

2010-07-21 Thread Pablo dos Reis
Hi Chris, > Is there a difference between @Validate and t:validate in the tml? Do both > methods create the javascript unFocus pop up? > > To the second question see the property clientValidation from form [0]. But the other issues I will leave for the more experienced. [0] http://tapestry.ap

Re: Best practise for bloated utility methods location

2010-07-19 Thread Pablo dos Reis
Hi Jim, Where I work the apporoach is like this: "Base Pages" are used for prevent some duplicates methods that returns models, enconder or same actions to remove or include. Services are used to actions in the business. But this approach not consider efficiency and it's only a pattern. 2010/7

[GSOC 2010] GMaps Component

2010-07-18 Thread Pablo dos Reis
Hi everyone, I intend to create components that encapsulate some features of Maps Javascript API v3 The goal is allow the user have facilities to use maps like this [0]. I intend implement the features: - Geocoding - Markers - MapType - Add/Remove Controls - Size - Route Pro

Re: Tapestry - read-only forms

2010-07-15 Thread Pablo dos Reis
Hi Elisabeth, Try to use JavaScript. Like this: for(i = 0; i < 150; i++) document.forms[0].elements[i].disabled = 1; 2010/7/15 Elisabeth Adler > Thanks Uli for the tip - would that mean I have to program a new page > displaying the bean for every form? > I was more thinking about somehow

Re: Ubuntu 10.04 - Error invoking service builder

2010-07-14 Thread Pablo dos Reis
HI Thiago, Thank you. I'll do tests in the T5.0.5 for the time being. 2010/7/14 Thiago H. de Paula Figueiredo > Hi, Pablo! > > > On Wed, 14 Jul 2010 14:30:34 -0300, Pablo dos Reis > wrote: > > I used the Ubuntu 9.10 and now I upgraded to 10.04. >> Then

Ubuntu 10.04 - Error invoking service builder

2010-07-14 Thread Pablo dos Reis
I used the Ubuntu 9.10 and now I upgraded to 10.04. Then after that I have had the error below. The application use T5.2.0-SNAPSHOOT and was created with archtype. The strange is that I have other application with the same AppModule, but using T5.1.0.5 and it works well. [INFO] Preparing jet

Re: Conditional class for body

2010-07-13 Thread Pablo dos Reis
* 2010/7/13 Pablo dos Reis > Hi Jim, > > You can give an id to body and then use JavaScript. > > > ><t:if text="xyz"> > > $('body').addClassName('myClass'); > > <p:else> >

Re: Conditional class for body

2010-07-13 Thread Pablo dos Reis
Hi Jim, You can give an id to body and then use JavaScript. $('body').addClassName('myClass'); $('body').addClassName('otherClass'); But I think the Michael's solution very good too. 20

Re: blank gird column labels cause exception

2010-07-13 Thread Pablo dos Reis
Hi Joost, Other way is to use the .properties But is not a dynamic form Example .properties file: secondCol-label= firstCol-label= 2010/7/13 Joost Schouten (ml) > Hi, > > I have the need for a blank label in my grid, but when I try: > > BeanModel.add(RelativePosition.BEFORE, "secondC

Re: [T5.1]Add a field specific error message using beforeLabel

2010-07-13 Thread Pablo dos Reis
Hi Thomas, Do you still have the link to post of Thiago? I' m looking for the post, but I have not found yet. tks, 2010/7/13 Thomas Cucchietti > Nobody has an idea about this problem? > > > 2010/7/8 Thomas Cucchietti > > > Hi everybody! > > > > I'm facing a problem I can't resolve, even aft

Re: JavaScript and Css T5.2.0-SNAPSHOT

2010-07-12 Thread Pablo dos Reis
gt; Did you try reading the Javadoc? > > On Mon, Jul 12, 2010 at 3:07 PM, Pablo dos Reis > wrote: > > What the best way to include javascripts and css in T5.2.0-SNAPSHOT? > > > > > > In T5.1.0.5 I have used > > > > @IncludeJavaScriptLibrary, &g

JavaScript and Css T5.2.0-SNAPSHOT

2010-07-12 Thread Pablo dos Reis
What the best way to include javascripts and css in T5.2.0-SNAPSHOT? In T5.1.0.5 I have used @IncludeJavaScriptLibrary, @IncludeStylesheet and addScript for the RenderSupport But everything are deprecated in T5.2.0-SNAPSHOT. tks, -- Pablo Henrique dos Reis

Re: retrieve textfield value prior to validate/submit

2010-07-12 Thread Pablo dos Reis
Hi, you can use Ajax.Request of Prototype for it. Create a Action Link for register the method and call this method by Ajax. Example: Page Class/// @Proper

Re: How to enable suggestions when entering the input field

2010-06-08 Thread Pablo dos Reis
Use the Select and not a AutoComplete. 2010/6/8 Donarus > > Hi, > this is example part of code of my autocomplete textfield (im using T > 5.1.0.5) > > JAVA PART: > List onProvideCompletionsFromNaseptavacValue(String partial) { > List matches = new ArrayList(); > matches.add("match1"); >

[GSOC 2010] Palette Drag and Drop - alpha version

2010-05-30 Thread Pablo dos Reis
http://wiki.apache.org/general/PabloGSOC2010DgDpPalette -- Pablo Henrique dos Reis - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: RenderSupport Scope

2010-05-30 Thread Pablo dos Reis
ion from anywhere if you prefer to do things > this way: > > > > > Martin > > > On Sun, 30 May 2010 04:59:44 +0200, Pablo dos Reis > wrote: > > Hi Thiago, >> >> When the Tapestry creates the script. >> It puts the script inside a other method. &g

Re: RenderSupport Scope

2010-05-29 Thread Pablo dos Reis
. de Paula Figueiredo > On Sat, 29 May 2010 23:18:28 -0300, Pablo dos Reis > wrote: > > When I inject javaScript using renderSupport not is possible access the >> methods created in the class through a js file. >> > > Hi, Pablo! > > I'm not sure

RenderSupport Scope

2010-05-29 Thread Pablo dos Reis
When I inject javaScript using renderSupport not is possible access the methods created in the class through a js file. Are there a way for access a JavaScript method overrided using renderSupport for a classe outside it, in the js for exemple ? -- Pablo Henrique dos Reis

Re: PROPOSAL: add afterUpdateElement support to autocomplete mixin

2010-05-16 Thread Pablo dos Reis
I' m doing a SelectWithAutoComplete for Tapestry in GSOC project. So, I think in create a call for method callBackAutoComplete() and to implement javascript callBackAutoComplete as empty. The callBackAutoComplete will be overriding in your template. For a similar behavior.. You can overriding t

Re: [T5.1] select with required validation

2010-05-05 Thread Pablo dos Reis
Try verify if the 'user' is null in the toClient method . 2010/5/5 paha > > Hi, it must be again some misunderstanding from my side. I have a form and > select > > encoder="supervisorEncoder" model="supervisorModel" > blankOption="always"/> > > > i

Re: GSOC 2010 - ACCEPTED

2010-05-03 Thread Pablo dos Reis
> this.onComplete.bindAsEventListener(this)} ); > } > }, > handleForcedUpdateFromChange : function (event) { li = > Event.findElement(event, 'LI'); > this.loadValueFromItem(li); > }, > loadValueFromItem : function(li) { > li

Re: GSOC 2010 - ACCEPTED

2010-04-30 Thread Pablo dos Reis
now if you would like to have a look > > Cheers, > Joost > > [1]:http://www.youtube.com/watch?v=_GVW0JvkDkg > > > Pablo dos Reis wrote: > >> Tks everybody >> >> Now I am studing about Scriptaculous >> I already create a wiki >> http://wiki.apache

Re: GSOC 2010 - ACCEPTED

2010-04-29 Thread Pablo dos Reis
> Charith > > On Thu, Apr 29, 2010 at 5:05 AM, Thiago H. de Paula Figueiredo < > thiag...@gmail.com> wrote: > > > On Wed, 28 Apr 2010 20:01:23 -0300, Pablo dos Reis < > pablodosr...@gmail.com> > > wrote: > > > > There are ohters students wor

Re: GSOC 2010 - ACCEPTED

2010-04-28 Thread Pablo dos Reis
There are ohters students working in tapestry project through GSOC? 2010/4/28 Thiago H. de Paula Figueiredo > > On Wed, 28 Apr 2010 16:20:24 -0300, Pablo dos Reis wrote: > >> Hi tapestry users, > > Hi, Pablo! > >> My proposal for GSOC 2010 was accepted. > >

GSOC 2010 - ACCEPTED

2010-04-28 Thread Pablo dos Reis
Hi tapestry users, My proposal for GSOC 2010 was accepted. I will do the components: *SelectWithAutocomplete and Tapestry Drag and Drop Palette * * * *I am creating a wiki to display my evolution when finished I post it here. * -- Pablo Henrique dos Reis

Student Proposal for GSOC 2010 (nifty components)

2010-04-07 Thread Pablo dos Reis
My Proposal for three components *Tapestry Drag and Drop Palette * Create a new component by modificating the component Tapestry Palette so the user can select and deselect items using droppables e sortables de Scriptaculous The new component will be based on the javascript language. The new co