In case you did not know, the InsertText component (in
T3) has a parameter disabled.
On the confirmation page, you could just set the
disabled parameter to true. Note that, the value of a
disabled InsertText will be ignored when the form is
submitted. Please see the document for more details
htt
I think the Tap4 ListEdit doc at
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/ListEdit.html
has not being fully updated - the example there still
uses expression in :
In Tap4, 'expression' is replaced by 'value'.
Please check the following for details
http://jakarta.apache.
If you want to skip defining an asset in the
Home.page,
you need @Asset instead of @InjectAsset :
@Asset("/img/first_2.gif")
public abstract IAsset getFirstImage();
@InjectAsset allows you to access an (specified)
asset as a read only property.
There is some doc at
http://jakarta.apache.o
Have you tried specifying an interface in ?
In your case, you need to specify an interface for
service StitchFolderHolder.
When the interface attribute is not given, HiveMind
will default the interface attribute to (module's
package path) + service id.
Please see the
> Is there a simple way to have the form to be
> submitted with a specific
> listener on my onChange event of my
> @PropertySelection, and also to have
> my submit button calling the "regular" listener (the
> one specified in
> the @Form component?
I do not know whether there is a simple way of
You can inject a service into your page :
@InjectObject("engine-service:chart")
public abstract IEngineService getChartService();
where chart is a custom service defined in
hivemind.xml . Something like :
InjectObject i
Dear all,
I have applied the FCKeditor to the Tapestry
TextArea component to enable the
content of the TextArea editable using FCKeditor.
It is not perfect. At the moment, for simplicity sake,
all the upload functions in FCKeditor are disabled.
Also the spell check is not working.
The sou
DataPicker works fine for me in Konqueror 3.3.0-8.
I am using Tap 4.
Shing
--- Alan Chandler <[EMAIL PROTECTED]> wrote:
> Anyone sucessfully using the DataPicker component
> with Konqueror?
>
> I seem to get some days in a month that I can't
> click on to set a date. It
> might be some sort o
I can think of the ways of doing it.
Method 1 :
'this' in ChartAsset(getRequestCycle(), this) is of
type IComponent,
Put the following annotation in 'this' java file
@InjectObject("engine-service:Chart") public abstract
IEngineService
getChartService();
Then you can pass the chart service to
To call the restart service, say, inject the restart
service into your page .java class:
@InjectObject("engine-service:restart")
public abstract IEngineService
getRestartService();
// To call restart service
IEngineService restartService =
getRestartService();
Have you checked out the following post from about a
month ago?
http://article.gmane.org/gmane.comp.java.tapestry.user/29717/match=spencer+crissman
Shing
--- Jimmi Dyson <[EMAIL PROTECTED]> wrote:
> Does anyone know how to change the maximum file size
> that can be
> uploaded?
>
> Can't see any
I have an example using the For component at
http://137.132.69.134/tapestry4Demo/app
There is also an example on ListEdit (Tapestry 3) at
http://137.132.69.134/tapestryDemo/app
Check them out if you like.
Shing
--- pbinu <[EMAIL PROTECTED]> wrote:
> Hi,
> I was trying to write a code using Li
Instead of using the parameter submitOnChange=true,
you put in the piece of javascript manually :
2004/2005 I
2005/2006 I
2005/2006 II
I do not know why it has been
When you click on a DirectLink, the specified
listener method will be called (and without the page
being rewinded.)
That is why your getCurrentProject() is returning
null.
A fix is to pass the currentProject (or its key) to
the DirectLink
component, so that when a DirectLink is clicked, the
co
There is a short article in the wiki that shows how to
create your own
validator.
http://wiki.apache.org/jakarta-tapestry/HowTos
You need something like the following.
public class IntegerValidator extends BaseValidator {
public void validate(IFormComponent form,
I asked the same question a few weeks. Ron Piterman
had kindly answered it.
You can check out the his answer at
http://article.gmane.org/gmane.comp.java.tapestry.user/29260/match=shing
Basically, if you want to have ',' in your pattern,
you have to define your pattern in a bean.
The $ sign no
>
> value="ognl:quoteDateValue"/>
> value="translator:pattern=-MM-dd"/>
>
You can use the format parameter of an Insert
component to format the output. Details could be found
at
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Insert.html
In your .pa
I have a simple CRUD application written in Tapestry 4
+ Hibernate + Hivemind. If you are interested, you can
try it out online and download the source via
http://137.132.68.134/tapestry4Demo/app
Shing
--- albartell <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I am new to Tapestry (jumping
Have you tried something like the following ?
where the method getMyNumberFormat() is in your page
java class and returns a java.text.NumberFormat.
Instead of ognl:myNumberFormat, you could also use
bean:myNumberFormat, where myNumberFormat is a bean
set up in the .page file.
More details and
You might like to check out the one in the Workbench
example that comes with the Tapestry 4 source code.
Shing
--- Badri Narayan <[EMAIL PROTECTED]> wrote:
> Hi,
> I need an example of a Table component in Tapestry
> 4.0. Can anyone
> provide me the same.
>
> Thanks,
> -Badri
>
> --
> http
You need to do something like the following.
Shing
--- Alan Chandler <[EMAIL PROTECTED]> wrote:
> The PropertySelection component has a submitOnChange
> parameter. But the docs
> say it is depreciated.
>
> I do not understand the comment in the "Description"
> section of this table.
> Wh
I am using Tapestry 4.0-rc-1.
In a DataPicker component, I have set up my custom
format for the date.
The date appears as something like 7 December 2005.
Now I would like to have a comma between the month and
year:
d ,
causes the following error :
Clas
he following error when using the
>
> as you suggested:
>
> Attribute 'object' is required but no value was
> provided.
>
>
> Shing Hing Man wrote:
> >>> class="com.estudiowebs.CMS.DAO.GlobalMenu">
> >>
> >>
class="com.estudiowebs.CMS.DAO.GlobalMenu">
>
> service-id="EntityService" />
>
Instead of create-instance, have you tried
invoke-factory ?
Shing
--- Raul Raja Martinez <[EMAIL PROTECTED]>
wrote:
> Here is a little bit more code about my problem:
>
> I'm trying
Something like this in the html template:
In your page specification file :
The above is for Tapestry 4.
In case you did not know, John Reynolds has an
excellent tutorial on the table component.
https://tapestrywebcomponentexamples.dev.java.net/
I thi
> object="state:blogVisit"/>
>
Instead of state:blogVisit, have you tried blogVisit ?
Have you lookat at
http://jakarta.apache.org/tapestry/UsersGuide/state.html#state.aso
Shing
--- mike jones <[EMAIL PROTECTED]> wrote:
> Hi
> Quick question I am trying to inject a state object
> into my
I got round the problem by modifying the
org.apache.tapestry.contrib.link.PopupLinkRenderer
method constructURL to return null during rewinding.
protected String constructURL(ILink link, String
anchor, IRequestCycle cycle)
{
// Add this
if (cycle.isRewinding()){
Thanks for your suggestion ! I will try it as well.
Shing
--- Alexandr Kundirenko <[EMAIL PROTECTED]> wrote:
> To control pages lifecycle you also can override
> tapestry.monitor.MonitorFactory service point.
>
>
> >> Does anyone know how to 'enable'
> cleanupAfterRequest
> >> in my custom en
Thanks for the pointer !
I will try to see if I can make sense of HiveMind
pipeline.
Shing
--- Kent Tong <[EMAIL PROTECTED]> wrote:
> Shing Hing Man yahoo.com> writes:
>
> > Does anyone know how to 'enable'
> cleanupAfterRequest
> > in my custom en
In your page, have you tried the following ?
@InjectObject("service:tapestry.globals.WebRequest")
public abstract WebResponse getWebResponse();
Shing
--- Wayne Wang <[EMAIL PROTECTED]> wrote:
> Hi,
> In beta-11,I found some new
> methods,eg:setHeader,setDateHeader.
> My problem is how to invo
I have extended the BaseEngine and overriden the
cleanupAfterRequest method.
I have checked that my custom engine is picked up by
using Eclipse debug mode.
However, it seems that the method cleanupAfterRequest
method in my custom engine is never entered.
I did a grep on cleanupAfterRequest in t
Instead of
please try
Shing
--- lyo <[EMAIL PROTECTED]> wrote:
> Hi friends:
>
> I have a input tapestry4 component, the code
> is:
>
>
>
> value="translator:number,pattern=#.#"/>
>
value="validators:required,min=2,max=100.123456234563456734563456356734567456784
> 567
On a form, when I input "123.fff" in numberTF and then
submit the form, I get numberTF=123.0 in my form
listerner method and no validation error. I was
expecting a validation error. Should 123.fff fail the
validation ?
Shing
I have a Tapestry 4 page that allows a user to select
a number between 1 to 5
from a PropertySelection component. For each new
selection, the page is redisplayed
with the selected number of TextFields using a For
component.
Clicking a button would compute the sum of the inputs.
This works in tapes
Have you tried
?
Shing
--- "Waluk, Michael" <[EMAIL PROTECTED]>
wrote:
> The Change Log
>
(http://jakarta.apache.org/tapestry/changes.html#version_4.0-alpha-2)
> indicates:
>
> "Allow the name of the initial page to be overriden
> using the org.apache.tapestry.home-page application
> property
Have you tried the following ?
var url = ${getCreateLink("PageName")};
I have tried the following (in Tap 4) and it works.
Suppose in a component Foo.java file, I have
public String getName(String name){
return "Call getName with : " + name;
}
In the corresponding Foo.script :
Dear all,
I have converted my tooltip component to Tapestry
4.
The binary and source could be downloaded from Tassel
http://equalitylearning.org/Tassel/app
It has been tested on Tapestry 5beta 8, Mozilla and
IE 6.
Online demos and documentation are available at
http://137.132.69.134/tape
Dear all,
I have converted my color picker component to
Tapestry 4. The binary and source could be downloaded
from Tassel
http://equalitylearning.org/Tassel/app
Online demos and documentation are available at
http://137.132.69.134/tapestry4Demo/app
Note that the above also has a demo for th
The usual work-around appears to be
> rearranging the javascript/html
> interaction. For example:
>
>
http://www.softcomplex.com/forum/viewthread_2437/page1/#pid7448
>
http://channel9.msdn.com/wiki/default.aspx/Channel9.InternetExplorerProgrammingBugs
>
>
> - Origin
I have converted my Tooltip component and the online
demo to Tapestry 4
(beta 8).
Strangely, when I open my tooltip online demo page
http://137.132.69.134/tapestry4Demo/app?page=TestTooltip&service=page
in IE 6, I get a pop up box with error :
Internet Explorer cannot open the Internet site :
s-Nikai groups,
> EmiratesGroup-I.T Division,
> Dubai, UAE.
> Mobile : 00971-50-2256149.
> http://www.adastrumtech.com
> http://www.mercator.aero
> (Keep Smiling. Be happy All The Time.)
>
> -Original Message-
> From: Shing Hing Man [mailto:[EMAIL PROTECTED]
> Sent: 01 Oc
; http://www.adastrumtech.com
> http://www.mercator.aero
> (Keep Smiling. Be happy All The Time.)
>
> -Original Message-
> From: Shing Hing Man [mailto:[EMAIL PROTECTED]
> Sent: 01 October 2005 06:38
> To: tapestry Tapestry
> Subject: Accessing page property from
I am converting one of my Tapestry 3 application to
Tapestry 4 and run into
following problem.
In all my page specification, I have a property for
the page title :
In the Java class of my border component, I try to
retrieve
the pageTitle property in finishLoad method :
public void fi
At the top of
http://jakarta.apache.org/tapestry/examples/index.html
it mentioned that the source code of Virtual Library
example for Tapestry 4 is in the main distribution.
But when I downloaded tapestry-4.0-beta-8.tar.gz,
I can only find the Virtual Library example for
Tapestry 3.
Does anyone
The following is only a suggestion and I have not
tried it out.
In the java class of your component, overwite the
method renderComponent :
protected void renderComponent(IMarkupWriter writer,
IRequestCycle cycle) {
super.renderComponent(writer,cycle);
renderInformalParameters(writer,
Oohs ! You are right Markus. It should be "-source
1.4"
Shing
--- Markus Eberle <[EMAIL PROTECTED]> wrote:
> Zitat von Shing Hing Man <[EMAIL PROTECTED]>:
>
> > You might like to try
Have you tried moving Home.html to
webapps\examples ?
Shing
--- Shalini Goel <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
>
>
> I have the following files with me -
>
> web.xml in path E:\Tomcat
> 4.1\webapps\examples\WEB-INF
>
> Home.html in path E:\Tomcat
> 4.1\webapps\examples\WEB-INF
>
You might like to try adding the option "-source 1.5"
when you javac your orginal java 1.4 source files.
Shing
--- Augmentin <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> After I upgraded to JDK 5, my project won't compile
> because all references
> to org.apache.commons.lang.enum.Enum in my prog
I have encounter a similar problem as yours recently.
(I am using Tapestry 3).
My solution is to wrap around the orginal address
component
in an 'outer component'. The java class
associated with this outer component extends
BaseComponent.
In the java class of the outer component,
override the r
I have emailed you one of my examples and a
description
on the parameters of DynamicSelectionList.
Hope that helps.
Shing
--- Ben Wong <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
>
>
> I am sure this question has been asked before, but I
> have tried to search
> the mailing list without
Have you checked out my component DynamicSelectionList
? It might solve your country-state selection problem.
It is available for download at
http://equalitylearning.org/Tassel/app
There is an online demo
at http://gauss.demon.co.uk/tapestryDemo/welcome
Note that the above link will cease to ex
According to the Tapestry 4 javadoc, the method
IEngine.getPropertySource() has been deprecated.
http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/IEngine.html
It is now being injected.
Please also see the following doc on how to inject
something into a page.
http://jaka
Yes. Someone has already wrapped it up as a component
and is made available on
http://equalitylearning.org/Tassel/app
The component is called
ValidDatePicker
Shing
--- Radim Burget <[EMAIL PROTECTED]> wrote:
> Hi,
> is it possible to use component with
> "requiredValidator"
> and use "datePi
I could be wrong, but here is my guess.
For a component parameter x with direction=in,
after the component's renderComponent is exceuted,
the parameter x is reset to its default value.
Please see p225 to 228 in TIA for more details.
The following might be a quick fix.
In your component, create an
A solution is the archive
http://article.gmane.org/gmane.comp.java.tapestry.user/6935/match=global+assets
Shing
--- Steven Schermerhorn <[EMAIL PROTECTED]> wrote:
> Is there a way to put all of the context-assets in
> one file, and then be
> able to get the assets from anh page or component?
> Script components must be contained within a Body
> component.
> component:
>
As the error message points out, instead of using
the usual html , you must use the tapestry body
component.
http://jakarta.apache.org/tapestry/doc/ComponentReference/Body.html
Shing
--- [EMAIL PROTECTED] wrote:
Have you checked out the NewWindowLink component from
http://equalitylearning.org/Tassel/app
?
Shing
--- Eric Schneider <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I need the ability to render DirectLinks in an
> alternate way.
>
> Instead of the standard:
>
>
href="/myapp/app?service=direct/1/Home
In case you have not seem it before,
you might find the following in the archive useful.
http://article.gmane.org/gmane.comp.java.tapestry.user/19107/match=ekman
Shing
--- "Scott F. Walter" <[EMAIL PROTECTED]> wrote:
> Greetings,
>
> I want to have a link on a page that uses the
> javascript pr
The following is only a suggestion. It might
be useless to you.
If your shiping addresses are generated
by a Foreach component, you could replace it by a
ListEdit component and "collect all the shipping
addresses" during rewind in an ArrayList, without
knowing how many are there in advance.
An e
> A DirectLink's listener is called before the rewind,
Clicking a Directlink component does not cause a
rewind. Please see p287 TIA.
> value="Save"
> > jwcid="SaveButton"/>
> > value="Cancel"
> > jwcid="CancelButton"/>
If the saveButton and cancelButton have an
IActionListerner, make sur
The following does not exactly meet your requirement
but you might able to modify it to fit your needs.
Shing
http://www.mattkruse.com/javascript/autocomplete/
--- Andy Chu <[EMAIL PROTECTED]> wrote:
> Dear All,
>
> Suppose now we have a drop down list displaying
> description of each option.
I have no answer to your problem but you might try the
following if have not done so already.
>
>
> postalAddress="ognl:postalAddress[counter]"/>
>
>
Set up the postalAddresses in
to be a list of distinct elements.
In the above Foreach loop, print out postalAddress
This is to make
I do not know whether the following helps.
From
Tapestry-3.0.3/web/doc/ComponentReference/PageLink.html
the engine in [EMAIL PROTECTED]
is not the
org.apache.tapestry.engine.BaseEngine .
The engine meant to be an instance of
(from PageLink.html)
public class MailEngine extends SimpleEngine
imp
The following from the archive might be of interest to
you.
http://article.gmane.org/gmane.comp.java.tapestry.user/19107/match=ekman
It shows how to set a parameter in a DirectLink from
a javascript prompt.
Shing
--- Patrick Casey <[EMAIL PROTECTED]> wrote:
>
> I want to use a javascript
> I really feel like there should be an option for
> the @Script
> component that just says "embed a link to this
> script. Don't rewrite it,
Have you looked at
the element of the Tapestry script
specification.
It generates :
Shing
--- Patrick Casey <[EMAIL PROTECTED]> wrote:
>
>
In your page specification,
have you forgotten to set the class attribute ?
Shing
--- Travis Romney <[EMAIL PROTECTED]> wrote:
> You're right.
> I just mistyped it in the email
>
> I do have it this way on my form
>
> listener="ognl:listeners.formSubmit">
>
>
>
>
> Jean C. Favi
The following is only an idea and it might not work.
Suppose your Block is called myBlock.
Step 1) Modify
org.apache.tapestry.AbstractMarkupWriter if necessary
(or implement your own IMarkupWriter) so that you can
get your hands on the output stream
inside it.
Step 2) I think
myBlock.renderBod
You might just need a button like this :
http://www.whereever.com'"/>
Shing
--- "t.n.a." <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> the problem is as follows...
> At the moment, I have a form component and a
> listener to go with it and
> everything's fine so far: the listener does what
> i
that I must have these hidden pages
> in each form on my
> page. I guess I can create my own
> FormWithBreadCrumbs component, and use
> that everywhere. Actually, that doesn't sound too
> bad.
>
> If I'm successful, I'll package it into a library.
> Ciao,
>
The following is only a thought. I might be talking
rubbish.
Instead of using visit object to store the trail,
output
the trail info in hidden fields.
Also use Directlink for each link in your trail.
For each Directlink, store the page names
that lead to that link
in the Directlink component pa
In the following, shouldn't you set direction="form" .
> required="yes"
> direction="in"/>
Shing
--- David Ethell <[EMAIL PROTECTED]> wrote:
> Update on my problems. This is not a valid solution,
> but it does allow a
> single instance of my control to work on a page. I
> just added t
FYI, if the "Pig-Latin" example you
referred to is from
http://www.ociweb.com/jnb/jnbMay2004.html,
I have no problem running it on Tomcat 5.0.27,
(Tapestry 3.0.1, Redhat 9). The war files are
generated by the ant bulid script that comes with
the code.
If you have not done so, you might like t
EMAIL PROTECTED]/$ShowError].
>
> Thanks.
> DvJ
>
> >From: Shing Hing Man <[EMAIL PROTECTED]>
> >Reply-To: "Tapestry users"
>
> >To: Tapestry users
>
> >Subject: Re: A show error component
> >Date: Sat, 23 Apr 2005 10:56:16 +0
> source="bindings.delegate.object.fieldTrackings"
> value="ognl:fieldTracking">
Inside source above, shouldn't it be
source="ognl:bindings.delegate.object.fieldTrackings"
Shing
--- david joffrin <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am coming with this topic as I left it on the side
> whil
If you do not like using the Conditional component,
take a look at the Block component (if you are not
awared of it already).
Also Mike Henderson's blog on dynamic block might be
of interest to you.
http://www.behindthesite.com/blog/C1931765677/E1630021481/
Shing
--- "Zimmek, Jan" <[EMAIL PROTE
Oohs ! Put down an incorrect link. It should be
http://gauss.demon.co.uk/tapestryDemo/welcome
Shing
--- Shing Hing Man <[EMAIL PROTECTED]> wrote:
> Dear all,
> I have written a component for a drop down
> selection list whose displayed contents depend on
> the
> sel
Dear all,
I have written a component for a drop down
selection list whose displayed contents depend on the
selected item of a given parent list, represented by a
PropertySelection component. Only single selection is
supported.
It is not perfect, but usable in simple situation.
The binary and
I have just download the source of HibLib.zip and
taken
a look. hibernate.cfg.xml is setup to run in a Mysql
database.
Shing
--- Frank <[EMAIL PROTECTED]> wrote:
> also, do I need to configure the database in tomcat?
>
> Frank
>
>
-
Kent,
I have fixed my prolem using an internal counter as
you have suggested.
Thanks for your suggestion !
Shing
--- Kent Tong <[EMAIL PROTECTED]> wrote:
> Shing Hing Man yahoo.com> writes:
>
> > I would like Tapestry to generate a unique (html)
> > nam
tested with the table components.
I would expect it to be ok. Just let me know if there
is a problem.
regards,
Shing
--- Shing Hing Man <[EMAIL PROTECTED]> wrote:
> I wrote the tooltip component. I will look into the
> problem to see if it can be fixed and let you know
> the
After googling for a few seconds, I might have found
the solution.
There is an explaination of the error message at
http://mindprod.com/jgloss/compileerrormessages.html#CLASSNOTFOUNDINTYPEDEF
Have you imported the page properly ?
Shing
--- webtekie <[EMAIL PROTECTED]> wrote:
> Can someone e
com/
> can help.
>
> It looks like the Alternative base components can
> detect if they are in
> a form of not.
>
> Do not know if this will help.
>
> Nicolaas
>
>
> On Thu, 2005-04-14 at 14:42 +0100, Shing Hing Man
> wrote:
> > Dear all,
> >
>
Shouldn't the class be cc.ColorsResult ?
Shing
--- webtekie <[EMAIL PROTECTED]> wrote:
> Sorry if these question is very simple, but I am new
> to whole Tapestry...
>
> I asked about this before, but while implementing
> have some problems.
> This is the method I have in my main class:
Dear all,
I am trying to make my tooltip component work in a
Foreach component.
When a tooltip component is inside a Foreach
component,
I would like Tapestry to generate a unique (html)
name for each
copy of my tooltip component. (At present, the
generated name
is the same for each copy.)
T
ss.
Shing
--- Shing Hing Man <[EMAIL PROTECTED]> wrote:
> I wrote the tooltip component. I will look into the
> problem to see if it can be fixed and let you know
> the
> outcome later.
>
> Thanks for reporting the bug !
>
> Shing
>
> --- Sebastian Knoerzer <[EM
I wrote the tooltip component. I will look into the
problem to see if it can be fixed and let you know the
outcome later.
Thanks for reporting the bug !
Shing
--- Sebastian Knoerzer <[EMAIL PROTECTED]> wrote:
> hi,
>
> i think i encountered a bug when i use the
> man:tooltip component in a
> co
Render of my
> class. But it does not seem to work.
>
>
> -Original Message-----
> From: Shing Hing Man [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 13, 2005 12:33 PM
> To: Tapestry users
> Subject: Re: contrib:table Column Click
>
> In case you did not k
In case you did not know,
(unless you have heavily customised the table
component)
when you click the column header, it will called the
method
columnSelected(IRequestCycle objCycle)
in the class
org.apache.tapestry.contrib.table.components.inserted.SimpleTableColumnComponent
The name of the colu
The javadoc says that informal parameters are not
allowed. So you can't.
http://jakarta.apache.org/tapestry/doc/api/org/apache/tapestry/contrib/form/MultiplePropertySelection.html
--- Karthik Abram <[EMAIL PROTECTED]> wrote:
>
> There doesn't seem to be any way for the renderer
> for
> MultipleP
ToppingsResult.java is the java class that is
associated with the tapestry page that displays the
selected toppings.
If you look at the source code of ToppingsResult.java
,
it extends BasePage.
The idea is that in method selectToppings,
you pass the selected toppings to the page
ToppingsResult, a
In the Java class associated with your component,
PasswordField.java in this case, it must execute the
method
renderInformalParameters(writer, cycle);
inside the method renderComponent(IMarkupWriter
writer, IRequestCycle cycle).
You can checkout the source code of a framework
component that alll
.
>
> So are you saying that if you implement a
> getter/setter yourself, and
> you have instance variables, you have to reset/unset
> these instance
> variables by overriding the initialize() method? I
> don't remember seeing
> that in Howard's book.
>
initialize() method is discussed on p305 i
Dear all,
The last version of my tooltip component has a bug
regarding to the positioning of the tooltip when there
is scrolling. This has been fixed. The position of the
tooltip is now in sync with the scrollbars.
The following features have been added.
1) A staticFlag parameter to indicate w
Java.lang.String is immutable - it has no setter
method.
Shing.
--- Sri Sankaran <[EMAIL PROTECTED]> wrote:
> I was reading Tapestry In Action and did not
> understand the implication of clustering a mutable
> object. Hope you can explain.
>
> To set the stage, the section states that an app
>
Have you looked at the method
HttpSession.setMaxInactiveInterval ?
If I remember correctly,
the method HttpSession.setMaxInactiveInterval(int
interval) overrides the session timeout set in
web.xml.
If you can distinquish whether the request is for a
quiz or form, you could set the session tim
I do not have a soultion to your problem but only a
suggestion.
To narrow down the problem a bit,
you could run your Hibernate related code outside
Tapestry (if you have not done so already) and see if
the same problem occurs.
Shing.
--- John Gordon <[EMAIL PROTECTED]> wrote:
> Hi Folks,
>
> I'm
The prefix is the component id specified by the user.
Without it, Tapestry will generate one for you.
It is explained on p124 in TIA.
Shing
--- David Leangen <[EMAIL PROTECTED]> wrote:
>
> This leads me to a question that I've been a bit
> curious about...
>
> Would somebody mind kindly explai
The IEngine has been initialised. But just before the
initialize method is called , the page is detached
from the engine. (Please see p305 in TIA.)
That is why you are getting a null pointer exception.
You can do the initialization in Page
pageBeginRender method or
the AbstractComponent method
-Dorg.apache.tapestry.disable-caching=true.
>
> But how do I do this?
>
>
>
> Shing Hing Man wrote:
>
> >Please check out FAQ 2.13 at
> >
>
>http://jakarta.apache.org/tapestry/faq.html#faq-N10187
> >
> >Shing
> >
> >
> &g
Please check out FAQ 2.13 at
http://jakarta.apache.org/tapestry/faq.html#faq-N10187
Shing
--- Alex Kravets <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I just started learning Tapestry, I am running it
> under Tomcat. When I
> created my html page under my web application
> directory I can't seem
100 matches
Mail list logo