Hello everyone,
I need to write an application where multiple page contents should be
added in later via plugins - for example different ways to output
things, other payment modi, or statistics.
Currently I am reading into http://jpf.sourceforge.net/index.html, but
it is not necessairly a JP
Does that mean that for every persistent variable you have to write a
if (field == null) field = new Anything();
in the SetupRender? Is there no easier way?
Cheers,
Tobias
Marcel Sammut schrieb:
I had the same problem when moving to 5.0.16. It was pretty simple for me,
since what I was doing
the value.
For a good example of how to use checkboxes and radio buttons take a
look at this page example:
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/component/coreinputcomponents
Jayson
Tobias Wehrum wrote:
Hello,
while I've never worked with the Radio Co
I have three items: Blue, Green and Red.
So I want to print the value of "Colors" by selected item.
I need simple example.
2009/1/6 Tobias Wehrum
Hello,
I'm not seeing where you are using the Radio Component?
I suggest you take
Hello,
I'm not seeing where you are using the Radio Component?
I suggest you take a look at
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Radio.html
and combine it with your loop.
Hope that helped,
Tobias
Gutemberg A. Da Silva schrieb:
Hi guy
Sorry, my bad: I forgot to update with the project I tested it.
Andy Pahne schrieb:
Tobias Wehrum schrieb:
Hi,
URL encoding works fine for me:
[EMAIL PROTECTED]: abc%40abc.com
two words: two%20words
- Tobias
http://localhost:8080/oos/administration/task/list/type/two%20words
Response
Hi,
URL encoding works fine for me:
[EMAIL PROTECTED]: abc%40abc.com
two words: two%20words
- Tobias
Andy Pahne schrieb:
I have the same problem, except that my string contains a space
character. Regular URL encoding does not seem to work.
Andy
Angelo Chen schrieb:
Hi,
public Object
Hi,
the problem is not your pagelink, the problem is your stylesheet link.
When it trys to load, it seems to search in "viewMetadata/style.css",
thus being passed as an activation context which of course cannot be
coerced to long.
Anyway, in my opinion the best way to pass the stylesheet is
Hello namesake,
Since I've never heared about this too, I searched the Mailing List and
JIRA and didn't find any issue which you could've meant.
Where did you hear that?
- Tobias
[EMAIL PROTECTED] schrieb:
I have heard there are some issues with "Session bleedings" in Tapestry5.
Will those
Hi,
this may be related to
http://www.nabble.com/tapestry-5.0.15-NPE-by-loading-pages-tp20009941p20009941.html
Ulrich Stärk suggested there to use the 5.0.16-SNAPSHOT to try if the
problem vanished there.
- Tobias
Jack Nuzbit schrieb:
Hi All,
I've just switched over to tapestry 5.0.15 an
Maybe this, for example?
http://www.nabble.com/t5%3A-a-default-page-for-non-exist-path-tp18980767p18980767.html
- Tobias
Ulrich Stärk schrieb:
There has been some discussions about this in the past. I can't give you a
link without searching myself so I suggest you search nabble or markmail
for
Hi Thiago,
You don't need to use the list binding. Just use the prop binding: [...]
building the context in the java class seems somewhat cumbersomely to
me, and also a bit confusing, since you cannot directly see what context
the PageLink gets and have to lookup the method in the correspond
Same here. We have some sites too which need several parameters, and
furthermore not all of them are set at any given time. The list: Binding
used with null for empty parameters is an okay workaround, but having
any sort of named context parameters (though I don't know how they would
look like?
Hi Julien,
may I ask where the problem was and how you solved it?
- Tobias
Julien schrieb:
Hi,
Thanks for your reply, and sorry for my bad english (i'm french) ;)
Using the app.properties file isn't really a good solution for me,
since I replaced the default MessagesSource to used a databas
Hi Stephane,
ComponentResources.triggerEvent may be what you search for.
- Tobias
Stephane Decleire schrieb:
Hi,
I would like to be able to fire an event from one of my component to
tell its parent that a cache should be invalidated.
What is the way to do this in the Tapestry spirit ?
Than
Hi there,
a late answer, but maybe good to have in the archive when somebody
browses it:
1) You can use the method getMessages() of the service
ComponentResources to get the message bundle of the Template.
- Tobias
Filip S. Adamsen schrieb:
Hi,
Welcome to the list. :)
Regarding your que
easy workaround once
you know it), it is not yet resolved.
- Tobias
TNO schrieb:
No I didn't... and now it works
The third issue of Tapestry
Thanks a lot
Tobias Wehrum a écrit :
Hi Thomas,
do you have a global app.properties?
See https://issues.apache.org/jira/browse/TAP5-3
-
Hi Thomas,
do you have a global app.properties?
See https://issues.apache.org/jira/browse/TAP5-3
- Tobias
TNO schrieb:
Hi everybody,
I'm trying to localize my application, it works very well with
properties files for components or pages!
But when I try to use the application message catalog
CORRECTION:
"I spent some time with the debugger and it seems that
104: if (callback.isAborted()) return;
just doesn't get called"
would be
"I spent some time with the debugger and it seems that in
104: if (callback.isAborted()) return;
callback.aborted == false"
To
after the method in triggerContextEvent in 92
returns, the callback.aborted is false.
Anybody's got a clue what's going on here - or, even better, a solution?
- Tobias
Tobias Wehrum schrieb:
Hi there,
as the title suggests, I want to submit a form without refreshing the
page. I
Hi limonn,
to start Jetty, we use an org.mortbay.jetty.Server object started in a
simple public static void main - so we can debug our program like any
other java program too.
The "no restart needed"-Feature is enhanced by debugging the application
this way: When simply run, "no restart needed
Hi there,
as the title suggests, I want to submit a form without refreshing the
page. I don't even want to refresh a zone, but I need to specify a
javascript function handling the return value of my function.
While this is quite easy with normal HTML forms, I don't want to break
with Tapestry
Hi Christian,
after installing, I cannot switch from .java to .tml using Ctrl+Alt+X,
other way works.
- Tobias
Christian Scheid schrieb:
hey list,
just thought i let you guys know that i released a new (beta) version of the
loom plugin.
See http://loom-t5.googlecode.com for release notes.
Hi Andy,
do you mean http://87.193.218.134:8080/t5components/index.html ? Works
fine for me.
- Tobias
Blower, Andy schrieb:
The T5 components site has been down for a couple of days now, any chance of it
coming back up.
Hi there,
still developing my tree component, now I have a new problem.
My tree consists of a recursive list, each entry is a rendered block.
While this works great while being in the rendering phase (by returning
the correct block from my beginRender method, and looping said method by
return
Hi Fabio,
just use the literal binding:
context="literal:testing">Visualise test
(See
http://tapestry.apache.org/tapestry5/tapestry-core/guide/parameters.html
"Binding Expressions" for further reference. Standard for "context" is
"prop", as you can see here:
http://tapestry.apache.org/tape
Hi everyone,
is there any way to read the informal parameters a component received?
componentResources.getBlockParameter makes it easy for blocks - but how
can I do it with strings, for example?
Furthermore, is there maybe any way to get a list of the informal
parameters?
I looked in the sou
inRender and finish it in afterRender...
In the case you've laid out though, it might be easier to just create a
template.
Josh
On Wed, Jul 9, 2008 at 8:56 AM, Tobias Wehrum <[EMAIL PROTECTED]> wrote:
Hi there,
I am developing a tree component which can take several classes as nodes.
Hi there,
I am developing a tree component which can take several classes as
nodes. Each class should have it's own body, stored in parameters - and
then rendered, of course.
Now, lets say I have I have this code in my Test.tml:
---
Ah, sorry, it seems I was halfly asleep when I answered. I completely
misread your question. (And sure you are right about the identifier part.)
José Paumard schrieb:
Thank you for your answer Tobias, but it wont work, because a
component ID has to be a valid Java identifier.
José
Tobias
Hi José,
I currently have no time to test it, but did you try
t:mixins="autocomplete"/>
?
- Tobias
José Paumard schrieb:
Hello all,
I'm using a "component in a loop" T5 feature, that looks like this :
encoder="encoder" index="index">
t:value="message:e
e. is that
two t5components.jar physically
need to copy to the WEB-INF/lib?
On Thu, Jun 26, 2008 at 5:44 PM, Tobias Wehrum <[EMAIL PROTECTED]> wrote:
Hi Cyber,
in case you use Maven, just include the the dependencies in the POM. In
case you don't, just include the jars like any other j
Hi Cyber,
in case you use Maven, just include the the dependencies in the POM. In
case you don't, just include the jars like any other jar via
Project->Properties->Java Build Path->Libraries.
Did you try including the code shown at the demo page (
http://87.193.218.134:8080/t5c-demo/accordio
Hi CG,
something like this?
http://www.javascript-coder.com/javascript-form/javascript-form-submit-example.html
Not exactly an ActionLink, but it may be useable too.
Hope that helps,
Tobias
CG schrieb:
I would like to put an actionLink outside a form , and let user click
to submit the form ,
Why should fixing the bug "Groovy classes can no longer be used as
component classes because of the public metaClass field" make it harder
to work with Groovy and Tapestry?
Anyway... maybe https://issues.apache.org/jira/browse/TAPESTRY-2425 ?
Hugo Palma schrieb:
The news item for 5.0.13 state
You're welcome, glad it helped.
And now I know why I didn't see this message on the mailing list: The T5
in the subject was missing.
zack1403 schrieb:
On #tapestry, TobiasW suggested to add the columns through beanmodel instead
of in my tml which turned out to work just fine. Definitely look
Hi,
when I switch to the current T5.0.12-SNAPSHOT, I get the following
exception while starting:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tapestry/contrib/services/ImageService
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.private
Hi Martin,
with _grid.getSortModel().getColumnSort("month") you can test whether
month is sorted, and which way, and with updateSort("month") you can
cycle through the states.
To sort descending, I call:
-
Hi Jason,
last thing I've heard about it was:
http://www.nabble.com/Tapestry-5.0.12-td16847409.html
Howard said there: 'Tapestry 5 is getting very close to a next release
(which I think may even be a release candidate), but that's no reason to
ship it early. Let me continue to "use it in an
g some function reference replacement voodoo, but that's a
tad nasty. Perhaps this logic would be better factored into the
components. Any other thoughts, anyone?
Tobias Wehrum wrote:
Hi Chris,
first let me please thank you for the example you've written. It's
quite informative.
I'
Hi Andy,
maybe I'm leaning to much out of the window because I have not enough
Hibernate knowledge, but I don't think Hibernate stores its sessions in
the entities - more like vice versa storing references to the entities
in the session. (Don't count to much on my word - like I said, it's just
Hi Joshua,
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Form.html
Is the "zone" parameter what you look for?
If you mean BeanEditForm: According to JIRA (TAPESTRY-2280) it will have
one too in 5.0.12.
Hope that helps,
Tobias
Joshua Jackson sch
Hi Chris,
first let me please thank you for the example you've written. It's quite
informative.
I've discovered a problem with updating a zone - I think it's no problem
of your mixin, but you may have an idea how to fix it.
The problem is: When I use have an actionlink with the confirm mixi
Hi Bill,
do you mean ?
Tobias
Bill Holloway schrieb:
In a couple of places I have
Some interesting content.
My need is to to capture whatever the "body" of MyComponent is into a
block. Is there a better way to accomplish this?
--
you need - I
tend to implement both), and add "location" to your model.
IIRC, you will need to build your model in code to say that the
"location"
column is sortable.
Jonathan
-Original Message-
From: Tobi
, Tobias
Thanks for reply.
I am newbie of customizing grid component.
I guess what you mean like this?:
But exception message still exists: "Bean editor model for User does not contain a
property named 'location_city'".
Thanks!
DH
- Original Mess
Hi DH,
you can teach Location a standard way to be outputted by overwriting the
toString() function of Location.
Now you can output the String returned by toString() simply by including
"location".
If you want to output different properties of Location and not in one
cell, I think you will
Hi Filip,
it's good to hear that it is just a leftover, so I can ignore it and
stop wondering.
Thanks again for your help!
Tobias
Filip S. Adamsen schrieb:
Hi,
On 2008-04-15 19:13, Tobias Wehrum wrote:
Thank you, Filip!
Looking through the page you suggested, I found the missing pie
tatus");
}
--
And now it works! :)
Just because I'm curious: What does contributeTranslatorDefaultSource
do? Using it didn't seem to have any effect.
Tobias
Tobias Wehrum schrieb:
Hi there,
yes, maybe I caused confusion. To furthe
r class. I don't know what else there is to do, then.
-Filip
On 2008-04-15 18:41, Filip S. Adamsen wrote:
Hi,
You might need to add a new property editor, see Adding New Property
Editors at
http://tapestry.apache.org/tapestry5/tapestry-core/guide/beaneditform.html.
-Filip
On 2008-04-1
Hi there,
I have a class named "Status" which implements toString(). But still
when I have class A, which has a property of type Status, I always have
to add the Status property to the BeanModel with model.add("myStatus").
Obviously implementing toString() isn't enough to teach my the BeanMod
Sorry, I forgot: Tapestry 5.
Tobias Wehrum schrieb:
Hello,
in my template, I'm using a grid similar to this simplified model:
${someFunctionGeneratingSomething}
When i comment out the parameter block, it is significantly faster
compared to
Hello,
in my template, I'm using a grid similar to this simplified model:
${someFunctionGeneratingSomething}
When i comment out the parameter block, it is significantly faster
compared to when getSomeFunctionGeneratingSomething() is called. (When
it costs 2 seconds to show
Hello there,
I have a t:beaneditformwith multiple selectObject components (custom
component;
http://wiki.apache.org/tapestry/Tapestry5HowtoSelectWithObjects ), each
in a t:parameter.
Now when the value of the first selectObject changes, I want the (two)
other t:parameter to be updated. Whil
Regards,
Tobias
Tobias Wehrum schrieb:
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
Hi there,
just to let you know, I now figured out what the problem was: I was
still using T5Components 0.5.10, and I suppose that refered to
org.apache.tapestry.internal.services.ClassNameLocator. Updating to T5C
0.5.11 solved this problem.
Regards,
Tobias
Tobias Wehrum schrieb:
It
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 P
loads correctly. (But a whole lot of others
occurs on the sites, presumably due to missing hibernate configuration,
so this is not even usable as work-around.)
Regards,
Tobias Wehrum
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
est
and Jetty shouldn't, or what should the filter do?
Thankful for every hint,
Tobias Wehrum
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I do not know how to fix this error, but maybe this helps searching:
Add "-Dtapestry.production-mode=false" to your JVM arguments to get the
detailed exception again.
Regards,
Tobias
Tim Sawyer schrieb:
Hi,
I've just upgraded my app from 5.0.6 to 5.0.10 and I have the following error.
W
Hi there,
I seem to have a basic problem with testing with the
AbstractIntegrationTestSuite. While it starts up and runs the test, said
test always fails because no matter which URL I open, the source is always
- a blank page.
My testing file looks like this:
Hello Thiago,
Well, in Tapestry 5.0.6, if you just add a column using BeanModel.add,
it doesn't show any label, unless you have a -label
entry in your app.properties.
Don't even have such a property file, but yes - it shows a label (just
tried it again to make sure). In your example down th
ge it, but giving null, an
empty string or a whitespace results in a tapestry exception stating
"Parameter label was null or contained only whitespace".
Regards,
Tobias
Thiago H de Paula Figueiredo schrieb:
On Fri, 14 Dec 2007 13:57:54 -0200, Tobias Wehrum
<[EMAIL PROTECTED]> wrote
Hello everyone!
Is there a way to add extra rows to a BeanEditForm and extra columns to
a Grid - rows / columns which doesn't represent a property of the given
model? I need it to edit or show values which are relevant for the
model, but like I said not included in it, as well as present links
Tobias Wehrum schrieb:
Hello everyone!
Is there a way to add extra rows to a BeanEditForm and extra columns
to a Grid - rows / columns which doesn't represent a property of the
given model? I need it to edit or show values which are relevant for
the model, but like I said not included
erty
customer from start because it doesn't know how to render it. If I try
to override the presentation of another property, this other property
will be overwritten with the correct content.
How can I solve this? Is there any way to tell the BeanEditForm
enium. As a convenience, it
implements all the methods of the Selenium interface (buts adds
improved exception reporting). That interface has changes since
0.8.1.
On Nov 15, 2007 10:08 AM, Tobias Wehrum <[EMAIL PROTECTED]> wrote:
Hi there,
I have a problem including the AbstractIntegrati
Hi there,
I have a problem including the AbstractIntegrationTestSuite in my little
tapestry application. Maybe the solution is easy, but being a newbie to
java development in general and Tapestry as well as Selenium in
particular doesn't help at all to solve it - so I ask you.
The code is as
the Loop component to point to this property.
However, IntegerRange is an internal class, so be aware that it is
free to change at any time.
Or you could return a List or int[] of the desired values
from the method.
On Nov 6, 2007 9:02 AM, Tobias Wehrum <[EMAIL PROTECTED]> wrote:
Hi a
Hi all,
I am currently working with the tutorial 1 at the Tapestry 5 homepage (
http://tapestry.apache.org/tapestry5/tutorial1/hilo.html ).
Now, one of the further tasks there is "As we guess, we're identifying
ranges of valid and invalid numbers. Can you only show valid guesses to
the user?
70 matches
Mail list logo