Take a look at the excellent tynamo-federatedaccounts module at
http://www.tynamo.org/tynamo-federatedaccounts+guide/
Cheers!
On Fri, Apr 28, 2017 at 1:11 AM, Tapestry
wrote:
> Hey all!
>
> I am trying to use pac4j (https://github.com/bujiio/buji-pac4j) with
>
The behaviors that you are describing can be easily configured using
Symbols. Take a look at the SecuritySymbols class:
https://github.com/tynamo/tapestry-security/blob/master/src/main/java/org/tynamo/security/SecuritySymbols.java
The Symbols that you are looking for are: LOGIN_URL and
Sure, you just need to override this
symbol: SymbolConstants.OMIT_GENERATOR_META.
Here's a sample of overriding it in a module:
@Contribute(SymbolProvider.class)
@ApplicationDefaults
public static void provideSymbols(MappedConfigurationString, Object
configuration)
{
// ...
The @CommitAfter annotation should be used as a convenience for simple
scenarios, it doesn't support nesting. This has been discussed many times
in the past on this mailing list.
For the scenario that you described, I would remove the @CommitAfter
annotation from method2, this way all of the code
options.put(start, new JSONLiteral(function() {$(this).hide();}));
is the right way to pass the function, but it won't work for AJAX requests
in tapestry 5.4.
Could you please tell us what version of tapestry, tapestry-jquery you are
using? And provide the stacktraces so we can debug further.
. I could just
implement this as a new default CookieRememberMeManager in
tapestry-security. Dusko, you mind if I use your SimplePrincipalSerializer?
Kalle
On Thu, Mar 6, 2014 at 3:21 AM, Dusko Jovanovski dusk...@gmail.com
wrote:
Thanks for pointing that out, I wasn't finishing the GZIP
Hello Lidija, could you try out this custom serializer and report back with
the results?
https://gist.github.com/duskote/0f8cce8d1b0d1cc56844
On Thu, Mar 6, 2014 at 10:48 AM, Lidija Dolinar lidija@gmail.comwrote:
Ah, I see, you ment SimplePrincipalSerializer from the patch.
It doesn't
]
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
[jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_43]
Regards,
Lidija
On Thu, Mar 6, 2014 at 11:14 AM, Dusko Jovanovski dusk...@gmail.com
wrote
try configuration.addInstance(AssetSource.class, MyAssetSourceImpl.class);
Here's the documentation for MappedConfiguration:
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/MappedConfiguration.html
On Fri, Jan 31, 2014 at 5:05 PM, garz g...@gmx.net wrote:
Hi all,
i want
It works both in pages and components.
On Fri, Dec 6, 2013 at 2:20 PM, John j...@quivinco.com wrote:
does @Cached work in only pages, or should it work in components too?
Use the update site from the readme.
https://github.com/anjlab/eclipse-tapestry5-plugin#install
On Tue, Dec 3, 2013 at 2:40 PM, Athneria, Mahendra
mahendra.athne...@atos.net wrote:
I am not able to download it from Eclipse.
Is there any other way to install it on Eclipse??
Regards,
I'm not sure what your exact scenario is, but are you aware that you can
pass an varargs parameter to the createEventLink method?
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ComponentResourcesCommon.html#createEventLink(java.lang.String,
java.lang.Object...)
Seems like
+1
On Mon, May 27, 2013 at 7:50 PM, Eli Doran e...@elidoran.com wrote:
I like the simplicity of using the @Startup annotation compared to the
startup contribution method.
However, it doesn't have the ability to order its execution as in the
contribution method.
It seems it would be a
Autocomplete only triggers the EventConstants.PROVIDE_COMPLETIONS event.
Take a look at the onClick function in controls.js (line 183) (Tapestry
5.3). That's the place that you need to modify to get the desired behavior.
On Mon, May 27, 2013 at 11:25 PM, George Ludwig
Try overriding the SymbolConstants.START_PAGE_NAME symbol.
On Tue, Dec 11, 2012 at 10:55 PM, Muhammad Gelbana m.gelb...@gmail.comwrote:
I'm not sure if that's a usual requirement but here it is. I need to have
another page as a default homepage instead of the Index page. I can do
that by
The jumpstart project is an awesome resource for beginners
http://jumpstart.doublenegative.com.au/jumpstart/examples/http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/linkingloop1
For your scenario, take a look at
Link link =
pageRenderLinkSource.createPageRenderLinkWithContext(Index.class);
link.setSecurity(LinkSecurity.FORCE_SECURE);
or
String link
=
pageRenderLinkSource.createPageRenderLinkWithContext(Index.class).toAbsoluteURI(true);
On Wed, Sep 19, 2012 at 7:52 PM, captain_rhino
You can use the @Import annotation on render methods. Try this:
@Import(library = {context:js/OverlappingMarkerSpiderfier.js})
void afterRender(){}
On Sat, Sep 15, 2012 at 7:12 PM, sommeralex alexander.som...@gmail.comwrote:
Hi!
I need to ensure that google maps api 3 is loaded before
@Import
for the google maps library instead of the import via script.
On Sat, Sep 15, 2012 at 10:05 PM, Dusko Jovanovski dusk...@gmail.comwrote:
You can use the @Import annotation on render methods. Try this:
@Import(library = {context:js/OverlappingMarkerSpiderfier.js})
void afterRender
Dusko Jovanovski [via Tapestry]
ml-node+s1045711n5716314...@n5.nabble.com
Just read your question again (on nabble, the script tag was lost in the
email), and I realized that's not gonna help.
Take a look at this thread:
http://tapestry.1045711.n5.nabble.com/Referencing-external
You are missing the zone parameter on your eventLink component.
On Sun, Aug 12, 2012 at 2:31 PM, Angelo C. angelochen...@gmail.com wrote:
Hi,
I am trying out AjaxResponseRenderer to update multiple zones in a page,
here is the code:
java:
@Inject
private AjaxResponseRenderer
@Component(parameters = { event=ModeUpdate, zone=zone1 })
private EventLink UpdateOff;
This should do the trick.
On Sun, Aug 12, 2012 at 3:30 PM, Angelo C. angelochen...@gmail.com wrote:
How to specify two zones in a event link?
--
View this message in context:
Take a look at http://tynamo.org/tapestry-routing+guide
It's a tynamo module written for this purpose.
On Wed, Jul 18, 2012 at 3:04 AM, dkeenan david_siedle...@yahoo.co.ukwrote:
This looks perfect! Tapestry is outstandingly good.
--
View this message in context:
Why don't you just return an array from 1 to lastDayInMonth?
.tml
t:source=rangeOfDates
.java
public ListInteger getRangeOfDates()
{
ListInteger list = new LinkedListInteger();
for(Integer i=1; i =lastDayInMonth; i++)
list.add(i);
return list;
}
On Sun, Jul 8, 2012 at 10:55 AM, bhorvat
I don't think you can use it like that, only with fixed values.
On Sun, Jul 8, 2012 at 11:35 AM, bhorvat horvat.z.bo...@gmail.com wrote:
That is the option, but tapestry has this cool option so I would like to
use
it
--
View this message in context:
I made an oversight, try this:
t:loop t:source=1..lastDayInMonth t:value=day
//html code
/t:loop
On Sun, Jul 8, 2012 at 11:54 AM, bhorvat horvat.z.bo...@gmail.com wrote:
Hm...Well it says here that it should
http://tapestry.apache.org/property-expressions.html
The rangeOp creates a
Hello there
If the change you want to apply to those elements is purely visual, I would
suggest the :nth-child(even) pseudo selector [1].
On the other hand, if you still want to apply that particular class to the
div, I would suggest this approach:
t:loop t:source=selectedModule.settings
I don't see why you couldn't customize t:label, it supports informal
parameters, everything you pass as an attribute will be passed down to the
label tag. In the for parameter of t:label you pass the server id of
the component.
On Tue, Jun 19, 2012 at 5:47 PM, Norman Franke nor...@myasd.com
Have you tried the AjaxFormLoop component? I think that you can accomplish
your scenario with it.
Here is a live demo from the jumpstart project:
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/formloop1
And here is the documentation for the component:
tml:
a href=${linkWithParameters}More news/a
java:
@Inject
private PageRenderLinkSource pageRenderLinkSource;
public Link getLinkWithParameters()
{
Link link = pageRenderLinkSource.createPageRenderLink(MoreNews.class);
link.addParameter(startIndex, 3);
link.addParameter(endIndex, 11);
return
Hello Tynamo developers
First of all, I love the module, keep up the good work.
I would like to propose one improvement for all the security components
(org.tynamo.security.components package), an else block parameter (very
similar to the tapestry if component). That would come in pretty handy.
from the community
On Mon, Feb 20, 2012 at 11:57 AM, Dusko Jovanovski dusk...@gmail.comwrote:
Hello Tynamo developers
First of all, I love the module, keep up the good work.
I would like to propose one improvement for all the security components
(org.tynamo.security.components package
I can point you to this article by Howard:
http://tapestryjava.blogspot.com/2011/12/adding-ajax-throbbers-to-zone-updates.html
He covers everything you are trying to do.
Cheers
On Sun, Feb 19, 2012 at 6:20 PM, Bo Gao eli...@gmail.com wrote:
How to create my own zone update Effect?
The most
Annotate your method with @Startup and it will be executed when starting
the application.
Reference:
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/annotations/Startup.html
On Wed, Feb 15, 2012 at 8:22 PM, iberck ibe...@gmail.com wrote:
I need to perform certain tasks when
Take a look here: http://tapestry.apache.org/component-mixins.html
and here:
http://tapestry.apache.org/5.3.2/apidocs/org/apache/tapestry5/annotations/BindParameter.html
2012/2/14 Михаил Слободянюк slobodyanu...@gmail.com
Hi!
How i do bound Select's parametels (model, label etc.) from mixin?
Try this:
.tml:
t:grid t:source=reports t:row=evntRow t:exclude=${excludeColumn} /
.java:
public String getExcludeColumn(){
if(excludeCondition)
return somecolumn;
else return null;
}
I didn't test this code, but it should work.
2012/1/31 Vladimir Bauer vba...@slb.com
Good day
This is really an IE issue. In order to get IE to behave correctly, use an
empty title attribute (title=).
Here's a small jQuery snippet that solves your problem (not tested, i don't
have access to IE7)
jQuery('.t-sort-icon').attr('title', '');
On Wed, Dec 28, 2011 at 9:38 AM, danyboy85
Try manager.alert(Duration.TRANSIENT, Severity.INFO, INFO TRANSIENT);
This will display the message for 15 seconds before closing.
There is an open JIRA that would allow us to set this duration at:
https://issues.apache.org/jira/browse/TAP5-1640
--
Dusko Jovanovski
On Fri, Dec 23, 2011 at 10
Try replacing your entry in your layout.css with this snippet:
DIV.t-beaneditor {
border: 2px outset blue !important;
}
On Mon, Dec 5, 2011 at 12:53 AM, George Ludwig georgelud...@gmail.comwrote:
I'm want to change the border color of all the beaneditors to blue, so I
added this to my
Prototype (included by default in
Tapestry) and jQuery use.
Look into jQuery.noConflict(); http://api.jquery.com/jQuery.noConflict/ I
personally find it easiest to just add that line at the end of the included
jQuery library.
--
Dusko Jovanovski
On Wed, Nov 16, 2011 at 10:24 AM, ramakanthreddy.t
Without looking at your code I can only guess you have forgotten to pass
the zone as parameter somewhere, or the request isn't ajax.
Something like this:
t:eventLink event=event *zone=client-zone-id*Link/t:eventLink
Attach the source if you still have errors after trying this.
On Mon, Nov 14,
are reading our minds, we are currently working on an ajax-upload
component based on this this demo right here:
http://aquantum-demo.appspot.com/file-upload
Follow our public github profile to get it as soon as it comes out
https://github.com/plannowtech
--
Dusko Jovanovski
On 12 November 2011 02:16
You can try out our implementation:
https://github.com/plannowtech/tapestry5-ckeditor
It's still not thoroughly tested, but should work fine.
Any remarks/complaints/bugs should be reported on GitHub.
--
Dusko Jovanovski
On Fri, Nov 11, 2011 at 4:50 AM, TG tapestry...@hotmail.com wrote:
Do we
You should add this: xmlns:p=tapestry:parameter to the root element in
your .tml file, and use p:id instead of t:parameter name=id
On Sun, Nov 6, 2011 at 6:12 PM, TG tapestry...@hotmail.com wrote:
I changed my codes to something like this -
form t:id=form validate=object
t:errors/
Try overriding the img.t-error-icon rule in your css.
Sample:
img.t-error-icon{
margin-left: 0;
width: 0;
height: 0;
background: none;
}
The background: none; line would get rid of the image, but you would still
have some white space, so i added the other rules
On Sat, Aug 20, 2011 at 4:20
45 matches
Mail list logo