Hi,
I recently tried out the palette with option groups. The available
list should look like:
Austria
Linz
Salzburg
Vienna
Germany
Berlin
Frankfurt
München
USA
Illinois
Kansas City
New York
This renders ok. But here support for option groups ends. What would
be nice:
-
Not exactly what you are asking, but there is a wiki article that explains most
of the concepts required:
http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained
- Original Message -
From: wesley [EMAIL PROTECTED]
To: users@tapestry.apache.org
Sent: Thursday, 23 October, 2008
Quoting Andy Pahne [EMAIL PROTECTED]:
That were our web designers. But it worked that way in many other form
components. So I did not think about it any further.
Anyway, I tried input type=submit. There's no difference in the
behaviour, regardless of which type of Submit is used.
I think
On Thursday 23 October 2008 20:08:18 Howard Lewis Ship wrote:
Your Layout.tml is likely in the wrong location.
thanks,
you were right... I had template files in weapp folder instead of resoures.
thanks, m.
-
To unsubscribe,
Hello,
do we need slf4j-log4j12 transitive dependency in tapestry-core library?
As I see tapestry really needs only slf4j-api.
m.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
When I throw an UsernameNotFoundException inside my UserDetailsService,
the client is redirected to the page denoted by the
spring-security.failure.url symbol. But I'm giving a detailed
description, why the login failed, that I'd like to be displayed on that
page. How do I do this?
Uli
Hi,
From my experience, there is a problem for components which cause
events which are enclosed in a loop.
Tapestry will use the dom nesting for the component event url, and thus,
it is always the last (at least in my case) of the components which is
triggered by the event.
The solution is to
Jonathan Barker schrieb:
Well, that was fun. Sort of.
I did get it working by setting volatile=true for the loop. It did leave
me scratching my head wondering about the interactions of Persist and
volatile.
Odd.
I like your approach. Works for me.
By the way: found another thread, where
tapestryphoto schrieb:
I think you might find (as I did - see my 2nd original posting on this
issue) that the objects being updated in the loop are different
instances to the ones that are specified. It seems to be a serialization
problem (but that's a guess on my part - I don't know what the
Actually it is.
By declaring you style like:
div.msg {
}
Your saying that this style will be applied to every div tags with the class
msg. So if the tag isn't a div this style won't be applied.
Still, i think Howard's fix shouldn't change the rendered tag. This can
cause problems like yours and
Just a note, i took the liberty of reopening the issue with comments
regarding this situation.
On Thu, Oct 23, 2008 at 6:11 PM, Stephane Decleire
[EMAIL PROTECTED] wrote:
ok
so my css is not hooked to the tag, it's hooked to the class.
FYI
p.msg, div.msg, td.msg {
background-color :
Quoting Andy Pahne [EMAIL PROTECTED]:
tapestryphoto schrieb:
I think you might find (as I did - see my 2nd original posting on
this issue) that the objects being updated in the loop are
different instances to the ones that are specified. It seems to be
a serialization problem (but
For god's shake, thanks a lot for your response,Hugo! I was trying something
different for activate validations in both sides, but, due to the
restrictions I think I'm gonna follow your idea.
Thanks a lot again for your time :D
--
View this message in context:
If the source for a grid is a collection which has a generic type of
an abstract class and the list contains concrete classes which are not
all of the same subclass then it throws:
Render queue error in BeginRender[SearchByTag:grid_0.rows.gridcell]:
ConcreteB cannot be cast to ConcreteA
We encountered a strange problem with yes, again :-) the browser back button.
Seems that FF3 aggressively uses page caching where Safari does not. I tried to
use the @Meta(value={pragma=no-cache, cache-control=no-cache, expires=0})
but without effect. What is the best or at least working
Is there a way instead of writing
Page.tml:
Step title: ${stepTitle}
Page.java:
public String getStepTitle() {
return messages.get(step.getStepName() + -step);
}
write something like (does not work):
${messages:${step.stepName}-step}
?
--
WBR,
Ivan S. Dubrov
Hello,
Let's say I have a grid component running off a source with objects such as:
Id
Fname
Lname
How do I remove Id from the grid?
Remove=Id in the html of t:grid does not work.
Thanks,
--James
Ok, after some experimentation I can see that I can do this by
providing a BeanModel.
p.
Quoting tapestryphoto [EMAIL PROTECTED]:
If the source for a grid is a collection which has a generic type of
an abstract class and the list contains concrete classes which are not
all of the same
James Sherwood schrieb:
Hello,
Let's say I have a grid component running off a source with objects such as:
Id
Fname
Lname
How do I remove Id from the grid?
Remove=Id in the html of t:grid does not work.
I think that remove has been renamed to exclude. Try for example:
Hello,
It seems that beaneditform does not like have a date as a field in the
object.
Is there a way around this?
--James
Dear Sven,
Thank you so much for your help, I really appreciate it!
You helped me a lot.
Thanks again
Oliver
Sven Homburg wrote:
hi oliver,
i checked it, and you are right,
its impossible to insert a chart into a hidden (display:none) element.
in this case the flotr library cant
I've searched the documentation, and I can't find how one implements a
loading... indicator when an AJAX request is sent off. My app will
be doing a series of database queries which can take 10 seconds or so,
and it really needs something to tell the user they need to wait a
bit.
I don't think so, at least not in ordinary Tapestry. For your example, I'm
not sure that even OGNL would help out.
+1 for t5.enhanced
I read that as category
com.company.webapp.Page
--
t5.enhanced.com.company.webapp.Page
Szemere
http://www.catb.org/~esr/faqs/smart-questions.html
On Fri, Oct 24, 2008 at 8:02 AM, James Sherwood
[EMAIL PROTECTED] wrote:
Hello,
It seems that beaneditform does not like have a date as a field in the
object.
Is there a way around this?
--James
--
Howard M. Lewis Ship
I noticed the blank string namespaces, and fixed it last night.
On Thu, Oct 23, 2008 at 5:14 AM, Stephane Decleire
[EMAIL PROTECTED] wrote:
The correction linked to Jira TAP5-290 defines the namespaces as needed but
the tag generated is not the same in a full and in a partial render :
In my
BTW,
I'm actively working on the issue with URL encoding/decoding. Because
of the differences between Jetty and Tomcat, I'm abandoning standard
URL encoding (i.e., %2f and all that) and using my own scheme.
As a side effect, we can now properly support null and blank string
values in page
Hi!
I've just tried many ways to decorate my UserController service, which is
defined via Spring. In other words: my decorate* method is never called
and therefore my service remains undecorated. Are non-Tapestry-IoC-defined
services not decoratable? Looking at the variables in the Eclipse
Cool, i hadn't noticed it.
Still the bigger problem remains with the tag name.
On Fri, Oct 24, 2008 at 5:46 PM, Howard Lewis Ship [EMAIL PROTECTED] wrote:
I noticed the blank string namespaces, and fixed it last night.
On Thu, Oct 23, 2008 at 5:14 AM, Stephane Decleire
[EMAIL PROTECTED]
Hi all,
I am trying to get hold of the tapestry5-acegi version which works with
the latest release of tapestry, i.e. 5.0.15.
Assuming the required tapestry5-acegi version is 1.1.1, I don't seem to
find it in the following maven repository.
repository
Hi,
I'm trying to implement version-specific paths for my javascript files
(so I can have the expires header for these files in the far future).
Looking at Tapestry's code, the appropriate way to do this is to use
the contributeClasspathAssetAliasManager method in AppModule to give a
Hi,
Is there a hook you can leverage to trap an event when the user
navigates to a new page? Specifically I want to be able to call
ComponentResources.discardPersistentFieldChanges() on the previous page
when this happens...
Cheers,
Joel
--
SU3 Analytics Ltd
61b Oxford Gardens
W10 5UJ
Oops. just sent this but managed to bork the subject line! Sorry...
Hi,
I'm trying to implement version-specific paths for my javascript files
(so I can have the expires header for these files in the far future).
Looking at Tapestry's code, the appropriate way to do this is to use
the
Em Fri, 24 Oct 2008 14:21:05 -0300, Joel Halbert [EMAIL PROTECTED]
escreveu:
Hi,
Is there a hook you can leverage to trap an event when the user
navigates to a new page?
I didn't understand how different this situation would be from simply
catching the end of the rendering of a page.
The difference is needing to know when the user has requested a new
page, not when the current page has finished rendering.
Logically speaking, T5 would need to keep a track of the last requested
page, and notify me whenever this changed.
Thiago H. de Paula Figueiredo wrote:
Em Fri, 24 Oct
Thiago,
PageDetached fires when the instance of the page used to service the request
gets returned to the page pool. It doesn't have anything to do with the
user navigating away from a page.
The problem is, with Forward and Back buttons, navigating away from a page
is a browser-side event.
Em Fri, 24 Oct 2008 14:31:44 -0300, Joel Halbert [EMAIL PROTECTED]
escreveu:
The difference is needing to know when the user has requested a new
page, not when the current page has finished rendering.
Logically speaking, T5 would need to keep a track of the last requested
page, and notify
Em Fri, 24 Oct 2008 14:42:49 -0300, Jonathan Barker
[EMAIL PROTECTED] escreveu:
Thiago,
Hi, Jonathan!
PageDetached fires when the instance of the page used to service the
request
gets returned to the page pool. It doesn't have anything to do with the
user navigating away from a page.
I'm less interested in the back button event and more interested when
when a new page is requested i.e. the user deliberately navigates away
from the current page. Logically speaking T5 would just need to store he
current page ref in memory, and notify the user when this changed.
I'm guessing
On Fri, Oct 24, 2008 at 7:18 PM, Mahen Perera
[EMAIL PROTECTED] wrote:
Assuming the required tapestry5-acegi version is 1.1.1, I don't seem to
find it in the following maven repository.
That version should work fine.
http://www.localhost.nu/java/mvn/nu/localhost/tapestry/tapestry5-acegi/1.1.1/
Arriving at a new page doesn't always mean they've left the first page -
they could have done an Open link in new tab/window. Or they could
have just opened a new window and typed in a different url on the same
site. In both cases, the first page is still open in their browser.
-Wendell
Joel
that's generally ok in my case.
Wendell Ruotsi wrote:
Arriving at a new page doesn't always mean they've left the first page
- they could have done an Open link in new tab/window. Or they could
have just opened a new window and typed in a different url on the same
site. In both cases, the
For deep linking purposes, could you pass the information as normal
query parameters?
You could then @Inject the Request object to retrieve those values.
You can also use the ContextValueEncoder service to decode them to
appropriate types.
This work would be done in the page's activate event
I sort of have it working by doing an onclick and relying on the
entire form to update, which resets my div.
But that brings up another point. I want to AJAX fetch a list of
elements with a checkbox. Is there a better way to do this than by
setting the entire form as one of the
no idea ?
i don't know how add my javascript validator in Tapestry validators list.
any expeirence ?
thanks all
On Wed, Oct 22, 2008 at 11:27 PM, Mohammad Shamsi [EMAIL PROTECTED]wrote:
hi,
im trying to add new validator to my project. but i have problem to add
javascript for clienside
To answer your initial question, just use contrib:ajaxStatus from
http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/ajaxstatus.html
For the second, why not update only the part in question?
On Fri, Oct 24, 2008 at 9:22 PM, Norman Franke [EMAIL PROTECTED] wrote:
I sort
Thanks. I apparently forgot to look at contrib.
As for the second question, I'd love to, but how can I update the
formhidden section of the form such that my controls (that were
created via AJAX) will be sent on the next AJAX action? If I don't
update the entire form, I never get the
dojo.event.connect to it and in there do dojo.event.stopEvent (or
something like that) if you
dont want to go on with the submit
On Fri, Oct 24, 2008 at 10:22 PM, Norman Franke [EMAIL PROTECTED] wrote:
Thanks. I apparently forgot to look at contrib.
As for the second question, I'd love to, but
Hello,
I have an object Celebrity with the fields:
private long id;
private String firstName;
private String lastName;
private Date dateOfBirth;(java.util.Date)
When I use the tag:
t:beaneditform t:id=celebrity/
And access the page I get the console error:
No service
One solution is to remove any constructor that takes arguments. Other is
to write a method like
@OnEvent(component = celebrity, value = Form.PREPARE) {
yourEditedObject = new Celebrity(...);
}
Em Fri, 24 Oct 2008 16:32:37 -0300, James Sherwood
[EMAIL PROTECTED] escreveu:
Hello,
You can also just use @EventListener. Call a Javascript operation to display
the status and hook up your EventListener to an arbitrary Javascript call.
Kalle
On Fri, Oct 24, 2008 at 12:31 PM, Andreas Andreou [EMAIL PROTECTED]wrote:
dojo.event.connect to it and in there do dojo.event.stopEvent
I'm using T4.1.5 which has dojo 0.4.x and no dojo. event.stopEvent. I
tried dojo.event.browser.stopEvent but that didn't work. Nor did
e.stopPropigation or e.preventDefault. In fact, I tried all three
together (and separate) and it still fires.
Norman Franke
Answering Service for
Hi,
it would be great if there was also a JSP transition guide. We have a large
JSP application at the moment and my intention is to replace it gradually
with Tapestry 5. Any advice on how to do it *the right way* would be more
than welcome!
Regards,
Borut
2008/10/24 Howard Lewis Ship [EMAIL
Em Fri, 24 Oct 2008 14:21:05 -0300, Joel Halbert [EMAIL PROTECTED]
escreveu:
Is there a hook you can leverage to trap an event when the user
navigates to a new page? Specifically I want to be able to call
ComponentResources.discardPersistentFieldChanges() on the previous page
when this
sorry - dojo.event.connectBefore is what you need :)
On Fri, Oct 24, 2008 at 11:00 PM, Norman Franke [EMAIL PROTECTED] wrote:
I'm using T4.1.5 which has dojo 0.4.x and no dojo. event.stopEvent. I tried
dojo.event.browser.stopEvent but that didn't work. Nor did e.stopPropigation
or
According to the documentation, before is the default. Either way, it
still doesn't work. The ajax submit is still called. If I call a non-
function, then it doesn't work, e.g. foobar(). It generates an error
in the console, but does stop.
Norman Franke
Answering Service for Directors, Inc.
You can also annotate the zero argument constructor with @Inject.
Thiago H. de Paula Figueiredo wrote:
One solution is to remove any constructor that takes arguments. Other
is to write a method like
@OnEvent(component = celebrity, value = Form.PREPARE) {
yourEditedObject = new
just tried something like
dojo.event.connect(dojo.byId('fepSubm'),'onclick',
function(e){dojo.event.browser.stopEvent(e);});
and it prevented the submit
On Fri, Oct 24, 2008 at 11:29 PM, Norman Franke [EMAIL PROTECTED] wrote:
According to the documentation, before is the default. Either way, it
Current this is not possible; the Spring context is instantiated
first, then the beans in it are imported as Tapestry IoC services.
We may see some improvements to this in 5.1.
Perhaps you could define an IoC version of a Spring bean whose
implementation is the Spring bean itself, you could then
Em Fri, 24 Oct 2008 18:04:53 -0300, Howard Lewis Ship [EMAIL PROTECTED]
escreveu:
Current this is not possible; the Spring context is instantiated
first, then the beans in it are imported as Tapestry IoC services.
More one reason to build a tapestry-transaction package . . . If only I
had
On Fri, Oct 24, 2008 at 3:16 PM, Thiago H. de Paula Figueiredo
[EMAIL PROTECTED] wrote:
Em Fri, 24 Oct 2008 18:04:53 -0300, Howard Lewis Ship [EMAIL PROTECTED]
escreveu:
Current this is not possible; the Spring context is instantiated
first, then the beans in it are imported as Tapestry IoC
I did that exact same thing and it did submit. Very strange! I'm using
Firefox 3.0 and T4.1.5. Where did you put the connect? I tried at the
end of the body and outsize the body, before the /html
Norman Franke
Answering Service for Directors, Inc.
www.myasd.com
On Oct 24, 2008, at 5:00 PM,
How can the Locale be overwritten/set inside of AppModule?
Is there a list of services that can be overwritten/set/accessed inside of
AppModule ?
Thanks!
Tobias
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
This code does not workunfortunately:
public RequestFilter buildTimingFilter(final Logger log)
{
return new RequestFilter()
{
@Inject
private PersistentLocale persistentLocale;
public boolean service(Request request, Response response,
RequestHandler
hi,
I use tapestry actionlink with GRID.
Actionlink works fine with firefox, but do not with ie6.
What a bug?
t:if test=fileList
t:form t:id=signform
t:grid
source=fileList rowsPerPage=7 pagerPosition=bottom
Hi,
I have got a problem with setting the default sort column for a grid
after updating from 5.0.14 to 5.0.15.
This code, inspired by some comments on this list, works perfectly
nice on 5.0.14, but breaks on 5.0.15:
@SetupRender
public void setDefaultSortOrder()
{
if
If i use only textlink in actionLink property instead of button, all works
fine also in IE6.
Good luck M$ and ie6!
Argo
2008/10/24 Argo Vilberg [EMAIL PROTECTED]
hi,
I use tapestry actionlink with GRID.
Actionlink works fine with firefox, but do not with ie6.
What a bug?
t:if
hi,
If i want user grid with checkbox , then navigation between grid tabs lost
previously checked checkboxs.
If choose another tab to show in grid, then previous checked checkbox are
lost.
How can i use grid and checked rows over all grid tabs`?
Argo
Hello,
I have seen components such as the Fckeditor being used but cannot figure
out how to use them.
The component reference docs at
http://tapestry.apache.org/tapestry5/tapestry-core/ref/ does not list them.
This site: http://87.193.218.134:8080/t5c-demo/editorpage lists many nice
Hi,
I just stumbled upon the same problem when updating from 5.0.14 to
5.0.15. There must be a way that Tapestry automatically creates the
FieldTranslator if a Translator is specified for a field. All the
information should be there. As I see it, apart from the Translator,
the
70 matches
Mail list logo