I tried to create a property editor for use in a BeanEditForm. I followed
the documentation in BeanEditForm guide in the Tapestry core documentation.
I almost got it right, but some questions popped up.
What I tried to do: to find out how property editor is working, I created a
new property
Hi,
i have tried the new Tapestry 5 DateField Component. If i setup a
Dateformat for rendering, the component itself behave not as espected.
Could anyone confirm this as a bug or do i something wrong with that
component?
t:DateField t:id=birthday t:value=customer.birthday
dear all:
I have read one sample from Tapestry website
http://wiki.apache.org/tapestry/Tapestry5ObtainingHttpServletRequest
@Inject
private RequestGlobals requestGlobals;
public void onActivate(Object context) {
HttpSession session =
do you have these lines in the code:
import org.apache.tapestry.services.RequestGlobals;
import org.apache.tapestry.annotations.Inject;
James Lin-3 wrote:
dear all:
I have read one sample from Tapestry website
http://wiki.apache.org/tapestry/Tapestry5ObtainingHttpServletRequest
On 10/28/07, James Lin [EMAIL PROTECTED] wrote:
dear all:
I have read one sample from Tapestry website
http://wiki.apache.org/tapestry/Tapestry5ObtainingHttpServletRequest
@Inject
private RequestGlobals requestGlobals;
public void onActivate(Object context) {
Hi,
the Inject annotation moved to the tapestry-ioc project starting from 5.0.6,
maybe you cloud try adding this to your pom.xml?
dependency
groupIdorg.apache.tapestry/groupId
artifactIdtapestry-ioc/artifactId
version5.0.6/version
/dependency
James Lin-3 wrote:
thanks
Hi again,
First off, I am having an issue (with 5.0.5) concerning returning null from
my ValueEncoder's toValue method. I expect the value to be simply set to
null, but instead I get the message:
Coercion of null to type java.lang.Integer (via null -- String,
String -- Long, Long --
hi James,
I'm using 5.0.5, sorry, can't help.
A.C.
James Lin-3 wrote:
thanks your quick reply!
I could import org.apache.tapestry.services.RequestGlobals
But I don't have org.apache.tapestry.annotations.Inject
I have search all jar file to find this Inject class,but I could not find
it
One possible issue is that you've used parentheses in the expression.
Curly braces are the syntax. Try ${theLink}.
Bill H.
On 10/27/07, Angelo Chen [EMAIL PROTECTED] wrote:
Hi,
How to get properties value in an external javascript file? example: I have
this:
var link = $(theLink);
it
There are some warnings thrown at the end of the new maven create
archetype run, given by Howard in the tapestryjava blog entry titled
Big improvement to quickstart archetype. I'm on an Intel Core Duo
iMac with Maven version 2.0.7:
[WARNING]
That got it. It was the inside jetty part of the log4j impl I
didn't realize. Very cool quickstart, Howard.
Bill H.
On 10/28/07, Howard Lewis Ship [EMAIL PROTECTED] wrote:
It is necessary that you upgrade the copy of log4j inside Jetty to version
1.2.14. That adds the
dear all:
I have read one sample from Tapestry website
http://wiki.apache.org/tapestry/Tapestry5ObtainingHttpServletRequest
@Inject
private RequestGlobals requestGlobals;
public void onActivate(Object context) {
HttpSession session =
no need to change your pom,
just remove the import statement,
and import the Inject annottation from tapestry ioc
Eclipse: CTRL+SHIFT+O
Davor Hrg
On 10/28/07, James Lin [EMAIL PROTECTED] wrote:
dear all:
I have read one sample from Tapestry website
Try this: format=%Y%m%d, you will get mmdd
also you can use :format=%Y-%m-%d, then you will get -mm-dd
Do you need this?
2007/10/28, T. Papke [EMAIL PROTECTED]:
Hi,
i have tried the new Tapestry 5 DateField Component. If i setup a
Dateformat for rendering, the component itself
You don't. You probably don't want to either right? Don't you want your
external javascript to get cached in the clients browser?
What about setting your parameters in the page that includes the javascript?
Josh
On 10/27/07, Angelo Chen [EMAIL PROTECTED] wrote:
Hi,
How to get properties
Please look for the recent thread T5: How to upgrade from 5.0.5 to 5.0.6.
Cheers,
Nick.
Marc A. Donis wrote:
Hi again,
First off, I am having an issue (with 5.0.5) concerning returning null
from my ValueEncoder's toValue method. I expect the value to be simply
set to null, but instead I
Hi Josh,
external js file is not rendered by T5, so seems no way to do that there,
what I'm doing now is, include a function in the template callable from a
external js file:
script type=text/javascript
function myStatesLink() {return ${theLink};}
/script
Josh Canfield-2 wrote:
You
Hi all,
Just like to say i think it's pretty silly that the 'hidden' component
can't be assigned a translator. I've got a hidden that will be populated
via javascript and the content describes an object. I've already got a
translator for this object, so the obvious thing would be to use the
Hi,
file uploader now has : validate=required, how to specify it should be a
jpeg file? another question, any library that I can use to generate a
thumbnail jpeg from the uploaded jpeg file? Thanks,
A.C.
--
View this message in context:
Hi,
I had the same problem. You can find the complete list of magic
characters here:
http://www.dynarch.com/demos/jscalendar/doc/html/reference.html#node_sec_5.3.5
-Filip
T. Papke skrev:
Hi,
i have tried the new Tapestry 5 DateField Component. If i setup a
Dateformat for rendering, the
20 matches
Mail list logo