Hi, again.
My Tapestry (1.0.15)
oops, My Tapestry is 5.0.15.
Ken.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All,
I tested the simple Hibernate example (
http://wiki.apache.org/tapestry/Tapestry5HowToUseTapestryHibernate) quite a
while ago with T5.0.11. Now I restarted studying Tapestry, tried the
application now with 5.0.15. It seems that the application can read from the
table, but cannot insert
Hi,
I'm learning T5 and like it quite much. Is there something like a blueprints
application? I found examples which all focus on a certain aspect of
Tapestry, but I think it would be advantegous to have a more complex example
with usual things a web application has to provide. Is there something
Thanks!
Quoting Ulrich Stärk [EMAIL PROTECTED]:
Select is what you want. The HTML specs specify a size attribute for the
select HTML element which indicates how many entries should be displayed
at a time. size=1 (default) would be a dropdown list.
HTH,
Uli
Am Mo, 6.10.2008, 11:33, schrieb
Thanks. I have already.
The docs say Allows a render variable of the component to be read or
updated. Updated how, when? What is a render variable? A variable in a
template without a corresponding property? But I want to SET a property
of my component from the template...
As far as I can see it
Hi
thanks for the info, with @CommitAfter it works :) I just included the
close() to see if something happens :) That way I got an exception at least
:)
thanks again!
Cheers,
Janos
2008/10/6 Davor Hrg [EMAIL PROTECTED]
you should post the errors you get,
and, also methods that save data
Hi,
If I want to set some property from within the component template is
that possible in Tapestry 5? Something like the c:set tag is JSP jstl?
Or do you just write a set component and have it as a property of the
containing component?
Cheers
Russell
hi Russell,
take a look at the var: binding
http://tapestry.apache.org/tapestry5/guide/parameters.html
g,
kris
Russell Brown [EMAIL PROTECTED]
06.10.2008 12:07
Bitte antworten an
Tapestry users users@tapestry.apache.org
An
Tapestry users users@tapestry.apache.org
Kopie
Thema
T5:
Pierre-Alain RIVIERE wrote:
Hello,
[...]
Using this code I've got a NPE when ApplicationStateManager try to get
the HttpSession : http://pastebin.com/m1f968817
In debug mode, request.getSession() throws NPE.
Hello,
I just attempt to upgrade from T5.0.14 to T5.0.15 and now, I have the
Hi again,
I made some investigations into the matter. Here's my modified onAction
method from the page class HbAction:
public void onAction() {
Hello h = new Hello();
h.setMessage(Hello World);
_session.save(h);
List list =
Hi all!
I am musing about a little project where there is for example a simple
chatserver in the background and a frontend built with tapestry where a
small portion of the page is used as chatwindow.
I don't want to use Webstart or an applet but just plain T5.
Has anyone already done serverpush
Hi,
See Jumpstart:
http://files.doublenegative.com.au/jumpstart/home.html
On Mon, 6 Oct 2008 12:05:50 +0200, János Jarecsni
[EMAIL PROTECTED] wrote:
Hi,
I'm learning T5 and like it quite much. Is there something like a
blueprints
application? I found examples which all focus on a certain
you should post the errors you get,
and, also methods that save data should have
@CommitAfter annotation now.
...and you need not close the session
it will get closed automatically,
and that is actualy the reason the exception occurs
Davor Hrg
On Mon, Oct 6, 2008 at 11:23 AM, János Jarecsni
Is there no such thing as a Select List in T5?
I see pallete and select, but they aren't suitable (I have a long
list of data that I want selectable - only one selection at a time -
in a scrolling list).
thanks,
p.
-
Select is what you want. The HTML specs specify a size attribute for the
select HTML element which indicates how many entries should be displayed
at a time. size=1 (default) would be a dropdown list.
HTH,
Uli
Am Mo, 6.10.2008, 11:33, schrieb [EMAIL PROTECTED]:
Is there no such thing as a
9902468 wrote:
This is starting to look more and more like Jira issue? Any new info on this?
Hello guys,
I encounter almost the same error when I try to access ApplicationState
service from a RequestFilter. Do you have any new on that topic ? Did
you open a ticket on the subject ?
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
thanks, it seems this is what I was after :)
2008/10/6 Andy Huhn [EMAIL PROTECTED]
Hi,
See Jumpstart:
http://files.doublenegative.com.au/jumpstart/home.html
On Mon, 6 Oct 2008 12:05:50 +0200, János Jarecsni
[EMAIL PROTECTED] wrote:
Hi,
I'm learning T5 and like it quite much. Is
Hello,
Maybe it's related but 5.0.14 gives me the same result here.
But the use case seems to be the same : contributing a RequestFilter
with the ApplicationStateService thrown a NPE.
And no solution or hack for now. Too bad cause my webapp is just a
simple upload manager for my own purpose.
Em Mon, 06 Oct 2008 07:05:50 -0300, János Jarecsni
[EMAIL PROTECTED] escreveu:
Hi,
I'm learning T5 and like it quite much. Is there something like a
blueprints application?
The Ars Machina Project Example Application
(www.arsmachina.com.br/project/example) was meant to be exactly like
Em Mon, 06 Oct 2008 09:01:48 -0300, Russell Brown [EMAIL PROTECTED]
escreveu:
As far as I can see it is only of use in a loop in which case it is set
at the start of the iteration. How about iteration idioms that involve
setting a value at the end of the iteration to be used by the next
Em Mon, 06 Oct 2008 09:19:57 -0300, Otho [EMAIL PROTECTED] escreveu:
Hi all!
I am musing about a little project where there is for example a simple
chatserver in the background and a frontend built with tapestry where a
small portion of the page is used as chatwindow.
I don't want to use
if you use the var: prefix in your template you do not need a
corresponding property in your page/component. and you
can use this variable in your template multiple times (as in the
loop example). tapestry will generate a property on the fly
during rendering for this variable.
if you declare
Ok...an example
In jsp
c:forEach items=${someList} var=myItem
varStatus=counter
c:if test=${!empty someVar}
somemarkup attr=$someVar}/
/c:if
someothermarkup/
c:set var=someVar value=${myItem.myProperty}/
/c:forEach
So in the above example I have a variable
Em Mon, 06 Oct 2008 11:01:34 -0300, Russell Brown [EMAIL PROTECTED]
escreveu:
In jsp
c:forEach items=${someList} var=myItem
varStatus=counter
c:if test=${!empty someVar}
somemarkup attr=$someVar}/
/c:if
someothermarkup/
c:set var=someVar
Am Sa, 13.09.2008, 22:36, schrieb Howard Lewis Ship:
On Sat, Sep 13, 2008 at 2:54 AM, Ulrich Stärk [EMAIL PROTECTED] wrote:
- localization for translators is still missing:
https://issues.apache.org/jira/browse/TAPESTRY-2457 (in fact I tried to
bring this to your attention several times but
I get it. Thanks.
-Original Message-
From: Thiago H. de Paula Figueiredo [mailto:[EMAIL PROTECTED]
Sent: 06 October 2008 15:28
To: Tapestry users
Subject: Re: T5: equivelent of c:set ?
Em Mon, 06 Oct 2008 11:01:34 -0300, Russell Brown
[EMAIL PROTECTED]
escreveu:
In jsp
c:forEach
hi Jon,
thanks much for the feedback, i assumed acegi will do all hard
work/encapsulate those like password encryption login and other unauthorized
access to the pages? because with normal implementation, i need to do one
way encrypt myself to authenticate user for example. does acegi do that?,
Use dwr's reverse ajax... it's great!
http://directwebremoting.org/dwr/reverse-ajax
If you download the sample war it has examples including a chat application.
Dwr3.0 is soon to be released with a whole lot of reverse-ajax niceness.
2008/10/6 Thiago H. de Paula Figueiredo [EMAIL PROTECTED]
in my html,
---
form jwcid=@Form
div jwcid=@Insert value=ognl:allProducts raw=ognl:true /
/form
in my java, pageValidate,
--
setAllProducts(span jwcid=\@Insert\
value=\message:com.test.productcode\/);
when reader
i need to dynamically create jwcid tag inside @insert tag. that's the reason i
use this approach. how to make tapestry render the tags inside @insert
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Put me on the me to List ;-)
We have a (very possible) project where the customer want's us to
use Struts2 - but we hope we can convince him to Tapestry5.
But if localization is still such an issue, this will be really hard...
Max
PS: I already voted long time ago...
-Ursprüngliche
First enabling raw will send whatever you give it out without
conversion. Turning off raw will escape the HTML tags, not what you
want either. I don't think that sort of thing works in Tapestry. You
could try using a @Block / @RenderBlock pair. You could have an OGNL
expression provide
Thiago H. de Paula Figueiredo schrieb:
Em Mon, 06 Oct 2008 11:32:01 -0300, Ulrich Stärk [EMAIL PROTECTED]
escreveu:
https://issues.apache.org/jira/browse/TAPESTRY-2457 (in fact I tried to
Voted and watching this issue. But I think its description speaks only
of Translators, but the
Wesley,
I would rather spend two hours figuring out how to use a well thought out /
designed / tested tool that will pay off in the long haul than spend one
hour doing a one-off solution to an immediate problem. I didn't save time
the first time I used Acegi, but I really do save time now.
I created a custom component for displaying a selection list of
countries. However, I have found that the only way for me to retrieve
what the selection is from the component is to declare a @Component to
that particular field and then request the value directly from the
component. Is
What is the final result you are trying to achieve?
Norman gave a number of good options, but it would help to know your end
objective.
Jonathan
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of mike
Sent: Monday, October 06, 2008 13:37
To:
Hi,
I currently work on an open source cms/ecommerce project called Igenko
(http://code.google.com/p/igenko/). Its core is a java library that is
based on Spring/Jackrabbit JCR/Jboss JBPM technologies, and that is
not linked to a specific view layer.
We have currently have a simple GUI
Em Mon, 06 Oct 2008 18:03:13 -0300, Keith Bottner [EMAIL PROTECTED]
escreveu:
I created a custom component for displaying a selection list of
countries. However, I have found that the only way for me to retrieve
what the selection is from the component is to declare a @Component to
that
Em Mon, 06 Oct 2008 19:14:40 -0300, Bouiaw [EMAIL PROTECTED] escreveu:
1) RESTful URL handling
As I would like to manage RESTful urls like
(http://mywebsite.com/channel/1/content/2/ or
http://mywebsite.com/user/sdeleuze/), I need to implement my own URL
resolution and not Tapestry5 default
Or your allProducts could call OGNL directly and
parse the expression in your .java class.
can you explain on this.. aren't this is what i did in my example and it does't
work?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
let me share my solution.. ya. using @BlockRender will work. the only problem
is if your generated html is too complicated using @blockRender is not so easy.
so what i do is, i remain my existing code and for action button, i create
another page and hidden in current page as iframe. this way,
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 methods
43 matches
Mail list logo