Ron, enought shure.
now i've put into the template ognl:components.editTable.id and it works,
but i don't like this solution very much. This evening I'll try again
component:editTable and let you know.
Ciao,
kiuma
On 11/26/06, Ron Piterman [EMAIL PROTECTED] wrote:
Sure you didn't forget
Hey guys,
Actually i found a different solution which is outlined in Kent Tong's book.
I totally missed it (Kent: Please put Checkbox in the index so we can look
at the example easily!!)
Basically, you put an ad-hoc invoke listener inside the for loop. The for
loop sets the currentBean per
in the page
http://tapestry.apache.org/tapestry4/UsersGuide/configuration.html
there under the section
Web deployment descriptor
there is this line
As /WEB-INF/name/name.application. The name is the servlet name. This
location is only used in the rare case of a single WAR containing
multiple
One thing to keep in mind with this type of problem is whether this
email will ever be seen outside the context of a web request, will you
have have to send the email via a batch process? I ended up doing my
email in velocity due to this requirement.
Cyrille37 wrote:
Hello all,
I still
Hi,
I am now a big fan of tapestry annotations since everything stays neatly in
one place, except in one area which still bothers me. I want to specify
assets like stylesheets and such in a Border component that can be used by
the rest of the pages and the whole app looks uniform and so on and
Replying to my own post -
The way to do this would be to define a TextField with validators -
@Component(type=TextField,bindings={validators=validators:pattern=%zip-pattern[%zip-message],
value=zip})
public abstract TextField getZipCodeField();
Found it here -
You could implement
http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/IAsset.html
esp. the buildURL method and make it work the way you like
You could also spare creating assets for css, and include them in your
Border the html way...
If you're on 4.1.x versions, this
You are mixing between creating assets and defining them.
The annotation is defining an asset, and what you probably want is
create a new one on the fly.-
To do so, you need to inject one of the AssetFactory services from here,
and use it to create one on the fly...
I second that advice. After 30-45 minutes of following their online
demo, you can have JMeter up and running and simulating dozens of users
with form input, logins, etc.
http://jakarta.apache.org/jmeter/
http://jakarta.apache.org/jmeter/usermanual/index.html
-Original Message-
From:
Some tool that I like much more than Jmeter (although I have to admit
that it is quite some time ago I last checked it) is Microsofts Web
Application Stress Test tool.
You can freely download and use it:
http://www.microsoft.com/downloads/details.aspx?FamilyID=E2C0585A-062A-4
We do something similar; you can have your @Border *always* pull in a
single stylesheet that has a single line:
@import (http://your.style.server/blah.css;)
You host blah.css off Apache (or Tomcat, or whatever) outside of the
context of your webapp and change at will. You can use nested
That looks like a bug to me. When I envisioned multi-application support, I
expected it to work the way you are stating.
Try creating a .page file for each page, even if it is empty (in
WEB-INF/browse and WEB-INF/admin). That may shock Tapestry into finding
the template properly.
On 11/27/06,
As usual I recommend The Grinder
http://grinder.sourceforge.net/index.html
--- Detlef Schulze [EMAIL PROTECTED] wrote:
Some tool that I like much more than Jmeter
(although I have to admit
that it is quite some time ago I last checked it) is
Microsofts Web
Application Stress Test tool.
I have 4 different tapestry apps in one war, working successfully.
From what I see below, you need to, change
url-pattern/browse/app/url-pattern
to
url-pattern/browse/url-pattern
and
url-pattern/admin/app/url-pattern
to
Hi,
Apologies for this being seen as slightly off topic.
I'm trying to link my tapestry Application to the online payment provider
NoChex.
They provide an interface page which I must forward to in order to pass
responsibility for the currency transfer to them, this is either:
GET
May I ask a little more about what your application does? Is it just a
shopping cart?
I have written tapestry applications that integrate to payment providers
(payproflow, skipjack and cybersource), and currently on adding this feature
to a security framework that I have written that will
and the maven2 repository
http://howardlewisship.com/repository/com/javaforge/tapestry/tapestry-spring/
2006/11/22, Massimo Lusetti [EMAIL PROTECTED]:
And the archives...
On 11/22/06, James Carman [EMAIL PROTECTED] wrote:
Use anonymous/anon.
--
Massimo
http://meridio.blogspot.com
Sure, no problem...
I only want to sell a single item at a time for the moment (each has a buy now
option).
For the present time, a basket will just confuse the process, so I'm just
dealing with the movement of the price account to pay across to the payment
provider website.
I'll check the
Hi,
I am building a page where I have a abstract component that is working on a
list of articles in a form. The user should be able to check/uncheck each
and everyone of the list content with checkboxes. The question is how do I
work with checkboxes in a abstract component? How do I get the value
Gurps wrote:
Hey guys,
Actually i found a different solution which is outlined in Kent Tong's
book. I totally missed it (Kent: Please put Checkbox in the index so we
can look at the example easily!!)
Do you have the page number in Kent Tong's book for the checkbox example?
Thanks,
Have you looked at the source code of
org.apache.tapestry.contrib.form.MultiplePropertySelection
?
MultiplePropertySelection is an abstract form
component that renders its checkbox ?
Shing
--- jake123 [EMAIL PROTECTED] wrote:
Hi,
I am building a page where I have a abstract
component
No, but I am looking at it right now,
Have you worked with this component your self? Do you have any example on
how to use it?
Thanks,
Jacob
Shing Hing Man wrote:
Have you looked at the source code of
org.apache.tapestry.contrib.form.MultiplePropertySelection
?
There is an example on
MultiplePropertySelection at
http://lombok.demon.co.uk/tapestry4Demo/app
In case you did not know, in the contributed library,
there are also simliar componets :
CheckboxGroup, ControlCheckbox and ControlledCheckbo
Shing
--- jake123 [EMAIL PROTECTED] wrote:
No,
Hi Shing,
I have looked in to the MultiplePropertySelection component. They all look
fine, but the problem is that I am working in a Abstract Component because
the DTO object I have in the web layer is a complex structure and I need to
iterate through one list to get the actual list that will
During render, have you considered extract the list
from your DTO object and then pass the list to
MultiplePropertySelection ?
During rewind, do the oppose.
Shing
--- jake123 [EMAIL PROTECTED] wrote:
Hi Shing,
I have looked in to the MultiplePropertySelection
component. They all
I dont know how to do that...this is how part of my abstract component look
like now:
if (menuItemIdList != null menuItemIdList.size() 0) {
writer.begin(ul);
writer.attribute(class, categories);
for (Long menuItemId :
I'm seeing an exception page that only happens if i hit reload multiple
times in succession very quickly - the page looks fine otherwise. I'm
running tapestry 4.0.1 on solaris, jdk 1.5.0_06. Any ideas?
org.apache.hivemind.ApplicationRuntimeException
Could not find a strategy instance for
Somebody,
http://www.springframework.org/docs/api/org/springframework/aop/support/
DelegatingIntroductionInterceptor.html
I would like to use a Mixin to know when an object from a List has been
modified so I don't have to save the entire list.
I use Spring Introduction AOP advisor to
sure: page 330 to 334. section called Adding a Delete checkbox
jake123 wrote:
Gurps wrote:
Hey guys,
Actually i found a different solution which is outlined in Kent Tong's
book. I totally missed it (Kent: Please put Checkbox in the index so we
can look at the example easily!!)
Thanks, Sam. This was helpful. It turns out that if I directly call
.updateComponent on the PropertySelection, then it works. If I wrap the
PropertySelection in a span jwcid=[EMAIL PROTECTED] and call
.updateComponent
on the span, then the updated component in the span loses its listener. I
Good to know. I do that a lot. Thanks.
--sam
On 11/27/06, Mark Reynolds [EMAIL PROTECTED] wrote:
Thanks, Sam. This was helpful. It turns out that if I directly call
.updateComponent on the PropertySelection, then it works. If I wrap the
PropertySelection in a span jwcid=[EMAIL PROTECTED]
Thanks guys!
I think I will just go with the putting it in html solution. The only
problem with this is that it creates two head elements, since I use @Shell.
BTW, I couldnt find import component or annotation. Can you please point me
to any documentation that you have.
Thanks,
Srini.
On
Srinivas Yermal wrote:
Thanks guys!
I think I will just go with the putting it in html solution. The only
problem with this is that it creates two head elements, since I use
@Shell.
http://wiki.apache.org/tapestry/CustomTagsInShell
BTW, I couldnt find import component or annotation. Can
still no go..
my directory structure is this
/admin/Home.html (Admin in h1 and title)
/browse/Home.html (Browse in h1 and title)
/WEB-INF/admin/Home.page
/WEB-INF/browse/Home.page
both contains the same thing
?xml version=1.0 encoding=UTF-8?
!DOCTYPE page-specification PUBLIC
-//Apache
34 matches
Mail list logo