hi..i've got another problem here
i try shing man component :
PageLinkPopup (from tassel)
and tried this :
[PlayerGrid.tml]
Search
code above is display the search page...
in the seach page pop up,
when i enter the keywords and submit it, i called onclick="
opener.location.reload(true);" in the
Yes, I used that intention to fetch the external resource and then ended up
with the same error.
I tried to add xmlns="http://www.w3.org/1999/xhtml"; to the element
but that precludes using the tapestry namespace!
I guess I can live with it, but it would be nice to have proper validation.
On 02
I want to create a new object per request, and my code is like:
@Scope(IOCConstants.PERTHREAD_SCOPE)
public Encoder buildEncoder() {
System.out.println("new Encoder()...*");
return new Encoder();
}
when i request my page with IE and FireFox,
I use IDEA 7.0.2.
I use html extension not tml. So my templates is html type by default
not xml.
If you add tml extension like html type that do the same too.
My every template is start with a html tag. The first tag is contains
the xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.
Hello,
I would like to overload a grid cell. It's easy if I know the name of
the cell, say "mycell" :
8<---
here goes the template for mycell
8<---
My problem is that I want to overload o
On Jan 3, 2008 10:49 AM, Donyee <[EMAIL PROTECTED]> wrote:
> is there anything wrong with my code?
You actually didn't show your code.
--
Massimo
http://meridio.blogspot.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
Hi all,
I switched from 5.0.6 to 5.0.7 ,, and now getting some java scripts
errors. I didn't get these when using 5.0.6.
For example,
Following is on of the pages in my app: CreateTest.tml -->
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Create Test
On 31.12.2007, at 09:07, <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> wrote:
Have a look at
http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/varref.html
I actually tried this before:
only outputs "foo" once. Shouldn't it emit this string twice?
I tend to use complex ognl for r
Hi,
Try to deploy your application in ROOT context,
i got some java script error in 5.0.7 when i deploy my application with a
context other than ROOT (/).
On Jan 3, 2008 1:51 PM, Mahen Perera <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>
>
> I switched from 5.0.6 to 5.0.7 ,, and now getting some ja
Thanks Shamsi for that.. will try that,,,
My component is also not getting displayed..after I move
to 5.0.7 ,,, I mean the icon is displayed in the page, but the calendar
is not popping up when I click it.. it worked in 5.0.6
-Original Message-
From: Mohammad Shamsi [mailto:[EMAIL PROTE
In AppModule.java
@Scope(IOCConstants.PERTHREAD_SCOPE)
public Encoder buildEncoder() {
System.out.println("new Encoder()...*");
return new Encoder();
}
in my page class:
@Inject
private Encoder encoder;
2008/1/3, Massimo Lusetti <[EMAIL PROT
On Jan 3, 2008 1:44 PM, Donyee <[EMAIL PROTECTED]> wrote:
> In AppModule.java
> @Scope(IOCConstants.PERTHREAD_SCOPE)
> public Encoder buildEncoder() {
> System.out.println("new Encoder()...*");
>
>return new Encoder();
>}
>
> in my page class
you have to use an interface for this to work
Encoder + EncoderImpl
@Scope(IOCConstants.PERTHREAD_SCOPE)
public Encoder buildEncoder() {
System.out.println("new Encoder()...*");
return new EncoderImpl();
}
there is probably a warning in the log
Charset puzzled me too.
I add Chinese resources file.
But cannot show properly.
I have tried:
1.add org.springframework.web.filter.CharacterEncodingFilter, doesn't work;
2.native2ascii resource files, doesn't work;
3.add
configuration.add("tapestry.supported-locales", "en,zh");
doesn't w
I put this annotation to every page object.
@Meta(value = {"tapestry.response-content-type=text/html",
"tapestry.response-encoding=ISO-8859-2"})
public class MyPageObject {
}
The encoding is ISO-8859-2 because my DB encoding that.
And in every language properties file I use unicode escape ch
Which syntax is valid?
1. @EventListener(events = { "onChange" },
targets = { "tableSizeSelect" },
submitForm = "galleryForm",
async = true)
2. @EventListener(events="onchange",
targets="tableSizeSelect",
submitForm="galleryForm",
async=true
Either is correct. You can pass a single String in place of a String[] if
you only need one value. If you have more than one target or event, you
have to use the first form.
On 1/3/08 11:05 AM, in article [EMAIL PROTECTED],
"Ken in nashua" <[EMAIL PROTECTED]> wrote:
>
>
> Which syntax is val
You can step up and read the documentation for yourself if you like -
see "A note about event names" at the bottom of this page:
http://tapestry.apache.org/tapestry4.1/ajax/eventlistener.html.
Also see the referenced site -
http://www.quirksmode.org/js/introevents.html - for a more detailed
explan
Thanks Kevin for stepping up.
Close but no cigar.
Syntax #1 does not work under any conditions.
Syntax #2 does work.
Now if any takers out there want to step up and explain why that would be
great.Best regards Ken in nashua
From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: T-4.1.3 - @EventLis
Oh, sorry, I didn't realize, you want to cache results between different
OGNL expressions. Different ognl expressions only share the page as common
context. So you'd need sth. like:
Page:
...
public abstract Object getThat();
...
Template:
... xyz="ognl: that=components.table.tableRow.ge
My page unit test dies in PageTester.renderPage. The actual death is at
URLChangeTracker.add(URL), line 72, namely
URI resourceURI = url.toURI();
which gives a URL parsing error. The problem seems to be that my page URL has
blanks:
file:/C:/Documents and
Settings/Franz/workspace/pi-tapestry
This is a known issue:
https://issues.apache.org/jira/browse/TAPESTRY-1568
-Original Message-
From: Franz Amador [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 03, 2008 2:50 PM
To: Tapestry
Subject: T5.0.7: PageTester.renderPage chokes on page URLs that have
blanks
My page unit test
Wao, this Wicket framework is becoming hotter and hotter each day. Worth
taking a serious look at it.
On Jan 2, 2008 9:06 PM, Jan Vissers <[EMAIL PROTECTED]> wrote:
> http://wicket.apache.org/
>
> Apart from wicket also switching to slf4j, the new version now also
> supports JSR-168/JSR-286. Appa
I'm sorry if the answer for this is out there, but I have not been
able to find it. I'm trying to use a BeanEditor and defined a
TextArea for a property instead of the default TextField.
Here is a snip-it form my template file
Emmanuel,
I have not been using tapestry long. In fact it was only a few months
ago that I first heard of tapestry 4, at which point I bought Kent
Tong's book and began examining its possible use. Until tapestry I had
avoided web development in Java because I could not justify the time it
too
I believe you need to add Cell to the end of your parameter name.
This question comes up a lot, so if that doesn't work you should be able to
find some examples by searching the list.
http://www.nabble.com/Tapestry---User-f340.html indexes this list for
searching.
Josh
On Jan 3, 2008 1:05 PM, Ma
>
> Emmanuel,
>
> please cease with your regurgitated points
> and annotations. We all know. We also all know about Wicket. It too is a
> respectable and highly visible framework. Your points, which now are
> just rants, are falling on dead ears here. If you seek an audience,
> kindly find a more r
I'm having trouble figuring out how to do custom validation for a field created
by BeanEditForm. In particular, I can't find the component id for such a
field. The bean property name doesn't work. "beaneditform."
doesn't work either. I'd like to be able to use an onValidateFrom... method,
b
Guys,
I read somewhere some time back that Kent Tong, a Tapestry commiter, is
writing a book on Wicket. Anyone has info on the status of this? And Kent,
if your reading, could you please shed some light on the availability of
your book on Wicket?
Regards,
Emmanuel
On Jan 3, 2008 10:11 PM, Chris
Somewhere in Utrecht, Francis Amanfo is laughing.
As for the book, I'm sure it will be a boon for Wicket developers. I
enjoyed his T4 sample book. Maybe you can ask Kent directly instead of
trolling.
On Jan 3, 2008 6:09 PM, Emmanuel Sowah <[EMAIL PROTECTED]> wrote:
> Guys,
>
> I read somewher
Hi Alexander,
I know this is out of your control...but I thought you may have some
insight into the status. Do you know how soon this book will be
available? I've pre-ordered, and I'm very much looking forward to
getting my copy!
Andy
On Wed, 2007-11-14 at 09:45 +, Kolesnikov, Alexander GN
Thanks. Actually, the fix turns out to be easy. I added it as a comment to
the JIRA issue:
This fixed the problem for me. In PageTesterContext.getResource, change line 49
return f.toURL();
to this
return f.toURI().toURL();
(which just follows the suggestion in the J
Josh - thanks for the suggestion and link. Unfortunately the
still does not work.
I did find this listing that talks about the same issue
http://www.nabble.com/Can-we-use-Text-Area-for-String-field-in-BeanEditor--td13920248.html#a13920248
At the end Howard suggests the use of a new Annotation
That is strange, it should work as you have shown it. I know this
behavior works ... there are unit tests to verify it.
Ooops, please file a bug. I see the problem; BeanEditForm supports
informal parameters, but BeanEditor does not!
On Jan 3, 2008 1:05 PM, Mark Horn <[EMAIL PROTECTED]> wrote:
>
Thanks Howard. I have created the bug in JIRA it is
https://issues.apache.org/jira/browse/TAPESTRY-2013
On 1/3/08, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> That is strange, it should work as you have shown it. I know this
> behavior works ... there are unit tests to verify it.
>
> Ooops,
jscalendar requires prototype and scriptaculo libs? If is not requires,
why they appear in a web-page?
public class MyPage {
@Inject
@Path("${tapestry.jscalendar}/skins/aqua/theme.css")
private Asset themeStylesheet;
@Inject
@Path("${tapestry.jscalendar}/calendar_stripped.js"
How to keep a URL of current page (event, action and context)
that then to repeat this request?
URL: /mailmessage:trash?t:ac=400
public class MailMessage extends DefaultBase {}
In DefaultBase need get ":trash" and "t:ac=400"
-
Addition for previous: Page not contains Form component
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
I'm stuck at the moment trying to get log4j to log any 3rd party libraries.
It seems to work fine for classes within my web project(ie page classes
etc.) and if I set the root level to debug I get what looks like mostly web
container statements. Any help would be much appreciated.
H
39 matches
Mail list logo