n educated decision.
>
> On Sat, Aug 8, 2015 at 5:18 AM, Taha Siddiqi
> wrote:
>
>> For me it is om(or reactjs). I am currently in the process of replacing
>> JavaScript in one of my JavaScript intense Tapestry project with
>> om/ClojureScript.
>>
>> Se
For me it is om(or reactjs). I am currently in the process of replacing
JavaScript in one of my JavaScript intense Tapestry project with
om/ClojureScript.
Sent from my iPhone
> On Aug 8, 2015, at 11:41 AM, Kalle Korhonen
> wrote:
>
>> On Fri, Aug 7, 2015 at 3:40 PM, françois facon wrote:
I don't use it either.
On Oct 4, 2014, at 5:02 PM, Geoff Callender wrote:
> I don't.
>
> On 4 Oct 2014, at 9:38 am, Howard Lewis Ship wrote:
>
>> Just a survey ... does ANYBODY use the FormInjector component directly?
>> It's going to be a lot of work to upgrade it for 5.4 and I'm very tempte
It looks like a dependency problem. Two versions of tapestry-core in class path
perhaps.
Sent from my iPhone
> On May 27, 2014, at 5:30 PM, Boris Horvat wrote:
>
> Anyone has any idea?
>> On 24 May 2014 11:30, "Boris Horvat" wrote:
>>
>>
>> Hi everyone,
>>
>> I have create a service to he
Hi
If you are still looking at things , you can give
http://facebook.github.io/react/ a try. And if you like functional programming
try https://github.com/swannodette/om.
regards
Taha
On May 3, 2014, at 11:16 AM, Kalle Korhonen wrote:
> On Fri, May 2, 2014 at 5:33 PM, Chris Mylonas wrote:
>
vely)
>
>
> Form#recordError accepts a String. So I'm starting to think this String is
> just rendered without any smarts to it. Can't really fuse in a
> MarkupWriter, because recordError just accepts String.
>
>
> Any further ideas?
>
> Can the Corelib.Er
$("#" + spec.id + "Modal").modal();
>
>
>$("#modalsubmit-" + spec.id).bind("click", function(e) {
> $("#" + spec.formId).trigger('submit');
>});
>});
>};
>
If there is only one submit button, you can also use form's own context
parameter. that way you just have to call form.submit() from the javascript.
On Dec 18, 2013, at 8:46 PM, George Christman wrote:
> I guess that would work, I wish there was a way to reconstruct the
> original submit button
Use Link#toAbsoluteURI() or Link#toURI() depending on your need( I think here
toAbsoluteURI() is more appropriate)
On Dec 18, 2013, at 8:32 PM, Chris Mylonas wrote:
> Thanks Taha - I was looking at the Link Component FAQ earlier scratching my
> head. It spits out the text for the link, not a h
I came to Tapestry from Wicket after reading such a trolling email but I could
never thank the guy.
If it were you Emmanuel, then thank you.
On Nov 22, 2013, at 3:05 PM, Lance Java wrote:
>> 7. Why Howard finally embraced Wicket and started using it in his
> clients' projects.
>
> Drink a sho
Hi Martin
As Thiago has already pointed out, it would make more sense to have new
annotations instead of changing @CommitAfter which is already in use.
I would suggest either create a new library which can add these new annotations
to the existing tapestry-hibernate without breaking the code or
Remember to include
xmlns:p='tapestry:parameter' in the root tag.
not
xmlns:p='tapestry-parameter'
regards
Taha
On May 10, 2013, at 4:35 PM, Nomer Nominus wrote:
>
> I forgot to mention, but I have tried the
> same, and the result was the same, failure with an error "Parameter(s)
> 'hideabl
Please go through http://tapestry.apache.org/url-rewriting.html.
Also http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/ is a
must read for url rewriting.
regards
Taha
On May 10, 2013, at 4:48 PM, Nomer Nominus wrote:
> I have FullArticle tml page, and all articles get url li
I agree with Lance.
BTW what is your use case ? May be we can suggest a way within the IOC
container.
On May 1, 2013, at 5:08 PM, Lance Java wrote:
> I think I might've answered a question you didn't ask!
>
> If you want to do something complex in your listeners constructor with the
> DAO,
You can't use property expressions with component parameters
You should try
regards
Taha
On Apr 21, 2013, at 6:56 PM, Todd Orr wrote:
> Why does this throw an exception?
>
>
>
>
>
>
>
>
>
>${title}
>
>
>
>
>
>
I recently worked on a tapestry + cometd project. I didn't use the module. Just
created a simple integration and then used standard cometd library
documentation to create a full chat app. It was easy and I am more than
satisfied with the result.
For integration you can have a look at
http://ta
Hi Barry
Have you looked at FormSupport particularly store() and storeAndExecute()
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/FormSupport.html#storeAndExecute(T,
org.apache.tapestry5.ComponentAction)
You can register ComponentActions there.
regards
Taha
On Mar 22
Hi Alex
How about instantiating the service inside the override contribution method.
configuration.add(FooService.class,
objectLocator.autobuild(MyOtherImplementation.class));
regards
Taha
On Mar 1, 2013, at 4:04 AM, Alex Kotchnev wrote:
> I would like to be able to conditionally override a s
Liked :)
On Feb 27, 2013, at 4:26 PM, Lance Java wrote:
> Frown no more!! FB button added, like away!!
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/tapestry-stitch-goes-live-tp5720232p5720256.html
> Sent from the Tapestry - User mailing list archive at Na
Cool!
Wanted to 'like' it as there was no 'like' button :-(
Thanks
Taha
On Feb 26, 2013, at 8:26 PM, Lance Java wrote:
> I just added a demo of the "code" component
> http://tapestry-stitch.uklance.cloudbees.net/codedemo
>
> Cheers,
> Lance.
>
>
>
> --
> View this message in context:
> htt
Hi Lance
Great Job!
The sourcecode-viewer is nice! Why not convert it into a component :)
regards
Taha
On Feb 26, 2013, at 6:46 PM, Lance Java wrote:
> Hi All,
>
> I've just published my tapestry-stitch-demo to cloudbees. Tapestry Stitch is
> a collection of example components and concepts i
Hi
You can do it using Tapestry's URL Rewriting APIs
http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/
http://tapestry.apache.org/url-rewriting.html
regards
Taha
On Feb 25, 2013, at 6:29 PM, jellevangompel wrote:
> Hi all,
>
> I wanna know if it is possible to put the cont
Hi
I am sure you can find a few implementations if you will google around. Here is
one.
https://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/components/Carousel.java
regards
Taha
On Feb 25, 2013, at 10:30 AM, Ken in Nashua wrote:
> Hi Folks,
>
> I have
Hi
If I understand it correctly, I don't see it as a tapestry problem. I would use
or a css :first-child..
regards
Taha
On Feb 25, 2013, at 10:15 AM, Ken in Nashua wrote:
> Hi,
>
> I am seekign a tapestry solution to this.
>
> I am using
>
>
> blah
> blah
> blah
>
>
> and I get this
tapestry.apache.org/component-mixins.html
If the component and a mixin both define a parameter with the same name, then
the component wins: the component's parameter will be bound, and the mixin's
parameter will be unbound.
Alternately, you may prefix the name of the parameter with the unqual
Hi Chris
You have not shared the trace so I can't help you much but there are certain
things I thought might help in general.
Contributing a ValueEncoder to a ValueEncoderSource only helps in components
which use the ComponentDefaultProvider#defaultValueEncoder e.g. Select, Palette
etc. For a
Hi
You should be able to use SeleniumTestCase for testing jsp. If it is not
working I would look into the jetty configuration for jsp e.g.
http://wiki.eclipse.org/Jetty/Howto/Configure_JSP
For configuring JNDI in jetty, you have to use the jetty.xml under the
/WEB-INF/web directory.
http://wi
Hi
You have two options.
1. Convert your servlet into a tapestry page. HttpServletRequestFilter might be
of some help.
2. Access the registry through ServletContext using
context.getAttribute(TapestryFilter.REGISTRY_CONTEXT_NAME) and then call
Registry#getService(Session.class)
regards
Taha
You can use the popular ZoneUpdater
http://tinybits.blogspot.in/2010/03/new-and-better-zoneupdater.html
as shown
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/onevent
regards
Taha
On Feb 19, 2013, at 3:05 PM, bhorvat wrote:
> Hm...I like the approach but I am not sure how ea
All the fields marked with @Persist(PersistenceConstants.FLASH) are cleared.
(Internally these fields are cleared as soon as the value is read from the
session)
regards
Taha
On Feb 19, 2013, at 2:49 PM, John wrote:
> Initially there will be no session, then after the first submit there will
Sorry but had never noticed it.
Please file a jira for this issue.
regards
Taha
On Feb 13, 2013, at 7:32 PM, sub wrote:
> I'm using the latest Tapestry Version 5.3.6
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Extra-closing-tag-for-input-elements-fails
What version of tapestry are you using ?
On Feb 13, 2013, at 7:11 PM, sub wrote:
> Hi,
>
> I have a template with a Html5 doctype:
>
> In this template, I've defined this textfield:
>
> maxlength="100" type="email" />
>
> which renders as this:
>
> type="email">
>
> This does not valida
Hi
Is this something you are looking for
http://tawus.wordpress.com/2013/01/07/changing-locale-based-on-domain/
regards
Taha
On Feb 8, 2013, at 7:09 PM, René Bernhardsgrütter wrote:
>> I've never heard of filters named "SetupRender" or "BeginRender" so I'm
>> pretty sure "before:SetupRender"
Hi
Just guessing... Another reason for this error can be if somehow there are two
PersistentClass instances mapped to the same entity. My guess will be some
hibernate inheritance problem. e.g. having the same DiscriminatorValue for two
different classes.
regards
Taha
On Jan 24, 2013, at 5:51
For template inheritance
http://tapestry.apache.org/component-templates.html#ComponentTemplates-TemplateInheritance
You should use the base package for base class.
regards
Taha
On Jan 17, 2013, at 7:57 PM, sommeralex wrote:
> Hi!
>
> I have two questions concerning page inheritance:
>
>
Hi
You can use another enumeration constant Language.NONE or use an html radio (as
a dummy button already selected) and it will be ignored.
For showing localized messages, you can use a message catalog as mentioned in
the documentation
http://tapestry.apache.org/current/apidocs/org/apache/tape
@Inject
private PageRenderLinkSource linkSource;
Object onMyEvent(){
Link link = linkSource.createPageRenderLink(Index.class);
link.addParameter("xyz", "abc");
return link;
}
On Jan 16, 2013, at 12:29 PM, mateen wrote:
> Hi,
>
> In my code after i validate the username and password
If autoComplete was having a context parameter you could have used the context.
:)
something I have done here
http://tawus.wordpress.com/2012/11/25/tapestry-and-editable-for-bootstrap/
regards
Taha
On Jan 4, 2013, at 10:13 PM, Thiago H de Paula Figueiredo wrote:
> On Fri, 04 Jan 2013 13:19:5
In my opinion never use @Persist in a reusable component. We have it in Grid
and it does create a problem when there are multiple grids on a page. Besides
you don't want a session at times and Grid doesn't help.
Pages can have @Persist e.g. you have a search page where you want the search
crite
Hi Alex
Consider this not as an answer but as a comment :)
I think the more I understand tapestry the less I used @Persist. I take it as a
challenge to minimize the use of @Persist and even have a count of number of
@Persist's I am using in a given application. I use context and have been able
Hi
It is a tomcat7 and Atmosphere issue.
This might help
https://groups.google.com/forum/?fromgroups=#!topic/atmosphere-framework/_qgyQ1BJK_Y
regards
Taha
On Jan 1, 2013, at 5:09 AM, bhorvat wrote:
> I have got a following problem that I am not sure how to solve. I believe
> that there is som
Try this.
http://tapestry.apache.org/configuration.html#Configuration-ConfiguringIgnoredPaths
On Dec 31, 2012, at 8:43 AM, 真实的力量 wrote:
> I want add "Instant Messaging" function to my app,
> I choose ActiveMQ as server side , I see ActiveMQ char example work well
> ,activeM-Ajax-Example
> Bu
Shouldn't the context be selectedQuote.pickupQuoteID not
${selectedQuote.pickupQuoteID}
regards
Taha
On Dec 19, 2012, at 6:54 PM, mateen wrote:
> In my app i have the following code
>
>
>
>
> t:rowsPerPage="5"
>t:inPlace="true" t:pagerPosition="top" add="action">
>
Session timeout is handled at the servlet level using session-timeout parameter
in web.xml
On Dec 12, 2012, at 4:03 PM, mateen wrote:
> How can i set the Session Time out and redirect the user the login page, when
> a timeout occurs ? I know in JSF i could centrally handle the session state
> f
Hi Bogdan
No sure if I understand you question correctly. From what I understand you can
use block parameters or
regards
Taha
On Dec 12, 2012, at 10:22 AM, bogdan_cm wrote:
> Hello everyone,
> How can I allow "Page" information to be part of the component markup
> output? Take for example
If you ready to go deeper, you can change a bit of tapestry-hibernate source
code to implement it (NOT TESTED)
1. Add a version field (annotated with @Version) to your entity.
2. Add a field version to PersistedEntity.
3. In EntityPersistentFieldStrategy, store version along with id and
entity-t
I don't think @Persist will work.
If you ready to go deeper, you can change a bit of tapestry-hibernate source
code to implement it (NOT TESTED)
1. Add a version field (annotated with @Version) to your entity.
2. Add a field version to PersistedEntity.
3. In EntityPersistentFieldStrategy, store
In my view
PROS :
1. Simple:- add dependencies, write a hibernate.cfg.xml and put it in your
resources directory and you are done.
2. Done tapestry style, you can inject Session into pages, components(I know
bad practise) or services.
3. Minimum configuration
CONS:
1. Tapestry can handle only
Hi
If your utility class is managed by the ioc, which seems unlikely, then you can
@Inject request and response into it.
regards
Taha
On Nov 26, 2012, at 9:55 PM, dkeenan wrote:
> Hi. I have a utility class that I call from within my application. Is it
> possible to access the current request
Hi
You can submit the form using javascript. Adding a simple inline attribute to
the select button can do the trick
onchange='this.form.submit()'
regards
Taha
On Nov 27, 2012, at 12:24 PM, Anbazhagan wrote:
> Hi,
>
> I am developing a web application. In my application I am using select
> co
tField dnsServerField, domainNameField;
>
>
> That's how I record my errors
>
>> testForm.recordError(field, "Please provide a valid IPv4 address.");
>
>
> I even tried making sure that I'm not recording an error twice for both
> fields (Since
Hi
Checkout the "for" parameter in
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Error.html.
You can specify a field there to retrieve error specific to that field
regards
Taha
On Nov 19, 2012, at 2:10 AM, Muhammad Gelbana wrote:
> I have a form that submi
I remember Josh telling me something like "and Thiago, he is just an answering
machine!!"
Great work Thiago!!
On Nov 6, 2012, at 10:01 PM, Thiago H de Paula Figueiredo wrote:
> On Tue, 06 Nov 2012 14:10:05 -0200, Kalle Korhonen
> wrote:
>
>> OT, but Thiago you really deserve a medal for tire
Try adding TapetryModule.class, TapestryIOCModule.class to the registryBuilder
using registryBuilder.add(..). (Although I think
IOCUtilities.addDefaultModules() does that.)
On Nov 6, 2012, at 8:25 PM, membersound wrote:
> Taha Hafeez wrote
>> registry = builder.build();
>
>
> Gives excep
Then override that column in the grid
${amount}
On Nov 5, 2012, at 8:28 PM, membersound wrote:
> Ok but this would apply coloring to the whole row.
> I'd just like to color a the specific output text of the property amo
Hi
Use Grid's rowClass parameter
public String getRowClass(){
return amount < 0 ? redColoredClass : greenColoredClass;
}
regards
Taha
On Nov 5, 2012, at 6:03 PM, membersound wrote:
> Hi,
>
> how can I apply simple coloring for a grid row text? Let's say an amount
> that should be green (+
Hi
You can create your registry and then access the registered services.
Registry registry;
public void setup(){
RegistryBuilder builder = new RegistryBuilder();
builder.add(AppModule.class);
IOCUtilities.addDefaultModules(builder);
registry = builder.build();
Hi Angelo
Yes this is not related to Tapestry. Hibernate caches the results for
efficiency(there are different levels of caches involved) and so what you do
directly with the database may not be updated in the cache for a while
depending on the cache configuration.
My advice would be not to up
hmm...I think it won't work in any way trying to get the annotation from the
> method where plastic already removes the annotation...
>
> 于 2012/10/22 18:34, Taha Siddiqi 写道:
>> May be get the annotation in the advisor implementation using
>> MethodAdviceReceiver#getMet
May be get the annotation in the advisor implementation using
MethodAdviceReceiver#getMethodAnnotation
On Oct 22, 2012, at 3:11 PM, Rural Hunter wrote:
> 于 2012/10/22 17:02, Taha Siddiqi 写道:
>> Did you try invocation.getInstance().getAnnotation() ?
> What is that for? I read the A
Did you try invocation.getInstance().getAnnotation() ?
On Oct 22, 2012, at 1:15 PM, Rural Hunter wrote:
> Hi,
>
> I have an annotation:
> @Documented
> @Retention(RetentionPolicy.RUNTIME)
> @Target(ElementType.METHOD)
> public @interface Audit
> {
>String operate() default "";
>String de
han to override the javascript stack I guess.
>
> On Thu, Oct 18, 2012 at 3:17 AM, Taha Siddiqi wrote:
>
>> Hi
>>
>> The formLoopRemoveLink does not check the return status but the removal is
>> done only on a HTTP OK(200) status.
>>
>> You can overri
Hi
The formLoopRemoveLink does not check the return status but the removal is done
only on a HTTP OK(200) status.
You can override this js method with your custom logic.
regards
Taha
On Oct 18, 2012, at 3:28 AM, Muhammad Gelbana wrote:
> Am I lucky enough to get a positive answer now that w
Hi Bhovat
I am not sure I understood the whole question but from what I understand, you
can use form context.
public boolean updateComponent(String whatever){
if(whatever){
...
}
}
regards
Taha
On Oct 18, 2012, at 2:38 AM, bhorvat wrote:
> I am having a bit of a problem that I w
Hi Ken
I think Lenny has been most polite to you by sending you a private message.
Although I do believe people can learn if they try(don't know about aviation
though :)) but your way is not the right way, IMHO.
Migrating a T4 app to T5 is not an easy job, especially when your T5 skills are
n
To add to what Alex has already said,
IMHO the main difference between Grails and Tapestry is the so called "MVC
architecture" vs component based architecture. Some developers are comfortable
with the former while some prefer the latter and that is a very important
factor for me.
I have wor
Please read http://tapestry.apache.org/forms-and-validation.html
You can use onFailure for handling any form submission failures. If you want to
perform a common operation on success and failure you can use onSubmit()
regards
Taha
On Oct 5, 2012, at 2:40 PM, Ditso wrote:
> Hi all,
>
> I am c
I think there is a hack... if your package name starts with "org" you can
contribute it to "core". No sure if it is possible now but I did it some time
back.
Remember, it is a hack :)
regards
Taha
On Oct 3, 2012, at 6:16 PM, Thomas Cucchietti wrote:
> Hello Thiago,
>
> I think that her probl
My point here is that you can't do it with tapestry-hibernate module but you
can always do it with "tapestry" and "hibernate". :)
You can take a look at https://github.com/tawus/tapestry5 where I have modified
tapestry-hibernate to work with multiple databases. If you can tweak it further
you m
If your databases are having same schema then multi-tenancy is an option.
http://docs.jboss.org/hibernate/orm/4.1/devguide/en-US/html/ch16.html
If there are completely different databases then I don't think you can do that
with tapestry-hibernate database. Tapestry-hibernate does not support mul
Hi
If it is a new application, you can try new multi-tenancy in hibernate or JPA.
On Sep 25, 2012, at 5:06 PM, esper wrote:
> Hi,
>
> here's the problem that I'm facing.
> I have a project with several databases (separate databases but the schemas
> are the same!).
> I want to decide which dat
Should Restrictions.eq("id",blog) be Restrictions.eq("blog",blog)
Also I would use blog as activation context in the second page. @Persist should
be avoided if possible.
On Sep 15, 2012, at 9:57 PM, JeffersON wrote:
> Restrictions.eq("id",blog)
Hi
You are using tapestry-jquery and trying to access a prototype library method.
Try bind instead of observe
regards
Taha
On Sep 17, 2012, at 4:00 PM, ZKN __ wrote:
>
> Thank you!
> I tried to implement this but not much success for now. I'm not really good
> at js and jQuery so perhaps I'
Hi
You can use the client event 'onclick' along with ZoneUpdater.
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/onevent
regards
Taha
On Sep 16, 2012, at 8:40 AM, gonzalomp87 wrote:
> The problem I have is that the function OnValueChanged only works when I
> select a difefere
Hi
Are you binding your service in the Module class ?
public static void bind(ServiceBinder binder){
binder.bind(Facade.class, FacadeImpl.class); //In case it is an
interface/impl
binder.bind(ImplBO.class) // In case it is a class
}
regards
Taha
On Sep 15, 2012, at 7:54 AM, Diego Barreto
Instead of using @RequestParameter, @Inject Request and use
request.getParameter("serverIndex")
I have used it with IE6 and IE7 and it worked. Not sure what the error can be
particularly with IE :)
WIth IE I debug less and pray more :)
Regards
Taha
On Sep 11, 2012, at 5:16 PM, Amr Mohamed Ma
hanged the filter name and the AJAX_UPLOAD_HEADER in your code. I think it
> should work. am I right?
>
> 于 2012/9/1 18:19, Taha Siddiqi 写道:
>> One way to handle it would be to contribute an override for
>> "AjaxUploadFilter" to HttpServletRequestHandle
One way to handle it would be to contribute an override for "AjaxUploadFilter"
to HttpServletRequestHandler with an empty implementation of
HttpServletRequestFilter
Some thing like
public static void contributeHttpServletRequestHandler(final
OrderedConfiguration configuration,
final AjaxU
Hi
you can either do a
Probes Health
or
// Return page name.
public String getMyDynamicPageProperty(){
return "admin/probehealth";
}
or
public String getPageUrl(){
return pageLinkSource.createPageRenderLink(ProbesHealth.class);
}
You are confusing the three.
PS: Have not looke
If you can share the project I can look into it.
On Aug 29, 2012, at 8:23 PM, Muhammad Gelbana wrote:
> I cannot disregard your post because It solved my problem :D
>
> But now you are saying that "InstructionBlocks" page is under "
> debitCardModule" folder which is under pages, but I still ca
Hi Muhammad
You should be able to access any page as long as tapestry finds it. (You can
check that using the startup logs).
Also are you adding manifest entry for 'Tapestry-Module-Classes' in your module
jars
http://tapestry.apache.org/autoloading-modules.html
regards
Taha
On Aug 29, 2012,
Hi
http://svn.codehaus.org/chenillekit/trunk/chenillekit-tapestry/src/main/java/org/chenillekit/tapestry/core/encoders/MultipleValueEncoder.java
regards
Taha
On Aug 23, 2012, at 9:06 AM, rmrajkumar77 wrote:
> Hi Taha,
>
> I am new to tapestry and am trying to build multi select box and i belie
Hi
This might help
http://tapestry.1045711.n5.nabble.com/T5-2-Zone-loading-progress-icon-td3207615.html
http://tapestry.1045711.n5.nabble.com/T5-progress-bar-in-a-grid-td5101565.html
regards
Taha
On Aug 17, 2012, at 5:06 AM, George Ludwig wrote:
> Christian,
>
> The thing is, I'm server-side
You can't. You can specify one and then use AjaxResponseRenderer to add more
zones to it.
Refresh
@InjectComponent
private Zone zone1;
@InjectComponent
private Zone zone2;
@Inject
private AjaxResponseRenderer ajaxResponseRenderer;
onSomeEvent(){
ajaxResponseRenderer.addRender("zone2", zone
The best way to learn how to do testing with tapestry is by looking at its
tests :)
I usually work on the service layer first. For service integration testing I
build and startup a registry in the setup() and then start testing the
services. (Look at tapestry-hibernate tests)
For components an
Hi
You are not going to get a fair comparison in a tapestry mailing list :). Try
it on stack-overflow.
IMHO tapestry-jquery has a lot of components and you can easily create a new
one . Also tapestry is a lot more than set of components. The power of
class-reloading, class transformations, mix
One solution will be
${row}..
${row}
@Property
private int index;
public Item getRow(){
return myList.get(index);
}
regards
Taha
On Aug 3, 2012, at 7:29 AM, Angelo C. wrote:
> I have this list of 10, and I need to have two loops for two tables in the
> page, one is from 1 to 5 and
What is url ? Is it a tapestry page or event.
For page you can use PageRenderLinkSource#createPageRenderLinkWithContext and
for event you can use ComponentResources#createEventLink...
On Aug 2, 2012, at 9:10 AM, Angelo C. wrote:
> thanks for the fast answer, it works, in a related question, i
Hi
You can use :-
@Inject
private PageRenderLinkSource linkSource;
@OnEvent(value = EventConstants.SUBMIT, component = "premiumForm")
public Object premiumSubmit(){
return linkSource.createPageRenderLinkWithContext(Info.class,
"whateverType");
}
or may be create a property "type" in "Info"
With @Symbol you must use @Inject too
@Proeprty
@Inject
@Symbol(SymbolConstants.PRODUCTION_MODE)
private boolean productionMode
BTW you can also use :-
${symbol:tapestry.production-mode}
regards
Taha
On Jul 28, 2012, at 2:19 PM, sommeralex wrote:
> Thank you all for your answers.
>
>
Nice and easy!!
Thanks Christian and thanks Tapestry :)
On Jul 27, 2012, at 6:27 PM, Christian Riedel wrote:
> This might be solved using a custom PropertyBinding and should look like
> ${json:property.name}…
> Challenge accepted!
>
> https://gist.github.com/3187796
>
>
> Am 27.07.2012 um
Why not pass page name instead of page instance.
In the component
@Parameter(required = true)
@Property
private String pageName;
and then you can use a pagelink in the component template
...
regards
Taha
On Jul 27, 2012, at 12:37 PM, ZKN __ wrote:
> Thanks guys.
> The way I did is define a
If you are using applicationStateManager then I don't think you need PerThread
service
On Jul 26, 2012, at 9:41 PM, Matías Blasi wrote:
> Thank all of you!
>
> That was the problem.
> It worked by asking for my SessionState object to the
> AplicationStateManager and setting my service as Threa
Hi Matias
@SessionState works for pages/mixins/components and not for service injection.
If you want to use session object in a service, you can use
ApplicationStateManager(get and set)
regards
Taha
On Jul 26, 2012, at 6:40 PM, Matías Blasi wrote:
> Hi all,
>
> I'm facing the following issu
Ah, you want to disable it in javascript. You will have to disable it on
page-load and then enable/disable it when user clicks on grids.
By enable/disable I mean to enable/disable the link/button displaying the modal
box. You can use $$ prototype function to match a complex css selection.
regar
If disabled parameter is true, the client scripts are not loaded. I think that
should disable the modalbox. Doesn't it ?
regards
Taha
On Jul 19, 2012, at 2:39 PM, Bob.Sky wrote:
> Hi, taha.
> Thank you for your code, I use it in my project, but I meet a problem now.
> I use this code to popup t
The exception usually occurs if you don't have a public constructor for your
service implementation. Can you share the code for implementation if that is
not the case.
Taha
On Jul 19, 2012, at 12:31 AM, bhorvat wrote:
>
> Kalle Korhonen-2 wrote
>>
>>
>> Are you using T5.3? If so, your JAX
Hi
For security I changed the order of the SecurityConfiguration in the
Application Module
public static void contributeHttpServletRequestHandler(
@InjectService("SecurityConfiguration") HttpServletRequestFilter
securityConfiguration,
OrderedConfiguration filters) {
Hi
You should take a look at Tapestry's LinkTransformer API
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/linktransform/LinkTransformer.html
Here is more than helpful Igor's post
http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/
regards
Taha
On J
Hi Igor
Nice cover. Couldn't see the underwear that a superhero, "Java" is supposed to
wear. I hope it is wearing one :)
Taha
On Jul 4, 2012, at 8:39 PM, Igor Drobiazko wrote:
> Hi all,
>
> i wrote a blog post about the progress on the Tapestry 5 book:
>
> http://blog.tapestry5.de/index.php/
1 - 100 of 135 matches
Mail list logo