I've added https://issues.apache.org/jira/browse/TAPESTRY-2037
On Jan 8, 2008 4:47 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> I'll have to look into whether there is a workaround for that
> ThreadLocal bug, and figure out a way to test this.
>
>
> On Jan 8, 2008 2:08 PM, jason lea <[EMAIL
What you /might/ be able to do (to avoid the java code), is to use var
here... I haven't played with the var prefix yet, so this is a "try
and see" idea. :) But. Something like:
,
$
{var:string}
If that works, you could even write your own DelimittedLoop component
and not have to du
Hi Chris,
may i advise you the listbinding from t5components ?
${element}
2008/1/13, Chris Lewis <[EMAIL PROTECTED]>:
>
> That would work of course, but I'd like to do something like this:
>
> delimit=", ">
>context="var:string">${var:string}
>
>
> And then each eleme
That would work of course, but I'd like to do something like this:
delimit=", ">
context="var:string">${var:string}
And then each element would be separated by my delimiter without any
extra java code.
Robert Zeigler wrote:
How about testing the value of index?
Something like:
.java:
pr
How about testing the value of index?
Something like:
.java:
private int index;
public int getIndex() { return index; }
public void setIndex(int i) index = i; }
public boolean isFirst() { return index==0; }
.tml:
,
$
{var:string}
Robert
On Jan 12, 2008, at 1/124:41 PM , Chris
Sorry, I missed the "check if first" part. How can you do such a check
in Loop? The "If" can test, but what can you test in a Loop? nothing
that I know of will tell you where in the iteration you are.
chris
Davor Hrg wrote:
just reverse where you write the ","
instead of checking if last and
That will just 'reverse' the problem (a leading comma instead of a
trailing one). Suppose I have a list of strings like:
{ "one", "two", "three" }
And a Loop to display:
context="${var:string}">${var:string},
This renders: one,two,three
If do as you suggest:
context="
just reverse where you write the ","
instead of checking if last and putting comma behind
check if first and put comma in front
Davor Hrg
On Jan 12, 2008 11:04 PM, Chris Lewis <[EMAIL PROTECTED]> wrote:
> So this ticket has been implemented in svn:
> https://issues.apache.org/jira/browse/TAPESTR
So this ticket has been implemented in svn:
https://issues.apache.org/jira/browse/TAPESTRY-2028
And now I need whitespace... so how can I get it back? Is there or isn't
there a way to disable this? Im using loop to output links (pagelinks),
and i have whitespace behind in the body so there is
Hi Grigoris
I will assume that your form is surrounding the @For component.
Advices:
* remove the updatePassenger it will confuse things.
* persist "passengerList" in the session
* populate "passengerList" on pageBeginRender
* add a "keyExpression" to the For component
* then save all the pas
Very good research.
On Jan 11, 2008 2:13 PM, Daniel Jue <[EMAIL PROTECTED]> wrote:
> I wanted to throw together a list of naming peculiarities (I hesitate
> to call them pitfalls), to put on the wiki.
> Some are documented on the API website, some of these are mailing list
> documented, some are o
Hi All,
I love T5.
However I'm not over the moon with being force-fed protoype/scriptaculous
when I'm developing say a dojo app, I don't want proto/scrpt downloaded as
well to do stuff that dojo can do, so here is my suggestion with dealing
with this.
Normally all the standard functionality is
Hi,
I had mistaken.
I had set 'hibernate.transaction.auto_close_session' instead of
'hibernate.connection.autocommit'.
But I encountered the same condition again when I set
'hibernate.connection.autocommit' to false.
--
org.hibernate.dialect.PostgreSQL
without java script impossible.
2008/1/12, harish v <[EMAIL PROTECTED]>:
>
> Hi all
>
> I am new to web development and tapestry.
>
> Please help/guide me to achive this
>
> I have check box headers (disabled ) as 1 2 3 4
> and from next row checkbox (not disabled)as5
i miss the autocommit property in your config
2008/1/12, osamuo <[EMAIL PROTECTED]>:
>
>
> Hi,
>
> Yes, I have.
> I created 'hibernate.cfg.xml' like the following.
>
> --
>
>
>
> name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect
>
>
> nam
Hi,
Yes, I have.
I created 'hibernate.cfg.xml' like the following.
--
org.hibernate.dialect.PostgreSQLDialect
jdbc:postgresql://192.168.0.103/Test
test
testtest
org.postgresql.Driver
net.sf.ehcache.hibernate.EhCacheProvider
false
true
true
true
tru
Hi all
I am new to web development and tapestry.
Please help/guide me to achive this
I have check box headers (disabled ) as 1 2 3 4
and from next row checkbox (not disabled)as5 6 7 8
and
Hi all,
I have a dynamic form where the user can set a dynamic number of passengers.
The html looks like:
Title
Name
Surname
Josh,
I've been looking for that! Thanks for the tip!
Andy
> This is configurable in Eclipse. Under Window | Preferences look at Java |
> Code Style there is a "Conventions for variable names" section where you can
> tell eclipse what your prefix/suffix preferences are... Then it will make
> ni
have you set autocommit to off in hibernate config
like this:
false
osamuo wrote:
>
> Hi,
>
> I used the following code in order to rollback the current transaction.
> But its transaction was committed after the calling
> HibernateSessionManager.abort().
>
> What's wrong?
>
>
sorry, wrote nonsense in last message.
the link dont be stripped, but the produced page effect
is the same:
page is unusable, firefox says:
Tapestry not found:
Tapestry.onDOMLoaded(function()
Sven Homburg wrote:
>
> same as here:
> tapestry strips the last "/>" at the end of the link tag
same as here:
tapestry strips the last "/>" at the end of the link tag
sample:
> I was playing around with the 5.0.8 snapshot and it looks like an effort
> has
> been made to compact the html. The problem is that it's a little
> over-zealous about the job and spaces between text nodes and eleme
Hi,
Can I use DWR for Ajax calls with my Tapestry5 application?
Thanks and Regards
Yeeswara N
DISCLAIMER:
---
The contents of this e-mail and any attachment(s) are confi
its an known bug,
i dont know if it cleared out in a newer release/snapshot
of tapestry
look in jira
2008/1/12, Mohammad Shamsi <[EMAIL PROTECTED]>:
>
> hi all,
>
> i have a actionlink my page like this :
>
> context="literal:secure/Home">${message:
> app.welcome}
>
> when i clik this link i jus
hi all,
i have a actionlink my page like this :
${message:
app.welcome}
when i clik this link i just see this url in browser without any content
http://localhost:8080/app/secure/home.layout.list/secure%2FHome
thats bacause of "/" in context variable. when i remove this "/",
application works
Hi Michael,
only for clarification: t5componets dont use extJs for now.
i have tried out to implement it some months ago, but i struggled
with diffrent prototype versions that tapestry/extJs used.
i think the best way to standardize the symbol abstraction is,
that howard (or any one else) implem
26 matches
Mail list logo