The ugly way out of this is to output the comments using
and in java
public String getCommentStart(){
return " html comments -
> tapestry
> does not evaluate markup in html/xml comments.
>
> felix
>
> Kristian Marinkovic schrieb:
>> never did this myself, but i think this should work
pages and components in it's own pools, and you can mark
content that can be cached with @Retain annotation.
I hope this gives some ideas,
- Ville
cfineman wrote:
>
> We have an app that's an aggregation of several 'components' (not yet
> written in Tapestry... using
Is someone still using own mail to receive these :)
I've used nabble for a while, and it really rocks. Try it out
http://www.nabble.com/Tapestry-f302.html
- Ville
Piero Sartini-4 wrote:
>
> On Freitag, 1. Mai 2009 19:04:53 Otho wrote:
>> The perfect solution and topping
Provide the hibernate configuration if it is missing.
If not, please attach the stack trace so we can take a look at it.
- Ville
aldana wrote:
>
> hi,
>
> I am facing problem described in
> http://www.nabble.com/Hi-Lo-tutorial,-HIbernate-cfg-errors-td22230480.html.
>
Forgot to mention that the PageRenderLinkSource is not part of T5.0.18, It
was introduced later.
- Ville
Ville Virtanen wrote:
>
> Hi,
>
> Two solutions:
>
> 1. Use PageLink in tml. (And supply the context to it from the java class)
>
> 2. Use Page
Hi,
Two solutions:
1. Use PageLink in tml. (And supply the context to it from the java class)
2. Use PageRenderLinkSource (return
PageRenderLinkSource.createPageRenderLinkWithContext(WriteMsg.class,
Object... context);)
Neither requires injected page.
- Ville
Angelo Chen wrote:
>
&
Hi,
I have javascript that depends on Tapestry.decimalFormatSymbols. How can I
ensure that those symbols are added to page?
Could there be annotation that would trigger it?
- Ville
--
View this message in context:
http://www.nabble.com/-T5--Tapestry.decimalFormatSymbols-tp23175562p23175562
e works so this might not apply, but I've noticed that
this is best practise for our apps w/ hibernate.)
- Ville
JoelG wrote:
>
> This might help... PageLoaded ...
> http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/annotations/PageLoaded.html
>
>
>
Could you attach a simple page that reproduces this?
- Ville
daniel joyce wrote:
>
> I find that if my template uses a field in the backing model java file
> that hasn't been inited yet, it throws exceptions in when rendering.
>
> Is there a reason the tml file is ren
construct it in the
page based on the data that resident contains (So that one encoder is
created per resident for the profiles loop.).
Add the encoder and if this doesn't work attach the associated java code
snippet also
- Ville
Chuck Kring wrote:
>
> Hi all,
>
>
you code, but
it does clearly add value. We are 100% committed to Tapestry 5 and will be
using and recommending it for upcoming projects.
- Ville
Ps. What I stated above is my experience in the firm I work for. On top of
that I have developed wholesale trade software system on my own for
ori
Hi,
if you rely on onActivate, you surely have the corresponding onPassivate
also?
It should work if you do have the onPassivate. If not, please post some code
so we can check it.
- Ville
daniel joyce wrote:
>
> I have a datagrid that is embedded in a page. Its datasource is built
ents."
T5 puts some link tags before meta tags, so the META tags wont work..
How can I achieve this?
- Ville
--
View this message in context:
http://www.nabble.com/Ordering-of-meta-tags-tp23065095p23065095.html
Sent from the Tapestry - User mailing list archiv
ponent
private TextField text1;
.
.
.
renderSupport.addScript("document.getElementById('%s').focus();",
text1.getClientId());
- Ville
wesleywj2 wrote:
>
> hi,
>
> i'm trying to do an automatic focus on 1 of 3 textfield input upon the
> page render.
>
> s
s to the asset, which gives error Tapestry does not exist.
Hunt down the stack trace from production and attach it here. Do you also
have tomcat, and develop in windows + deploy to linux?
- Ville
Ps. We're experiencing this randomly, and for us this is not browser
dependent.
Steve Eynon w
Hi,
definitely worth Jira issue. Many fields require (all?) maxlength validation
&& are not required.
We aren't using any client side validation as all those balloons drove our
clients crazy :)
- Ville
leechj wrote:
>
> Sorry to bring this up againbut I wasn't able
: (label gets null for parameter) - givin only some T5 internal
stacktrace or the unsupported form of compression..
Hope this helps,
- Ville
Andy Blower wrote:
>
> Another day, another couple of stumbling blocks for our applications
> migration to T5.1 - I can't believe this has
Two possibilities that I can see:
http://tapestry.apache.org/tapestry5/guide/conf.html and
tapestry.suppress-redirect-from-action-requests. Otherwise T5 will send
redirect to browser and the url in the browser changes.
Other is some url re-write magic.
- Ville
Angelo Chen wrote:
>
&
I suggest that you create JIRA issue and attach
.tml and .java files that replicate this with explanation.
- Ville
Łukasz Jazgar wrote:
>
> 5.0.18
>
> 2009/3/24 Ville Virtanen :
>>
>> What version are you using?
>>
>> - Ville
>>
>>
>> Łuk
What version are you using?
- Ville
Łukasz Jazgar wrote:
>
> 2009/3/24 Ville Virtanen :
>>
>> Hi,
>>
>> double check that the boolean is not primitive _anywhere_, as then
>> assigning
>> null to it would coerse the value to false witch is the defa
Hi,
double check that the boolean is not primitive _anywhere_, as then assigning
null to it would coerse the value to false witch is the default in Java if
it is unknown.
The other option is that the type coersion system in T5 handles null values
incorrectly?
- Ville
Łukasz Jazgar wrote
n I have time (if it is not solved yet) but atm my work is
too crazy...
- Ville
Code that crashes: (AbstractMarkupModel, 94)
public void encodeQuoted(String content, StringBuilder builder)
{
int length = content.length(); <---
Ville Virtanen wrote:
>
> Hi,
>
[]{});
where resolver is ComponentClassResolver and linkSource is LinkSource.
Still, you have to use internal services atm :(
- Ville
Andreas Pardeike-2 wrote:
>
> On 21 mar 2009, at 18.19, Robert Zeigler wrote:
>
>> What's more is that it makes absolutely no se
Ok,
now when you put it that way it is clear :)
- Ville
Robert Zeigler wrote:
>
> This is already clear.
> Stuff in org.apache.tapestry5.services,
> org.apache.tapestry5.ioc.services, etc. can be injected. (For that
> matter, org.apache.tapestry5.internal.services
Here is an example of an confirm dialog that intercepts the users click and
displays question "proceed?" to the user. If that was what you are after?
http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained
- Ville
Jorge Saridis wrote:
>
> Ville, I did vote
>
&g
Hi,
Please vote the JIRA issue https://issues.apache.org/jira/browse/TAP5-558
I created that because in my opinion T5 is missing real usable dialog
component currently. (It should be part of the main distribution imho.)
- Ville
Jorge Saridis wrote:
>
> Hi, does anybody know if there
It would be great if the documentation (javadoc) for an example would state
this clearly in every service interface documentation IF the service cannot
be used in another service.
Now you just need to know which services are "special".
- Ville
Thiago H. de Paula Figueiredo wrote:
&
your
application.
- Ville
Francois Armand wrote:
>
> Ville Virtanen wrote:
>> Hi, [...]
>>
>
> Have you find any solution ? I have the same concern as you especially
> when working with dispatcher that redirect to T5 pages under certain
> condition.
>
Hi, and thanks for the input.
I'll debug it, but currently other project that I'm working on is nearing
release so I'm tied to that one pretty much atm.
And I promise I'll try to get the alpha and RC names correctly in the future
;)
- Ville
luther.baker wrote:
Hi,
We are constantly getting this stacktrace on some of our views. Nothing, and
I mean nothing else is visible. The normal T5 error page doesn't come up
etc. Only this stacktrace. Using 5.1.0.1-20090305.090208-13 everything works
ok.
Does anyone know how to trace this or dig deeper?
-
page? The
name strongly suggest that this service should be only injected to a page or
component and used there?
Can I use it safely in another service, or in AppModule or filter?
- Ville
Peter Stavrinides wrote:
>
> Yes, see org.apache.tapestry5.ComponentResources:
>
Hi,
Can I create page render link or component event link using public
interfaces?
Currently my code uses the internal LinkFactory which was changed to
LinkSource? And at one instance it was using PageRenderRequestParameters as
input but now again something else...
I do redirects in a very low
on.java:403)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
Ville Virtanen wrote:
>
> Has something changed regarding the client side data encoding? I just cant
> grasp what
Has something changed regarding the client side data encoding? I just cant
grasp what I'm doing wrong, and earlier it worked so I'm really stumped
here..
- Ville
Also, now some of our views are giving this stacktrace, any insight on this
one? After this FireFox says it cannot sho
are there and
from what I can tell working correctly.
If I use the old "use a hidden field" method copied from howtos wiki,
everything works ok.
Is anybody else getting this? Is something else changed that could affect
this?
- Ville
--
View this message in context:
http://www.nabble.
Feedback from customers indicate that this sometimes is work blocker, as "the
system won't let me change the date and I cannot do anything" so, I think
this deserves a JIRA.
(Calendar should use the date if it is parsable, if not just ignore it and
replace it when user chooses a d
If my memory servers me right T5 was having these problems all the way to
5.0.15 or 16, but today all of those are fixed afaik.
- Ville
titöf wrote:
>
> Hi!
>
> We encountered a "small" problem in the way tapestry detects changes of
> tml's and classes which
Check MySQL documentation, MyISAM tables DO NOT support TRANSACTIONS OR
FOREIGN KEYS...
(the correct one is innodb, use
configuration.setProperty(Environment.DIALECT,
MySQL5InnoDBDialect.class.getName()); to force Hibernate to use inno db
tables when creating database...)
- Ville
Kejo
apestry id. Dont know if that is
generally advisable, but I've used it couple of times. (This of course works
only if you need just the ids to client side.)
- Ville
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Sometimes if you want to assign the id an not let the DB do it for you it is
good to be able to have null values. Also checkin whether the object is
already saved can be achieved by just checking id != null.
Primitive int defaults to zero without initialization?
- Ville
Ulrich Stärk wrote
You should be ok polling now with your page instance whether the task is
ready by asking it from the PercentageCompleteHandler in the session, but
remember _not_ not lose reference to the PercentageCompleteHandler as that
is your view to the executing thread.
- Ville
HugoPalma wrote:
>
&g
Hi,
google is your friend:
http://www.google.fi/search?q=css+input+submit
Three first articles all fullfill your needs.
- Ville
kace wrote:
>
> Hi fellas,
>
> this isnt a T5 question but hoping someone can help out.
>
> I am looking to style buttons
>
>
that example should be extended a bit so that
the thread source takes also the thread progress inspector which can tell
you how many percent the task is complete...
- Ville
HugoPalma wrote:
>
> I have an operation that needs to be executed that could take a couple
> of minutes and so i
getModel() { return model; }
- Ville
tapestryphoto wrote:
>
>
> My grid data required a model. In copying this in from an example I had:
>
> @SuppressWarnings("unchecked")
> @Property
> @Retain
> private BeanModel _myModel;
>
> The ke
Hi,
Also take a look at PageAttached.
(http://tapestry.apache.org/tapestry5/guide/lifecycle.html)
- Ville
Chris Lewis-5 wrote:
>
>
>
> James Sherwood wrote:
>> Hello,
>>
>>
>>
> Hi.
>> I have security through page Activate.
>>
>
Hi,
It sounds like an addition that would be good to have when implementing
non-standard persistence strategies.
- Ville
Ps. I'm very interested in the results Kalle if you care to share? (Or
Kristian for that matter. Would it be possible to add a project to
tapestry.formos.com?)
Ok, it uses currentMillis inside the session to differentiate the
conversations. It works, but as we are seasoned T5 users we expect
everything to just work without all that scary java code :)
- Ville
Ps. Seriously I appreciate greatly your effort and just want to say Thank
you. (I've le
But still the wizard example requires session in some form and thus the same
conversation in two tabs scenario is not possible?
- Ville
Geoff Callender-2 wrote:
>
> It would be great if Tapestry provided a really nice clear solution to
> conversation state (and continuations), b
conversation id from the filter to the persistence strategy?
This implementation could also be per client tab and not at all dependent of
the session etc.
Just some quick thoughts..
- Ville
Kalle Korhonen-2 wrote:
>
> I don't know if there's a better thread for discussin
fields etc. in the loop.)
- Ville
jgn wrote:
>
> Thank you, It works :). I think that I won't have any problem because I do
> not have fields on the loop, just LinkSubmit components, thank you.
>
>
> Fernando Padilla wrote:
>>
>> by default t:loop seria
Hi again.
Should have read the documentation properly: the clientid is available only
after the component has rendered itself.
Sorry for bothering, I'll close the JIRA now.
- Ville
Ville Virtanen wrote:
>
> Hello all.
>
> I have opened JIRA with instructions to replicat
Hello all.
I have opened JIRA with instructions to replicate. See
https://issues.apache.org/jira/browse/TAP5-438
for more information.
- Ville
Ps. Can someone please confirm that this replicates, or is it just my
environment? It's hard to believe that this kind of bug would have
Forgot to mention that I'm using 5.0.18.
- Ville
Ville Virtanen wrote:
>
> Hello,
>
> I have a mixin that takes two Any components as parameters. As long as the
> Any components are *before* the mixin in the template everything is ok,
> but if I move the Any component
Element is always null if the mixin is before the anyElement in the
template. Should the any component do some initialization there if
anyElement is null?
- Ville
The mixin:
@Parameter(allowNull=true,defaultPrefix="component")
private Any sumField;
@Parameter(allowNul
with the option to use different hosts for the systems in
the future. My needs are synchronous, so no async allowed.
- Ville
--
View this message in context:
http://www.nabble.com/-T5--Exposing-part-of-T5-service-using-RMI-tp21254013p21254013.html
Sent from the Tapestry - User mailing list archi
onFailureFromDownloadFile()
and if you want to execute only when there are no validation errors use
onSuccessFromDownloadFile()
submit event will fire regardless whether there are validation errors or
not.
- Ville
Gerry Chen wrote:
>
> Thank dalahoo !
>
> I use T5.0.16 JA
You can have interface parameters, but the problem here is that you define a
parameter of type PageDelegate, and try to assign a default value of string
"false" to that parameter. Perhaps you meant @Property(required="false") ?
- Ville
Maximilian Weißböck wrote:
>
&g
.
- Ville
Ps. I have filed issue to T5 commons website, so hopefully it will be fixed
soon.
Joachim Van der Auwera wrote:
>
> Hi,
>
> When I run my application in 5.0.15 everyting works just fine.
> In 5.0.16 (and also 17) I get an exception saying "No object of type
&g
-to live reload document,
that clearly explains what conditions must be met prior live reloading
works.
- Ville
Ps. We have NetBeans 6.1 + jetty, tomcat 6 or glassfish with either ant
build process or maven depending on the project.
Thiago H. de Paula Figueiredo wrote:
>
> Hi!
>
>
that, but that would be the path that I would
take. No guarantees though :D
- Ville
BarryDev wrote:
>
> Hi all,
>
> I've completed the hi/lo and address tutorial and I'm not trying to write
> a simple chatroom to learn some more about tapestry.
>
> My basic
ever the user does to
the client to move to another page stops the javascript that is sending the
"still alive messages".
You're going to have to write some custom js to do this, there isn't needed
functionality in T5 that would do this AFAIK.
- Ville
BarryDev wrote:
&g
nd analyze the
results. I've had all sorts of really mind boggling problems with multiple
different versions of certain library in the classpath.
This can be T5 bug also, but lets close all the easy doors first :)
- Ville
mdes wrote:
>
> Hi Ville,
> thanks a lot for your quick repl
deeper insight?
- Ville
mdes wrote:
>
> Dear all,
> I need your help because I don't understand the real cause of my problem.
>
> I injected one page, say AnotherPage, in MyPage.java.
> When I try to use one of the setter methods of AnotherPage to pass a value
> conta
by T5.
Same applies to components.
Also instance variables are cleaned if not marked with @Retain when page is
returned to page pool.
- Ville
toby78 wrote:
>
> I have heard there are some issues with "Session bleedings" in Tapestry5.
>
> Will those issues be fixed by Novemb
Hi, and sorry for my bad English :)
I meant that I re-invented the wheel, not you. And yes, there are no links
that can submit without js. I wrote those comments after a 12 hour work day.
I should never do that again :D
- Ville
Joachim Van der Auwera wrote:
>
> Ville Virtanen
ormSupport" component which is correctly
intergrated. Otherwise it does nothing." disclaimer.)
- Ville
Joachim Van der Auwera wrote:
>
> equanda-tapestry5 includes a link component which submits the page to
> assure the entered state is not lost.
>
> http://equanda.org/
here:
http://tapestry.apache.org/tapestry5/guide/pagenav.html.
I also made the context optional, so now you can satisfy all your submitting
needs with one button :)
Enjoy! (And remember to tell of any bugs etc..)
- Ville
--
View this message in context:
http://www.nabble.com/-HOWTO--Context-and-page-
cannot know which page will
contain the component. (It can be configured in database.)
- Ville
Ps. I resolved this by extending the submit context component
(http://wiki.apache.org/tapestry/Tapestry5SubmitContextComponent) that I
earlier modified to work with 5.0.12. Now developer can return
PROTECTED] This type of event does not
support return values from event handler methods.
- Ville
dhning-2 wrote:
>
> From your former mail, my understanding on your case (correct me if I am
> wrong): your page has a form, and the form contains your component, and
> your compon
Yes it must be, otherwise it won't work.
The submit event that is triggered by the form in the page does not bubble
to my component and I can't use the selected event triggered by the button
in my component because that event does not support return type of page
class.
- Ville
"onSuccess" redirect, as my component does
not define form and hence it doesn't receive the on submit event.
I think it is pretty standard to have a button to redirect to another page
after submit.
Am I missing something totally obvious?
- Ville
--
View this message in context:
http:/
Just
bind(@Inject @Symbol("some.identifier") String someSymbol)
I think. This initiates the construction of symbolsource, which in turn
calls the contribute in your appmodule which initiates the construction of
the PropertiesFileSymbolProvider which reads the file.
And btw, I would recommend h
The localized js validation must be there, not very serious solution if it
supports server side localization, but not client side :)
+1 too for localized translators and js validation.
Marcelo Lotif-2 wrote:
>
> And me too.
> Here, we're using a javascript + onToClient and onParseClient metho
I have no new info on this, and I think we should add ticket to get this
sorted. (If it is something we do wrong -> correct the documentation or then
it is a bug that needs a fix anyway.)
Currently I'm just fetching the values from context by hand.
The reason behind this however is likely to be
Hi, I too miss ognl, but your point is very good. At first this new way seems
limited, but I agree that testability makes for it.
(And one could argue that you dont have to learn yet another language to
implement your logic.)
Also, refactoring is a bit easier again.
Thanks,
- Ville
using ognl under the hood?) This is something I
desperately need answer to. (Or then I must rethink some portions of the
software...) Thanks, Ville
Ps. Sorry if this is double post, sent the first one before subscribing to
list, so that one should have gone to bith
using ognl under the
hood?)
This is something I desperately need answer to. (Or then I must rethink some
portions of the software...)
Thanks,
Ville
_
Lataa 30 ILMAISTA hymiötä Windows Live Messengeriisi!
http://www.livemess
101 - 177 of 177 matches
Mail list logo