Hi,
I just observed that if I add a JS library to two different stacks and
import them in a page, that asset is added to the page twice.
This happens because JavaScriptSupportImpl does check for duplicate
stylesheets (L 327) and stacks (L 294) but not for duplicate scripts. Is
that expected or
Taha has done a blogpost on a component that sounds like what you are
looking for.
In this blogpost (
http://tawus.wordpress.com/2011/12/28/multivalue-autocomplete-for-tapestry)
he creates a component based on this library
http://loopj.com/jquery-tokeninput/
Cheers,
Lance.
On Saturday, 3 March 2
Download the tapestry source and take a look at how the label component
works. The label component usually appears before the component it is
labelling and therefore needs to use @HeartbeatDeferred to get it's
associated component's clientId at the end of the heartbeat.
On Sunday, 4 March 2012, Pa
The javascript stack concept exists so that the stack remains constant and
can be cached by the client's browser.
You are now asking to break this contract and have stacks be dynamic based
on what components are on a page which would eliminate the ability to cache
them in the client's browser.
I
Hey there
For my project I need two chained select boxes.
I followed the example shown in the API
(http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Select.html),
but used my own SelectModel for my custom value type.
It all looks nice, but when I submit the form,
Are your selects in a loop ?
2012/3/5 Beat Durrer
> Hey there
>
> For my project I need two chained select boxes.
> I followed the example shown in the API
> (
> http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Select.html
> ),
> but used my own SelectModel fo
Hi Giulio,
No, they are not. The form is really straight forward as in the example:
Next
2012/3/5 Giulio Micali :
> Are your selects in a loop ?
>
>
>
> 2012/3/5 Beat Durrer
>
>> Hey ther
Hi,
sorry, but i have my problems to realize that :-(
I inserted in the AppModule follow:
@Contribute(SymbolProvider.class)
@FactoryDefaults
public static void
contributeFactoryDefaults(MappedConfiguration
configuration)
{
configuration.add(JQuerySymbolConstan
Set the value in a contributeApplicationDefaults method instead of
contributeFactoryDefaults
Demey Emmanuel
Le 5 mars 2012 à 12:23, resign a écrit :
> Hi,
>
> sorry, but i have my problems to realize that :-(
> I inserted in the AppModule follow:
>
>
> @Contribute(SymbolProvider.class)
>
Interesting isn't it :D
How would tapestry gurus put a test for tapestry ? Discussing such
questions and the topics they encounter will guide me to the important
parts of tapestry I haven't tackled yet and will help me interview new
tapestry developers too.
Thanks a lot.
--
*Regards,*
*Muhammad
Just a wild guess. If any method is called before validating the form
returns a value that should re-post the form, your field will be null if
it's not persisted.
So for example, is the submit button handling method returning anything or
is it void ?
Try *@Persist*ing your field, if it's not null,
On Sun, 04 Mar 2012 10:45:05 -0300, Taha Hafeez Siddiqi
wrote:
I usually use the html tags and assign the component type using
t:type='MyComponent'. The only other place 't:' is required is with
component id('id') and mixins. For other attributes you can skip the
prefix.
Yep. I use inv
On Sun, 04 Mar 2012 20:25:12 -0300, Paul Stanton
wrote:
On 29/02/2012 12:13 AM, Thiago H. de Paula Figueiredo wrote:
No, you're using the t:id (server-side Tapestry component id) to
retrieve the component, so it may not have its clientId set yet.
Thiago,
Hi!
If I'm using the server
On Mon, 05 Mar 2012 08:23:15 -0300, resign wrote:
Hi,
sorry, but i have my problems to realize that :-(
I inserted in the AppModule follow:
@Contribute(SymbolProvider.class)
@FactoryDefaults
public static void
contributeFactoryDefaults(MappedConfiguration
configuration
On Mon, 05 Mar 2012 08:42:37 -0300, Muhammad Gelbana
wrote:
Interesting isn't it :D
How would tapestry gurus put a test for tapestry ? Discussing such
questions and the topics they encounter will guide me to the important
parts of tapestry I haven't tackled yet and will help me interview new
Hi,
I have a tml page called portfolio.tml and in corresponding java
portfollio page I have written this following to save the values in cookies
public class Portfolio {
@org.apache.tapestry5.ioc.annotations.Inject
private Cookies cookies;
public Portfolio() {
cookies.writeCo
...then something is misspelled.
your project name doesn't matter - it must be the page name that has to be
equal to the properties (and .tml) name.
I created projectname.properties file in the thought that it would support
all the tml pages but it din't?
If I have 40 pages in my project and I w
Never use a page constructor for initialization . Use onActivate()
Sent from my iPhone
On Mar 5, 2012, at 6:24 PM, karthi wrote:
> Hi,
>
> I have a tml page called portfolio.tml and in corresponding java
> portfollio page I have written this following to save the values in cookies
>
> publ
Thanks.
--
public static void
contributeApplicationDefaults(final MappedConfiguration configuration)
{
configuration.add(JQuerySymbolConstants.JQUERY_UI_DEFAULT_THEME,
"context:themes/smoothy/css/custom-theme/jquery-ui-1.8.18.custom.css");
}
was the ri
If your application module is AppModule then you can put your common properties
in /WEB-INF/app.properties.
Sent from my iPhone
On Mar 5, 2012, at 6:35 PM, karthi wrote:
> ...then something is misspelled.
> your project name doesn't matter - it must be the page name that has to be
> equal to t
Thank your reply...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-display-special-characters-in-tml-page-tp5527308p5537546.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Hi Howard, here's the stack trace caused by ?t:lb
Input string '?t:lb=t' is not valid; the character '?' at position 1 is not
valid.java.lang.IllegalArgumentException: Input string '?t:lb=t' is not
valid; the character '?' at position 1 is not valid. at
org.apache.tapestry5.internal.services.URLEn
Taha Hafeez wrote
>
> I was looking for something like rails migration and came across
> https://github.com/spreadthesource/tapestry5-db-migrations. It looks
> promising. I have a few queries about it :-
>
> 1) Is it being actively maintained as the last commit was 9 months ago.
>
> 2) It is ba
Hi,
I am getting problem in browser back button, after logout when I press
browser's back button
home page show for few seconds and then it go to login page.
I am new in Tapestry and using Dispatcher for authentication. I got the code
from tapestry-jumpstart or some blog. please check the code:
p
I could assemble binaries looking from here http://mvnrepository.com/ but it
would be a lot convenient if someone of you had it made already?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-binaries-tp5537651p5537806.html
Sent from the Tapestry - User mailing l
Thanks for that Link, it got me thinking and solved my issue :)
A missing @Persist on the property combined with an onActivate method
which always resetted the ValueEncoder/SelectModel was the issue.
My data comes out of a Database, I wrote a ValueEncoder which only
holds the values of the current
Hi
The browser back button usually shows an offline page till you refresh it. So,
I don't think it is an issue as long as you are not able to access any secure
links from there.
Also does your logout page perform a Session#invalidate(), as it will ensure
that the session is cleared.
Finally,
Welcome to the world of transient dependencies! tapestry-hibernate
dependens on (some version of) Hibernate and picks up dependencies
from there.
On Sun, Mar 4, 2012 at 5:20 PM, Paul Stanton wrote:
> Further to this, it also depends on a very old version of xml-apis (1.0.b2)
> via dom4j.
>
>
> O
Hi
I have worked on a few projects recently where "non-tapestry" developers were
using tapestry. The result was a mixture of C++, jsp, spring-mvc and what not,
all written in tapestry :). What I mean to say is that a person may get things
working in tapestry but still not know how to use tapest
Also check out this thread on the same topic (back button).
http://tapestry.1045711.n5.nabble.com/Browser-Back-Button-td4909542.html#a4917143
The reply from Vangel is very detailed and explanatory.
Cheers,
Dragan Sahpaski
On Mon, Mar 5, 2012 at 5:49 PM, Taha Hafeez Siddiqi <
tawus.tapes...@gma
Hello, everyone. Does anyone of you have Tapestry 5.3. binary library? If so,
please feel free to share with us a link to that.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-binaries-tp5537651p5537651.html
Sent from the Tapestry - User mailing list archive a
There seems to be a bug in the localization of the bean validation error
messages.
When I start my server locale is "de" and the client locale is "en" the
message is displayed in German "First Name kann nicht null sein".
I guess the bug is in BeanFieldValidator#interpolateMessage - this calls
Mes
If you have good questions you can add them to smarterer.
http://smarterer.com/test/tapestry5/questions/new
:)
On Mon, Mar 5, 2012 at 4:42 AM, Thiago H. de Paula Figueiredo
wrote:
> On Mon, 05 Mar 2012 08:42:37 -0300, Muhammad Gelbana
> wrote:
>
>> Interesting isn't it :D
>> How would tapestry
Hi George, I still have the problem. I don't understand the underlying code
of the frameworks so i can't find the code that is working wrong, so the
clientside validation is the only way to "solve" it.
We would file a JIRA to get help (i dont saw any similar issue registered
), what do you think?
Well it seems to be working (multiple times, so it's finding the
zone/component to render) as is, however I'd prefer to implement
something that should work rather than something that just happens to work!
Is lance's suggestion regarding @HeartbeatDeferred a better idea? I
can't figure out ho
On Mon, 05 Mar 2012 16:27:30 -0300, Paul Stanton
wrote:
Well it seems to be working (multiple times, so it's finding the
zone/component to render) as is, however I'd prefer to implement
something that should work rather than something that just happens to
work!
If the component isn't i
George ; don't expect a response without supplying real useful data
(that Tapestry itself provides), such as the URL, the Java and/or
JavaScript code responsible, snippets from the template, etc.
See http://catb.org/esr/faqs/smart-questions.html
On Mon, Mar 5, 2012 at 6:32 AM, George Christman
w
The next release of Tapestry will include a binary download.
On Mon, Mar 5, 2012 at 7:14 AM, TechniciuM wrote:
> I could assemble binaries looking from here http://mvnrepository.com/ but it
> would be a lot convenient if someone of you had it made already?
>
> --
> View this message in context:
Hi Howard, see snippets, js, url's below. Let me know if I could provide
anything else.
CompanyTree.class Component called from layout component.
@SessionState
private CompanyInfo companyInfo;
@Inject
private Session session;
@InjectPage
private Index index;
@Prope
Thank you for your reply onActivate() method solves my problem, However
constructor is used to prepare the variables that are required by the class
i.e., for initialization purposes right? then what is wrong with that
constructor, Why the cookies are not get initialized inside constructor?
--
View
The lifecycle of pages, components & mixins are maintained by Tapestry. That is
why it provides you with these render phases hooks.
regards
Taha
On Mar 6, 2012, at 10:54 AM, karthi wrote:
> Thank you for your reply onActivate() method solves my problem, However
> constructor is used to prepare
Hi,
Am 05.03.2012 11:41, schrieb Lance Java:
The javascript stack concept exists so that the stack remains constant and
can be cached by the client's browser.
You are now asking to break this contract and have stacks be dynamic based
on what components are on a page which would eliminate the ab
42 matches
Mail list logo