"But I would like to do something like adding two params to ShowWindow2
function and pass them to "generarEnlace". The thing is that... it could be
possible?"
I don't see why not. Make a .js file with the function
function setupHelp (win2id, generarEnlace)
{
$('clickable_thing').observe(
That's an interesting question: does XMLHttpRequest support file
uploads? Need to do some research.
On Tue, Aug 19, 2008 at 11:35 PM, Bill Holloway <[EMAIL PROTECTED]> wrote:
> I have a form with the zone defined. The form has one field.
> Everything works fine for a t:textfield text field. The
I have a form with the zone defined. The form has one field.
Everything works fine for a t:textfield text field. The zone is
updated no problem. But when the field in the form is t:upload, the
file is not uploaded.
Component class snippet:
@Inject
private Block _confirmBlock;
@Property
privat
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
只談tapestry5,用英文,應当是這論坛的宗旨。
(let's talk only about tapestry 5 in this forum, in English too)
孟凡振 wrote:
>
> Firstly,thank u for your suggestion!!
>
> 学习是一个过程,不管你现在多牛x,你也是从中国式的英语过度过来的吧,呵呵。况且,俺还不知道您的英语如何。
> 我只是一个刚毕业的学生,有了想法,所以提出来,没有掺杂任何社会上的肮脏的思想。
> 也许你是前辈,经历的事情比较多,没有高调成功,所以说要低调。呵呵
>
>
--
View
呵呵, 年轻人干劲足,要多鼓励。
-Original Message-
From: zhigang mao [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2008 9:03 PM
To: Tapestry users
Subject: Re: Tapestry5Chinaforum(中文论坛欢迎大家加入)and some words to
Howard Lewis Ship
你想太多了,很敏感,多做事,少胡思乱想。too young, too simple,sometimes
naive.
2008/8/20
你想太多了,很敏感,多做事,少胡思乱想。too young, too simple,sometimes naive.
2008/8/20 孟凡振 <[EMAIL PROTECTED]>
>
> 我已经感谢了给我意见的前辈,对你我不知道以哪一种心情回复你!
>
> 因为中国人太多了,随之而来的是各式各样的心态,比如持观望态度的,肆意挖苦别人的,爱看热闹的,跟大流的,爱愤世嫉俗的so many!!
>
> 从你的"same suggestion "我不能看出什么,所以也不知道您持那种心态。
>
> 呵呵,还是谢谢您的回复!
> --
> View this message in co
thank u for replying.
--
View this message in context:
http://www.nabble.com/Tapestry5Chinaforum%EF%BC%88%E4%B8%AD%E6%96%87%E8%AE%BA%E5%9D%9B%E6%AC%A2%E8%BF%8E%E5%A4%A7%E5%AE%B6%E5%8A%A0%E5%85%A5%EF%BC%89and-some-words-to-Howard-Lewis-Ship-tp19042909p19061521.html
Sent from the Tapestry - User m
我已经感谢了给我意见的前辈,对你我不知道以哪一种心情回复你!
因为中国人太多了,随之而来的是各式各样的心态,比如持观望态度的,肆意挖苦别人的,爱看热闹的,跟大流的,爱愤世嫉俗的so many!!
从你的“same suggestion ”我不能看出什么,所以也不知道您持那种心态。
呵呵,还是谢谢您的回复!
--
View this message in context:
http://www.nabble.com/Tapestry5Chinaforum%EF%BC%88%E4%B8%AD%E6%96%87%E8%AE%BA%E5%9D%9B%E6%AC%A2%E8%BF%
Firstly,thank u for your suggestion!!
学习是一个过程,不管你现在多牛x,你也是从中国式的英语过度过来的吧,呵呵。况且,俺还不知道您的英语如何。
我只是一个刚毕业的学生,有了想法,所以提出来,没有掺杂任何社会上的肮脏的思想。
也许你是前辈,经历的事情比较多,没有高调成功,所以说要低调。呵呵
我是年轻人,当然,做事冲动是缺点,但是年轻人敢于创新,敢于说出来。
年轻人没有什么不可以!!呵呵
最后,还是感谢你给的宝贵意见!!我会吸取可取之处,加以人格完善。
--
View this message in context:
http://www.nabb
Deploying two war files is the easiest way to go.
In theory you can divide up your folders, one for each app. But it
gets complicated and there's some unwanted ambiguities.
Tapestry 5 doesn't even support this ... just use mulitple WARs is the
only real way to go.
On Tue, Aug 19, 2008 at 11:07
Using exceptions for control flow was never one of Tapestry great
ideas; that's why its gone in Tapestry 5. Exceptions are exceptions,
representing things that have failed.
In any case, the activate event is a good place to perform checks.
The return vaslue from onActivate() (the name of the even
What would be awesome is if you could just specify a validation method name,
and the client side validation would execute that method via ajax on the
server side (with form data submitted as well). The method would return a
specific json response and the client would be updated with a failure
mes
Hi everyone,
We have been using Tapestry 3 + Spring + Acegi for the last three years and
had a pretty decent integrated architecture going. Now we are trying to
replace Tapestry 3 with Tapestry 5. One of the things I am trying to do is
duplicate a base Tapestry page class that checks if the u
Well, he could. But then he wouldn't get all the advantages of using the
proper validation system.
-Filip
On 2008-08-19 22:19, zack.manning wrote:
Maybe I'm missing something but why cant you just create a mixin with this
functionality instead of using a validator?
Zack
Filip S. Adamsen wro
That's it !! Thanks a lot
zack.manning a écrit :
Yep, tapestry acegi:
http://www.localhost.nu/java/mvn-snapshot
tnodev wrote:
It is not about acegi, but tapestry5-acegi,
I'm using this repository and there is no 1.1.1-SNAPSHOT
localhost.nu
http://www.localhost.nu/java/mvn
Yep, tapestry acegi:
http://www.localhost.nu/java/mvn-snapshot
tnodev wrote:
>
> It is not about acegi, but tapestry5-acegi,
>
> I'm using this repository and there is no 1.1.1-SNAPSHOT
>
>
> localhost.nu
> http://www.localhost.nu/java/mvn
>
>
> I think tapestry5-acegi use Tap
It is not about acegi, but tapestry5-acegi,
I'm using this repository and there is no 1.1.1-SNAPSHOT
localhost.nu
http://www.localhost.nu/java/mvn
I think tapestry5-acegi use Tapestry classes with package name
yyy.tapestry.Xxx instead of yyy.tapestry5.Xxx. So I have a no class
found
By completely disabling acegi I came to java.lang.ClassCircularityError:
com/inavero/pulse/pages/survey/question/Index, which then led me to an
@InjectPage that was an @Inject. Changing that fixed it. Strange that it
would only present itself after that had been there for a while and with
those
i have add a Marker "HibernateCore" to all Session parameters in the build
calls in HibernateModule
now my application works again, but is this the right/only way ?
2008/8/19 Sven Homburg <[EMAIL PROTECTED]>
> Hi there,
>
> i used Tapestry's hibernate module and wrote an application that use the
perfect thanks!
On Tue, Aug 19, 2008 at 4:09 PM, Robert Zeigler <[EMAIL PROTECTED]> wrote:
> ah... Sorry...
> Change:
> beginRender
> to
> afterRender
>
> in the ensureid mixin.
>
> Alternatively, you might be able to get away with writing ensureid as a
> "@MixinAfter".
>
> The problem is exactly
Maybe I'm missing something but why cant you just create a mixin with this
functionality instead of using a validator?
Zack
Filip S. Adamsen wrote:
>
> Looking further into this, it doesn't even seem to be possible...
>
> Not as far as I can tell, anyhow. But then it's late here.
>
> Anyone
ah... Sorry...
Change:
beginRender
to
afterRender
in the ensureid mixin.
Alternatively, you might be able to get away with writing ensureid as
a "@MixinAfter".
The problem is exactly what tapestry is saying: the component hasn't
been rendered yet (the component's beginRender hasn't been ca
I actually was able to successfully upgrade to T5.0.14 and have everything
working alright in testing with acegi. I am using 1.1.1-SNAPSHOT. However,
I saw your post right after I posted my issue which I think is related to
aceg W/ 5.0.14i:
http://www.nabble.com/-T5--Class-contains-field(s)-(_%2
Hi there,
i used Tapestry's hibernate module and wrote an application that use the
FullTextSession from the hibernate search module.
since howards svn commit (release 686850 / TAPESTRY-2571: Add configuration
to turn off the automatic creation of ValueEncoders for Hibernate entities)
my applicatio
Hi All,
Seemingly without provocation Tapestry is throwing this error that I cannot
figure out. My page simply has an beaneditform and some text when a refresh
threw this. Can't get it to go away even after removing what I had been
working on. The field it is referring to seems to belong to ace
Tapestry mostly captures this on the output side; that is, when you
output a string (using, say ${property} expansion), the output is
filtered; the key HTML entities, "<", "&" and ">", are converted to
proper entities: "<", etc.
On Tue, Aug 19, 2008 at 11:11 AM, Eric Rogers <[EMAIL PROTECTED]> wro
Hello All,
I am using Tapestry 5.0.14 and am looking to filter input in my Tapestry
application for characters related to cross-site scripting. Some input is
from regular form submission, while other input is received using AJAX event
listeners and JSON. I realize that one can use a custom trans
my first web application is used for the front end , and my second web
application (CMS) is used for the back end. Both applications use same database.
1. should I put the 2nd application (cms) as jar to the first web application .
If yes, can give me the guideliness? i think 2 application with
I was looking into this today and fond the following post
http://www.nabble.com/-T5--Spring-Security-2-Integration-td18877587.html
haven't had a chance to look into it further yet though.
On Tue, Aug 19, 2008 at 1:43 PM, tnodev <[EMAIL PROTECTED]> wrote:
> Hello,
>
> it seems that the new versio
Hello,
it seems that the new version of Tapestry doesn't work with
*tapestry5-acegi...
...package name problems...
any news of an update of **tapestry5-acegi**?
thanks
*
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
That gets me much closer, I changed my tml to look like this
...
${product.name}
but now I'm getting the following exception.
org.apache.tapestry5.ioc.internal.util.TapestryException: Client id
for product/List:details is not available as it did not render yet (or
Check out the second comment by HLS:
"Or, here's a better idea; an id should only be generated if
getClientId() is invoked, at which point the id attribute of the
element may be set. Dynamic updates to the DOM are a great thing. "
That's the behavior that ended up getting implemented.
You s
Hi,
See Providing the BeanModel in the docs:
http://tapestry.apache.org/tapestry5/guide/beaneditform.html
-Filip
On 2008-08-19 17:36, tiptip wrote:
Thanks for the Reply. But I dont know how to implement your suggestion.
Can u please provide some example?
Here is code snippet from my tml file
Weird. According to TAPESTRY-2294 the value should be uniqued via
RenderSupport...
-Filip
On 2008-08-19 17:42, Mark Horn wrote:
hhmm... that is a problem as my links are in a loop. so they used to
be remove, remove_0, etc. if I set id="remove" then all links have
the id of 'remove' which does
Hi,
Application reloading sounds very nice! I'm not really familiar with
OSGi, though. Is it hard to setup?
If you could share what you did to make this work that'd be awesome.
-Filip
On 2008-08-19 17:44, Atle Prange wrote:
As usual, a closer look reveals the errors...
anyway, my applicati
Thanks!
5.0.14 works very vell!
Argo
2008/8/19 SergeEby <[EMAIL PROTECTED]>
>
> Hi,
>
> This is non longer needed in 5.0.14.
> Try upgrading if you can.
>
> /Serge
>
>
> Ulrich Stärk wrote:
> >
> > I believe http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding is still
> > needed to convert
As usual, a closer look reveals the errors...
anyway, my application is up and running...
-atle
Atle Prange wrote:
Okay, i have figured out the simple way of changing the resource url
so the tapestry framework is able to scan the pages , componenents and
mixins.
Now i get a load of except
hhmm... that is a problem as my links are in a loop. so they used to
be remove, remove_0, etc. if I set id="remove" then all links have
the id of 'remove' which does not work for my tests ether.
Any other ideas?
On Tue, Aug 19, 2008 at 11:32 AM, Mark Horn <[EMAIL PROTECTED]> wrote:
> right.. how
Thanks for the Reply. But I dont know how to implement your suggestion.
Can u please provide some example?
Here is code snippet from my tml file:
${pool.programYear.prgYear}
${pool.region.code}
right.. how did I miss that. thanks!
On Tue, Aug 19, 2008 at 11:27 AM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> As far as I can tell from the issue you linked to, you need to bind the id
> (not t:id) parameter of the link.
>
> -Filip
>
> On 2008-08-19 17:11, Mark Horn wrote:
>>
>> I j
Hi,
As far as I can tell from the issue you linked to, you need to bind the
id (not t:id) parameter of the link.
-Filip
On 2008-08-19 17:11, Mark Horn wrote:
I just updated to Tapestry 5.0.14 from 5.0.11 and have run into an
issue with using PageTester to test ActionLinks as shown here
http:
I just updated to Tapestry 5.0.14 from 5.0.11 and have run into an
issue with using PageTester to test ActionLinks as shown here
http://tapestry.apache.org/tapestry5/guide/unit-testing-pages.html
It looks like this change in 5.0.12,
https://issues.apache.org/jira/browse/TAPESTRY-2294?page=com.atla
It's a windows thing.
The colon in the URL is giving Jetty (and perhaps Tomcat) fits, as it
tries to see if there's a physical file for the URL and the file
system doesn't like it, because colons are meaningful to Windows. I
don't see this on Mac or Linux.
On Mon, Aug 18, 2008 at 11:10 PM, Mich
I don't have specific plans for China vs. the rest of the world. I'm
keen on doing Tapestry training everywhere ... and my wife has been
learning Mandarin which could help :-)
2008/8/18 孟凡振 <[EMAIL PROTECTED]>:
> Hi,,,folks !!
> A tapestry5 forum was built for Chinese people.
> So , join thi
Hello,
This is a classic case of needing client-side behavior with server-side
knowledge, and would be handled well by OO javascript. You could create
a component for this but is seems like a mixin might be more
appropriate. Checkout this article:
http://wiki.apache.org/tapestry/Tapestry5AndJavaS
Hi,
BeanModel#add returns a PropertyModel that has a sortable method to set
whether or not the column representing the property is sortable.
For properties you don't add explicity, you can use BeanModel#get or
BeanModel#getById to get the PropertyModel.
-Filip
On 2008-08-19 16:12, tiptip w
Hi
I am working on my first Tapestry application with T5.
I am using Grid for reports pages and I found that it provide few columns as
sortable but not all (those that are added in bean model with "add" are not
seen as sortable column). My question is how do I enable all columns as
sortable column
Hi,
I assume the URL you set on window2 is for a page. In that case you can
get the base URL from componentResources.createPageLink("pagename",
true) and attach the form and field ids in your JavaScript:
${window2.componentResources.id}.setURL("${basehelpurl}/" + formId + "/"
+ fieldId);
Y
Hi,
This is non longer needed in 5.0.14.
Try upgrading if you can.
/Serge
Ulrich Stärk wrote:
>
> I believe http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding is still
> needed to convert form submissions from/to UTF-8.
>
> Uli
>
> Argo Vilberg schrieb:
>> Hello!
>>
>>
>> I have pos
Hi,
Uli is correct in that regard, at least for Tapestry 5.0.13.
Tapestry 5.0.14 simplifies things *considerably* by using a single,
configurable character set across the entire application, that just so
happens to default to UTF-8.
https://issues.apache.org/jira/browse/TAPESTRY-2543
-Filip
Hi,
This isn't directly supported by Tapestry. And I can't see how you would
make it possible without rewriting a lot of Tapestry services.
-Filip
On 2008-08-19 08:41, Leon Derks wrote:
I know that localization support is well integrated into Tapestry 5, but
is it also possible to get locali
Hi,
You're right - casting componentResources#getPage works fine.
ComponentResources is your friend. :)
@InjectContainer does indeed inject the "parent" of the component. For
InnerLayout this is the page alright, but for Layout it's actually the
InnerLayout because Layout is contained in In
I believe http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding is still
needed to convert form submissions from/to UTF-8.
Uli
Argo Vilberg schrieb:
Hello!
I have postgreSQL 8.1 with utf-8 charset and also web application with tags.
But all estonian letters õüäöÕÜÄÖ are going to crazy.
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}");
Hello!
I have postgreSQL 8.1 with utf-8 charset and also web application with tags.
But all estonian letters õüäöÕÜÄÖ are going to crazy.
If i use simple text edit field to save value and then query some value from
database then i got strange symbols.
Why so?
Argo
You're right - casting componentResources#getPage works fine.
> @InjectContainer does indeed inject the "parent" of the component. For
> InnerLayout this is the page alright, but for Layout it's actually the
> InnerLayout because Layout is contained in InnerLayout.
Could you clarify the meanin
57 matches
Mail list logo