Again, nobody can give me some ideas?
Caused by: java.lang.NoSuchFieldError: CONTAINING_PAGE_DID_LOAD_SIGNATURE
Allen Guo 写道:
Hi All,
Everyday I build Tapestry5.0.6 then add to my project. But recently
when I visit the pages of my project , I always get the same error
like this :
HTTP
at
org.apache.tapestry.internal.services.UnclaimedFieldWorker.transformField(UnclaimedFieldWorker.java:58)
What's wrong with it ? Can anybody give me some ideas?
Thank you in advance
Allen Guo
-
To unsubscribe, e-mail: [EMAIL PRO
Marcus 写道:
Hi,
Use WEB-INF/web.xml:
15
This apply to any Servlet Container (not a Tapestry configuration).
Marcus
Thanks a lot
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
Hi All,
I have a question on how to get a dynamic localized key value
Below is a scenario
[
${message:}
I hope similar codes above can get the localized key from properties
file dynamiclly
There may be following data in properties file
// **_zh_CN.properties
california=加利福尼亚
indiana=印第安那
//
Angelo Chen 写道:
Hi,
In my program I'd verify the user and create an ASO until he log out or the
ASO expires. Now I'd like to add an option: 'remember me' like the one in
yahoo, if checked, program will automatically login the user next time, how
to achieve this? thanks.
A.C.
Try to jsession
I think T5 must support CDATA in stable release.
Allen Guo 写道:
Hi All,
Due to the project requirement, I often add some javascript to .html
like this:
sample:
var s;
for (var i=0;i++;i < productCnt){
s += "palcehoder" + i;
}
.
another sample
You know, in T5, the html f
Hi All,
Due to the project requirement, I often add some javascript to .html
like this:
sample:
var s;
for (var i=0;i++;i < productCnt){
s += "palcehoder" + i;
}
.
another sample
You know, in T5, the html file must be a strict xml file, So above
codes which cotain '>' won't be all
Hi All,
I have a form with a 'textfield' and a 'upload' field .
The Chinese words I input in textfield will be irrecognizable when I
submit the form .
Or I use the form without a 'upload' but exactly add the property
enctype="multipart/form-data", the same error occurr.
And I absolutely use
You can try
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
instead of
"http://www.w3.org/TR/html4/loose.dtd";>
Good Luck
Guoguo Long
Peter Stavrinides 写道:
Hi all,
I am trying to use some special characters in my templates such as
so I tried to add the DOCTYPE header, but I keep
Hi All,
Usually we display user list using grid component. It's like this
As shown above, the source property value is 'users' is just the user
list may fetch from database.
The result will display all properties of user class in table .
Now I want to only display some of properties of user cla
For Global value, can I use static variable ?
Shing Hing Man 写道:
It works using symbol. Thanks!
The following is what I have done.
Add the following to AppModule.java :
public static void contributeApplicationDefaults(
MappedConfiguration
configuration)
{
configura
work, implement the SelectModel interface. Daniel Jue
posted an interesting generic solution here:
http://www.phy6.net/wiki/tiki-index.php?page=Tapestry+5+GenericSelectionModel
Cheers,
Nick.
Allen Guo wrote:
I changed
OptionModel option = new OptionModelImpl(obj.getName(), true,
obj.getCode())
I changed
OptionModel option = new OptionModelImpl(obj.getName(), true,
obj.getCode());
to
OptionModel option = new OptionModelImpl(obj.getName(), false,
obj.getCode());
It works fine. But I don't know why OptionModelImpl construction need
the second parameter.
Allen Guo 写道:
Hi
Sorry, it should be getCurrencyModel().
But the code is similar to getCountryCode()
Allen Guo 写道:
Hi Nick,
Below is definitely code I call the method to get the model .
.
public SelectModel getCountryModel() {
List options = new ArrayList();
List list = service.getBaseCountryDao
Last time I asked you to post your model code, but you didn't
I'm pretty sure the problem is in your model.
Cheers,
Nick.
Allen Guo wrote:
Hi All,
When I use select
model="currencyModel" value="currency" size="1"/>
I always get the generate html cod
Hi All,
Recently it seems the T5 trunk haven't any code update.
Is T5 dead?
Thanks
Allen Guo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
27;m told I may don't use disable="false" in
In fact, I exactlly use disabled="false". But the problem still occurred.
Can anybody give me some sugesstion?
Allen Guo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All,
I use select component in html template like this
The generated result is like this
bug
pet
I used the latest TP5.0.5(not snapshot). It's really very strange. Can anyone
give me a help?
Thank you in advance
Alle
I still take care this problem
Allen Guo 写道:
> And I found select component have a attribute named 'disabled'.
> Won't it has a conflict with the html ?
>
> Allen Guo 写道:
>
>> Hi All
>>
>> I use select component in html template like this
>&g
I use Maven 2.0.7. But the same error occurred
Howard Lewis Ship 写道:
> Use Maven 2.0.5.
>
> On 6/28/07, Allen Guo <[EMAIL PROTECTED]> wrote:
>> Hi All,
>>
>> Today I build the tapestry-ioc module in eclipse, I get the following
>> build error
>>
>&
And I found select component have a attribute named 'disabled'.
Won't it has a conflict with the html ?
Allen Guo 写道:
> Hi All
>
> I use select component in html template like this
> value="shop.currTemplate.backgroundImage" size="1" disable
Hi All
I use select component in html template like this
The generated result is like this
bug
pet
It's very strange. Can anyone give me a help?
Thank you in advance
Allen Guo
-
To unsubscribe, e-mail: [
Hi All
I use T5.0.5 to bind the java field and html field,
But I always get the similar error like this
Anyway , the page class field value can be display correctlly and pass
to backend from html side.
It's so strange . Can anybody give me some suggestion?
Thank you in advance
Allen
it. It doesn't work.
I want to know if tp5 support the feature? If not, do you think if we
really need the feature???
Thanks
Allen Guo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
endency.version' is missing
for commons-logging:commons-logging
07-6-29 上午11时07分33秒: 'dependencies.dependency.version' is missing
for org.easymock:easymock
07-6-29 上午11时07分33秒: 'dependencies.dependency.version' is missing
for log4j:log4j
How can I
ad' be found.
I test them again and again. the same error occurr.
Could anyone give me an idea?
Thanks in advanced
Allen Guo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Can anybody give some suggestion?
Allen Guo 写道:
> Hi All,
>
> If I use loop component in html template like this
>
> ${_sort.name}
>
>
> I have to define the property in corresponding page class like this
> public class SortList {
> .
> private Sort sort;
&g
lerns 写道:
> hi allen,
> replace your '<' character with '<' in line 19 should fix it.
>
> regards,
> timo
>
> Allen Guo wrote:
>
>> Hi All,
>>
>> I use javascript in my html template file like this.
>> 15
Hi All,
I use javascript in my html template file like this.
15
= sort;
}
.
}
It seems that the 'sort' must be defined in page class. It's so terrible.:(
If I can remove the property 'sort' from page class like T4.1, it will
be great.
Thanks
Allen Guo
-
To un
tings\guojunlong\.m2\repository\org\apache\tapestry\tapestry-ioc\5.0.5-SNAPSHOT
2. in eclipse, right click project name then click maven2->disable
3. in eclipse, right click project name then click maven2->enable
It's woring. that is all.
Is there any good way to do it?
Nobody answer me ? :(
> Hi All,
>
> I use T5.0.4. I packaged some common components to common.jar.
> You know, in T3/4, we may add a configuration like contrib to
> .application file. But how can I use it in my another project base on T5?
>
>
Hi All,
I use T5.0.4. I packaged some common components to common.jar.
You know, in T3/4, we may add a configuration like contrib to
.application file. But how can I use it in my another project base on T5?
Thanks
Allen Guo
or PageLink, I know how I can
do it.
But for button type is 'submit', what should I do?
Thanks in advanced
Allen Guo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
all images are searchable via the jackrabbit index.
Phillip
- Original Message -----
From: "Allen Guo" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Wednesday, May 23, 2007 1:12:11 AM (GMT-0500) America/New_York
Subject: Re: How to load a image dynamiclly in tapestry5
TED]> wrote:
>>
>> The book "The Pragmatic Programmer" is an excellent start on learning
>> how
>> to
>> organize your code and your mind and work effectively,
>> professionally, and
>> pragmatically.
>>
>> http://www.po
Hi All,
Had anyone visit
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html
in FireFox2.0?
It won't jump to appropriate position if you click the index link on the
page.
Allen Guo
from Shanghai.
---
at if the above solution is insufficient.
Assets are useful for accessing resources inside the web application
context, or on the classpath, and includes logic related to
localization ...
but it is not always appropriate when accessing resources that are well
outside the web application itself.
On 5
Hi All,
If I use loop component like
1.
2. ${product.name}a>
3.
I must craete a property named 'product' in page class. It'll report
exception if I don't do like this.
Is it necessary? I really don't like so terrible rule:(
Than
hip 写道:
org.opend.bogo.pages.admin.Shop will search for its template on the
classpath as org/opend/bogo/pages/admin/Shop.html or in the web
context as
WEB-INF/admin/Shop.html.
I'm pretty sure this works, because I was demoing it for a client
recently
...
On 5/19/07, Allen Guo <[EMAIL PR
Hi All,
There is a page class below.
// ProductDetail.java
private Goods _goods;
public void setGoods(Goods g) {
this._goods = g;
}
public Goods getGoods() {
Goods goods = new Goods();
goods.setDescription("Pure Cotton TShirt");
goods.setName("Pumpkin");
this._goods = goods;
}
...
// ProductDetail
Hi All,
Has anyone tried the validation message display in IE
I found the validation message display in IE is not good, but it's fine
in FireFox.
The test is based on Tapestry5.0.4 or Tapestry5.0.3
Allen Guo
-
To unsubs
o it using the first approach, exception occured.
And I don't know how to the second approach.
Can anyone give me an idea?
Thank in advance
Allen Guo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi All
I cann't still use enities in template in Tapestry5.0.4, the system
throw the same exception below
Failure parsing template context:WEB-INF/ProductEdit.html: The entity
"nbsp" was referenced, but not declar
template on the
classpath as org/opend/bogo/pages/admin/Shop.html or in the web
context as
WEB-INF/admin/Shop.html.
I'm pretty sure this works, because I was demoing it for a client
recently
...
On 5/19/07, Allen Guo <[EMAIL PROTECTED]> wrote:
Hi All,
I set the param
can't now.
Could anybody give me some suggestion?
from Shanghai
Allen Guo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
46 matches
Mail list logo