Oops, please ignore my last entry - i see this has already been
covered in a subsequent thread.
Apologies for the noise, lasitha.
On 10/13/07, lasitha <[EMAIL PROTECTED]> wrote:
> Just out of curiosity, any reason you're not using the select component ?
> Cheers, lasitha.
>
> On 10/13/07, Jean-Phi
Just out of curiosity, any reason you're not using the select component ?
Cheers, lasitha.
On 10/13/07, Jean-Philippe Steinmetz <[EMAIL PROTECTED]> wrote:
> Thanks, that fixed it.
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > On Behalf Of Josh Canfield
Hi,
I'd like to show a static text containing ${something} on a page. Is
there a way to escape the "${"?
Thanks,
Hans Joerg Hessmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
shows list errors in a red box, any way to style this? thanks.
A.C.
--
View this message in context:
http://www.nabble.com/T5%3A-styling-the-error-messages-tf4616944.html#a13185696
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
The only thing to be aware of is to not collide your manually created text
fields' names with those selected by Tapestry for the form elements. I.e.,
if you have a component with id "userName" don't create a manual text field
with name="userName". They'll collide and confuse things.
On 10/12/07,
I was using the Validate annotation.
it gave me this:
Failure reading parameter validate of component
core/PropertyEditBlocks:textfield: Unknown validator type 'regexp'.
Configured validators are max, maxlength, min, minlength, required.
Josh Canfield-2 wrote:
>
> Can you provide us some co
Thanks again. I went with the second suggestion and it works beautifully.
Jean-Philippe
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Josh Canfield
> Sent: Friday, October 12, 2007 3:37 PM
> To: Tapestry users
> Subject: Re: T5: Form not saving
Yes it's the same form but I have other elements of the form as well that do
not use the components. I will look into using this setup however. When I
originally was looking for something similar it didn't appear to be that
simple so I'll give this a try. Thanks again.
Jean-Philippe
> -Origin
Can you provide us some code and error message?
It should look something like this...
Josh
On 10/12/07, mogulwraith <[EMAIL PROTECTED]> wrote:
>
>
> The documentation shows a validation of a zip code but an Unknown
> Validator
> error is produced.
> What do I need to do differently than what i
You can grab the the parameters directly from the request
@Inject
Request _request;
_request.getParameter("fieldName");
You'll have to deal with the potential for strange values, null, etc.
Although, if this is for your selection list problem from earlier I believe
a better solution might be to
Hi all, this is not Tapestry related, but since people here keep up
with the cutting edge frameworks, I'm wondering if you've ever heard
of something like this:
I've been invited to work on an internal company application (that we
resell) that is totally database driven. As in, the _entire_ web
a
The documentation shows a validation of a zip code but an Unknown Validator
error is produced.
What do I need to do differently than what is written in the documentation?
--
View this message in context:
http://www.nabble.com/Validate-regexp-error-tf4616208.html#a13183605
Sent from the Tapestry
Hi all,
So I have a form that has several elements. A few of the elements are not
done using the tapestry components and use regular HTML because the required
steps to make things work as needed with the components is simply not a
suitable solution. So how do I get these regular form elements to
Thanks, that fixed it.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Josh Canfield
> Sent: Friday, October 12, 2007 1:02 PM
> To: Tapestry users
> Subject: Re: T5: Looping list of objects
>
> I believe adding volatile="true" to your loop will ca
I believe adding volatile="true" to your loop will cause the loop to not
serialize your object.
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html#orgapachetapestrycorelibcomponentsloop
Josh
On 10/12/07, Jean-Philippe Steinmetz <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
>
Hi all,
I have a page that has a loop to iterate over some objects in a list and
display them as I need. I don't want to use a grid component because it
doesn't match the needs I need. I am not creating a table, I am creating a
selection box for a form. So my template looks like this:
School:
I finally found it!
I would say the issue is not in my code - I consider this a bug (?)
This was the problem:
I have an If component bound to the "showLoginForm" property - thus I have
getter and setters "boolean getShowLoginForm" and
"setShowLoginForm(boolean)".
Also, I have (in the same compon
Thanks Jesse...
I will give your stuff a shot... but am already building/trying an
IntegerPropertySelectionModel right now to see if it induces the proper
coercian.
I am happy to try any new builds/patches you submit. It would be nice to know
when it happens.
Thanks for your patience.
Best
I've added a jira issue for OGNL I think - but am not sure - that
this should be properly evaluated normally...So, it could be a bug.
You can probably do one of the following:
-) Create a simple inner class def of your IPropertySelectionModel
using an int[] .
-) Wait for me to fix it in OGNL.
I am trying to operate a PropertySelection that uses an array of strings but
their content are numbers.
private static final String[] tableSizeOptions = new String[] {
"1", "2", "3"
};
I am assuming OGNL is smart enough to coerce these during render cycle on IF
conditions that at
Let's say you have a service that allows multiple contributions. One of
the contributions is simply a list of other objects (say an ordered
configuration). What is the naming convention for the configuration
point for that list of objects? For instance, lets say you want to have
a list of FooBars c
Ok, i figure out what i was doing wrong. The trick is the starting tag.
You have:
//
Josh
On 10/12/07, Hugo Palma <[EMAIL PROTECTED]> wrote:
I tried that and it didn't work.
Josh Canfield wrote:
You can use inline javascript in your templates, you just need to use
the
Define didn't work. Didn't work on a particular browser?
I have this code in production and it seems to work fine in
Firefox/IE/Safari.
//noinspection JSUnresolvedFunction
Event.observe(window, 'load',
function() {
var orderField = '${sortOrderField}';
var rowsId = 'vpl_rows${id}'
What is the solution for initializing a persistent property in T-4.1.3
Can someone elaborate on this?
Seems to go back to 2005 and remains an issue...
http://mail-archives.apache.org/mod_mbox/tapestry-users/200509.mbox/[EMAIL
PROTECTED]
Thanks in advance...
Best regards
Ken in nashua
I tried that and it didn't work.
Josh Canfield wrote:
You can use inline javascript in your templates, you just need to use the
old trick that used to be used to hide js from the browser
http://www.javascripter.net/faq/hidingjs.htm
Jo
Sorry, should have waited 5 minutes before complaining. It was a
side-effect of the extension changing from html to tml (combined with
not having lunch yet).
On Fri, 2007-10-12 at 09:54 -0700, Josh Canfield wrote:
> You can use the @Component annotation to get a reference to a component in
> your
I did see them, but didn't see how to include non-JavaScript parts
without overriding @Shell. I'd like to be able to find the parent
Shell and instruct it to add the extras.
The issue with @Script is I can't seem to figure out how to read
files that are NOT in the class path. If I move my f
Hi,
Have you looked at
http://tapestry.apache.org/tapestry5/tapestry-spring/index.html? It doesn't
look like you have the TapestrySpringFilter configured in your web.xml
Josh
On 10/11/07, TNO <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I can't find my beans !!! I try to get them from another jar. I
You can use the @Component annotation to get a reference to a component in
your template.
http://tapestry.apache.org/tapestry5/tapestry-core/guide/component-classes.html
@Component(parameters =
{ "start=5", "end=1", "value=countValue" })
private Count _count;
Josh
On 10/12/07, Dan Adams
You can explicitly tell hibernate the names of your columns using hibernate
annotations or your hibernate mapping files. You'll need to check with the
hibernate docs/lists for more details.
Josh
On 10/12/07, Olivier <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
>
> I followed the small tutorial on usin
You can use inline javascript in your templates, you just need to use the
old trick that used to be used to hide js from the browser
http://www.javascripter.net/faq/hidingjs.htm
Josh
On 5/8/07, Alexandru Dragomir <[EMAIL PROTECTED]> wro
So I know you can get an embedded component using
ComponentResources.getEmbeddedComponent() but is there no way to inject
one using something like this:
@Inject
private MyComponent componentName;
--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857
---
Hi,
I followed the small tutorial on using hibernate with T5 here
http://wiki.apache.org/tapestry/Tapestry5HowToUseTapestryHibernate and it
worked like a charm. Thank you to whoever wrote this!
The example uses underscores for some private fields and sometimes not. Now
I want to use this in my
Do you guys think you could bring this off list? This thread needs
to be put out of its misery...
On 10/12/07, Ken nashua <[EMAIL PROTECTED]> wrote:
>
> Thanks josh... couple more ques...
>
> Since I already have tapestry imported to my workspace... I am questioning
> the need to tell my projec
I meant to say a ticket here: http://jira.opensymphony.com/browse/OGNL
On 10/12/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> It's a bug in the ognl expression compiler, would you mind filing a
> ticket with the specifics for me? (expression, object types and
> values of the types involved)
>
It's a bug in the ognl expression compiler, would you mind filing a
ticket with the specifics for me? (expression, object types and
values of the types involved)
It reverts back to normal OGNL reflection when it hits these but still
logs them so that it's hopefully annoying enough that people re
Thanks josh... couple more ques...
Since I already have tapestry imported to my workspace... I am questioning the
need to tell my project where the sources are. They are already imported to the
workspace.
Also your manner in which to tell eclipse where the sources is unclear... do I
configure
Thanks josh... couple more ques...
Do I point eclipse to the sources from my local repo (zipped) or to SVN folder?
Also, there is this -Djavassist-write-dir=target/classes
Where do I set this up... and is the above configuration valid ? I put it in my
window/preferences/java/installedjre's dia
Thanks Ken!
As you say, the issue must be in my code. Sadly the message does not give me
any clue about what or where.
So - it's in the ognl somewhere - that's a start! I guess I'll just have to
try blockwise comment out code do trace the error.
'Nice weekend to you all!
Malin
On 10/12/07, Ken
Nick,
For a PropertySelection component housing strings... am I free to perform OGNL
arithmetic on those elements if they happen to be numeric strings?
I am wondering if I need a translator or if it is illegal to perform ognl
arithmetic on PropertySelection strings that happen to be "1", or "2
I'm having a similar problem and modifying the setter doesn't work for me.
In my use case, i have a Double property in a page. This property is
bound to the value of a TextField. If i submit with the textfield an
empty a "0.0" value shows up, instead of the submitted value that was null.
I've
Dude,
The issue is in your code trust me (now I wish I could say the same about my
code). Your referencing an OGNL variable with wrong case or something like that
or semantically it is not constructed properly in order to follow thru with the
processing.
What is happening is the OGNL expressi
On 10/12/07, lasitha <[EMAIL PROTECTED]> wrote:
> Hello Michael, you may find this thread useful:
> http://www.nabble.com/-T5--Restricting-Page-Access-tf4325658.html
>
> tapestry5-acegi uses a combination of annotations and contributions to
> the RequestHandler pipeline[1]. You may actually only
Hi Nick,
Using a setter does work, right?
Nick Westgate wrote:
>
> Getters/setters are only required for JavaBean conformity, e.g. to use
> prop.
>
> I've just tested this on 5.0.5 (maybe 5.0.6 later if I get time) ...
> There is a bug - setting the property to null doesn't work.
>
> If some
Hi,
I have an exception stack trace which appears on both 4.1.2 and 4.1.3.
The weird thing is that the app works fine, everything looks fine from the
users perspective.
Anyone has an idea what it is?
Cheers, Malin
sorry for the long stack trace now...:
org.apache.hivemind.ApplicationRuntimeExce
lasitha is right,
you are asking the question in the wrong place,
these are really basic hibernate questions and do not belong to this
list. try googling first..
before you continue calling anyone else impatient
please read this page carefully
http://www.catb.org/~esr/faqs/smart-questions.html
Getters/setters are only required for JavaBean conformity, e.g. to use prop.
I've just tested this on 5.0.5 (maybe 5.0.6 later if I get time) ...
There is a bug - setting the property to null doesn't work.
If someone can verify this on 5.0.6 before I do, please log a JIRA.
Cheers,
Nick.
Josh
OK, thanks!
Works fine with the Any wrapping :)
On 10/8/07, Martino Piccinato <[EMAIL PROTECTED]> wrote:
>
> Unfortunately for some reason some components cannot be used with
> updateComponents:
>
> most notably Insert and If. The solution is to wrap you if with an Any
> component that can be upd
you must not put your dao objects into pages or components packages...
http://wiki.apache.org/tapestry/Tapestry5HowToNotMakeCustomComponent
last section
move your DAO into another package, yourApp.entities or sth..
Davor Hrg
On 10/12/07, MavenMan <[EMAIL PROTECTED]> wrote:
>
>
> I just code:
>
You provide a translator. The framework provides one for Double etc:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/translator/
You can add more in your AppModule.java, like this ...
(I know this seems like overkill, but will likely be improv
I've created an issue for this.
You can follow or vote for it here
https://issues.apache.org/jira/browse/TAPESTRY-1818
Alexandru Dragomir wrote:
As you mentioned , the workaround is to put the javascript (or at
least the
one that contains the < and >) in a separate file.
This should be fine
Thanks, I changed to onUpdateMsg()!
works fine!
2007/10/12, lasitha <[EMAIL PROTECTED]>:
>
> I might still not be getting it, but i'll try again :)
>
> Preamble... (see below for a possible solution):
>
> Tapestry uses the following convention for an action link:
> /page.component:action
> Periods
I might still not be getting it, but i'll try again :)
Preamble... (see below for a possible solution):
Tapestry uses the following convention for an action link:
/page.component:action
Periods represent nested components and colons prefix a named action.
So, '/index.updatemsg' points to an 'upd
Hello,
Please guide me how i can translate input value into double or float. Thanks
-Imran Amjad
--
View this message in context:
http://www.nabble.com/how-to-translate-input-into-double-float-value-tf4611891.html#a13170402
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
54 matches
Mail list logo