Re: T5: onActivate called before onSuccessFrom

2011-02-24 Thread jqzone
) ? OtherPage.class : null; } Thanks. Alessandro Badin -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-onActivate-called-before-onSuccessFrom-tp2430026p3389328.html Sent from the Tapestry - User mailing list archive at Nabble.com

T5: UploadedFile problem

2011-02-22 Thread Newham, Cameron
Hi, I notice that: getFileName() and getFilePath() of UploadedFile return the same thing (the name of the file) on Windows. This seems to be a bug. I'd like to get the path - is there any way to do this? Thanks, c.

Re: T5: UploadedFile problem

2011-02-22 Thread Thiago H. de Paula Figueiredo
On Tue, 22 Feb 2011 11:01:22 -0300, Newham, Cameron cameron.new...@bl.uk wrote: Hi, Hi! I notice that: getFileName() and getFilePath() of UploadedFile return the same thing (the name of the file) on Windows. This seems to be a bug. I'd like to get the path - is there any way to do this?

RE: T5: UploadedFile problem

2011-02-22 Thread Newham, Cameron
Thanks Thiago. Although that begs the question as to why there is a getFilePath(). c. -Original Message- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: 22 February 2011 14:22 To: Tapestry users Subject: Re: T5: UploadedFile problem On Tue, 22 Feb 2011 11:01:22

RE: T5: UploadedFile problem

2011-02-22 Thread LLTYK
Hit your app with IE and it'll return something. Newer versions of IE actually return c:\fakepath. -- View this message in context: http://tapestry-users.832.n2.nabble.com/T5-UploadedFile-problem-tp6052426p6053186.html Sent from the Tapestry Users mailing list archive at Nabble.com

Re: T5 : Zone / Tapestry.windowUnloaded / Download link

2011-02-22 Thread raulmt
showing the download file dialog, so it is just like a blink… Regards, Raul. -- View this message in context: http://tapestry-users.832.n2.nabble.com/T5-Zone-Tapestry-windowUnloaded-Download-link-tp4169833p6053565.html Sent from the Tapestry Users mailing list archive at Nabble.com

[T5] Tapestry and Servlet 3.0 web fragments (zero configuration)

2011-02-21 Thread Everton Agner
Hey! Is Tapestry going to support the Servlet 3.0 and it's specification for web fragments? I mean, load itself without the need for us to speficy it's filter in the app's web.xml? I'm anxious to see it trully zero configuration! I guess this is the only thing left for it, even though it's far

Re: [T5] Tapestry and Servlet 3.0 web fragments (zero configuration)

2011-02-21 Thread Thiago H. de Paula Figueiredo
On Mon, 21 Feb 2011 12:51:31 -0300, Everton Agner ton.ag...@gmail.com wrote: Hey! Hi! Is Tapestry going to support the Servlet 3.0 and it's specification for web fragments? I mean, load itself without the need for us to speficy it's filter in the app's web.xml? I don't know, but

Re: [T5] Tapestry and Servlet 3.0 web fragments (zero configuration)

2011-02-21 Thread 9902468
.nabble.com/T5-Tapestry-and-Servlet-3-0-web-fragments-zero-configuration-tp3394320p3394441.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: [T5] Tapestry and Servlet 3.0 web fragments (zero configuration)

2011-02-21 Thread Josh Canfield
Is Tapestry going to support the Servlet 3.0 and it's specification for web fragments? I mean, load itself without the need for us to speficy it's filter in the app's web.xml? The other thing that I'd love to get into Tapestry is the support for long running requests using

Re: [T5] Tapestry and Servlet 3.0 web fragments (zero configuration)

2011-02-21 Thread Howard Lewis Ship
That's something that's much more interesting for me ... long running processes that can push updates (such as a progress bar) to a client. On Mon, Feb 21, 2011 at 10:38 AM, Josh Canfield joshcanfi...@gmail.com wrote: Is Tapestry going to support the Servlet 3.0 and it's specification for web

Re: T5: onActivate called before onSuccessFrom

2011-02-17 Thread Alessandro Badin
Hello guys, What about I have something like this: Object onActivate() { condition = service.findSomething(); return (condition == null) ? OtherPage.class : null; } Thanks. Alessandro Badin -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5

Re: T5 : Zone / Tapestry.windowUnloaded / Download link

2011-02-17 Thread Richard Kolísek
same problem here -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Zone-Tapestry-windowUnloaded-Download-link-tp2436863p3389487.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5 : Zone / Tapestry.windowUnloaded / Download link

2011-02-17 Thread Magnus Kvalheim
this message in context: http://tapestry.1045711.n5.nabble.com/T5-Zone-Tapestry-windowUnloaded-Download-link-tp2436863p3389487.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: t5: accessing a service from a contributed class

2011-02-14 Thread Angelo C.
and not by Tapestry. -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-accessing-a-service-from-a-contributed-class-tp3383911p3384139.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: t5: accessing a service from a contributed class

2011-02-14 Thread Thiago H. de Paula Figueiredo
On Mon, 14 Feb 2011 01:05:40 -0200, Kalle Korhonen kalle.o.korho...@gmail.com wrote: On Sun, Feb 13, 2011 at 6:55 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Mon, 14 Feb 2011 00:16:33 -0200, Angelo C. angelochen...@gmail.com wrote: is this possible? Yes, as long as the

t5: ServiceOverride and base_url

2011-02-13 Thread Angelo C.
Hi, is there a sample use of ServiceOverride? like overriding the base_url? thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-ServiceOverride-and-base-url-tp3383886p3383886.html Sent from the Tapestry - User mailing list archive at Nabble.com

t5: ServiceOverride and base_url

2011-02-13 Thread Angelo C.
Hi, is there a sample use of ServiceOverride? like overriding the base_url? thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-ServiceOverride-and-base-url-tp3383887p3383887.html Sent from the Tapestry - User mailing list archive at Nabble.com

t5: accessing a service from a contributed class

2011-02-13 Thread Angelo C.
)); } -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-accessing-a-service-from-a-contributed-class-tp3383911p3383911.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: t5: accessing a service from a contributed class

2011-02-13 Thread Thiago H. de Paula Figueiredo
On Mon, 14 Feb 2011 00:16:33 -0200, Angelo C. angelochen...@gmail.com wrote: is this possible? Yes, as long as the contributed object is an service itself. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars

Re: t5: accessing a service from a contributed class

2011-02-13 Thread Kalle Korhonen
On Sun, Feb 13, 2011 at 6:55 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Mon, 14 Feb 2011 00:16:33 -0200, Angelo C. angelochen...@gmail.com wrote: is this possible? Yes, as long as the contributed object is an service itself. Is that a fact Thiago? I'm surprised by that. I

Re: t5: accessing a service from a contributed class

2011-02-13 Thread Angelo C.
it is a registered service, but it's null when call. -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-accessing-a-service-from-a-contributed-class-tp3383911p3383969.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: t5: accessing a service from a contributed class

2011-02-13 Thread Igor Drobiazko
You assumtion ic correct. The code above is not going to work as BaseURLSource implementation is bult manually and not by Tapestry. On Mon, Feb 14, 2011 at 4:05 AM, Kalle Korhonen kalle.o.korho...@gmail.comwrote: On Sun, Feb 13, 2011 at 6:55 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com

Re: t5: clear cookie when browser closes

2011-02-11 Thread Joost Schouten (ml)
From the Cookie javadoc at http://download.oracle.com/javaee/6/api/javax/servlet/http/Cookie.html#setMaxAge(int): setMaxAge public void*setMaxAge*(int expiry) Sets the maximum age in seconds for this Cookie. A positive value indicates that the cookie will expire after that

T5: setting locale without changing url

2011-02-10 Thread Angelo C.
Hi, T5 has this locale support: explicit www.example.com/en implicit www.example.com, in this case, it depends on the locale sent by the browser, is there a way that a program can set the locale based on certain conditions (a certain domain or IPs) without going the explicit way? Thanks

Re: T5: setting locale without changing url

2011-02-10 Thread Gillespie59
You can set your locale with the PersistentLocale service @Inject private PersistentLocale persistentLocaleService; Locale newLocale = new Locale(el); persistentLocaleService.set(newLocale); -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-setting-locale-without

t5: clear cookie when browser closes

2011-02-10 Thread Angelo C.
Hi, I'd like to write a cookie to the browser and it will be cleared when browser closes, possible? thanks, A.C. -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-clear-cookie-when-browser-closes-tp3380592p3380592.html Sent from the Tapestry - User mailing list archive

Re: t5: clear cookie when browser closes

2011-02-10 Thread del
automatically when the browser closed. Hi, I'd like to write a cookie to the browser and it will be cleared when browser closes, possible? thanks, A.C. -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-clear-cookie-when-browser-closes-tp3380592p3380592.html Sent from

T5 Component Select ID Example.

2011-02-07 Thread ael
() { return userpassword; } public void setUserpassword(String userpassword) { this.userpassword = userpassword; } } Note: This example will use the select component of Tapestry5 then will return the ID. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5

Re: T5: getting json value in tml

2011-02-04 Thread Angelo C.
turned out it has to be: ${js.get('name1')} -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-getting-json-value-in-tml-tp3370385p3370676.html Sent from the Tapestry - User mailing list archive at Nabble.com

RE: T5: getting json value in tml

2011-02-04 Thread WINDEY Pieter AWL-IT
: T5: getting json value in tml Hi, How to get the value of a json object in tml file, following does not work: in page class: public JSONObject getJS() { JSONObject js = new JSONObject(); js.put(name1,123); return js; } in the tmp, ${js} // this shows key/value pair

Re: T5: Recording errors for fields in a loop

2011-02-04 Thread Stephan Windmüller
On 02.02.2011 16:39, Benny Law wrote: Yes, I am doing cross-field validation (e.g. quantity is required if another property of the item has a certain value) and that's why it has to be done in onValidateForm(), or at least that's what I think. We have a similar issue in our application. You

Re: T5: Recording errors for fields in a loop

2011-02-04 Thread Benny Law
Hi Stephan, Thanks for providing this solution. I tried to implement this, but got stuck on the last step. Could you tell me how you set the saved controlName to the component? I couldn't find a public setter for this property. I searched the whole class hierarchy for TextField and couldn't find

Re: T5: Recording errors for fields in a loop

2011-02-04 Thread Stephan Windmüller
On 04.02.2011 17:44, Benny Law wrote: Thanks for providing this solution. I tried to implement this, but got stuck on the last step. Could you tell me how you set the saved controlName to the component? I couldn't find a public setter for this property. I searched the whole class hierarchy

Re: T5: Recording errors for fields in a loop

2011-02-04 Thread Benny Law
Thanks Stephan, I got it working now. I wonder if built-in support for this has been requested as an enhancement? Benny On Fri, Feb 4, 2011 at 12:59 PM, Stephan Windmüller stephan.windmuel...@tu-dortmund.de wrote: On 04.02.2011 17:44, Benny Law wrote: Thanks for providing this solution. I

Re: T5: Recording errors for fields in a loop

2011-02-04 Thread Stephan Windmüller
On 05.02.2011 00:22, Benny Law wrote: Thanks Stephan, I got it working now. You're welcome. I wonder if built-in support for this has been requested as an enhancement? It has been asked a couple of times on this list, but since now my workaround was the only way I got it working. Regards

t5: adding http header

2011-02-03 Thread Angelo C.
Hi, I need to add some http headers into response, like Access-Control-Allow-Origin: *, how to achieve this? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-adding-http-header-tp3369097p3369097.html Sent from the Tapestry - User mailing list archive

Re: t5: adding http header

2011-02-03 Thread Thiago H. de Paula Figueiredo
On Thu, 03 Feb 2011 09:10:11 -0200, Angelo C. angelochen...@gmail.com wrote: Hi, Hi! I need to add some http headers into response, like Access-Control-Allow-Origin: *, how to achieve this? Thanks, The better way depends on which pages do you want to do this. If it's all, create a

RE: t5: adding http header

2011-02-03 Thread Wechsung, Wulf
( OrderedConfigurationRequestFilter configuration) { Configuration.add(...); } Hope this helps! Kind Regards, Wulf -Original Message- From: Angelo C. [mailto:angelochen...@gmail.com] Sent: Donnerstag, 3. Februar 2011 12:10 To: users@tapestry.apache.org Subject: t5: adding http header Hi, I need

T5: getting json value in tml

2011-02-03 Thread Angelo C.
anything -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-getting-json-value-in-tml-tp3370385p3370385.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Re: T5: Recording errors for fields in a loop

2011-02-02 Thread Thiago H. de Paula Figueiredo
On Wed, 02 Feb 2011 02:26:45 -0200, Benny Law benny.mk@gmail.com wrote: Hi, Hi! I have a loop inside a form that renders a textfield and some other controls. When I am doing cross field validations in the ValidateForm event while iterating over a collection (the source of the loop),

Re: T5: Recording errors for fields in a loop

2011-02-02 Thread Benny Law
The following code illustrates what I am doing: t:form t:id=form ... t:loop source=items value=item ... t:textfield t:id=quantity value=item.quantity .../ /t:loop /t:form @InjectComponent private Form form; @InjectComponent private TextField quantity; @Property private Item item;

Re: T5: Recording errors for fields in a loop

2011-02-02 Thread Thiago H. de Paula Figueiredo
Why don't you use onPrepareFromQuantity(Integer quantity) instead? Does this validation require other fields to be checked? On Wed, 02 Feb 2011 12:49:58 -0200, Benny Law benny.mk@gmail.com wrote: The following code illustrates what I am doing: t:form t:id=form ... t:loop

Re: T5: Recording errors for fields in a loop

2011-02-02 Thread Benny Law
Yes, I am doing cross-field validation (e.g. quantity is required if another property of the item has a certain value) and that's why it has to be done in onValidateForm(), or at least that's what I think. Benny On Wed, Feb 2, 2011 at 10:32 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com

T5: Recording errors for fields in a loop

2011-02-01 Thread Benny Law
Hi, I have a loop inside a form that renders a textfield and some other controls. When I am doing cross field validations in the ValidateForm event while iterating over a collection (the source of the loop), I would like to record error messages against the form with the field in error to get the

Re: Struggling with Ajax in T5 ...

2011-01-31 Thread LLTYK
-users.832.n2.nabble.com/Struggling-with-Ajax-in-T5-tp5970312p5976916.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail

Re: Struggling with Ajax in T5 ...

2011-01-30 Thread Inge Solvoll
Hi! I haven't read all of this thread, but I have one suggestion: You should hijack your onclick handlers with javascript to do additional work before or after calling the original onclick. Don't know how experienced you are with javascript, but it will look something like this: var oldOnclick =

Re: t5: news feed

2011-01-28 Thread pieter
maybe this can help you http://blog.bolkey.com/2010/05/creating-a-news-feed-in-tapestry-5/ http://blog.bolkey.com/2010/05/creating-a-news-feed-in-tapestry-5/ -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-news-feed-tp3355405p3361070.html Sent from the Tapestry

Re: Struggling with Ajax in T5 ...

2011-01-28 Thread Thiago H. de Paula Figueiredo
On Fri, 28 Jan 2011 13:57:16 -0200, Jessica Sobieski jessica.sobie...@gmail.com wrote: Hello boys! Hi! 1) I don't control how buttons are generated, therefore they must call register(studentId) javascript. No way around it. Which buttons? I'm not following you. public String

Re: Struggling with Ajax in T5 ...

2011-01-28 Thread Jessica Sobieski
Hi Thiago - Which buttons? I'm not following you. To answer your question, I'm talking about these buttons in my template: h1Student Registration/h1 input type=button onclick=register(123) value=Student 123/ input type=button onclick=register(99) value=Student 99/ !-- many more student buttons

Re: Struggling with Ajax in T5 ...

2011-01-28 Thread Thiago H. de Paula Figueiredo
On Fri, 28 Jan 2011 15:30:31 -0200, Jessica Sobieski jessica.sobie...@gmail.com wrote: Hi Thiago - Hi! So what kind of JavaScript code can I use to connect register(studentId) function with the page class registerStudent method? See

RE: t5: 5.2.4 and IE8

2011-01-25 Thread Wechsung, Wulf
the meta tag that should do this doesn't work. The solution for this btw is to set a header via RequestFilter: In service(): response.setHeader(X-UA-Compatible, IE=8); Once I accomplished that, the Javascript errors started to appear ... I know it's not exactly t5-only specific but maybe

t5: news feed

2011-01-24 Thread Angelo C.
Hi, I'd like to do something like twitter, it shows how many new tweets without viewer refreshing the screen, what's the t5 way of doing this? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-news-feed-tp3355405p3355405.html Sent from the Tapestry

Re: t5: news feed

2011-01-24 Thread Thiago H. de Paula Figueiredo
On Mon, 24 Jan 2011 20:35:15 -0200, Angelo C. angelochen...@gmail.com wrote: Hi, Hi! I'd like to do something like twitter, it shows how many new tweets without viewer refreshing the screen, what's the t5 way of doing this? Thanks, One way is to write some JavaScript

Re: T5: how to use @Secure in an app?

2011-01-23 Thread Angelo C.
: http://tapestry.1045711.n5.nabble.com/T5-how-to-use-Secure-in-an-app-tp3353434p3353553.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

t5: @Secure and jetty

2011-01-22 Thread Angelo C.
.nabble.com/t5-Secure-and-jetty-tp3352684p3352684.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: t5: @Secure and jetty

2011-01-22 Thread Martin Strand
If you want Jetty to listen on port 8080 too, you will need to add a connector for that: connectors connector implementation=org.mortbay.jetty.security.SslSocketConnector ... /connector connector implementation=org.mortbay.jetty.nio.SelectChannelConnector port8080/port

T5: how to use @Secure in an app?

2011-01-22 Thread Angelo C.
) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-how-to-use-Secure-in-an-app-tp3353434p3353434.html Sent from the Tapestry - User mailing list archive at Nabble.com

T5 / Grid / Striping + Marking rows with red background ....

2011-01-20 Thread Gunnar Eketrapp
Hi! I have used rowClass to mark bad rows in one of my grids applied the following css .invalid { background-color: #FBE3E4; } It works but only for the rows with white background How does T5 do the striping ? I guess with some smart .js cause when inspecting the page with chrome

Re: T5 / Grid / Striping + Marking rows with red background ....

2011-01-20 Thread Thiago H. de Paula Figueiredo
does T5 do the striping ? I guess with some smart .js cause when inspecting the page with chrome everything seems fine. I've never seen T5 do striping by itself. I haven't used 5.2 yet (sigh), so I think it's done by CSS. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5

Re: T5 / Grid / Striping + Marking rows with red background ....

2011-01-20 Thread Gunnar Eketrapp
-0200, Gunnar Eketrapp gunnar.eketr...@gmail.com wrote: Hi! Hi! I have used rowClass to mark bad rows in one of my grids applied the following css .invalid { background-color: #FBE3E4; } It works but only for the rows with white background How does T5 do the striping

Re: T5 / Grid / Striping + Marking rows with red background ....

2011-01-20 Thread Gunnar Eketrapp
{ background-color: #FBE3E4; } It works but only for the rows with white background How does T5 do the striping ? I guess with some smart .js cause when inspecting the page with chrome everything seems fine. I've never seen T5 do striping by itself. I haven't used 5.2 yet (sigh), so I think

Resurrected: T5 Rendering a column as text box in a grid when the columnName is dynamic

2011-01-19 Thread Dávið Klein Sundsskarð
Hi, This entry from 2008 very well describes my problem. Any ideas? --- http://tapestry.1045711.n5.nabble.com/T5-Rendering-a-column-as-text-box-in-a-grid-when-the-columnName-is-dynamic-td2417938.html Hello, I have a T5 Grid which can have dynamic number of columns. I am using the model

Re: Resurrected: T5 Rendering a column as text box in a grid when the columnName is dynamic

2011-01-19 Thread LLTYK
. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Resurrected-T5-Rendering-a-column-as-text-box-in-a-grid-when-the-columnName-is-dynamic-tp5940109p5940318.html Sent from the Tapestry Users mailing list archive at Nabble.com

Re: t5: 5.2.4 and IE8

2011-01-19 Thread LLTYK
I suspect you simply need to add noConflict to the end of the jquery js (without having to reminify). As long as it is in the same file it'll satisfy IE8. -- View this message in context: http://tapestry-users.832.n2.nabble.com/t5-5-2-4-and-IE8-tp5934819p5940730.html Sent from the Tapestry

Re: t5: 5.2.4 and IE8

2011-01-19 Thread Donny Nadolny
in context: http://tapestry-users.832.n2.nabble.com/t5-5-2-4-and-IE8-tp5934819p5940730.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

t5: 5.2.4 and IE8

2011-01-18 Thread Angelo C.
/core.js... any approach to force that meta tag to be the first? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-5-2-4-and-IE8-tp3345797p3345797.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5: url rewriting

2011-01-18 Thread Alejandro Scandroli
. is LinkTransformer ready to use? any tutorial on this? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-url-rewriting-tp3342575p3342575.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: t5: 5.2.4 and IE8

2011-01-18 Thread Joost Schouten (ml)
Haven't tested it but something like this will probably do the trick: @AfterRender private void afterRender(MarkupWriter writer) { Element foundIEMode = writer.getDocument().find(html/head/meta[@http-equiv='X-UA-Compatible']); Element head =

Re: t5: 5.2.4 and IE8

2011-01-18 Thread Joost Schouten (ml)
I did test it now and it doesn't work. The code should have been: @AfterRender private void afterRender(MarkupWriter writer) throws JaxenException { Element foundIEMode = TapestryXPath.xpath(html/head/meta[@http-equiv='X-UA-Compatible']).selectSingleElement(writer.getDocument());

Re: t5: 5.2.4 and IE8

2011-01-18 Thread Angelo C.
js file, there is no way to call nonConflict() ahead of Prototype, that seems the problem. -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-5-2-4-and-IE8-tp3345797p3346002.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: t5: 5.2.4 and IE8

2011-01-18 Thread Donny Nadolny
.1045711.n5.nabble.com/t5-5-2-4-and-IE8-tp3345797p3346002.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users

Re: Suspending and restoring a form in T5

2011-01-18 Thread Benny Law
Thanks Norman for your ideas. I will explore them and see what makes the most sense in my case. I was hoping that there would be something in Tapestry that I could utilize to make it easier, but I guess not. Regards, Benny On Mon, Jan 17, 2011 at 4:27 PM, Norman Franke nor...@myasd.com wrote:

Re: Suspending and restoring a form in T5

2011-01-18 Thread Benny Law
Thanks Norman for your ideas. I will explore them and see what makes the most sense in my case. I was hoping that there would be something in Tapestry that I could utilize to make it easier, but I guess not. Regards, Benny On Mon, Jan 17, 2011 at 4:27 PM, Norman Franke nor...@myasd.com wrote:

Re: t5: 5.2.4 and IE8

2011-01-18 Thread Angelo C.
works! you saved my day, thanks for sharing! -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-5-2-4-and-IE8-tp3345797p3346241.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Suspending and restoring a form in T5

2011-01-17 Thread Norman Franke
You could use JavaScript to hide the form and use AJAX to put something else there. Or create a new absolutely positioned DIV that covers the entire contents of the form and use AJAX to do whatever. A sort of easy way is to put all your content in a single DIV and just hide that and have

t5 : second level cache in Hibernate

2011-01-16 Thread Angelo C.
Hi, Sorry if this question is out of topic here, just want to know how to enable and configure Hibernate's second level caching in Tapestry 5 's setting? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-second-level-cache-in-Hibernate-tp3343341p3343341

Re: t5 : second level cache in Hibernate

2011-01-16 Thread Josh Canfield
You do this the sane as you would outside of T5; use the hibernate properties file. On Jan 16, 2011 5:42 AM, Angelo C. angelochen...@gmail.com wrote: Hi, Sorry if this question is out of topic here, just want to know how to enable and configure Hibernate's second level caching in Tapestry 5

T5: url rewriting

2011-01-15 Thread Angelo C.
in context: http://tapestry.1045711.n5.nabble.com/T5-url-rewriting-tp3342575p3342575.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional

Suspending and restoring a form in T5

2011-01-15 Thread Benny Law
I am developing a mobile application with Tapestry 5. Sometimes, when entering data on a form, I need to display another page (some kind of look-up) where the user can eventually select some value that needs to be brought back to the original form. For desktop web applications, I could implement

T5: Buttons, JS popup, Ajax/Zone and ActionLink

2011-01-14 Thread Adam Zimowski
Hi I have a feeling like this is so simple and I'm missing something really obvious. I have a question on the recommended approach for a specific scenario: An HTML button showing a JS popup rendered via Ajax. Here is specific example:

Re: T5: Buttons, JS popup, Ajax/Zone and ActionLink

2011-01-14 Thread Thiago H. de Paula Figueiredo
On Fri, 14 Jan 2011 14:27:12 -0200, Adam Zimowski zimowsk...@gmail.com wrote: Hi Hi! My question is, how should I approach this? Currently, the price button invokes a JS call. So how can I call actionlink URL from a JavaScript? Every event (ActionLink triggers events) has an URL. To get

Re: T5: Buttons, JS popup, Ajax/Zone and ActionLink

2011-01-14 Thread Michael Taylor
My first thought would be to include the action link in the page somewhere, but set its style to display: none. Then your JavaScript can do something like document.location.href = document.getElementById('myActionLink').href; In the past I've done something similar to trigger a zone update from

Re: T5: Buttons, JS popup, Ajax/Zone and ActionLink

2011-01-14 Thread Adam Zimowski
Thanks Thiago! I'll take a look at these examples. @Michael - how clever !! This may be just the shortcut I needed. Adam On Fri, Jan 14, 2011 at 10:40 AM, Michael Taylor miketay...@google.com wrote: My first thought would be to include the action link in the page somewhere, but set its style

Re: T5: Buttons, JS popup, Ajax/Zone and ActionLink

2011-01-14 Thread Anna Vo
The alternative to hiding a link on the page (if you want a better separation of logic) is to pass a JSonObject with your data directly to the JavaScript method. This way if you need to you can easily pass additional data to the client for processing. So at the top of your class @Import(library =

Re: T5: 5.2.4 and memory

2011-01-14 Thread Angelo C.
. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-and-memory-tp624p3342387.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

T5: zone in a grid

2011-01-13 Thread Angelo C.
=actionlink t:id=review context=msg.id zone=output action div t:zone t:id=output/t:zone /div /table -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-zone-in-a-grid-tp3339462p3339462.html Sent from the Tapestry - User mailing list archive

Re: T5: zone in a grid

2011-01-13 Thread Joost Schouten (ml)
Make sure each zone has a unique DOM id. So something like: table t:type=grid source=messages model=model row=msg t:parameter name=idCell a t:type=actionlink t:id=review context=msg.id zone=prop:outputZoneId action div t:zone id=${outputZoneId}

Re: T5: zone in a grid

2011-01-13 Thread Angelo C.
string was specified code: 12 nsresult: 0x8053000c (NS_ERROR_DOM_SYNTAX_ERR) location: http://localhost:8080/assets/a6d4555bb3e4e6a0/stack/en/core.js Line: 3301] -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-zone-in-a-grid-tp3339462p3339595.html Sent from the Tapestry

Re: T5: zone in a grid

2011-01-13 Thread Taha Hafeez
this message in context: http://tapestry.1045711.n5.nabble.com/T5-zone-in-a-grid-tp3339462p3339595.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: T5: zone in a grid

2011-01-13 Thread Angelo C.
or illegal string was specified code: 12 nsresult: 0x8053000c (NS_ERROR_DOM_SYNTAX_ERR) location: http://localhost:8080/assets/a6d4555bb3e4e6a0/stack/en/core.js Line: 3301] -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-zone-in-a-grid-tp3339462p3339595.html Sent from

T5 as document management system

2011-01-12 Thread stipenovi
I have just one question? Does anyone suggest me how to build DMS in T5? For example: On server side i have DB (Postgres) and i am storing files (pdf, doc, ods, jpg, all) in a Blob. Now, i want to show these files in client side (browser), but not in default viewer, but in some viewer which

Re: T5 as document management system

2011-01-12 Thread Thiago H. de Paula Figueiredo
On Wed, 12 Jan 2011 19:29:55 -0200, stipenovi stipenovok...@gmail.com wrote: I have just one question? Does anyone suggest me how to build DMS in T5? For example: On server side i have DB (Postgres) and i am storing files (pdf, doc, ods, jpg, all) in a Blob. Now, i want to show

Re: T5 as document management system

2011-01-12 Thread Vangel Ajanovski
You can run openoffice headless (without gui) on a web server and it works as a service that can convert documents from one format to another - lets say doc to pdf. You can run firefox headless to render a webpage to virtual framebuffer. And in unix world there are many binary tools that can be

Re: T5 as document management system

2011-01-12 Thread stipenovi
Thanks for prev. answer. You are right - it is both generic an T5 question for me. I was wondering is there some API for T5 similar to googleDocs, so i can manipulate with rendered stream? Thing is that user when see image/pdf must not have option to RightClick and for example do Copy

Re: T5 as document management system

2011-01-12 Thread Thiago H. de Paula Figueiredo
On Wed, 12 Jan 2011 21:29:34 -0200, stipenovi stipenovok...@gmail.com wrote: Thanks for prev. answer. You are right - it is both generic an T5 question for me. I was wondering is there some API for T5 similar to googleDocs, so i can manipulate with rendered stream? You're talking about

t5: secure annotation

2011-01-10 Thread Angelo C.
Hi, putting @secure in a class and run it in mvn jetty:rn, got: SSL connection error. how to setup jetty to take care of this? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-secure-annotation-tp3334816p3334816.html Sent from the Tapestry - User

Re: t5: secure annotation

2011-01-10 Thread Joost Schouten (ml)
This [1] is my jetty plugin in my pom.xml where src/test/resources/jettykeystore.cert is my selfsigned certificate. Hope it is what you are looking for. Cheers, Joost [1] maven jetty plugin with SSL enabled plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId

Re: t5: secure annotation

2011-01-10 Thread Thiago H. de Paula Figueiredo
On Mon, 10 Jan 2011 11:31:07 -0200, Angelo C. angelochen...@gmail.com wrote: Hi, Hi! putting @secure in a class and run it in mvn jetty:rn, got: SSL connection error. how to setup jetty to take care of this? Thanks, Chech the SSL Jetty documentation. This is not related to Tapestry at

Re: T5: 5.2.4 and memory

2011-01-09 Thread Angelo C.
4102 (4415) 7397 (8853) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-and-memory-tp624p665.html Sent from the Tapestry - User mailing list archive at Nabble.com

<    3   4   5   6   7   8   9   10   11   12   >