There is an error (client side) when i press DateField icon
Object soen't support this property or method
help me please..
-
Bergabunglah dengan orang-orang yang berwawasan, di bidang Anda di Yahoo!
Answers
Hi Peter,
it works great, thanks!
regards,
Onno
2008/4/2, Peter Beshai [EMAIL PROTECTED]:
What if you try making the html element the border object? Like so:
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html
I am a new to tapestry and I learn the component of tapestry.But now I can
not decide which should be used. The layout components or the frame
page.Because I think if layout component is used in every page then when we
switch the page,it must reload related components ,is it right?
Any
I think they are different. Frame is used in frameset page, but layout
component is to provide a common page structure.
Just like when you write html, you can't decide use frame or div.
Thanks!
DH
- Original Message -
From: 滕训华 [EMAIL PROTECTED]
To: 'Tapestry users'
Josh, thanks you for the response.
I mistake the validation via ajax in Firefox, the http requests are to download
tapestry error images like field-error-marker.giferror-bever-right.png, sorry
about that.
I have change onAction to onSuccess, but js error still exists in IE,
debugger shows me
Thanks your reply.
Yes ,you are right,Actually I am considering this issue.Suppose,in an
application,every page has the copyrights and control header
information,I can make a layout component including the copyrights and
control header or menu and my main body,then I use this component in every
IMHO frames are bad practice... from a pure HTML view
i'd rather go with layout components
g,
kris
滕训华 [EMAIL PROTECTED]
03.04.2008 09:53
Bitte antworten an
Tapestry users users@tapestry.apache.org
An
'Tapestry users' users@tapestry.apache.org
Kopie
Thema
答复: select Component or iframe?
I am not good at UI design.
The websites I viewd rarely use frame page in their front pages, but it is
common in admin backend pages.
Maybe frame set layout in front pages is not so flexible.
Above is my understanding, may be wrong^_^
Thanks!
DH
- Original Message -
From: 滕训华 [EMAIL
Yes,I agree with you,but I want to know if using the layout component then
switch page ,will it lost the performace?because every switch,the copyrights
or menu or control header will reload.
-邮件原件-
发件人: Kristian Marinkovic [mailto:[EMAIL PROTECTED]
发送时间: 2008年4月3日 16:01
收件人: Tapestry
Hello Fernando,
Thank you for your answer.
In fact, I have tried to put the namespace in a root div element in the block,
and it works fine.
Best Regards,
Christophe.
-Message d'origine-
De : Fernando Padilla [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 2 avril 2008 18:00
À : Tapestry
As far as I am aware, this is due the fact that in xml you dont have nbsp;
definied.
What you have is #160; which also work in html. There should be a way to tell
DreamWeaver to use #160
instead of the symbol nbsp.
Cheers,
Martin (Kersten)
-Ursprüngliche Nachricht-
Von: 滕训华
Filip - that looks really good work.
I didn't realise new bindings can be created. I'm surprised that you're
using %d, %s etc rather than the standard {0} {1} ResourceBundle parameters.
To me it would be nicer expressed like this: (can you overload bindings?)
I think you need to move your FindCoops.properties file to be next to your
.tml file and not the .java file.
Petros
Andy Huhn-2 wrote:
OK, this is driving me crazy.
I have a .tml named FindCoops.tml that contains the following fragment:
t:label for=userPstlCodeField/
input
Hi Folks,
I have a list of checkboxes on a page:
tr t:type=Loop source=displayActorList value=actor
tdt:checkbox t:value=actor.enabled//td
td${actor.name}/td
/tr
The method to return the displayActorList is
public ListActor getDisplayActorList()
{
When we create html or tml with dreamwaver,it will create many “nbsp;” in
the td element.But when we use the file to run,tapestry will report error
because of the nbsp; except clearing all “nbsp;” ,how to slove this
problem?
Stephane Decleire wrote:
Has anyone already tried to implement dependant dropdown boxes with the
Ajax features of Tapestry 5.0.11 ?
I would like to implement a component to get a user address (country,
zipcode, city) and i would like to present the user the cities according
to the
Hi Everybody,
I've got a problem on loading the Tapestry.onDOMLoaded content in i.e and I
can't understand
in anyways what it's happening...:(
I've put a simple alert with the
support.addScript(alert('test!'););
so I've got something like this (I miss I've got the right context menu...
but I
I have the following grid that displays search results
t:zone t:id=searchResultsZone visible=true
t:block t:id=searchResultsBlock
table t:type=grid rowsPerPage=10 pagerPosition=both
source=foundEntities row=entity/
/t:block
/t:zone
Everything works fine and I can see that
Have you declared a doctype in the file causing the issue?
See the section on Template Doctypes here:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
-Filip
On 2008-04-03 11:03, Martin Kersten wrote:
As far as I am aware, this is due the fact that in xml you dont have
When form submission occurs Tapestry5 do not look at binding that was
used during render phase. Instead it use ValueEncoder to restore object
from String id. If you do not provide an ValueEncoder (I think you
don't, do you?) tapestry will use default. Default ValueEncoder use java
Hi,
I recommend that you don't use frames. As has been mentioned earlier,
it's a bad practice that carries a number of usability issues with it.
Also, Tapestry's rendering is so fast that you likely won't gain
anything by using frames. It will probably just bite later when you need
to have a
Hi,
I get a intersting problem:
Start.java:
public class Start
{
private int _result;
public int getResult() {
return this._result;
}
public void setResult(int result) {
_result = result;
}
int onPassivate() {
return _result;
}
void
I thought the properties file needs to end up next to the class file in the
classpath when the project is built - regardless of where it comes from.
(src/main/java/... or src/main/resources/... or wherever)
Petros Petrou wrote:
I think you need to move your FindCoops.properties file to be
Hi,
On 2008-04-03 11:26, Andy Blower wrote:
Filip - that looks really good work.
I didn't realise new bindings can be created. I'm surprised that you're
using %d, %s etc rather than the standard {0} {1} ResourceBundle parameters.
To me it would be nicer expressed like this: (can you overload
Hi,
I just use another name entirely.
-Filip
On 2008-04-03 11:59, Andy Blower wrote:
Understanding dawned about 5 minutes after submitting the message - always
the way. You can't override bindings because MappedConfiguration.add()
throws an exception if the key is not unique. Have you figured
Understanding dawned about 5 minutes after submitting the message - always
the way. You can't override bindings because MappedConfiguration.add()
throws an exception if the key is not unique. Have you figured out how to do
this from the T5 source code, or is there some documentation I've missed?
Hi,
Howard changed something a few days ago in 5.0.12, might be what you need:
https://issues.apache.org/jira/browse/TAPESTRY-2320
-Filip
On 2008-04-03 09:55, dhning wrote:
Josh, thanks you for the response.
I mistake the validation via ajax in Firefox, the http requests are to download
Thanks for all the replies everyone.
This is good, but it'd be better if the prefix could be passed in from the
template. I guess it would need another property setter. I'm still a
novice with Tapestry, but I can't think of a way of doing this without
creating a component and having it take a
hi everyone,
i am using tapestry 4.1.5
i have an custom dialog box which should be shown on button click
so i placed that (dialog).getComponent(custom dialog).show() in side the
listener method of button submit.Here it is going to the that line and
coming out but the dialog is not displaying i
Sure... An example is below. The values field disappears from the
screen if validation fails.
//JAVA
public class MyClass {
//(assume getters and setters exist)
@Persist(flash)
ListString values;
public void onPrepare() {
//populate values with
The form below works fine when the Submit button is pressed but the exception
below is thrown when the myRadioButton is selected. It looks like the
onclick=this.form.submit() is making it fail. Any ideas how I can solve
this ?
org.apache.tapestry.runtime.ComponentEventException
Return type
Your html code snippet is missing but would be helpful.
-Ursprüngliche Nachricht-
Von: Sricharan [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 3. April 2008 13:26
An: users@tapestry.apache.org
Betreff: problem with showing dialog box inside an listener method
hi everyone,
i am using
I think there's a good sample in the Tap 5 documentation :
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Delegate.html
Stephane
Dmitry Shyshkin a écrit :
What do you want to achieve by returning Block from onSucess event?
As you can read from
Thanks for your reply, Petros. I tried that, and I have the same issue.
Here is my directory structure:
src
main
java
com
companyname
pages
coops
FindCoops.java
webapp
coops
FindCoops.tml
FindCoops.properties
I
Hi,
Try putting it in src/main/resources/com/companyname/pages/coops.
-Filip
On 2008-04-03 14:23, Andy Huhn wrote:
Thanks for your reply, Petros. I tried that, and I have the same issue.
Here is my directory structure:
src
main
java
com
companyname
pages
As far as I can see your code, this problem should not occur.
Perhaps you should post all your html-, page definition and java-class-code or
simply test it by generating a simple web page with just one button and one
dialog. There you can experiment on how to use it. It did so, too and it was
I have encountered a similar issue, and the use of onPrepare() doesn't make
sense to me. Surely there's no point persisting any fields and then
resetting in onPrepare() is there? May as well just remove the @Persist.
There must be something I'm missing here.. can anyone fill me in?
Howard
hi everyone,
i am using tapestry 4.1.5
i have an custom dialog box which should be shown on button click
so i placed that (dialog).getComponent(custom dialog).show() in side the
listener method of button submit.Here it is going to the that line and
coming out but the dialog is not displaying i am
Summary: I seem to get a different ASO injected in the AppPropertyEditBlocks
page than on the rest of my app.
Hi,
in my Database Users may save, amongst others, WeightMeasurements. When the
user wants to view or edit the Measurements, I want to display the weight
value in the user's preferred
hi,
I have a problem with tapestry calendar component, on page I have:
input type=text t:type=datefield t:value=dateOfBirth /
In firefox when i click calendar icon calendar is displayed but IE it
doesn't
Please help
Thanks in advance
Hi,
It's done. You can see the result at
http://wiki.apache.org/tapestry/Tapestry5HowToAddMessageFormatBindingPrefix.
I've tested this on two of my sites and it works beautifully.
I've added support for multi-part keys so you can do stuff like
${format:gender-,prop:user.gender} which will
I tried that in tacos 4.1.1 and 4.1.2-SNAPSHOT with no problems... so,
could it be
something else?
When are you getting the exception, on render or on submit?
Is the form completely inside the floatingPane?
On Thu, Apr 3, 2008 at 7:55 AM, abhilash [EMAIL PROTECTED] wrote:
Hi all,
I am using
Are you binding the hidden parameter of your dialog?
Perhaps its value should be persisted as well...
On Thu, Apr 3, 2008 at 11:38 AM, sricharan kuna [EMAIL PROTECTED] wrote:
hi everyone,
i am using tapestry 4.1.5
i have an custom dialog box which should be shown on button click
so i
What about calling discardPersistentFieldChanges onCleanupRender?
http://tapestry.apache.org/tapestry5/tapestry-core/guide/persist.html
Clearing Persistent Fields
If you reach a point where you know that all data for a page can be
discarded, you can do exactly that.
The method
My Bad! I Used @Inject for an ASO instead of the usual @ApplicationState...
no wonder it did nothing.
Michael Capper wrote:
Summary: I seem to get a different ASO injected in the
AppPropertyEditBlocks page than on the rest of my app.
--
View this message in context:
The problem is that IE doesn't see javascript on the same line as the
opening html comment. What version of tapestry are you using? I see
the space added correctly in 5.0.11.
!--Tapestry.onDOMLoaded(function() {
should be
!--
Tapestry.onDOMLoaded(function() {
You said that you were using
As I understand it putting your template files in webapps is an
exception for some people who can't get away from that folder
structure. I believe everything else needs to be found on the
classpath. Your properties file should be in a folder that gets put in
the WEB-INF/classes folder, or into
Generally your questions are more likely to be answered if you provide
some information about your problem.
How about:
What version of Tapestry are you using? (4.x.x? 5.x.x?)
What browser are you using?
What DateField are you using?
How are you adding the DateField?
Even better, dig deeper:
What
has anyone been able to successfully build the dojo 0.4.3 docs? I am asking
here because:
1- tap 4.1.x uses it (so I am hoping someone else has done this),
2 - the dojo site's copy doesn't work, and
3 - folks have been asking about it for 2+ weeks on the dojo forums and it is
still not
On Wed, Apr 2, 2008 at 11:43 AM, Andy Blower [EMAIL PROTECTED] wrote:
I'm accessing message catalogs using expansion with a prefix. e.g.
${message:this-is-my-key}
1) Is there a list of prefixes anywhere, or have I got them all now?
(literal, prop, message)
The default for the value parameter, on many components, is a property
of the container whose property name matches the component id ... if
such a property exists. Thus select t:id=color/ is virtually the
same as select value=color/. This is to encourage people to give
their form control
Yes returning void is a typo.
What I am trying to achieve is the following:
I have two versions of a searchCriteriaForm.
I have a second form (configureSearchCriteriaForm) that contains two radio
buttons. Depending on which radio button is selected an onclick event
submits this form to decide
Hugo,
Your UserPage.tml/UserPage.java is the view and your User POJO the model,
right ?
The way I see the probem is who ever (eg UserListPage, Register Link) needs
to use the UserPage needs to pass in te POJO, otherwise the UserPage wont
know what to display.
What are the UseCases that you
Can somebody post an example how to use this component?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
I'm working on migration of tapestry 4.0.2 to 4.1.5. Previously I was using
tacos autocompleter where I used to afterUpdateElement parameter and in
the javascript I am setting the required vales in the html form but now in
tapestry 4.1.5 I'm using dojo autocompleter I couldn't find the
Thank you so much for your help, Petros, Filip, Josh. This did the
trick! My new directory structure is
src
main
java
com
companyname
pages
coops
FindCoops.java
resources
com
companyname
pages
coops
56 matches
Mail list logo