Re: again on webservices

2009-05-22 Thread Andrea Chiumenti
..@gmail.com] > Sent: 19 May 2009 22:47 > To: Tapestry users > Subject: Re: again on webservices > > Em Tue, 19 May 2009 15:57:36 -0300, Andrea Chiumenti > > escreveu: > >> I have a simple question: >> may a T5 page behave like a webservice (soap) ? > > Yes

again on webservices

2009-05-19 Thread Andrea Chiumenti
I have a simple question: may a T5 page behave like a webservice (soap) ? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

getting httpserver instance

2009-05-19 Thread Andrea Chiumenti
Hello I'm using Tapestry-5.1.0.4 and I need to do something like: Endpoint endpoint = Endpoint.create(serviceBoundByTapestry); HttpContext context = httpServer.createContext("/hello"); endpoint.publish(context); Is it possible to get the httpServer instance ? is there a Service to inject for this

Re: The way I found to debug tapestry source..

2009-05-18 Thread Andrea Chiumenti
run mvn with -DdownloadSources=true On Mon, May 18, 2009 at 12:20 PM, hari ks wrote: > > Hi, > > 1.First of all I downloaded tapestry-src-5.0.18.zip. > 2. did a "mvn install" after commenting out all testng.xml , and copying > pom.xml to project root. > 3. Created a dummy tapestry project in e

spring and tapestry 5.1.0.4

2009-05-15 Thread Andrea Chiumenti
Hello, I'm experimenting strange things when trying a simple spring integration: on tapestry site it is written that I can use @Inject into spring beans, and that "Spring Beans are no longer exposed as services, unless 5.0 compatibility mode is enabled." I've simply created a T5.1 application fro

Re: injecting t5 services into spring beans

2009-05-15 Thread Andrea Chiumenti
vice.echo(value); } } - debugging I see that echoService is null so how can I do ? (in tapestry 5.1.0.4) kiuma On Fri, May 15, 2009 at 3:49 PM, Andrea Chiumenti wrote: > T 5.1.0.4 > >

Re: injecting t5 services into spring beans

2009-05-15 Thread Andrea Chiumenti
T 5.1.0.4 On Fri, May 15, 2009 at 3:45 PM, Geoffrey Wiseman wrote: > On Fri, May 15, 2009 at 9:37 AM, Andrea Chiumenti wrote: > >> Hello, is it possible to inject T5 bound services into Spring beans >> > > I believe this is possible in 5.1.X but not 5.0.X -- what

injecting t5 services into spring beans

2009-05-15 Thread Andrea Chiumenti
Hello, is it possible to inject T5 bound services into Spring beans I've followed tapestry-spring instructions, and spring beans are created, but I can't inject my bound services into a spring bean neither via @Inect, nor via @Autowired. How can I do ? is it possible ? Cheers, kiuma ---

Re: T5 and hessian

2009-05-13 Thread Andrea Chiumenti
thank you On Wed, May 13, 2009 at 8:56 PM, Thiago H. de Paula Figueiredo wrote: > Em Wed, 13 May 2009 15:14:53 -0300, Andrea Chiumenti > escreveu: > >> Hello I'd like to use T5-ioc and then expose services with hessian. >> >> can I use @Inject annotation inside

T5 and hessian

2009-05-13 Thread Andrea Chiumenti
Hello I'd like to use T5-ioc and then expose services with hessian. can I use @Inject annotation inside an hessian service ? if not how can I retrieve a service from outside T5 ? Thanks in advance, kiuma - To unsubscribe, e-mail

Re: using dojo in tapestry 5

2009-04-22 Thread Andrea Chiumenti
a:505) >        at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) >        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) >        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) >        at org.mortbay.jetty.HttpConnection.handl

Re: [Announce] Tapestry XPath project

2009-04-22 Thread Andrea Chiumenti
Very very good, greetings! On Tue, Apr 21, 2009 at 10:24 PM, Thiago H. de Paula Figueiredo wrote: > Em Tue, 21 Apr 2009 17:07:46 -0300, Paul Field > escreveu: > >> I'd like to announce that the Tapestry XPath project is now available as a >>  Snapshot release at Tapestry 360: >> https://tapestry

Re: using dojo in tapestry 5

2009-04-22 Thread Andrea Chiumenti
with T5. > > > I was really dissappointed when i heard T5 is not integrated with dojo. > Anyways I ll look into the url u sent. > Thanks again :-) > > > > > Andrea Chiumenti wrote: >> >> Yes it is! >> I've done it. >> It's currentl

Re: using dojo in tapestry 5

2009-04-22 Thread Andrea Chiumenti
Yes it is! I've done it. It's currently in alpha status and I'm waiting the dojo comunity will review the maven dojo build plugin I've done. When the plugin will be successfully tested, then the project will be modifyed to use it and moved to formos.com (Howard allowing :P) If you want to give the

Problem on a T4 + hivemind project

2009-04-22 Thread Andrea Chiumenti
o another. The contribution is the message I'm having is myApp.MailReceivers contains no contributions but expects at least one contribution. Could you help me with this issue please ? Thanks in advance, Andrea Chiumenti - To

Differences between T5 and T51 question

2009-04-15 Thread Andrea Chiumenti
hello, I see that org.apache.tapestry5.internal.structure.Page#getLogicalName has moved to org.apache.tapestry5.internal.structure.Page#getName in toapestry5.1, is there a common method to get the logical method of a page in T5 and T51 ? Thanks in advance, kiuma --

Re: help with tapestry hibernate.

2009-04-02 Thread Andrea Chiumenti
t; > } > > > Roberto. > > Juan E. Maya ha scritto: >> >> Hi Andrea, What version of tapestry are you working with? >> As far as i know using tapestry 5.0 this is not possible (or at least >> without a workaround) using tapestry 5.0.1 tapestry-hibernate-core n

help with tapestry hibernate.

2009-04-01 Thread Andrea Chiumenti
Hello I'm having problems understanding how to make tapestry-hibernate to work: I've created the following library module: public class JFlyBusinessModule { public static void bind(ServiceBinder binder) { binder.bind(CAuditDAO.class, CAuditDAOImpl.class); binder.bind(CCli

executing/adding a script statement on zone update

2009-03-24 Thread Andrea Chiumenti
Hello, I'm totally lost: what does happen when I update a zone : where do I have to put that startement renderSupport.addScript so that it is executed when updating the zone ? Could someone help me please ? Thanks in advance, Andrea Chiu

Re: external libraries an assets

2009-03-09 Thread Andrea Chiumenti
np, found solution using AssetSource service On Mon, Mar 9, 2009 at 2:44 PM, Andrea Chiumenti wrote: > ok got this, but then how the following methos should be modified? > > public String getDojoSource(Page page) { >        if (this.dojoInitialization == null) { >        

Re: external libraries an assets

2009-03-09 Thread Andrea Chiumenti
M, Thiago H. de Paula Figueiredo wrote: > On Mon, Mar 9, 2009 at 10:32 AM, Andrea Chiumenti wrote: >> no, or I haven't understood: > > I messed up. You shouldn't use asset: in an Asset annotation, obviously. > >> Shoud I really use (and only this) instead? >>

Re: external libraries an assets

2009-03-09 Thread Andrea Chiumenti
.js" On Mon, Mar 9, 2009 at 2:24 PM, Thiago H. de Paula Figueiredo wrote: > On Mon, Mar 9, 2009 at 10:20 AM, Andrea Chiumenti wrote: >>    String dojoSource() default >> "asset:../assets/dojot5/dojotoolkit/dojo-${dojo-release-version}/dojo/dojo.js";

external libraries an assets

2009-03-09 Thread Andrea Chiumenti
Hello I'm having the follogin problem. I've created this Annotation for my library @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface DojoInitialization { String dojoSource() default "asset:../assets/dojot5/dojotoolkit/dojo-${dojo-release-version}/dojo/dojo.js";

about T5 javascript

2009-03-05 Thread Andrea Chiumenti
Hi to avoid me to read all Tapestry js code, could you tell me waht is/are the js Class and method(s) that replace a zone on a xhr call ? Thanks, kiuma - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additiona

Re: dojo Tapestry5 integration

2009-03-05 Thread Andrea Chiumenti
Good, I'll talk to Andreas for tacos/T5 but if I correctly recall, tacos/T4 is a bit different from the way I've chosen for T5 (decoration, and dojo annotations). I've to choose the html replacement strategy on xhr calls, even if I think that I'll stay a little more basic from what I thought at fi

dojo Tapestry5 integration

2009-03-05 Thread Andrea Chiumenti
capabilities to replace document fragments needed and script and resources initializations). Thanks in advance, Andrea Chiumenti - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands,

Re: Services injection and decoration problems

2009-03-04 Thread Andrea Chiumenti
Thank you, this solves a lot of things kiuma On Wed, Mar 4, 2009 at 7:36 PM, Thiago H. de Paula Figueiredo wrote: > Em Wed, 04 Mar 2009 15:13:34 -0300, Andrea Chiumenti > escreveu: > >> What I need is do create a DojoRequire annotation for components and >> pages. >

Services injection and decoration problems

2009-03-04 Thread Andrea Chiumenti
esn't work inside my decorator work because it's per-thread... I think. So I'd appreciate any help very much. Thanks in advance, Andrea Chiumenti - To unsubscribe, e-mail: users-unsubscr...@tapestry.a

Re: OT: Different type of MVC

2007-10-15 Thread Andrea Chiumenti
, etc. > > However, such systems rarely get other aspects right, like coordinating > code > changes with content changes, or providing adequate history (equivalent to > Subversion). > > On 10/14/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > > > > I alway

Re: OT: Different type of MVC

2007-10-14 Thread Andrea Chiumenti
I always wonder why some ppl want to use a db like a file system. On 10/13/07, Renat Zubairov <[EMAIL PROTECTED]> wrote: > > I've worked once with the application where all content, e.g. HTML, > Javascript, CSS was put in the DB. Not very good idea . > > Renat > > On 12/10/2007, Daniel Jue <[EMAIL

Re: T4.1:Overloaded Submit Button

2007-08-02 Thread Andrea Chiumenti
It's a matter of tastes, you could also put a js code that does a dojo.event.connect (and sons ;-p ). Ciao, kiuma On 8/3/07, Craig Spry <[EMAIL PROTECTED]> wrote: > > > Hello All, > > I'm trying to overload tapestries Submit with my own submit so I can have > my code in the isDisabled() function

Re: Conditional async?

2007-08-02 Thread Andrea Chiumenti
27;,'refresh_component1','error_log_refresh','image_refresh'}"/> > > > > Peter > > > > > > Malin Ljungh wrote: > > > No one had this issue? > > > Must be the most common scenario I figure... > > > > > > *puff* >

Re: Conditional async?

2007-08-01 Thread Andrea Chiumenti
if login succeeds just write a conditional js that refresh the page On 8/1/07, Malin Ljungh <[EMAIL PROTECTED]> wrote: > I've created a login component to add to my pages. > > If validation fails I'd like to use async="true" to display validation > messages - works fine! > > But - if login succee

Re: T4: DropDownDatePicker

2007-07-30 Thread Andrea Chiumenti
sorry, it was a bug in my js code. On 7/30/07, Marcus Schulte <[EMAIL PROTECTED]> wrote: > > dont' know. I use dddp extensively without any unwanted submissions > (just double-checked). Are you sure you don't have any EventListeners > or stuff wired to them? >

Re: createReadOnlyBindingException help!

2007-07-30 Thread Andrea Chiumenti
property is not initialized). > > In my opinion this is a bug with "parameter" but I haven't been able > to investigate more and I'm quite surprised nobody stepped into this > problem before, see

Re: createReadOnlyBindingException help!

2007-07-30 Thread Andrea Chiumenti
) org.jfly.web.components.edittable.EditTable.rewindFormComponent( EditTable.java:541) On 7/30/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > > Hello! > I'm having this exception ( > org.apache.tapestry.binding.AbstractBinding.createReadOnlyBindingException > (AbstractBinding.java:115)) when I call into my

createReadOnlyBindingException help!

2007-07-30 Thread Andrea Chiumenti
Hello! I'm having this exception ( org.apache.tapestry.binding.AbstractBinding.createReadOnlyBindingException( AbstractBinding.java:115)) when I call into my rewindFormComponent method this code: setStartRow(sliderValue); and I set into jwc file: Who can help me please ? Thx, kiuma

T4: DropDownDatePicker

2007-07-30 Thread Andrea Chiumenti
Hello, I've just seen a strange behaviour when selecting a date from DorpDownDatePicker, because this component performs a submit. Is it a bug ?

Re: ajax question

2007-07-27 Thread Andrea Chiumenti
a tbody would have problems with > ajax. > I dont think it would. > - Original Message - > From: "Andrea Chiumenti" <[EMAIL PROTECTED]> > To: "Tapestry users" > Sent: Friday, July 27, 2007 5:23 PM > Subject: Re: ajax question > > &

Re: ajax question

2007-07-27 Thread Andrea Chiumenti
gt; > tbody is a soon to be deprecated html element. i would recommend steering > away from tables and try to utilize div's and css as much as possible. > Especially if you wanna be using alot of AJAX. > - Original Message - > From: "Andrea Chiumenti" <[E

Re: Putting a component body with property expansions in the

2007-07-27 Thread Andrea Chiumenti
You can use @Shell delegate attribute. http://tapestry.apache.org/tapestry4.1/components/general/shell.html Ciao, kiuma On 7/26/07, Bill Holloway <[EMAIL PROTECTED]> wrote: > > Hi, > > I need to put some javascript in the that has dynamic content (JSON > strings). That javascript also needs to

Andreas: Tapestry netbeans module

2007-07-26 Thread Andrea Chiumenti
Hello, Are there any plan to port the tapestry netbeans module to T4.1.2 and nb6.0m10 ? Thx, kiuma

Re: ajax question

2007-07-25 Thread Andrea Chiumenti
Yea! "..because they are evil bastards" +1 On 7/26/07, Marcus Schulte <[EMAIL PROTECTED]> wrote: - at least, that's a pretty decent reason, isn't it? 2007/7/26, Jesse Kuhnert <[EMAIL PROTECTED]>: > > IE won't let you do it. ..because they are evil

Re: [T4] about component id

2007-07-25 Thread Andrea Chiumenti
Well this question should be addressed to Jesse On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Andrea Chiumenti a écrit : > ciao, > the fact is that tapestry uses the form form['componentname'] , so > for > Tapestry name is sufficient to spe

Re: [T4] about component id

2007-07-25 Thread Andrea Chiumenti
ciao, the fact is that tapestry uses the form form['componentname'] , so for Tapestry name is sufficient to specify ur id u should use id="clientId:yourComponentId". Hope this helps. kiuma On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hello I'm writing my first "complex" component :

ajax question

2007-07-24 Thread Andrea Chiumenti
Does anybody know if there are some problems in updating a tbody element when performing an ajax request? Thx, kiuma

Re: Does Tapesty 4.1.2 allow user calling form.onsubmit()?

2007-07-19 Thread Andrea Chiumenti
no ! use dojo.event.connect instead. I haven't a running T4 application under my eyes, so take a look to the src/html. You should be able to seethe generated code. But is you put an hidden @Submit into your application and then call its click method it's a quicker solution. kiuma On 7/19/07, [E

Re: security in Tapestry

2007-07-19 Thread Andrea Chiumenti
and maybe your web.xml is not correct! On 7/19/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: First - you should be able to "inject" that request object instead of going through so many get calls: public abstract WebRequest getRequest(); Define that property and it will all work magically. ..

Re: is json supported in tapestry-4.0 ?

2007-07-19 Thread Andrea Chiumenti
... ah yes I've remember that tacos autocompleter is scriptaculous based :) sorry. On 7/19/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: I don't think tacos has that either. On 7/18/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > > no, at least i you don't us

Re: user access control

2007-07-18 Thread Andrea Chiumenti
like mine :), anyway On 7/18/07, Siddhartha Argollo <[EMAIL PROTECTED]> wrote: I think so too. My solution was to contribute to MasterDispatcher with a SecurityDispatcher, that is responsible to verify if the user is authenticated, before he has access to a page. It is a request filter, bu

Re: user access control

2007-07-18 Thread Andrea Chiumenti
oriented way (a page is page, not an access controller). Andrea Chiumenti wrote: > Of course there is a filter: > check my project for some filter samples: > http://tapestry-jfly.svn.sourceforge.net/viewvc/tapestry-jfly/trunk/JFlyWebCommons/src/main/ > > > ciao, > ki

Re: user access control

2007-07-18 Thread Andrea Chiumenti
don't like forcing pages to implement their security, even through inheritance. I don't guess there's a filtering system of some sort? Page extention isnt the end of the world, I'm just curious if this way is a best practice. Andrea Chiumenti wrote: > And if you are practi

Re: is json supported in tapestry-4.0 ?

2007-07-18 Thread Andrea Chiumenti
no, at least i you don't use tacos (if I remember) kiuma On 7/17/07, Ken nashua <[EMAIL PROTECTED]> wrote: Best regards Ken in nashua _ http://newlivehotmail.com ---

Re: user access control

2007-07-18 Thread Andrea Chiumenti
ms(); } catch (PermissionException e) { throw new PageRedirectException("Forbidden"); } } It seems to work for us, but there may be better ways of doing it. I've never used JAAS either. Damien > > Andrea Chiumenti wrote: >> yes for every Q! >> &

Re: user access control

2007-07-17 Thread Andrea Chiumenti
ty checks perms and handles enforcement, correct? Regarding jaas, I've not used it before, but the HttpServletRequest#isUserInRole method uses it? It looks like this method checks against a role list in the deplyment descriptor. Thanks tons for your input! chris Andrea Chiumenti wrote: &g

Re: css overrides (ie6, ie7,firefox) ?

2007-07-17 Thread Andrea Chiumenti
Ken, for jfly subversion sf has recently remapped it. Now it's on: https://tapestry-jfly.svn.sourceforge.net/svnroot/tapestry-jfly for json sample it's in T4.1.2 Autocompleter component, check it! Ciao, kiuma On 7/17/07, Ken nashua <[EMAIL PROTECTED]> wrote: Thanks kiuma, How can I integrate

Re: user access control

2007-07-16 Thread Andrea Chiumenti
do u want jaas ? if so: in ur code: getRequest().isUserInRole('somerole'); Ciao, kiuma On 7/17/07, Damien Uern <[EMAIL PROTECTED]> wrote: Chris Lewis wrote: > Hello all, > > I am seeking information/code samples on how to implement user access > control in Tapestry (4.1.2). Specifically, res

Re: css overrides (ie6, ie7,firefox) ?

2007-07-16 Thread Andrea Chiumenti
...or you can call after the ajax response dojo.html.insertCssText(cssStr, doc) On 7/17/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: Ahh ok, then use: var box = dojo.html.getContentBox(HTMLElement) use the box values box.width and box.height to perform an ajax call through a ta

Re: css overrides (ie6, ie7,firefox) ?

2007-07-16 Thread Andrea Chiumenti
Ahh ok, then use: var box = dojo.html.getContentBox(HTMLElement) use the box values box.width and box.height to perform an ajax call through a tapestry service (better to do on page finish load so that you'll perform a single call, and do it in json). When you receive the message back, then you

Re: css overrides (ie6, ie7,firefox) ?

2007-07-16 Thread Andrea Chiumenti
Hi ken, from jfly (you already know ;-P) http://tapestry-jfly.svn.sourceforge.net/viewvc/tapestry-jfly/trunk/JFlyWebCommons/src/main/java/org/jfly/webcommons/filters/DisableUrlSessionFilter.java?view=markup http://tapestry-jfly.svn.sourceforge.net/viewvc/tapestry-jfly/trunk/JFlyWebCommons/src/main

Re: css overrides (ie6, ie7,firefox) ?

2007-07-16 Thread Andrea Chiumenti
really not a good idea appending jsessionid to a href link! On 7/16/07, Anna Vo <[EMAIL PROTECTED]> wrote: Just a thought... Have you checked to make sure that the browser is pulling in the css file correctly? We've had issues in the past when the session id was appended to the path causing is

Re: Re[2]: Problem witn TAP 4.1.2 and operation in template

2007-07-15 Thread Andrea Chiumenti
Sergey, it's enough easy, you can create a component like this for example the code is trivial. Ciao, kiuma On 7/15/07, Sergey <[EMAIL PROTECTED]> wrote: It was not work in previous version, and not work in 4.1.2 Working with @Table and index not resolve overall problem of working with varia

Re: T4 Help with parameters binding

2007-07-14 Thread Andrea Chiumenti
ok, I'll try to put a non working example on it these days On 7/14/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Nothing is coming to me off the top of my head. I'll be happy to take a look of course when I'm ready if someone logs it in the Tapestry JIRA. On 7/14/07, And

Re: T4 Help with parameters binding

2007-07-14 Thread Andrea Chiumenti
e let me know if the solution is the one I have to adopt by now. again, kiuma On 7/14/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: Hello I'm having a problem with T4.1.2 I' have a component with When you have a scrollable table, this is the index of th

T4 Help with parameters binding

2007-07-14 Thread Andrea Chiumenti
Hello I'm having a problem with T4.1.2 I' have a component with When you have a scrollable table, this is the index of the first row displayed. and its listener: public void addNewListener(IRequestCycle cycle) { callSubmitBeforeListener(cycle, getAddNewAction(

Tap. 4.1.2: Problem changing components parameter

2007-06-29 Thread Andrea Chiumenti
Hello, I'm trying the new stable tap-4.1.2 And I'm having the following problem: An exception has occurred. You may continue by *restarting * the session. [ +/- ] Exception: Exception invoking listener method addNewListener of compo

Re: injecting an object into a tap4.1.2 via hivemind

2007-06-06 Thread Andrea Chiumenti
s/scooped/scoped/ On 6/6/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: Igor, thx for replying, but I've two other questions Is stateful application or session scooped(I need an application scooped object) ? why stateful isn't documented in http://hivemind.apache.org/hivemind1

Re: injecting an object into a tap4.1.2 via hivemind

2007-06-06 Thread Andrea Chiumenti
]> wrote: We do it like this: Service: Service implemantation Implementation of the menu builder Inject it into your page: @InjectObject("service:bookie.framework.MenuBuilder") public abstract MenuBuilder getMenuBuilder(); On 6/6/07

injecting an object into a tap4.1.2 via hivemind

2007-06-06 Thread Andrea Chiumenti
Hello, I've a simple quesition. I've built a menu component that is composed via hivemind configuration/contribution. What should I use to provide the menu tree to my application: 1) Sould I use a specific singleton service provided by the BuilderFactory 2) Inject the tree into tapestry.Infrastruc

Re: Question about getCompoents

2007-06-01 Thread Andrea Chiumenti
ture for a particular user would be considered user-specific state. On 6/1/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > > So if I understand there is no way to dynamically inject components into a > page. > Is this possible in Tap 5 ? > > On 6/1/07, Jesse Kuhnert <[EM

Re: Question about getCompoents

2007-06-01 Thread Andrea Chiumenti
appen if you try to modify it somehow. Almost assuredly it will break something. On 6/1/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > > Can anybody tell me why getComponents is an immutable Map and what > shold happen is this map is overridden with a

Question about getCompoents

2007-06-01 Thread Andrea Chiumenti
Can anybody tell me why getComponents is an immutable Map and what shold happen is this map is overridden with a mutable one ? Thx, kiuma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: dynamic component injection

2007-05-31 Thread Andrea Chiumenti
ocation(containedComponent.getLocation()); return result; } } On 5/31/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Hmm I'm not sure. It doesn't look right but it's possible. Wouldn't @Block be the easiest way to do it? Or different instances of IRender

Re: dynamic component injection

2007-05-31 Thread Andrea Chiumenti
) { result = from a service via IOC < result.setRenderWorker(getRenderWorker()); } else { result = new DynaRenderer(); //Default result.setRenderWorker(getRenderWorker()); } return result; } of course components must not be

dynamic component injection

2007-05-31 Thread Andrea Chiumenti
Hello I'd like to konw if in Tap 4.1.2 there is a way do dynamically render components inside a page. If yes, how ? regards, kiuma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

very very interesting

2007-05-31 Thread Andrea Chiumenti
http://www.sitepen.com/blog/2007/05/30/google-gears-dojo-offline-and-sitepen/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how to use more than one parameters in DirectLink

2007-05-23 Thread Andrea Chiumenti
nearly! ciao, kiuma On 5/23/07, Heping Zhang <[EMAIL PROTECTED]> wrote: hi, all, I know how to use binding parameters in DirectLink if there is only one parameter. However now I want two parameters and it keeps say "No listener method named 'gotoPage' suitable for no listener

Re: any idea to inject a ejb to tapestry?

2007-05-18 Thread Andrea Chiumenti
idea. Thank you! 2007/5/18, Andrea Chiumenti <[EMAIL PROTECTED]>: > > With T4 ? > Have a look here: > > http://hivemind.apache.org/hivemind1/hivedocs/service/hivemind.lib.EJBProxyFactory.html > > ciao, > kiuma > > On 5/18/07, Heping Zhang <[EMAIL PROTECTED]&

Re: In scriptDTD

2007-05-18 Thread Andrea Chiumenti
? try this: var varCapArray = new Array(${mapPlotPoints.size()}); varCapArray[count] = {caption: '${item.caption}', lat: ${item.lat}, longi: ${item.longi}}; or var varCapArray = new Array(); varCapArray.push( {caption: '${item.caption}', lat: ${item.lat}, longi: ${item.longi}}

Re: General Tapestry Question - File permissions

2007-05-18 Thread Andrea Chiumenti
of course it's not a bug in java! but the permissin you tomcat/jetty/whatever is running with! kiuma On 5/18/07, Peter Dawn <[EMAIL PROTECTED]> wrote: guys, this is a general java question, but since i am using tapestry i thought i will raise it here. i am using tap3. now whats happening is,

Re: any idea to inject a ejb to tapestry?

2007-05-18 Thread Andrea Chiumenti
With T4 ? Have a look here: http://hivemind.apache.org/hivemind1/hivedocs/service/hivemind.lib.EJBProxyFactory.html ciao, kiuma On 5/18/07, Heping Zhang <[EMAIL PROTECTED]> wrote: hi, I use tapestry as web tier and want get a slsb in this tier. this is my code: public abstract class Home extend

dojo 0.4.3

2007-05-16 Thread Andrea Chiumenti
Please update: ojo 0.4.3 is now available to download. This is a security release. Dojo 0.4.1 and 0.4.2 users are strongly recommended to upgrade as soon as possible. 0.4.1 and 0.4.2 have a flaw in two files that could allow cr

Re: How to pass a List to a component

2007-05-16 Thread Andrea Chiumenti
sorry C&P mistake: default-value="ognl:new java.util.List()" On 5/16/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: MapPlotPoint Object --- type is not defined for parameter !ELEMENT into dtd kiuma On 5/16/07, Kushan Jayathila

Re: How to pass a List to a component

2007-05-16 Thread Andrea Chiumenti
hilake Member - Java Community Process (http://jcp.org) *---Original Message---* *From:* Andrea Chiumenti <[EMAIL PROTECTED]> *Date:* 5/16/2007 3:05:04 PM *To:* Tapestry users *Subject:* Re: How to pass a List to a component cuould not parse may be an xml validation exception anyway t

Re: How to pass a List to a component

2007-05-16 Thread Andrea Chiumenti
type "parameter" it highlights this line "default-value="ognl: new java.util.List()">" Kushan Jayathilake Member - Java Community Process (http://jcp.org) ---Original Message--- From: Andrea Chiumenti Date: 5/16/2007 2:37:40 PM To: Tapestry users Subject: R

Re: How to pass a List to a component

2007-05-16 Thread Andrea Chiumenti
r Kushan Jayathilake Member - Java Community Process (http://jcp.org) ---Original Message--- From: Andrea Chiumenti Date: 5/16/2007 1:45:03 PM To: Tapestry users Subject: Re: How to pass a List to a component Hi, type="Java.util.List" + default-value="Java.lang.Object&qu

Re: How to pass a List to a component

2007-05-16 Thread Andrea Chiumenti
Hi, type="Java.util.List" + default-value="Java.lang.Object" ??? two thigs Java must be lowercase and java.lang.Object is not an instance, and neither a java.util.List instance! kiuma On 5/16/07, Kushan Jayathilake <[EMAIL PROTECTED]> wrote: Hi i want to pass a "List"( java.util.List ) tha

Re: Dojo Dialog box not hidden while the page is loading

2007-05-16 Thread Andrea Chiumenti
If I remember... try to put style="display:none" kiuma On 5/16/07, Stephane Decleire <[EMAIL PROTECTED]> wrote: Hi, I've tried to use the org.apache.tapestry.dojo.html.Dialog component in some of my pages (for user authentication). But the content of the Dialog box is visible while the page i

Re: OGNL expertise please... complicated question

2007-05-11 Thread Andrea Chiumenti
if you post your widget It would be simpler to see the problem, ciao, kiuma On 5/11/07, Ken nashua <[EMAIL PROTECTED]> wrote: FYI, Yes this has to do with completing the development of a tapestry widget. The OGNL docs are trim... and no forum for OGNL. I thought this might be the bastian for

about dojo

2007-05-11 Thread Andrea Chiumenti
Hey! For people who think that dojo in T4 is slow, I've just had a look at dojo-9.0M1, wow!!! now it seems to be fast! http://download.dojotoolkit.org/experimental/dojo-core-0.9M1/dojo/tests/runner.html We will see! Cheers, kiuma

Re: [vote] remove renderTags default of true for @If/@Else? (tapestry 4.1.2 )

2007-05-03 Thread Andrea Chiumenti
ooops, the solution by Tony is what I meant! On 5/2/07, Joe Chen <[EMAIL PROTECTED]> wrote: +1 both false. Upgrading from 4.0.x to 4.1.2 with the current default of true means that I have to reverse all the page logic in order for my pages to work as they did in 4.0.x. This is just a bad deci

Re: [vote] remove renderTags default of true for @If/@Else? (tapestry 4.1.2 )

2007-05-02 Thread Andrea Chiumenti
+1 for both to false, adding a default behaviour into engine settings via hivemind contribution On 5/2/07, Christian Dutaret <[EMAIL PROTECTED]> wrote: Hmmm, just checked my own @If components, I have about 40% relying on the default value to true. I understand the logic behind this change, but

Re: SOLUTION to BLOCKING: Tapestry-4.1.2-SNAPSHOT and ognl exp. parser

2007-04-23 Thread Andrea Chiumenti
done On 4/23/07, Andreas Andreou <[EMAIL PROTECTED]> wrote: jira ... a later ognl version may render this unneeded On 4/23/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > > org/apache/tapestry/html/Relation.java > > line 113: > public abstract boolean getUs

SOLUTION to BLOCKING: Tapestry-4.1.2-SNAPSHOT and ognl exp. parser

2007-04-23 Thread Andrea Chiumenti
org/apache/tapestry/html/Relation.java line 113: public abstract boolean getUseBody(); must be public abstract boolean isUseBody(); line 51: if (getUseBody() && getHref() == null) must be if (isUseBody() && getHref() == null) do you want a jira with diff attached, or you can directly do the cha

Re: Tapestry-4.1.2-SNAPSHOT and ognl exp. parser

2007-04-23 Thread Andrea Chiumenti
) org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368) *note* *The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.* On 4/23/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: Hello, I've just upgraded to the latest snapshot: When running the demo I've this message: 23-a

Tapestry-4.1.2-SNAPSHOT and ognl exp. parser

2007-04-23 Thread Andrea Chiumenti
Hello, I've just upgraded to the latest snapshot: When running the demo I've this message: 23-apr-2007 16.53.47 org.apache.tapestry.error.RequestExceptionReporterImplreportRequestException AVVERTENZA: Unable to process client request: Unable to parse OGNL expression 'value': value org.apache.tape

Re: tapdoc execution

2007-04-23 Thread Andrea Chiumenti
oops dependency was missing into plugin, solved now ! On 4/23/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: this is a snippet of my pom: tapdoc

Re: tapdoc execution

2007-04-23 Thread Andrea Chiumenti
/ "/> run the build.xml is placed into src/main/conf/tapdoc On 4/23/07, Andrea Chiumenti <[EMAIL PROTECTED]>

Re: tapdoc execution

2007-04-23 Thread Andrea Chiumenti
http://tacos.svn.sourceforge.net/viewvc/tacos/tacos-4.1/trunk/tacos-core/pom.xml?view=markup in that way, mvn executes the related ant task On 4/23/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > > Hello, > how can I use tapdoc ? mvn > > thx, > kiuma > -- Andreas A

tapdoc execution

2007-04-23 Thread Andrea Chiumenti
Hello, how can I use tapdoc ? mvn thx, kiuma

  1   2   3   >