Hi Kris,
Since PageRenderSupport uses DocumentHeadBuilder to write the scripts, I am
thinking of extending DocumentHeadBuilder, but it does not register:
binder.bind(DocumentHeadBuilder.class, MyDocumentHeadBuilderImpl.class);
any idea?
kristian.marinkovic wrote:
>
> replace PageRenderSuppo
Hi!
I single-stepped through the problem, and it looks like
org.acegisecurity.providers.ProviderManager.publishEvent() is swallowing the
exception
because the
org.acegisecurity.providers.ProviderManager.applicationEventPublisher ==
null.
Acegi Security version = 1.0.6
Regards,
Olle
2008/3/14,
Maybe someone is interested in a solution (or better: a dirty hack) for the
problem.
When the new PageTester is created with
new PageTester("org.example.myapp", "Spring");
a new instance of SpringObjectProvider is created via SpringModule.
The SpringObjectProvider is responsible for getting Spri
Yeah, that wouldn't fly in any of the apps that I work on. If you have
known constraints that the user is going to run into then you deal
with them in a friendly and helpful manner. Your end users aren't
going to find the generic tapestry error page friendly or helpful.
Josh
On Fri, Mar 14, 2008
Christian Koeberl wrote:
> The replacement of $content$ is the t:container construct (see
> https://issues.apache.org/jira/browse/TAPESTRY-1469).
>
This does not work with pages, does it?
I hoped that
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
tapestry5-quickstart Start Page
tap
The documentation also gives a way to define this by contributions (see the
Securing Multiple Pages section)
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/secure.html
> -Original Message-
> From: kranga [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 13, 2008 9:02
This was working fine, but now it seems that my contribution doesn't
even getting processed.
Maybe something changed in the way one can configure tapestry-hibernate ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
I have more than few components
that use events to communicate inside a pretty complex form/wizard.
I want to default cancel all events and release only few events manualy,
but to do it I have to add return true to every event handler,
I've tried following
/**Stop propagation of all sub-comp
On Fri, Mar 14, 2008 at 2:55 PM, Olle Hallin <[EMAIL PROTECTED]> wrote:
> Hi!
Hi.
> Now the problem is that despite having the symbol "acegi.accessDenied.url"
> defined to "/loginrejected", no forwarding to this page occurs.
>
> I have verified that the AccessDeniedHandlerImpl has been injecte
Hi!
Just an observation, I'm not sure if it's worth to create JIRA issue for it.
When I created a new LoginRejected page, I named the template file just
"LoginRejected", i.e., without the .tml suffix.
This lead to a java.lang.OutOfMemoryError when starting the app.
Renaming the template to Logi
In T4.1 have a look at the async and optionally the updateComponents parameters
of the Form component.
Uli
parker-jones schrieb:
I have a page, sort of a control panel, that I am using some ajax scripts,
such as a timer that continually updates a div tag, and other similar things
going on. I w
Oh, I forgot to mention the versions:
Tapestry 5.0.11
tapestry5-acegi 1.0.4
Olle
2008/3/14, Olle Hallin <[EMAIL PROTECTED]>:
>
> Hi!
>
> We use tapestry5-acegi for our app, but I'm not sure if this is a Tapestry
> or Acegi problem.
>
> When setting forcePasswordChange=true in the database for a
doesn't T5 autoflush the hibernate session at the end of the page render,
though?
so either the user will see a valid page (and the transaction committed in
the database), or an error page (and no commits).
I hope so, as I'm trusting to this.
--nK
On Fri, Mar 14, 2008 at 5:07 PM, Josh Canfield
When you call session.save() your object is not necessarily getting
sent to the database, and thus database constraint violations may not
be thrown. If you want to ensure the object is sent to the database at
that point call session.flush() which "...is the process of
synchronizing the underlying p
Hi,
Is there a way to contribute my own DocumentHeadBuilder ? I tried following
without any effect:
binder.bind(DocumentHeadBuilder.class, MyDocumentHeadBuilderImpl.class);
?
Thanks,
A.C.
--
View this message in context:
http://www.nabble.com/T5%3A-contribute-DocumentHeadBuilder-tp16048582p16
replace PageRenderSupport or add another service like PageRenderSupport
that renders JQuery specific javascript :)
Angelo Chen <[EMAIL PROTECTED]>
14.03.2008 15:56
Bitte antworten an
"Tapestry users"
An
users@tapestry.apache.org
Kopie
Thema
T5: using jQuery with PageRenderSupport
Hi,
When you use _pageRenderSupport.addScript(jsFunc) to add some javascripts,
it will always be put inside following block:
Tapestry.onDOMLoaded(function() {
... js functions added here
});
is it possible not to include javascript in the above block? if you use
jQuery, putting inside that
It's tapestry-ioc-5.0.11.jar. Just downloaded via maven:
org.apache.tapestry
tapestry-ioc
5.0.11
Howard Lewis Ship schrieb:
Check your version of tapestry-ioc. ClassNameLocator moved there in 5.0.11.
On Fri, Mar 14, 2008 at 5:49 AM, Tobias Wehrum <[EMAIL PROTECTED]> wro
@Christophe
@Stephane
Thanks to both of you. That did the trick. I have now two RadioButtons within
the RadioGroup. One of them inside the loop and one outside owning different
id's but same name. Now it is working as expected.
again thanks for the quick response
Jens
No, Tapestry will giv
Check your version of tapestry-ioc. ClassNameLocator moved there in 5.0.11.
On Fri, Mar 14, 2008 at 5:49 AM, Tobias Wehrum <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> after updating to Tapestry 5.0.11, I get the following error:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org
Hi!
We use tapestry5-acegi for our app, but I'm not sure if this is a Tapestry
or Acegi problem.
When setting forcePasswordChange=true in the database for a user, Acegi
throws org.acegisecurity.CredentialsExpiredException (since
our implementation of UserDetails.isCredentialsNonExpired() returns
Hello, I'm would like to put a thumbnail image in a column of a grid (each row
has it's own unique image).
The images are not bundled with the application, they're on another file server
"behind" the one hosting my application.
I think I have a partial solution but it needs filling out. So far
I would like to have a FormFragment but based on what the user has
filled before instead of a CheckBox in order to implement things like
dependant dropdown boxes. Is that possible with the last version of
Tapestry or should i wait for a best integration of Ajax in Tapestry Form ?
Stephane.
I've found the answer. To achieve this you should return 'true' from
event handler.
Dmitry Shyshkin пишет:
Non null value stop processing of all other event and start page
rendering. But it actually not what I need.
I have a multiple onActivate event handlers with different count of
arguments,
I have same problem and I have AppModule.class under xxx.yyy.services
public static void contributeApplicationDefaults(
MappedConfiguration configuration) {
configuration.add("tapestry.supported-locales", "en,de");
}
this is added in my class.When I put breakpoint here
Hi all,
after updating to Tapestry 5.0.11, I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tapestry/internal/services/ClassNameLocator
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unkno
Tony,
We use an annotation to perform the page injection, but fundamentally
under the hood the annotation simply prepends the namespace onto the
pagename.
I think, based on
http://tapestry.apache.org/tapestry4/tapestry/hivedocs/config/tapestry.e
nhance.InjectWorkers.html
that the page type i
Hi there,
I do not know if thats something directly related to Tapestry, but since
Tapestry is using prototype (which seems to be related) I hope someone
encountered this problem too and has a solution to it.
I use the t5components/OnEvent-mixin. Now when the event ("blur" in my
case) is fir
In fact, this is a better solution if you have an activation context.
So to achieve this, we still may use the "ComponentResources" class and its
"createPageLink" method
Christophe.
-Message d'origine-
De : Stephane Decleire [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 14 mars 2008 12:05
I would recommend to store a Link (which can contain the page name and
the context of the request) and return this link in the success method.
Stephane
Cordenier Christophe a écrit :
Why do you not store the page name instead of the request Path and then
returning the page name in the success
Why do you not store the page name instead of the request Path and then
returning the page name in the success method ?
As your success method return an Object you can return a String containing the
requested page name...
@Inject
ComponentResources resources;
...
// Store this in application
have you tried to return the name of the page or the page class
Object onSuccess() {
return "afterLoginPage";
or
return AfterLoginPage.class;
}
if you want to redirect to a external url return a Link instance
g,
kris
Gabriel Landais <[EMAIL PROTECTED]>
14.03.2008 11:35
Bitte antwor
Hi,
when a user try to connect to my app, it checks if user is logged.
I'm trying to redirect him to page is was trying to access, but I don't
know how to do it in Tapestry way. With plain old sendRedirect of
servlet response it works, but not as clean as it should.
All pages inherits of this p
Actually, I think there is only one instance of the radio component created
inside the loop.
And, it is used multiple times for each iteration to display radios, Tapestry
generate clients ids at runtime.
Component id must be unique to access it through the @Component annotation
without any ambi
Hi Harald,
Thanks for the example, i tried that out and got the idea, since we need to
add onClick to link the component to a certain javascript code, i don't
think mixins will work with jQuery as jQuery does not attach to any
component in the html code, what do you think?
A.C.
Harald Geritzer-
Non null value stop processing of all other event and start page
rendering. But it actually not what I need.
I have a multiple onActivate event handlers with different count of
arguments, and I want to process only one of them.
void onActivate(Long id) {
object = loadobject(id);
// do som
No, Tapestry will give different ids to your radio tags inside the loop.
In the HTML page, a radio belongs to a radiogroup if it has the same
"name" parameter, not the same "id". And Tapestry will give a different
id but the same "name" to each radio you put in a radiogroup wether it
is in a lo
Yes, but within the SAME radio group.
I mean: I use it multiple times within the loop?
Jens
You use the id "radio" 2 times in the same tml page. That's not allowed.
Stephane
[EMAIL PROTECTED] a écrit :
> Hi!
>
> I have a problem to handle a radiogroup having a variable number of radio
butto
Hi!
I am trying to move the validation logic definition from the tml back to the
"application source code", because my Hibernate domain model drives the
required and length constrains anyway.
So I wonder why all checks have to be declared by "t:validation" on the "gui"
side redundently. The b
You use the id "radio" 2 times in the same tml page. That's not allowed.
Stephane
[EMAIL PROTECTED] a écrit :
Hi!
I have a problem to handle a radiogroup having a variable number of radio
buttons created within a loop.
The 'tml' looks basically like the following code snippet:
Hi,
Following code is trying to save a new record with an email which already
exists, after running, then try to update the same record in another progam,
I got:
Lock wait timeout exceeded; try restarting transaction
un comment out //sessionManager.Abort, above problem fixed. but I still get
th
Hi!
I have a problem to handle a radiogroup having a variable number of radio
buttons created within a loop.
The 'tml' looks basically like the following code snippet:
${loopAddress.userId}
${loopAddress.firstName}
${loopAddress.lastName}
this works
"The event will bubble up the hierarchy, until it is aborted. The event
is aborted when an event handler method returns a non-null value."
(http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html)
Stephane
Dmitry Shyshkin a écrit :
Hi, all.
Is there a way to stop bubbling of curr
Hi, all.
Is there a way to stop bubbling of current event?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
i took a dive into the sourcecode and added a patch to
https://issues.apache.org/jira/browse/TAPESTRY-1765 making the fallback
work again :)
Regards,
Patrick
Hello,
I just tested if i can switch to 4.1.5 just to realize that the
localization issue is only partially fixed.
Szena
Thanks Josh for the issue.
I'm a bit puzzled with the comment "Returns null; the radio group does
not render as a tag and so doesn't have an id to share".
For me, a radiogroup can be replaced by a select and vice versa so the
both should be able to have a label. Wouldn't it be possible for a
r
you can go arround this by
creating a component that generates a select
and input, thus allowing arbitrary value in the input box.
or dig in with javascript and create a more streamline one...
Davor Hrg
On Fri, Mar 14, 2008 at 3:08 AM, DavidWei <[EMAIL PROTECTED]> wrote:
>
> I have same need.
47 matches
Mail list logo