ing s, Instrumentation instrumentation) {
}
public static Object getAgent()
{
return null;
}
}
On Sat, Mar 27, 2010 at 2:02 PM, Peter Kanze wrote:
> Hello I have a working webapp with Tapestry 5.2 running with Google
> Appengine.
>
> But when I add a simple form like this I ge
Hello I have a working webapp with Tapestry 5.2 running with Google
Appengine.
But when I add a simple form like this I get the error shown below.
First Name:
Last Name:
12:58:00,625 ERROR
[org.apache.tapestry5.services.TapestryModule.RequestExceptionHandle
Does anyone have a working pom.xml file, so I can use the latest tapestry
5.2.0-SNAPSHOT en download all its dependencies.
Hello
The default for the absolute maximum number of page instances is 20.
Does this mean 20 users can request the same page at the same time? I am
rebuilding a website that has at peaktimes around 100 users per second,
requesting the same page (home page)..
Should I then maximize the page-pool.
Sorry my fault. I solved it.
I didn't used id="mailForm" instead of t:id='"mailForm"
Thanks anyway!
Peter
On Thu, Apr 2, 2009 at 4:24 PM, Peter Kanze wrote:
> Hello
>
> I have a tabset, that works with a zone and blocks.
>
> In one block I have a
Hello
I have a tabset, that works with a zone and blocks.
In one block I have a form to send mail and in another block a form for
registration.
De problem is that I cannot catch submit in the correct onSuccessFrom...
Form.
I can only catch the submit events in a general onSuccess() method. But
Can someone explain the error below?
The page is loading correctly, but when I hit the search button I get this
error.
the onPrepare is the last method, after that I get the exception.
java.util.NoSuchElementException
# java.util.AbstractList$Itr.next(Unknown Source)
#
org.apache.tapestry5.core
xamples/navigation/onactivateandonpassivate/3
>
> http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/whatiscalledandwhen
>
> Regards,
> Geoff
>
>
> On 01/04/2009, at 9:30 PM, Peter Kanze wrote:
>
> To be more clear I added a basic page with a simple form.
>
(int nr) 2
getInputString()
Thanks,
Peter
On Wed, Apr 1, 2009 at 10:50 AM, Peter Kanze wrote:
> Hello
>
> Today I noticed that when I submit a form by clicking the submit button,
> tapestry first calls the onActivate and then the onSuccesFromMyForm.
>
> Is this normal tapestry
Hello
Today I noticed that when I submit a form by clicking the submit button,
tapestry first calls the onActivate and then the onSuccesFromMyForm.
Is this normal tapestry behaviour? What is the reason behind it?
See my output after I clicked the submit button:
onActivate(String categoryName, i
Hi Otho,
What company are you talking about?
And are there also companies located in Europe?
On Sat, Mar 28, 2009 at 8:22 AM, Otho wrote:
> The price difference between virtualized and full servers isn't that big
> anymore. I run a dual core opteron with 3 gigs or ram and 2 mirrored 250gig
Hello
Yes indeed,
this.activeTabId = 'tab4'
On Fri, Mar 27, 2009 at 10:12 PM, Howard Lewis Ship wrote:
> Do you mean:
>
> this.activeTabId = 'tab4'
>
> ?
>
> If not, there's your answer.
>
> On Fri, Mar 27, 2009 at 11:35 AM, Peter Kanze
Hello
Why is this working:
if (element.up().id == 'tab4')
element.addClassName('active');
And this not:
if (element.up().id == this.activeTabId) {
element.addClassName('active');
And this.activeTabId = tab4
See here the full javascript code:
var ActiveStyle = Class.create();
ActiveSty
emplate and set the src attribute to
> ${imagePath}
>
> img src="${imagePath}"
>
> Hope this helps,
> Daniel
>
>
> Peter Kanze wrote:
> >
> > Hi Daniel,
> >
> > Thanks for your example. I tried this one, but the Object onImage is
> never
Hello
At the top of the page I have a search form where a user can search on
product description, category etc..
The result list of products (generated below the search form) also contains
a pager component..
Like this Page: 1 | 2 | 3 | 4 | 5 | 6 ... | 11 | 12
When I click on a page link (page
Hello
I have a pagelink that point to this /products/computer/5
In my Products.java I have two onActivate methods. See below.
When I click the pageLink I can see that both onActivate are called.
Because this is printed to the output console:
onActivate(String categoryName, int pageNr)
onActivate:
> On Fri, Mar 20, 2009 at 9:34 AM, Peter Kanze wrote:
> > I have a component at the top of the page for navigating to my "main"
> > pages..
> > This works perfect, see the xhtml code below.. But the problem is that I
> > want the clicked navigate link to g
Hello
I have a component at the top of the page for navigating to my "main"
pages..
This works perfect, see the xhtml code below.. But the problem is that I
want the clicked navigate link to get an class="active" attribute.
How can I do this? The problem is the component is rerendered after I clic
Hello,
I want to add some blocks with a generated id. like this:
But I get the following error message:
Block id 'image${thumbIndex}' is not valid; block ids must be valid Java
identifiers: start with a letter, and consist of letters, numbers and
underscores.
How can
gt;
> See https://issues.apache.org/jira/browse/TAP5-469.
>
> Patrick
>
> 2009/3/12 Howard Lewis Ship
>
> > It's possible that XmlHttpRequest may not handle GZIPed responses
> > correctly; I'm looking into it.
> >
> > On Thu, Mar 12, 2009 at 4:28 AM,
splay.
>return StreamResponseBuilder.getItemImage(pID);
>}
>
> PAGE TEMPLATE
>
> ${imagePath}
>
> Hope this helps
> Regards,
> Daniel
>
>
>
> Peter Kanze wrote:
> >
> > Hello
> >
> > I want to load images from the
quot; for the image
>> file on disk and creates and returns a "StreamResponse", so essentially
>> you
>> want this action handler to return a "StreamResponse" of the image you
>> want
>> to display.
>>return StreamResponseBuilder
y). Haven't had the time to look into it but maybe it is
> related.
>
> Just thought I'd share,
> Joost
>
> On Thu, Mar 12, 2009 at 7:05 PM, Peter Kanze wrote:
> > Hello
> >
> > I had implement a depended select box. This works fine in T 5.0.18. But
Hello
I had implement a depended select box. This works fine in T 5.0.18. But
after I upgrade to 5.1 the dependent select doesn't work anymore.
Only sometimes. It seems that the response is sometimes filled correctly,
but most of the time it is empty. I then mostly get the error "Badly formed
JSO
; Did you read the thread "How to load image Asset from filesystem"?
>
> You might want to vote for the issue.
>
> Regards,
> Andy
>
>
> Peter Kanze schrieb:
>
> Here am I again.
>>
>> I am struggling for 2 days now to load an image from the file
Here am I again.
I am struggling for 2 days now to load an image from the filesystem into my
webpage.
The image needs to be loaded based on the product id.
The steps I did was:
1. Implemented a FileSystemAssetFactory based on the ClasspathAssetFactory
2. Implemented a FileSystemResource;
See the
> Asset icon = assetFactory.createAsset(iconResource);
>
> if(icon != null) {
>
> writer.element("img",
> "src", icon.toClientURL(),
> "alt", getAlt());
>
> resources.renderInformalParameters(wri
getRootResource() and public Asset
createAsset(Resource resource);
I also looked at ClasspathAssetFactory but don't understand it. The comment
is too minimal.
Can someone help me with this?
Thanks,
Peter!
On Tue, Mar 10, 2009 at 1:59 PM, Peter Kanze wrote:
> Oke thank you.
>
> Bu
Oke thank you.
But how do I map between the web http:// and the file D:/ urls?
Can you give me some (pseudo) code examples how to do this?
Thanks!
Peter
On Tue, Mar 10, 2009 at 1:56 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Tue, Mar 10, 2009 at 9:51 AM, Pe
Hello
I already searched the archive and found the question, but it is not clear
to me.
There are no examples in it with a dynamic path..
On Tue, Mar 10, 2009 at 1:45 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> Hi!
>
> Search this mailing list archives because this was al
Hello
I want to load images from the filesystem, like for example
D:/category/1/products/55/thumb.jpg
So the file path is dynamic and is based on the categoryId and the
productId.
How can I load such an image into my webpage using a Tapestry Asset?
This looks like a common usecase to me, but I c
31 matches
Mail list logo