Hi all where can I find tapestry's java API ? I could not see that on site.
Warm regards,
Muralidhar Y
[EMAIL PROTECTED]
US Main: 877 KENSIUM (536.7486)
India Main: +91 9949495511
India Fax: +91 9949495522
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
You can find T5 javadoc here http://tapestry.apache.org/tapestry5/apidocs/
2008/10/27 Muralidhar Y [EMAIL PROTECTED]
Hi all where can I find tapestry's java API ? I could not see that on site.
Warm regards,
Muralidhar Y
[EMAIL PROTECTED]
US Main: 877 KENSIUM (536.7486)
India Main:
Thank you so much. I also found that in quick links of 4.0
Warm regards,
Muralidhar Y
[EMAIL PROTECTED]
US Main: 877 KENSIUM (536.7486)
India Main: +91 9949495511
India Fax: +91 9949495522
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
Confidentiality Note:
I like using classes, as you say it makes it re-factor proof.
This is in-fact what Wicket does too.
Thiago H. de Paula Figueiredo wrote:
Em Sun, 26 Oct 2008 06:39:21 -0300, Joel Halbert
[EMAIL PROTECTED] escreveu:
Is possible to reference pages by logical id rather than by path?
i.e. I would
Hi Borut,
We are migrating a Struts app at the moment so if you have any specific
questions about stuff then fire away as we _may_ have solved one or two
problems that you might face already.
Such a guide would be a good idea: it is ideal to start a nice new app with a
nice new framework but
Hi Howard,
Unfortantely this approach of encoding the information is request params is
not really ideal.
As Russel has said, we are halfway through converting our application. We
have created Tapestry pages to supply some new functionality (various RSS
feeds in this case) however we need to link
As long as your custom scheme can also handle UTF-8 standard scheme so that
libraries that we integrated with (JS libraries and others) that produce
encoded URLs don't break.
- Original Message -
From: Massimo Lusetti [EMAIL PROTECTED]
To: Tapestry users users@tapestry.apache.org
Em Mon, 27 Oct 2008 07:22:00 -0300, kranga [EMAIL PROTECTED] escreveu:
As long as your custom scheme can also handle UTF-8 standard scheme so
that libraries that we integrated with (JS libraries and others) that
produce encoded URLs don't break.
In addition, I suggest something obvious:
Hi! I've had similar issue.
My grid had custom model, and I've uses @Persist on it instead of @Retain.
And page refresh issue was solved.
Christoph Jäger wrote:
It works on 5.0.15 the first time a page is displayed. For the second
time (just clicking the same link in my menu), I get a
I have already asked before, but maybe nobody has read it ;-)
I still have not found a solotion how to set the Locale in Tapestry5 depending
on the domain name/subdomain.
In Tapestry4 using Hivemind, the ThreadLocale could be injected into a service
etc...
In Tapestry5 + Spring I don't know
Em Mon, 27 Oct 2008 08:14:03 -0300, [EMAIL PROTECTED] escreveu:
I have already asked before, but maybe nobody has read it ;-)
I still have not found a solotion how to set the Locale in Tapestry5
depending on the domain name/subdomain.
Implement a RequestFilter and put it before any other.
Robin,
Are you sure this site is up?
I cannot get to it, cannot find the DNS entry.
-Original Message-
From: Robin Helgelin [mailto:[EMAIL PROTECTED]
Sent: 24 October 2008 18:51
To: Tapestry users
Subject: Re: tapestry5-acegi version to work with Tapestry 5.0.15
On Fri, Oct 24, 2008
Hi,
We are using Tapestry 5.0.14 for our project , and there is a requirement
to expose some Web services using Axis on same application , so I put my
Axis servlet/mapping under web.xml file but when I try to access the
services it does not work, as a example when I try to access
Could you post you AppModule please?
Em Mon, 27 Oct 2008 09:00:40 -0300, Sagara Gunathunga
[EMAIL PROTECTED] escreveu:
Hi,
We are using Tapestry 5.0.14 for our project , and there is a
requirement
to expose some Web services using Axis on same application , so I put
my
Axis
Hi,
Thiago, thanks for your quick reply , here is my AppModule
public class AppModule {
public static void bind(ServiceBinder binder) {
// binder.bind(MyServiceInterface.class, MyServiceImpl.class);
// Make bind() calls on the binder object to define most IoC
services.
Em Mon, 27 Oct 2008 09:13:39 -0300, Sagara Gunathunga
[EMAIL PROTECTED] escreveu:
Hi,
Hi!
Well, I can't see anything wrong with your code. As a desperate measure,
make all methods in your AppModule static. Anyway, it is a good practice.
--
Thiago H. de Paula Figueiredo
Independent Java
On Mon, Oct 27, 2008 at 12:25 PM, Mahen Perera
[EMAIL PROTECTED] wrote:
Robin,
Are you sure this site is up?
I cannot get to it, cannot find the DNS entry.
The server is fine, what does dig give you? Or nslook if you're running Windows.
[EMAIL PROTECTED] ~]$ dig www.localhost.nu
; DiG
Thank you, it seems to have created all the classes with annotations
correctly!
I tried to create a beaneditform off the User class but I get the error:
Exception instantiating instance of com.james.taphib.entities.Users (for
component 'AddUser:user.editor'): Error invoking constructor
Em Mon, 27 Oct 2008 09:20:01 -0300, James Sherwood
[EMAIL PROTECTED] escreveu:
Thank you, it seems to have created all the classes with annotations
correctly!
You're welcome!
I tried to create a beaneditform off the User class but I get the error:
Exception instantiating instance of
Hi guys,
Currently I have a master-detail screen for some admin pages which uses the
grid and beaneditform components. It work nicely, however I would like to
implement a grid which can be edited in place. Specifically I have some
fields which I would like to display as drop down selection boxes
I think that problem is that IgnoredPathsFilter doesn't actually filter the
context path.
I think changing the Tapestry filter mapping in web.xml to something other
than /* would be a best option in your case.
On Mon, Oct 27, 2008 at 12:13 PM, Sagara Gunathunga
[EMAIL PROTECTED] wrote:
Hi,
Two simple steps:
1) Put your Grid inside a Form.
2) Use t:parameter name=yourPropertyNameCell to show a select tag
instead of just showing the property value.
As almost anything in Tapestry 5, it's very simple. :)
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer,
implement a filter like:
public class HostBasedLocaleFilter implements RequestFilter {
private MapString, Locale serverNameMapping;
private Locale defaultLocale;
private ThreadLocale threadLocale;
public HostBasedLocaleFilter(final ThreadLocale threadLocale, final
Locale
HI,
I tried with static modifier but cant see any success , I'm wonder why
this *contributeIgnoredPathsFilter *not call by Tapestry , Is there any
different way to ignore paths in Tapestry 5.0.14 .? may be Howard have
an idea about this ?
Thanks,
On Mon, Oct 27, 2008 at 5:48 PM,
Thank you again:)
I used:
@OnEvent(component = userEditor, value=Form.PREPARE) public void
instantiateObject() {
user = new User();
}
This produces the form but without a dropdown of occupation.
The user.occupation is just an occupation object and not a list so how do
Em Mon, 27 Oct 2008 09:42:25 -0300, James Sherwood
[EMAIL PROTECTED] escreveu:
Thank you again:)
You're welcome again! :)
I used:
@OnEvent(component = userEditor, value=Form.PREPARE) public void
instantiateObject() {
user = new User();
}
This produces the form
Thanks a lot!
Original-Nachricht
Datum: Mon, 27 Oct 2008 13:33:54 +0100
Von: Christian Gorbach [EMAIL PROTECTED]
An: Tapestry users users@tapestry.apache.org
Betreff: Re: [T5] How to overwrite the Locale (domain specific)
implement a filter like:
public class
Ooops, one detail was forgotten: in order to your occupation field to
appear, you need to add it to the BeanModel used by the BeanEditForm. If
you do not provide one, one is created automatically, and this one does
not include fields that are other entity objects. The easily way to do
that is
nslookup is giving me:
DNS request timed out.
timeout was 2 seconds.
Also, when I try to use the IP 212.247.86.108 , I get 404's when trying
to access the URL
http://212.247.86.108/java/mvn/nu/localhost/tapestry/tapestry5-acegi/1.1
.1/
-Original Message-
From: Robin Helgelin
Thank you for your quick responses.
I cannot figure out how to produce the SelectionModel from a list of
occupations. I am not sure if I am just being dumb and have been staring at
this too long now or what:)
My method is this:
public SelectModel getOccupationModel(){
return
Em Mon, 27 Oct 2008 10:36:39 -0300, James Sherwood
[EMAIL PROTECTED] escreveu:
I cannot figure out how to produce the SelectionModel from a list of
occupations. I am not sure if I am just being dumb and have been staring
at this too long now or what:)
Use an SelectModel implementation.
Thank you very much for your help.
Tutorials on this sort of thing are SO hard to find at the moment(and not be
outdated severely or just skim the very surface).
I am quite surprised at the chunkiness of foreign key manipulation when
using the beaneditform when you compare it to the gracefulness
The JSON response is only recognized for Ajax requests; Tapestry
differentiates between traditional requests and Ajax requests when
handling the return value from an event handler method.
When you use the zone parameter of an action link, Tapestry adds
JavaScript to observe the click event on the
I have a PageLink thus:
t:PageLink t:page=viewMetadata t:context=listItem.metadata.metadataId
gt;
/t:PageLink
and code thus:
public void onActivate(long metadataId)
{
System.out.println(METADATA ID = +metadataId);
this.metadata =
In your second example, 5 is interpreted as String.
In your first example, I am not sure. What type is
listItem.metadata.metadataId? Maybe it is not long?
Andy
tapestryphoto schrieb:
I have a PageLink thus:
t:PageLink t:page=viewMetadata t:context=listItem.metadata.metadataId
gt;
Hi,
the problem is not your pagelink, the problem is your stylesheet link.
When it trys to load, it seems to search in viewMetadata/style.css,
thus being passed as an activation context which of course cannot be
coerced to long.
Anyway, in my opinion the best way to pass the stylesheet is
By the way: you start threads by clicking reply to any unrelated
message. This causes my (and many other peolple's newsreaders) to file
your messages under the wrong thread.
Please write a new message for a new thread.
Thanks
tapestryphoto schrieb:
I have a PageLink thus:
t:PageLink
Hello,
I was wondering if there is a way to do global validation on entities
without using @validate in the entity.
If I have:
Public class user{
@Validate(required)
Private string username;
Private string password;
Getters/setters
}
I want to be able to replace the
Em Mon, 27 Oct 2008 11:55:24 -0300, James Sherwood
[EMAIL PROTECTED] escreveu:
Thank you very much for your help.
You're welcome again. :)
Tutorials on this sort of thing are SO hard to find at the moment(and
not be outdated severely or just skim the very surface).
Tapestry 5 is new,
Hi,
Does T5 support arguments to methods in expressions?
e.g. something like the argument to the inner loop source below:
tr t:type=loop t:source=promotedRows value=var:index
td t:type=loop
t:source=promotedCols(${var:index})item ${var:index}/td
/tr
Is
It can be innefficient, but setting the page's default persistent
strategy to client will do the job. The Grid component will pick up
this default. The persistent field data will end up in the URL.
On Mon, Oct 27, 2008 at 12:39 PM, tapestry5 [EMAIL PROTECTED] wrote:
I am working on 5.0.13
Shymon,
I'm not sure what the solution to your problem is going to be. The reason
why things worked in the original setup is that when you specify
archiveClasses to false, when the app is deployed in Glassfish, it's
deployed as an exploded war; thus, when you update the class files, T5 is
able
Em Mon, 27 Oct 2008 15:26:24 -0300, Joel Halbert [EMAIL PROTECTED]
escreveu:
Hi,
Does T5 support arguments to methods in expressions?
Out of the box, no. The prop binding, the default for the most component
parameters, just use properties (getters and setters). On the ogher hand,
using
Em Mon, 27 Oct 2008 18:32:07 -0300, Alex Kotchnev [EMAIL PROTECTED]
escreveu:
Maybe one of the more experienced folks on the list can chime in on
how best to handle the development workflow with a module that's still
under
development.
1) Use Jetty for development. When tested in
Geoff,
you rock !!! I should get into the habit of looking at JumpStart first
before trying to figure things out on my own. I was moving from 5.0.14 to
5.0.15, dealt w/ the same problem on my own, then saw your examples :-)
Cheers,
Alex Kotchnev
On Sun, Oct 26, 2008 at 4:12 PM, Christoph
Hi Szemere,
you are right, I also thought about this. But the result is a bit
confusing:
1. the nice little arrows don't show which column is sorted initially
(because Grid doesn't know about the sort order)
2. if the user figures out that the Grid is sorted by, say, the Code
column, and
akochnev wrote:
Shymon,
I'm not sure what the solution to your problem is going to be. The
reason
why things worked in the original setup is that when you specify
archiveClasses to false, when the app is deployed in Glassfish, it's
deployed as an exploded war; thus, when you update
I've now upgraded to T4.1.6 and the problem remains on Firefox, IE and
Safari. Here is how I coded it:
dojo.event.connect(dojo.byId('delete'), 'onclick',
function (evt) {
if (!confirm('Are you sure?')) {
dojo.event.browser.stopEvent(evt);
Hi Sagara,
try to add /* at the end of your filter path like this
public static void contributeIgnoredPathsFilter(ConfigurationString
configuration)
{
configuration.add(/services/.*);
}
At least this works for me with t5.0.14 and axis2.
cheers andreas
Sagara Gunathunga wrote:
On Mon, Oct 27, 2008 at 11:26 AM, Joel Halbert [EMAIL PROTECTED] wrote:
Hi,
Does T5 support arguments to methods in expressions?
e.g. something like the argument to the inner loop source below:
tr t:type=loop t:source=promotedRows value=var:index
td t:type=loop
50 matches
Mail list logo