Hi Robert, Robert, Geoff, Josh!
Even if Tapestry's behaviour may be correct from a
technical/architectural point of view by not calling a @Property
set-Method this works against what a developer expects when using
@Property + @Parameter (well, at least I did not expect it). I mean, if
it's re
Yeah, missed that. Thanks.
On 30/08/2011, at 3:50 PM, Robert Zeigler wrote:
> Tapestry will only throw an exception if there's a getter and "read" (from
> @Property) is true, or there's a setter and "write" is true. If "write" is
> false, then tapestry doesn't attempt to generate a setter, and
Tapestry will only throw an exception if there's a getter and "read" (from
@Property) is true, or there's a setter and "write" is true. If "write" is
false, then tapestry doesn't attempt to generate a setter, and you're fine. In
the case of the original post, "write=false", so no exception was
Maybe I'm confused too.
It's OK to use @Property together with @Parameter. eg.
http://jumpstart.doublenegative.com.au/jumpstart/examples/component/creatingcomponents
It's not OK to use @Property AND a getter or setter. It SHOULD HAVE thrown a
runtime exception. if it didn't, then I'd
Maybe I'm confused here, but @Parameter and @Property seem to be
orthogonal and not mutually exclusive.
(from the point-of-view of the component)
@Parameter : data flows from container to this field (and vice versa)
@Property : data flows from contained components to this field (and vice versa)
I
On Sat, Aug 27, 2011 at 9:14 AM, Robert Zeigler
wrote:
> FieldValidatorSource is heavily geared for form fields; form field validation
> involves potentially hooking up client-side js to the form field, displaying
> error messages to the user, tracking the field that generated the error, etc.
>
On Mon, 29 Aug 2011 20:53:00 -0300, Paul Stanton
wrote:
just injecting messages didn't work when i tried it.
Caused by: java.lang.RuntimeException: No service implements the
interface org.apache.tapestry5.ioc.Messages.
Maybe a 'service' isn't what I'm after,
Messages isn't a service. It
Do you mean I should do the following:
public Object doSomethingUseful(Object someParameter, Messages messages)
{...}
and thereby call:
for example?
On 30/08/2011 10:14 AM, nillehammer wrote:
Don't inject it in the constructor. That isn't possible. Define the Messages
as an (additional) par
Don't inject it in the constructor. That isn't possible. Define the Messages
as an (additional) parameter to your service method. (This is sometimes
referred to as method-Injection, a misleading term in my humble opinion).
-
http://www.winfonet.eu
--
View this message in context:
http://tapes
just injecting messages didn't work when i tried it.
Caused by: java.lang.RuntimeException: No service implements the
interface org.apache.tapestry5.ioc.Messages.
at
org.apache.tapestry5.ioc.internal.RegistryImpl.getService(RegistryImpl.java:560)
at
org.apache.tapestry5.ioc.internal.Ob
What's the intent of what you are trying to do?
On Aug 29, 2011, at 5:05 PM, Wechsung, Wulf wrote:
> Hello Guys,
>
> having a small problem with custom components with forms in zones and while
> looking at the build-in components it occurs to me that quite a few of them
> use the Formsupport.s
Hello Guys,
having a small problem with custom components with forms in zones and while
looking at the build-in components it occurs to me that quite a few of them use
the Formsupport.store to restore some state to the component, presumably when
the form submits. Unfortunately, I haven't quite
Hum .. there where no forms in form but my new page had some errors in it's
form (i.e. pointed to variables that did not exist)
This lead to this strange behaviour.
I don't have time to dig into it now but it could be related to this plus
the ExceptionReport page that I recently added.
Now I am
Yes. I do like the style. I guess I'll copy it from the source code. Thanks a
lot for your help Kalle!
On Aug 29, 2011, at 1:29 PM, Kalle Korhonen wrote:
> On Mon, Aug 29, 2011 at 10:07 AM, Lenny Primak wrote:
>> Thank you! I like the way the login component looks. Perhaps if there a way
>
Hi the spring version I am using is 3.0.3.RELEASE
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-5-2-1-upgrade-woes-tp2849844p4747055.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
On Mon, Aug 29, 2011 at 10:07 AM, Lenny Primak wrote:
> Thank you! I like the way the login component looks. Perhaps if there a way
> to extend it...
I wouldn't go there, you gain nothing by trying to extend the existing
one. The component's very simple - I'd encourage rewriting the
component a
On Mon, Aug 29, 2011 at 6:32 PM, Kalle Korhonen
wrote:
> Please open an issue, it makes a lot of sense that it'd be easily
> configurable per job. Massimo, he states the use case below.
Maybe a job is not made up by only one thread... I mean there could be
different cases and generalize is not e
2011/08/22 06:21, Ken in Nashua:
Hi All,
Hi Ken
Can anyone point me to some semantics where by and how I could instrument this
area with the new portfolio of tap5 components?
Does a custom head component exist anywhere ?
Just look at the layout component pattern
(http://tapestry.apache.or
Thank you! I like the way the login component looks. Perhaps if there a way to
extend it...
On Aug 29, 2011, at 12:57 PM, Kalle Korhonen wrote:
> Contribute SecuritySymbols.LOGIN_URL, the following are the defaults:
>
>public static void
> contributeFactoryDefaults(MappedConfiguration
>
2011/08/29 08:00, Gunnar Eketrapp:
I have a layout component and a quite simple page. (recently created it ...)
There are no zones involved ...
When displaying this new page I get the error message ...
*Form components may not be placed inside other Form components.*
There has to be a form i
2011/08/24 19:18, Wechsung, Wulf:
ð Result is that the will apparently not reevaluate the nullness of the reference after clicking the action
link. Zone update will happen but it will still show the action link. If I test on a method "isShowEditor" that
does a simply "return object != null" i
Contribute SecuritySymbols.LOGIN_URL, the following are the defaults:
public static void
contributeFactoryDefaults(MappedConfiguration
configuration)
{
configuration.add(SecuritySymbols.LOGIN_URL, "/" + PATH_PREFIX
+ "/login");
configuration.add(Sec
Quick question that I don't see an obvious solution to...
How do I get my own page instead of the generic tapestry-security login page?
Thanks!
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional comm
Great! I'll try 1.2 and will do the shiro mailing list as well.
I tried the @RequiresRole on a stateless Rest service,
and it didn't work, I guess now I know why now :)
On Aug 29, 2011, at 12:28 PM, Kalle Korhonen wrote:
> Thanks Lenny. Yes, it's the wrong list but the discussion's likely
> rel
In eclipse i have to refresh very often. External git/subversion actions,
generating eclipse stuff from maven... This is just how it works.
If this really annoys you, netbeans might be a better choice. It refreshes
automatically but in return artifacs are not indexed so well.
Cheers,
Andi.
On A
Please open an issue, it makes a lot of sense that it'd be easily
configurable per job. Massimo, he states the use case below.
Kalle
On Mon, Aug 29, 2011 at 3:25 AM, jeczmien wrote:
> Hi.
> I'm wonder there is any way to set priority for task running by
> ParallelExecutor.invoke.
> I need lower
Thanks Lenny. Yes, it's the wrong list but the discussion's likely
relevant to a number of other people as well. The most appropriate
list is Shiro users and incidentally, there was a discussion on the
same topic some time ago
(http://shiro-user.582556.n2.nabble.com/Using-Shiro-in-a-Web-EJB-environ
Hi guys,
perhaps this is the wrong list to post this to, but
tynamo list still doesn't work for me, and I may post this on the Shiro list as
well.
I just started using tapestry-security, and it works great!
My application is a Tapestry front-end to a bunch of EJBs, Web services, and
Rest objects
thank you so much but does anyone have an idea about the eclipse problem?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/generating-secure-files-tp4746478p4746553.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
oh ok. Thanks for the reply!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-control-file-types-extensions-in-t-upload-tp4746468p4746546.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
The static contribute() method goes into your AppModule.java,
Not sure how to solve your eclipse problem.
On Aug 29, 2011, at 11:13 AM, daoudja wrote:
> i want to let users of my website preview pdf's using flex paper
> as this one requires swf files i convert pdf to swf then i display them
> i p
Hi
There is no way to do this using html. You can use javascript to do it
but then you should double-check it at the server end.
HTML5 does have an accept attribute for that.
On Mon, Aug 29, 2011 at 8:39 PM, hese <1024h...@gmail.com> wrote:
>
> Hi,
>
> I am using t:upload control in my form. I
i want to let users of my website preview pdf's using flex paper
as this one requires swf files i convert pdf to swf then i display them
i place those files in the class path and then i reuse them using an asset
the problem is that those files are generated but are not visible under
eclipse so i
Hi,
I am using t:upload control in my form. I want the user to be able to
upload only .txt or .csv files. How to I control this? Right now I can see
all files enabled when the file dialog opens.
Thanks!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-control
HI
On Sun, Aug 28, 2011 at 2:45 PM, cqasker wrote:
> I have some questions about linksubmit/submit in a loop. I have some enums
> {e1, e2, e3} for example. In the loop I generate a linksubmit for each enum
> and pass the enum in the linksubmit context parameter and an event called
> "handleEnum"
Yes, please
On Mon, Aug 29, 2011 at 8:20 PM, Jens Breitenstein wrote:
> Hi Taha, hi Josh!
>
> well, that's what my gut feeling told me too. Should I raise a jira issue?
>
>
>
> Am 29.08.11 16:36, schrieb Taha Hafeez:
>>
>> I agree.
>>
>> On Mon, Aug 29, 2011 at 7:41 PM, Josh Canfield
>> wrote:
>
Hi Taha, hi Josh!
well, that's what my gut feeling told me too. Should I raise a jira issue?
Am 29.08.11 16:36, schrieb Taha Hafeez:
I agree.
On Mon, Aug 29, 2011 at 7:41 PM, Josh Canfield wrote:
Sounds like a defect. If there is setter I can't think of a reason that
@Parameter shouldn't u
I agree.
On Mon, Aug 29, 2011 at 7:41 PM, Josh Canfield wrote:
> Sounds like a defect. If there is setter I can't think of a reason that
> @Parameter shouldn't use it.
> On Aug 29, 2011 6:15 AM, "Taha Hafeez" wrote:
>> @Parameters do not use setters. They create a conduit to set/get the
>> value
Sounds like a defect. If there is setter I can't think of a reason that
@Parameter shouldn't use it.
On Aug 29, 2011 6:15 AM, "Taha Hafeez" wrote:
> @Parameters do not use setters. They create a conduit to set/get the
> values directly , so setters are never used.
>
> You can look at the code of P
Thx Taha!
That's exactly what I did to come around it. But if both annotations are
mutally exclusive shouldn't the framework give a warning or simply fail
like it does when having a setter and a property which forces the setter
creation? Just treating a setter as non-existing...I don't know if
@Parameters do not use setters. They create a conduit to set/get the
values directly , so setters are never used.
You can look at the code of ParameterWorker for details
you can always use setupRender to setup things
On Mon, Aug 29, 2011 at 6:16 PM, Jens Breitenstein wrote:
> Hi All!
>
> I trie
On Mon, Aug 29, 2011 at 12:25 PM, jeczmien wrote:
> Hi.
> I'm wonder there is any way to set priority for task running by
> ParallelExecutor.invoke.
> I need lower priority thread for generating pdf - its time and proc
> consuming. Now I'm using JVM's java.util.concurrent.ThreadPoolExecutor
Not
Hi All!
I tried to use a combination of @Property and @Parameter.
@Property(read = true, write = false)
@Parameter(required = true)
private String _myParam;
unfortunately it seems to be impossible to "intercept" a set in such a case
// >> NEVER CALLED
public void String setMyParam(final
I have the same problem. That is:
I have a block call blockDecorator in code like this:
Hi.
I'm wonder there is any way to set priority for task running by
ParallelExecutor.invoke.
I need lower priority thread for generating pdf - its time and proc
consuming. Now I'm using JVM's java.util.concurrent.ThreadPoolExecutor
Best regards
--
View this message in context:
http://tapestry.10
45 matches
Mail list logo