The generated code anyway won’t show t:id.. but if I give id instead of t:id,
it trats it as css id and the generated html would have automatically generated
id by tapestry instead of the id given by us in id=”${}”
Warm Regards,
Ashutosh Soman
From: Thiago H. de
Just as a side note: Environmental is not the only way. Component parameters
are actually bidirectional. For example property bindings are writable. A
component parameter is not limited to provide values for components. It may
be used to populate a value from the component to its container. A good
Hi!
I simply use this code for it:
public static void contributeApplicationDefaults(
MappedConfiguration configuration) {
ResourceBundle bundle = ResourceBundle.getBundle("Cpu");
Enumeration e = bundle.getKeys();
while (e.hasMoreElements()) {
>
>
> What are the implications here, regarding persistence from one page to the
> next? Since I'm just generating a link for the next page, I wouldn't be
> able to set values on the page before doing the redirect.
>
Depends on how you're persisting/communicating values. For instance, you
abso
>For instance I have a beaneditform in one of my
> templates and I can't use auto-completion for some of the attribute i.e. the
> *clientValidation* attribute.
I don't think the Intellij plugin is sophisticated enough to do that
kind of introspection.
clientValidation parameter is inherited from
Hi!
On Thu, 21 Jul 2011 17:48:37 -0300, Josh Canfield
wrote:
I'm not sure how this helps the OPs problem though.
BeginRender for your component is going to happen after the layout
component has started rendering, and already output the title. Right?
Right!
t:mycomponent won't get
> You'll need to use the Environmental service in your page and add some
> custom object on it, typically in @BeginRender. Then, in your component, you
> invoke some method in this object. In the page, in some event after
> @BeginRender, you get the value back.
I'm not sure how this helps the OPs
Can any Intellij user please help me with this issue?
Regards,
Julien.
2011/7/15 Julien Martin
> Hello,
>
> I use Intellij as my IDE and only some of the available attributes for some
> components are available. For instance I have a beaneditform in one of my
> templates and I can't use auto-com
On Thu, 21 Jul 2011 16:59:32 -0300, Norman, Jason
wrote:
Would I get the response from RequestGlobals? If so, I guess I would have
to inject that into my controller also, right?
You can inject Request directly.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibern
You can also set them from the command line:
-Dtapestry.production-mode=false
which is mostly how I choose to do it...
On Thu, Jul 21, 2011 at 11:35 AM, Mark wrote:
> On Thu, Jul 21, 2011 at 10:27 AM, Erik Fäßler
> wrote:
>> Goal: Being able to configure my WebApp from
>> file rather than bei
Well, I don't hate that idea. It seems pretty close to what I'm already
doing.
Couple of questions about it.
Would I get the response from RequestGlobals? If so, I guess I would have
to inject that into my controller also, right?
What are the implications here, regarding persistence from one pa
Martin thanks, I will try this, will let you know.
Cheers,
Peter
- Original Message -
From: "Martin Strand"
To: "Tapestry users"
Sent: Wednesday, 20 July, 2011 12:52:52 GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Re: 100% CPU load after hot deploy of Tapestry 5 Application
Hi Guys,
Thanks for the attempts...
these machines are monsters, 8 cores and about 32 gigs... Tomcat has more
resources allocated than it should ever need, the CPU never drops just grows
after the hot deploy (and only then). The machine doesn't fall over either
because of the extensive resourc
Hm, well, on an event, tapestry is definitely looking for a result from the
event; it normally falls to the ComponentEventResultProcessor service to handle
that return value and determine what to send the client, with the default
action being (for void event handlers) to re-render the page.
Jus
Hello,
I'm working on porting a fairly large Tap3 application to Tap5. I understand
there is a large difference, and many of the concepts don't translate. But I am
hoping for a little nudge in the right direction, since I've spent a few days
searching the web for ideas.
I have a lot of existin
ah okay, Thanks
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Pass-component-property-into-page-tp4620541p4620616.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe,
On Thu, 21 Jul 2011 15:32:27 -0300, George Christman
wrote:
Yes, in my example I'm trying to pass a title generated in the page
component back to the layout component.
Tapestry's philosophy is that components (including pages) are and should
be black boxes, so the normal flow is from top
On Thu, Jul 21, 2011 at 10:27 AM, Erik Fäßler wrote:
> Goal: Being able to configure my WebApp from
> file rather than being forced to edit the code every time I change
> deployment (from test to productive for instance;
You probably already know this, but you can set these from web.xml
with some
Yes, in my example I'm trying to pass a title generated in the page component
back to the layout component.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Pass-component-property-into-page-tp4620541p4620575.html
Sent from the Tapestry - User mailing list archive at Nabble
Pages don't have parameters. It's not really clear to me from your
example what it is you're trying to do.
Are you trying to have your component define the title of the page?
On Thu, Jul 21, 2011 at 11:22 AM, George Christman
wrote:
> Does anybody know how to pass a prop:value from the compone
Does anybody know how to pass a prop:value from the component back to the
page? I know how to do this very easily from the page to the component, just
not in reverse.
I tried
***Custom Component***
http://tapestry.1045711.n5.nabble.com/Pass-component-property-into-page-tp4620541p4620541.html
S
That sounds pretty sweet Howard, wish your family and friends were in Albany
:) Good luck in Boston!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/HLS-visits-Boston-care-for-a-drop-by-tp4620291p4620468.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
> Thiago H. de Paula Figueiredo : thank for the tip, I will look into it right
> away.
> Andreas Andreou : I knew someone would have had the idea before me :) As
> soon as I have something robust enough I will share it with pleasure.
My next problem is how characterizing an input (parameters
JSONLiteral is a hack ... in fact, it transforms what is being sent
into something that is no longer JSON. This is necessary for certain
components that initialize themselves using JavaScript object notation
(not JSON, which is a specific subset). The JSONLiteral often is a
symbol (to reference a
Hello all,
I'll be visiting my friends and family in Boston in August (19th -
28th). If you are in the greater Boston area and are using Tapestry,
please get in touch; I'd love to drop in, see what you're doing, and
talk about Tapestry 5.3 and beyond.
--
Howard M. Lewis Ship
Creator of Apache T
Hmm... I can't find any code that's using it. All my incantations
ended up causing recursion with the Alias service.
Here is something that works by being lazy:
@Contribute(SymbolSource.class)
public void
addTestResourceSymbols(OrderedConfiguration
configuration,
You can check the startup logs to check if the component is getting
loaded. You should see something like tapx/DateField in the log. If it
is not then the jar is some how not getting loaded.
regards
Taha
On Thu, Jul 21, 2011 at 8:45 PM, captain_rhino
wrote:
> Can anyone spot my deliberate mist
Hey all,
I've been struggling for a while with what seems to be a simple task at
first:
"On WebApp startup, load a configuration file - located in the app's
context, i.e. in the WEB-INF directory - and contribute its contents to
Tapestry's SymbolSource service."
I always get in trouble by
Can anyone spot my deliberate mistake please?
I currently recieve the following exception.
Caused by: org.apache.tapestry5.ioc.util.UnknownValueException: Unable to
resolve 'tapx/datefield' to a component class name.
I'm just trying to use some of the tapx extension s.
.tml file
http://tapestry
On Thu, 21 Jul 2011 10:49:32 -0300, Nazare Thibaut
wrote:
Hello,
Hi!
But I was unable to get Tapestry representation of a page.
You can get that by using the ComponentSource service and its methods,
then use the Component.getComponentResources().getEmbeddedComponent() and
Component.
i can't really help - just want to say this brings back some nice memories,
http://blog.andyhot.gr/A_new_tool_for_Tapestry/
http://blog.andyhot.gr/diagrams_for_tapestry/
I wish your project goes forward!
On Thu, Jul 21, 2011 at 16:49, Nazare Thibaut wrote:
> Hello,
>
> It’s my first message here
On Thu, 21 Jul 2011 10:53:00 -0300, Ashutosh, Soman
wrote:
Hi!!
Hi!
As mentioned above, I tried using id="${}" instead of t:id, but the
function getElementbyId() returns element based on t:id and not id
This isn't true. Check the generated HTML and the post it here.
--
Thiago H. de Pa
Hi!!
As mentioned above, I tried using id="${}" instead of t:id, but the function
getElementbyId() returns element based on t:id and not id which I tried and
experimented with for quite some time now. And sadly, t:id soesn't accept ${}
types of values, it needs to be hardcoded.
Warm Regards,
Hello,
It’s my first message here and I’m French, English is not my native language;
please excuse typing errors.
I looked for answers in the Tapestry 5 wiki and by searching in the mail
archive but I might have used wrong keywords.
My goal is to generate a directed graph of my tapestry website
On Thu, 21 Jul 2011 04:31:43 -0300, ashu.soman
wrote:
Hi,
Hi!
I need to use javascript in a loop which uses t:id of an element(a radio
button). The javascript in an onclick event on another element(an image).
But since tapestry is not allowing me to put t:id in t:id="${}" this
fashion, i'
Use a mixin. They allow you to get the autogenerated Tapestry ids and pass
those to javascript.
Or you can change your javascript to use event.target instead of the id.
That will let you know what image was clicked, and then you can traverse the
dom for the nearest radiobutton.
--
View this messa
For Tapestry 5 of course.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Loop-and-javascript-tp4618424p4618425.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-ma
Hi,
I need to use javascript in a loop which uses t:id of an element(a radio
button). The javascript in an onclick event on another element(an image).
But since tapestry is not allowing me to put t:id in t:id="${}" this
fashion, i'm facing problem.
Basically what i want to do is check correspond
The current datepicker component does not enable individual day,month, year
to be inoutted through 3 individual drop down boxes. I have seen some
discussion on the subject but can someone point me in the right direction on
how to achieve such a component?
Is there a component out there that alred
39 matches
Mail list logo