Dear all,
I want to update a zone and show a message after form is submitted. I could
not find the docs regarding this in the component reference. Could someone
guide me through this or perhaps you have a sample source code?
Thanks in advance
IMPORTANT NOTICE:
The information in this email (and
oopss!
I think I missed the point
the ASO aplication state object is merely a container for sharing
information across pages and time it shall not have metods, so I'll do as
you say.
thanks again
--
View this message in context:
http://www.nabble.com/T5-ASO---Services-tp17134860p17141903.html
Se
Sounds good, if it's simply imposible to use services within ASO I'll do
that, but I found more natural the other way arround:
In the Page
_MyAso.addproductttoChart(id);
In the ASO
MyASO.addproducttoChart(idProduct)
{
Map _chartMap;
@Inject private MyServices _MyServices;
Product
Is there a way to deect whether or not cookies are disabled for a
visitor session?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
So, T5 integrates nicely with Spring (tapestry-spring) and integrates
nicely with Hibernate (tapestry-hibernate).
What happens, though, if I want to have Spring configure and handle my
hibernate sessions (and transactions) for me, but wish to use tapestry-
hibernate's HibernateEntityValueEncod
Of course, you'll have the went-to-null trouble even passing the bits
of data into your service as method args :)
On Thu, May 8, 2008 at 2:38 PM, maxthesecond <[EMAIL PROTECTED]> wrote:
>
> How I'm suposed to get services inside an ASO?
>
> I placed my DAO objects in services I didn't need any ses
Max,
What I do in my app is pass the relevant bits of ASO data into my
service methods as arguments. You could pass the entire ASO, but you
might risk having it go null on you if the ASO gets set to null
somewhere.
Bill
On Thu, May 8, 2008 at 2:38 PM, maxthesecond <[EMAIL PROTECTED]> wrote:
>
>
Just a tip:
Upgrading from Hibernate Annotations 3.3.0.ga? The "ga" is now "GA", or at
least it is on IBiblio.
org.hibernate
hibernate-annotations
3.3.1.GA
How I'm suposed to get services inside an ASO?
I placed my DAO objects in services I didn't need any sesion so far, but at
a certain point I need an ASO the wich needs to make use of my DAO services.
btw I've notice an old post in wich the willing was the oposit; how to acces
the ASO from a Serv
It's less than ideal, but there are things that are out of Tapestry's
control, such as the file system and some of the class loaders issues,
that causes this case sensitivity issue.
On Wed, May 7, 2008 at 11:56 PM, Michael Böckling
<[EMAIL PROTECTED]> wrote:
> I am not worthy. *doh*
> Never again
The tutorial starts with Jetty run from Maven, but then switches over to
JettyLauncher midway through chapter 2.
The fact that you were not able to back out the changes suggests that you
may have something either missing, or duplicated in your classpath. Watch
out for remnants of the earlier Tap
howard commited some changes into tapestry trunk, so the snapshot build
starts in some minutes
2008/5/8 Sven Homburg <[EMAIL PROTECTED]>:
> lebenski,
>
> the snapshot build run at 23:45 centrale european time
> for faster access, checkout the repository trunk an compile it with "mvn
> clean insta
lebenski,
the snapshot build run at 23:45 centrale european time
for faster access, checkout the repository trunk an compile it with "mvn
clean install"
2008/5/8 lebenski <[EMAIL PROTECTED]>:
>
> I have this in my pom:
>
>
> org.apache.tapestry
> t5c-contrib
>
Thank you Christian and Jonathan for your quick replies.
I'm not using Jetty Runner - I did install JettyLoader. I'm running
Jetty from Maven command line because, as I recall, that is what is in
the Tutorial. Anyway, the observed reloading behaviour is fine - I did
suspect that perhaps on
Are you getting errors in the tomcat log file? It looks like your web
app is failing to load.
On Thu, May 8, 2008 at 6:32 AM, csharpfan <[EMAIL PROTECTED]> wrote:
>
>
> csharpfan wrote:
>>
>> I am trying to run sample project from
>> Tapestry.5.Building.Web.Applications.Jan.2008.
>> Environment: E
Also, clear your browser cache to make sure you pick up the new
TC5OnEvents.js
> -Original Message-
> From: lebenski [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 08, 2008 12:26 PM
> To: users@tapestry.apache.org
> Subject: Re: T5: Urgent Problem. After clearing cookies communication
>
Right now, in 5.0.11, there are some holes in the client side events
and callbacks. You can get something to work, it requires a bit of
wiring. You'll also want to know a bit about Zones and read
tapestry.js to get a handle on what's going on.
If you attach your form to a zone, then when the form
Try removing the snapshots from your local maven repository to be sure you
pull down the most recent snapshot.
Worst case, go to
http://code.google.com/p/tapestry5-components/source/checkout to find out
how to get the source.
> -Original Message-
> From: lebenski [mailto:[EMAIL PROTECTE
I have this in my pom:
org.apache.tapestry
t5c-contrib
0.5.12-SNAPSHOT
org.apache.tapestry
t5c-commons
0.5.12-SNAPSHOT
t5components
I think this is as simple as the Tutorial not having been updated to
the most recent release of T5. Essentially it's a documentation
error. You were right to bump to 5.0.11, I suspect.
I wouldn't use jetty runner, but would revert back to the older Jetty
Launcher. We had one developer ju
If you are running using the jetty launcher in Eclipse, your templates and
page and component classes should be automatically reloading. I'm not sure
if it's the same running through maven.
As I understand it, JettyLancher puts everything in your Eclipse project's
classpath into your web applic
Hi,
I've had a look through the archive but haven't spotted an explanation
for my query.
I have used Tapestry 3 in the past and have just started looking at
T5. I have not used Maven before and part of my query probably relates
to that.
I have been doing Howard's tutorial and I note Mav
My schedule opens back up next week, so get ready for a big push!
On Thu, May 8, 2008 at 3:22 AM, Tobias Wehrum <[EMAIL PROTECTED]> wrote:
> Hi Jason,
>
> last thing I've heard about it was:
> http://www.nabble.com/Tapestry-5.0.12-td16847409.html
>
> Howard said there: 'Tapestry 5 is getting ver
I've just rebuilt my project. I've got this in my pom:
t5components
T5Components Maven Repository
http://87.193.218.134:8080/t5components/maven-repository
Should I pick up this change immediately, or will
Hi Filip,
I was able to put the link somewhere else, I think error message should
remain as it is now. believe T5 really has enough of features, time to
release?
Angelo
Filip S. Adamsen-2 wrote:
>
> Doesn't seem to be possible right now. Would be nice if a
> block/component could be specifie
http://code.google.com/p/tapestry5-components/source/detail?r=663
2008/5/8 lebenski <[EMAIL PROTECTED]>:
>
> Thanks Sven,
>
> Any info on what was causing the issue?
>
> Ben.
>
>
> Sven Homburg wrote:
> >
> > i commited a fix into the trunk
> >
> > 2008/5/8 lebenski <[EMAIL PROTECTED]>:
> >
> >>
Thanks Sven,
Any info on what was causing the issue?
Ben.
Sven Homburg wrote:
>
> i commited a fix into the trunk
>
> 2008/5/8 lebenski <[EMAIL PROTECTED]>:
>
>>
>> Apparently this message didnt get sent properly last time:
>>
>> Oh I just noticed that you said you found the problem is
Look at the blankLabel and blankOption attributes for the select component.
(http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Select.html)
There are good examples in the Tapestry 5 jumpstart.
(http://files.doublenegative.com.au/jumpstart/)
> -Or
You can do this when you create select model. For example, in my
application I have a drop down of catagories fetched by a DAO, with
first element being "-- Please Select":
@Cached
public SelectModel getCategoriesModel() {
Schemed schema = _catalog.computeOdsSchema
Hello
Is it possible to overwrite the first element in a select box?
At the moment this is an empty value, but can I for example overwrite
this with "All"
Leon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
csharpfan wrote:
>
> I am trying to run sample project from
> Tapestry.5.Building.Web.Applications.Jan.2008.
> Environment: Eclipse, Tomcat, Tapestry 5.0.11.
> Error:
> HTTP Status 404 - /t5first/
> type Status report
> message /t5first/
> description The requested resource (/t5first/) is not a
hi leon,
Tapestry 5 uses a redirect to display the result of a component action.
Therefore the data has to be saved/stored between the two requests.
(i call the first request action request and the second request render
request as it will then render the page)
"flash" will store the data in the s
Hi,
IEngineService are the closest you'll get to servlets from Tapestry
This basically means there's only one instance of them - i guess it's
easy for people
to forget this and start storing state in that (only) instance like
you do with mediafile
(linkFactory is a hivemind service and webRespone
ofcourse
2008/5/8 lebenski <[EMAIL PROTECTED]>:
>
> By using a vanilla Ajax Request wouldn't you be bypassing all the benefits
> you get from the Tapestry Form Event lifecycle and Tesptry forms in
> general?
>
>
> Sven Homburg wrote:
> >
> > if your requirement is a login without a page refresh
>
By using a vanilla Ajax Request wouldn't you be bypassing all the benefits
you get from the Tapestry Form Event lifecycle and Tesptry forms in general?
Sven Homburg wrote:
>
> if your requirement is a login without a page refresh
> the using of OnEvent is in this case not the right way
> becaus
In my page I have a the following function that is executed when I click
on the search button in my page.
@Persist("flash")
private List importRequests = new ArrayList();
@OnEvent(component = "searchForm", value = "submit")
public void doSearch() {
importRequests = importDAO.findImpor
i commited a fix into the trunk
2008/5/8 lebenski <[EMAIL PROTECTED]>:
>
> Apparently this message didnt get sent properly last time:
>
> Oh I just noticed that you said you found the problem is it because the
> jsessionid is getting passed on the URL or something else?
>
>
>
> lebenski wrote
The jsessionid coming before the username is the problem, I think.
Whatever builds the url needs to make sure it's inserted before the
;jsessionid part. Are you building the URL yourself? If so, it shouldn't
be too much work to fix.
-Filip
On 2008-05-08 12:56, lebenski wrote:
Oh I just notic
Apparently this message didnt get sent properly last time:
Oh I just noticed that you said you found the problem is it because the
jsessionid is getting passed on the URL or something else?
lebenski wrote:
>
> Thanks very much Sven. I appreciate your help on this matter, let me know
>
Sorry, I only saw the messages that mentioned tinyMCE and assumed you
were looking for an editor component.
chris
maxthesecond wrote:
> Well, I can't see the relation but anyway thanks!
>
>
> Chris Lewis-5 wrote:
>
>> I missed the rest of this thread, but if you're looking for an editor
>> com
Thanks to your hints I finally found a way to identify the problem. The problem
was that on the same page that I load the images, I also have a flash object,
that loads sound files through the same service. I am not sure, but it seems
like the calls for both the images and the soundfiles conflict w
Thanks a lot you solve it! I hope
But It seems me not that logical, after all, the url carries all the
information, to make such an assert I will have to know the details and how
all does it work, I found the current solution a little convoluted.
宁德辉 wrote:
>
> I think it is easy to understan
Oh I just noticed that you said you found the problem is it because the
jsessionid is getting passed on the URL or something else?
Sven Homburg wrote:
>
> after a debug session, a find the reason for this behavior.
> i try to find out a soloution for that
>
> 2008/5/8 lebenski <[EMAIL PROT
Thanks very much Sven. I appreciate your help on this matter, let me know if
I can be of any assistance, I'll be monitoring this thread all day.
Ben.
Sven Homburg wrote:
>
> after a debug session, a find the reason for this behavior.
> i try to find out a soloution for that
>
> 2008/5/8 le
after a debug session, a find the reason for this behavior.
i try to find out a soloution for that
2008/5/8 lebenski <[EMAIL PROTECTED]>:
>
> Yeah that sounds exactly like the problem i'm getting.
>
> FYI here is my initial request (onchange of username field) after deleting
> cookies:
>
> URL=
>
I think it is easy to understand that Page A doesn't know what's wrapped in
component B, like 'addToChart', so you can only deal with event froom B but not
'addToChart'.
And I think ActionLink is a more general EventLink, with event name "action".
For your case, you can use EventLink to specify
Hi Jason,
last thing I've heard about it was:
http://www.nabble.com/Tapestry-5.0.12-td16847409.html
Howard said there: 'Tapestry 5 is getting very close to a next release
(which I think may even be a release candidate), but that's no reason to
ship it early. Let me continue to "use it in an
Yeah that sounds exactly like the problem i'm getting.
FYI here is my initial request (onchange of username field) after deleting
cookies:
URL=http://localhost:8080/home.homepage.registerwidget.registerbasicwidget.registerbasic_username:change;jsessionid=1d4snmum7f5cy/tesusername
Second request
i tested it here in my demo app.
if i delete the session cookie the the onevent result is empty
even though i refresh the page !?!?
2008/5/8 Sven Homburg <[EMAIL PROTECTED]>:
> is there the same behavior if the restart the browser?
>
>
> 2008/5/8 lebenski <[EMAIL PROTECTED]>:
>
> >
> > for real t
Well, I can't see the relation but anyway thanks!
Chris Lewis-5 wrote:
>
> I missed the rest of this thread, but if you're looking for an editor
> component t5components provides one (based on FCK):
> http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/components
is there the same behavior if the restart the browser?
2008/5/8 lebenski <[EMAIL PROTECTED]>:
>
> for real testing i think its better to delete the cookie and refresh the
> page
> before you initiate the ajax request cycle.
>
> This is exactly what i'm doing. I've also tried this from a fresh,
>
a page: A
a wraper component: B
a component: C inside wraper having an action link with
id=addToChart
At the page level by now I can only trap the events from C like
@OnEvent(component="B")
void whatevernamewilldothejob(String ID){
}
for real testing i think its better to delete the cookie and refresh the
page
before you initiate the ajax request cycle.
This is exactly what i'm doing. I've also tried this from a fresh, non-dev
machine. I hit my server without doing any shenanigans with deleting
cookies and I get the same is
thats not correct,
the session id ommited by the servlet by every
request to the browser
so if the user starts the browser
and request the www.blabla.com/servletcontext/login or whatever
the servlet container response the session id
if you delete the cookie or remove the session id from url
the s
Doesn't seem to be possible right now. Would be nice if a
block/component could be specified instead of a string, that'd give you
100% control over what's rendered. Maybe something for JIRA?
-Filip
On 2008-05-08 10:06, Angelo Chen wrote:
Hi,
I'd like to embed a link in the error messages sent
I'm replicating the state in which a new user will hit the site, they won't
have any of the cookies set by Tapestry.
Sven Homburg wrote:
>
> why do you delete the cookies ?
>
> 2008/5/8 lebenski <[EMAIL PROTECTED]>:
>
>>
>> Hi guys,
>>
>> Ok i've got an urgent problem. I'm using tapestry to
why do you delete the cookies ?
2008/5/8 lebenski <[EMAIL PROTECTED]>:
>
> Hi guys,
>
> Ok i've got an urgent problem. I'm using tapestry to develop a web app,
> which I have to present tomorrow to some very important people!
>
> I've got a very frustrating problem. I will try to explain it as
Hi guys,
Ok i've got an urgent problem. I'm using tapestry to develop a web app,
which I have to present tomorrow to some very important people!
I've got a very frustrating problem. I will try to explain it as clearly as
possible.
I'm using the t5components/OnEvent Mixin to call back to Tapes
I missed the rest of this thread, but if you're looking for an editor
component t5components provides one (based on FCK):
http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/components/Editor.html
maxthesecond wrote:
> Thanks nicholas I'll give it a try...any way I'
Thanks nicholas I'll give it a try...any way I'm not very disconforted with
the script being in the parent after all parent and childs they form the
whole component, but I'm glad to see there's a general solution. Thanks
nicholas Krul wrote:
>
> Hi... Sorry it took so long, tonight is the firs
if your requirement is a login without a page refresh
the using of OnEvent is in this case not the right way
because OnEvent doesnt know anything about the username and password values.
i think the best way is, write your own Ajax.Request script
that submits the form values to tapestry
2008/5/8
does your template have a t:block with the id "text"?
what is the problem exactly? Is there an exception... ?
if you get an exception you probably dont have a block defined :)
g,
kris
ice96 <[EMAIL PROTECTED]>
08.05.2008 00:45
Bitte antworten an
"Tapestry users"
An
users@tapestry.apache.
It was the only way I could think to do the javascript callback - using
onCompleteCallback. I'm pretty new to Tapestry, so most of what I've done
has been trial and error, is there a better way to do the callback?
--
View this message in context:
http://www.nabble.com/Problem-with-form-submis
Here is the stack trace:
2008-05-07 18:14:13,375 [http-8080-Processor24] INFO
com.company.services.MediaAsset - Loading video file from:
2008-05-07 18:14:13,375 [http-8080-Processor24] INFO
com.company.services.MediaAsset -
file=http://192.160.25.194:8080/videostore/media/CF-1-0002-DE.
I am trying to stream flash video files in a protected way using this Media
Service
It works fine, but once 2 people access the same file one of the streams sooner
or later just stops and the connection is closed
Has anyone tried something similiar and tested the parallel acces on the s
Hi,
I'd like to embed a link in the error messages sent to like
this:
loginform.recordError("error < a href='#'>click here to know more< /a>");
but this does not work, any idea? Thanks.
Angelo
--
View this message in context:
http://www.nabble.com/t5%3A-embedding-a-link-in-form-error-message
66 matches
Mail list logo