Hi ,
I am using tapestry4.1. I have recorded an error in the listener
method in the java class as shown below
public String onWordSubmit(IRequestCycle cycle) {
if(getUserName().equals("murali")){
getVisit().setAttribute("or
Otho,
Indeed, as Alex mentioned my attempt at Tapestry & Grails integration
never went much further than he pointed out. Also, it must be noted that at
the time I was trying to use Tapestry 4.1, so most of what you'll see on
that blog post doesn't apply to T5.
The bottom line on that attempt
It's weird i never had to deal with this - but it's just because i've only put
confirmation dialogs into @LinkSubmits - never @Submit... In the
LinkSubmit case, the code
you've posted (which is similar with the suggestions on the previous
thread) simply works!
However, in the Submit case,it doesn'
This was noted by a couple of my clients during training.
Andy's solution is OK, except its hard to load a page sometimes when
there's no active request.
You can force the Hibernate to initialize early, which is 9 of your 10 seconds:
public void contributeRegistryStartup(OrderedConfiguration
con
I want to persist on a form the filename used in the file upload component.
Is there an appropriate way to do that? I'm worried about writing:
@Persist
private UploadedFile uploadfile;
because I think that could clutter memory with a lot of file streams (within
the UploadedFile).
Szemere
Thanks for the suggestion, thought I couldn't get that quite to work. I'm on
Tapestry 5.0.11 and got the following. Upgraded to 5.0.15 to see if that
made any difference (a better error message ensues), but it hasn't done the
trick.
5.0.11
[INFO] Starting jetty 6.1.7 ...
2008-11-10 21:24:14.344::I
I know we can set "autofocus=false" in Form component. But I cannot find the
equivalence in BeanEditForm. Did I miss something? If not, is there any
workaround? Thanks a lot!
Yes, when you set an initial value, it is retained as is ... if it's
mutable, that's a problem because it will be shared across users (as
page instances get reused across requests).
Another option for initializing it is pageAttached() ... this is one
of three special lifecycle methods (pageLoaded(
Right, this is how a service can learn what its own service id is.
On Mon, Nov 10, 2008 at 2:17 AM, Kristian Marinkovic
<[EMAIL PROTECTED]> wrote:
> ok found it after reading
> http://tapestry.formos.com/nightly/tapestry5/tapestry-ioc/injection.html
>
> if you just inject a String it will alw
Em Mon, 10 Nov 2008 14:18:57 -0300, Howard Lewis Ship <[EMAIL PROTECTED]>
escreveu:
FAQ
http://tapestry.formos.com/nightly/tapestry5/faq/general.html#classcastexception
In other words, you can't use a Tapestry-transformed class (page, mixin,
component) in a non Tapestry-transformed class.
As a follow up, I've created a very simple ajax page, included below.
I want the clear button to display an alert, and if they hit cancel,
stop the request. This does not happen even with this trivial example.
The onClear will be called regardless of what button is clicked. This
fails under
FAQ
http://tapestry.formos.com/nightly/tapestry5/faq/general.html#classcastexception
On Mon, Nov 10, 2008 at 8:31 AM, digital boy
<[EMAIL PROTECTED]> wrote:
> Hi,I am rather new to Hibernate, Spring and Tapestry. So I do not
> know/understand where exactly my current problem arises from. My gues
Hi,I am rather new to Hibernate, Spring and Tapestry. So I do not
know/understand where exactly my current problem arises from. My guess is,
that Tapestry complains (as seen in the exception stack trace)
I want to create a tag cloud component for Tapestry. In order to retrieve
tag data for this com
Hi,
With reference to:
http://tapestry.apache.org/tapestry5/guide/lifecycle.html
"Tapestry takes special care to purge all instance variables back to
their default value at the end of each request."
How is the default value determined?
I have noticed that if I declare a class variable on my pa
Thiago, I think we are in agreement, I have said that using a single method
*would have* these advantages and simplify using onActivate.
cheers,
Peter
- Original Message -
From: "Thiago H. de Paula Figueiredo" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Monday, 10 November, 2008 5:4
Good idea
thanks thiago
Thiago H. de Paula Figueiredo wrote:
>
> Em Mon, 10 Nov 2008 08:35:16 -0300, peibel <[EMAIL PROTECTED]>
> escreveu:
>
>> hi,
>>
>> I would can write tags html into properties files message to be
>> recognized
>> at the time of execution html
>
> Take a look at
>
Thanks for the patch!
Peter
--
If you are not an intended recipient of this e-mail, please notify the sender,
delete it and do not read, act upon, print, disclose, copy, retain or
redistribute it. Please visit http://www.albourne.com/email.html for important
additional terms relating to thi
On Mon, 2008-11-10 at 14:31 +, Peter Stavrinides wrote:
> The trouble is when multiple onActivate methods are required, it
always requires a little more thought to get the page handling perfect.
> Since this pattern gets repeated a lot, you often end up with hundreds
of these onActivate
> m
Encode is not great, map is a bit better, but its difficult to get the perfect
word for "Translate and lookup via primary key".
- Original Message -
From: "Cameron Newham" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Thursday, 6 November, 2008 3:59:58 PM GMT +02:00 Athens, Beirut,
Buc
get the latest trunk for t5components.
the release 0.5.15 is not usable with latest tapestry trunk
2008/11/10 Peter Stavrinides <[EMAIL PROTECTED]>
> As of this morning I am getting the error listed below, from some pretty
> innocuous code:
>
> "Render queue error in BeginRender[hf/forum/Home:pag
Em Mon, 10 Nov 2008 11:31:18 -0300, Peter Stavrinides
<[EMAIL PROTECTED]> escreveu:
Maybe the best way to deal with different onActivate methods is to have
a single one receiving an EventContext object
If it can be done this way then definitely a better solution IMHO, and
less error prone t
>Maybe the best way to deal with different onActivate methods is to have a
>single one receiving an EventContext object
If it can be done this way then definitely a better solution IMHO, and less
error prone too... onActivate is not 'Tapestry simple' yet.
What I like most about the onActivate
Atle Prange wrote:
As usual, a closer look reveals the errors...
anyway, my application is up and running...
-atle
I resurrect a really old thread, so perhaps this message will be lost
forever...
Nonetheless, hello !
I will have to deal with OSGi and Tapestry in a really near future, and
I
Thiago, thanks
I found the solution with your help:
public static void
contributeIgnoredPathsFilter(Configuration configuration) {
configuration.add("/services/.*");
}
Best regards,
Henrik
-
To unsubscribe, e-
Em Mon, 10 Nov 2008 08:35:16 -0300, peibel <[EMAIL PROTECTED]>
escreveu:
hi,
I would can write tags html into properties files message to be
recognized
at the time of execution html
Take a look at
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/compone
Em Mon, 10 Nov 2008 02:21:53 -0300, Henrik Schlanbusch <[EMAIL PROTECTED]>
escreveu:
Just add this method to your AppModule:
public static void
contributeIgnoredPathsFilter(UnorderedCollection configuration)
{
configuration.add("/services/.*");
}
Thanks man! This seems to be the so
As of this morning I am getting the error listed below, from some pretty
innocuous code:
"Render queue error in BeginRender[hf/forum/Home:pagelink_0]: Error persisting
field hf/forum/DisplayThread:pagedloop:_currentPage: Persistent fields may not
be updated until after the page has finished lo
I am using tapestry4.1.If I return null It is showing the same page with
field decoration(the user name text field is being decorated with red color)
but the error messages(for example "Your user id is invalid") are not being
displayed any where on the page. So what I have to do in order to display
hi,
I would can write tags html into properties files message to be recognized
at the time of execution html
--
View this message in context:
http://www.nabble.com/T5%3A-tags-html-into-properties-files-tp20418364p20418364.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
You still have to return the page to be rendered even in case your
validation fails
So, just add
return null
after
validationDelegate.record(formComp, "Invalid password");
On Mon, Nov 10, 2008 at 11:52 AM, Muralidhar Y <[EMAIL PROTECTED]> wrote:
> Hi friends,
>
>
>
> I have done the followin
ok found it after reading
http://tapestry.formos.com/nightly/tapestry5/tapestry-ioc/injection.html
if you just inject a String it will always be the serviceId
g,
kris
Kristian Marinkovic <[EMAIL PROTECTED]>
10.11.2008 10:32
Bitte antworten an
"Tapestry users"
An
users@tapestry.apach
Hi friends,
I have done the following in the html form
I have included the bean in the page specification like the following
In the listener method I have coded as following:-
public String onWordSubmit(IRequestCycle cycle) {
On Thu, Nov 6, 2008 at 5:15 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> I spent a chunk of time working on this yesterday:
>
> http://tapestry.formos.com/nightly/tapestry5/tapestry-ioc/injection.html
Nice... i haven't had big issues with IoX injection but that page has
cleared a lot of stu
hi,
is there a way to obtain the serviceId of an injected service?
i have several services using the same implementation
that use a (the same) caching service. i want to pass the
service id to the caching service so it can create a per
service cache
g,
kris
Hi all,
I'm trying to use SWFUploader into my Tapestry application. My app will have
a functionality which upload files > 100. AFAIK Tapestry-Uploader does not
support multiple uploading. I have problem when receiving stream/uploaded
files from SWF Uploader(or any other flash uploader) into Tapes
35 matches
Mail list logo