Re: Component ID

2014-04-26 Thread Thiago H de Paula Figueiredo
On Sat, 26 Apr 2014 15:29:39 -0300, Boris Horvat wrote: I guess in my mind it is like creating 5 instance of the same component and then each instance will have their own version of the property that is persisted. But this appears to be my wrong interpretation Yeah, that's a wrong inter

Re: Component ID

2014-04-26 Thread Boris Horvat
m in the iteration. > @Persist is basically reading and writing to an HttpSession attributed > named [fully qualified page name]:[field name], when it's in a page, or > [fully qualified page name].[full component id]:[field name]. I guess in my mind it is like creating 5 instance of the

Re: Component ID

2014-04-26 Thread Thiago H de Paula Figueiredo
7;s in a page, or [fully qualified page name].[full component id]:[field name]. I will try to pass the client zone id to the context and to use it back to refresh the proper zone (I did come up with same idea but I was thinking that it is wrong path to follow) Actually, that's the

Re: Component ID

2014-04-26 Thread Boris Horvat
;> public String getZoneImageUploadId() { >> if (zoneImageUploadId == null) >> zoneImageUploadId = >> javascriptSupport.allocateClientId(resources); >> return zoneImageUploadId; >> } >> > > I see no point in persisting the zon

Re: Component ID

2014-04-26 Thread Thiago H de Paula Figueiredo
uploads the zone. In addition, what you're calling component id isn't the component id, t:id, but the HTML, client-side id, and they're different things that may or may not have the same value. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and

Component ID

2014-04-26 Thread Boris Horvat
Hi, I believe that I am doing something wrong but just wanted to confirm if that is the case. I have a component that I pass in the loop. Inside that I component I have a a zone and ajaxUpload component (from jquery but I dont think that plays any role here) Now the idea is that once someone

Re: Method de.aeits.tapestryweb.pages.Index.onActionFromStart() references component id 'Start' which does not exist.

2013-10-08 Thread Andreas Ernst
Am 08.10.13 15:19, schrieb Eugen: Hi, post Your Index.tml file, do You have something like start guessing in Your page? Thanks, i just saw, that this might be missing. -- ae | Andreas Ernst | IT Spektrum Postfach 5, 65612 Beselich Schupbacher Str. 32, 65614 Beselich, Germany Tel: +49-6484

Re: Method de.aeits.tapestryweb.pages.Index.onActionFromStart() references component id 'Start' which does not exist.

2013-10-08 Thread Eugen
> /** > * Start page of application TapestryWeb. > */ > public class Index { > > [...] > > void onActionFromStart() { > } > } > > After adding the method onActionFromStart() i got this error: > > An unexpected application exception has occurred. > &

Method de.aeits.tapestryweb.pages.Index.onActionFromStart() references component id 'Start' which does not exist.

2013-10-08 Thread Andreas Ernst
application exception has occurred. Method de.aeits.tapestryweb.pages.Index.onActionFromStart() references component id 'Start' which does not exist. -- ae | Andreas Ernst | IT Spektrum Postfach 5, 65612 Beselich Schupbacher Str. 32, 65614 Beselich, Germany Tel: +49-6484-91002 Fax: +49-64

Re: Error references component id 'ABC' which does not exist

2012-11-29 Thread Howard Lewis Ship
View this message in context: > http://tapestry.1045711.n5.nabble.com/Error-references-component-id-ABC-which-does-not-exist-tp5718353p5718354.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > -

Re: Error references component id 'ABC' which does not exist

2012-11-28 Thread Lance Java
If you provide a small snippet of code that's failing and an exception stack trace you are more likely to get help with this. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Error-references-component-id-ABC-which-does-not-exist-tp5718353p5718354.html Sent fro

Error references component id 'ABC' which does not exist

2012-11-28 Thread dinesh707
When I run the same project in -- Jetty 7 -- Java 7 IT WORKS ! But when I build the war file and move it to -- Tomcat 7 -- Java 7 It gives the error ---Error references component id Any idea why this is happening? -- View this message in context: http://tapestry.1045711.n5.nabble.com

Re: Custom Component Id Other than Class Name

2012-10-14 Thread Lance Java
/Custom-Component-Id-Other-than-Class-Name-tp5716882p5716884.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: Custom Component Id Other than Class Name

2012-10-13 Thread Dragan Sahpaski
ework and as such I > have requirements for class names. These names are not what I would like to > use for the component ID and I've searched everywhere for a way to customize > the ID. > > I assume the answer I'm looking for will be "no it's not possible"

Custom Component Id Other than Class Name

2012-10-13 Thread Bob Obringer
e not what I would like to use for the component ID and I've searched everywhere for a way to customize the ID. I assume the answer I'm looking for will be "no it's not possible" or "yes, here's a simple solution" but have been unable to find that answer

Re: Change the label of component id

2012-06-01 Thread nquirynen
Maybe try integer=your error message or field specific: valueNumeric-integer=your error message Did not test them though -- View this message in context: http://tapestry.1045711.n5.nabble.com/Change-the-label-of-component-id-tp5713562p5713572.html Sent from the Tapestry - User mailing list

Re: Change the label of component id

2012-05-31 Thread iberck
an I resolve it? Thanks in advance -- View this message in context: http://tapestry.1045711.n5.nabble.com/Change-the-label-of-component-id-tp5713562p5713569.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To

Re: Change the label of component id

2012-05-31 Thread Robert Zeigler
I > want to change %s text > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Change-the-label-of-component-id-tp5713562.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > -

Change the label of component id

2012-05-31 Thread iberck
;integer-format-exception=You must provide an integer value for %s." .. I want to change %s text -- View this message in context: http://tapestry.1045711.n5.nabble.com/Change-the-label-of-component-id-tp5713562.html Sent from the Tapestry - User mailing list a

Re: dynamic component id?

2010-12-03 Thread Thiago H. de Paula Figueiredo
On Fri, 03 Dec 2010 11:05:31 -0200, Christian Koller wrote: Yes that's exactly what I face. What I would need is more than one instance of the component and each instance with his own session value, independent from the other instances. But I guess this isn't possible. You only need to

dynamic component id?

2010-12-03 Thread Christian Koller
Hi all Thank you for your answers. I don't mean any client id related stuff. I mean the id of the component. > The explanation is not correct. You have a single TimeSlot component instance > in your template which is rendered n times. Instead of relying in @Persist > inside the component, pass

Re: dynamic component id?

2010-12-03 Thread Antonio Fernández
for: xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";> Cheers, Joost On 3/12/10 12:54 PM, Christian Koller wrote: I have the following template: xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";> But Tapestry calls out: Component id 'pr

Re: dynamic component id?

2010-12-03 Thread Thiago H. de Paula Figueiredo
On Fri, 03 Dec 2010 09:54:54 -0200, Christian Koller wrote: Any ideas how to solve this? Tapestry components ids are static, period. HTML ids are dynamic. If I use a literal as the id, then it works, but then all the generated timeSlot components within the loop will have the same id. If

Re: dynamic component id?

2010-12-03 Thread Kristian Marinkovic
Datum: 03.12.2010 12:57 Betreff:Re: dynamic component id? I believe he didn't misunderstood... the real problem is "which approach should he get to work with dynamic components?". Actually, I didn't need to use this yet but always wondered too. ___

Re: dynamic component id?

2010-12-03 Thread Everton Agner
gt; Joost > > > > > On 3/12/10 12:54 PM, Christian Koller wrote: > >> I have the following template: >> >> http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";> >> >> >> >> >> >> But Tapestry

Re: dynamic component id?

2010-12-03 Thread Joost Schouten (ml)
e: http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";> But Tapestry calls out: Component id 'prop:index' is not valid; component ids must be valid Java identifiers: start with a letter, and consist of letters, numbers and underscores. Is it not

dynamic component id?

2010-12-03 Thread Christian Koller
I have the following template: http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";> But Tapestry calls out: Component id 'prop:index' is not valid; component ids must be valid Java identifiers: start with a letter, and consist of le

Re: [t:5.0.18] tapestry component id attribute value format

2009-04-30 Thread roubaozi
is the number 120f2926924? how do I get this number from the >> client >> > side, for example if I need to set the value of this input field >> through >> > javascript, I would like to do something like: >> >

Re: [t:5.0.18] tapestry component id attribute value format

2009-04-29 Thread Pedro Januário
ield through > > javascript, I would like to do something like: > > $('text1').value = "new value"; > > but how do I know the id of this element after it is rendered? > > > > Thanks > > -- > > View this message in context: &g

Re: [t:5.0.18] tapestry component id attribute value format

2009-04-29 Thread Howard Lewis Ship
thing like: > $('text1').value = "new value"; > but how do I know the id of this element after it is rendered? > > Thanks > -- > View this message in context: > http://www.nabble.com/-t%3A5.0.18--tapestry-component-id-attribute-value-format-tp23296

[t:5.0.18] tapestry component id attribute value format

2009-04-29 Thread roubaozi
like: $('text1').value = "new value"; but how do I know the id of this element after it is rendered? Thanks -- View this message in context: http://www.nabble.com/-t%3A5.0.18--tapestry-component-id-attribute-value-format-tp23296131p23296131.html Sent from the Tapestry - User

Re: T5: How to set generated component id

2009-03-13 Thread Thiago H. de Paula Figueiredo
Em Fri, 13 Mar 2009 16:59:36 -0300, Peter Kanze escreveu: Hello, Hi! I want to add some blocks with a generated id. like this: Why exactly do you want blocks? Your example doesn't give any hints. Couldn't you just use s instead? How can I give my block an id based on the current th

T5: How to set generated component id

2009-03-13 Thread Peter Kanze
Hello, I want to add some blocks with a generated id. like this: But I get the following error message: Block id 'image${thumbIndex}' is not valid; block ids must be valid Java identifiers: start with a letter, and consist of letters, numbers and underscores. How can

Re: [t5][Zone Component] id & getElementID

2008-11-17 Thread Tuan
Sorry about typing error. so don't worry about page class name. Thanks Tuan wrote: Hi all, I have some problems when dealing with the Zone component. - We don't use prop binding in t:id parameter. However I see that t:id parameter of the component is defined in source code like as other

[t5][Zone Component] id & getElementID

2008-11-17 Thread Tuan
Hi all, I have some problems when dealing with the Zone component. - We don't use prop binding in t:id parameter. However I see that t:id parameter of the component is defined in source code like as other parameters. so how to code to get t:id (or any parameter field) is not used with "pr

FieldValidation regexp using 'component-id'-regexp

2008-10-22 Thread Michael Capper
xtfield. Now my problem is that the regexp-validator looks for a "textfield-regexp"-message in my message-catalog. I would want it to look for a "username-regexp" and "password-regexp" message instead, but the validator only uses the component-Id, which I can'

Re: T5: component id, element id

2008-04-15 Thread Davor Hrg
if the component does not have an id you can olso do follwing: in the mixin... add an arbitrary hidden element before the component set id for that element and use: var anchor = document.getElementById("idOfElement"); var compDomNode = anchor.nextSibling; you can do that also by putting an elemen

Re: T5: component id, element id

2008-04-15 Thread Chris Lewis
The goal - To create a mixin that will attach a client-side javascript object to the mixing component. This mixin should not know anything about the component and remain completely genereic, needing only a DOM id to provide to the JS object. Requirements -

Re: T5: component id, element id

2008-04-14 Thread Chris Lewis
Nicholas, I'm not looking at the T5 source at the moment, but I can tell you that you don't need to do what you're doing. Textarea, like all form field components (I think), implements ClientElement (http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/ClientElement.html) and explicitl

Re: T5: component id, element id

2008-04-14 Thread nicholas Krul
trying to get something similar. This works for me with @Inject PageRenderSupport ${document} works for rendering... but I'd prefer to be able to use t:textarea and specify the id (?) _and since its late, how do get back the value? what is the method sig / annotation to call Requst.getPara

Re: T5: component id, element id

2008-04-14 Thread Chris Lewis
Arg. Yeah that can kind of get me there, but it still too uncertain. That would catch 'id' passed as an informal, but there still would be no guarantee that the component didn't write /something/ as the resulting element's 'id' parameter. I think I'm asking for functionality that doesn't exist: for

Re: T5: component id, element id

2008-04-14 Thread Chris Lewis
Hi Peter, This isn't my situation. I'm not writing a component, I'm writing a generic mixin that attaches an instance of a JS object, defined in an accompanying JS file, simply by knowing the DOM id of the HTML element resulting from the component. If I were writing a component I'd be ok, because

Re: T5: component id, element id

2008-04-11 Thread Josh Canfield
Ah, id with no t: is just a parameter like any other. Try this mixin: import org.apache.tapestry.MarkupWriter; import org.apache.tapestry.annotations.Parameter; public class Title { @Parameter(defaultPrefix="literal") private String _id; void beginRender(MarkupWriter writer)

Re: T5: component id, element id

2008-04-11 Thread Peter Beshai
Hi Chris, This may not be the proper way of doing things, but I needed to get the client Id of one of my components, so I did this: @Inject private PageRenderSupport _pageRenderSupport; private String _clientId; void beginRender() { _clientId = _pageRenderSupport.allocateClientId(_resources

Re: T5: component id, element id

2008-04-10 Thread Chris Lewis
Hi Josh, Indeed t:id does work, but apart from the fact that I'm not entirely sure what T5 does with that value as opposed to the un-namespaced version (id), it doesn't fully work. The reason is because the Any component, like many in the core lib, do not explicitly write a DOM id in the HTML of t

Re: T5: component id, element id

2008-04-10 Thread Josh Canfield
Hey Chris, t:id="my_div" seems to do what you want. I haven't looked closely at un-namespaced id works in Tapestry, I've just always used the t:id variety... Josh On Thu, Apr 10, 2008 at 5:36 AM, Chris Lewis <[EMAIL PROTECTED]> wrote: > Dear list, > > I decided to throw together an app detailing

T5: component id, element id

2008-04-10 Thread Chris Lewis
Dear list, I decided to throw together an app detailing how JS works with T5 (how to connect behavior from a component or mixin, the important inner workings, etc). I created a mixin that attaches behavior (mouse overs) to an HTML element (and doing this requires the DOM id of that element). For a

Re: [T4] about component id

2007-07-26 Thread #Cyrille37#
Jesse Kuhnert a écrit : Look at the "How client ids are generated" section here: http://tapestry.apache.org/tapestry4.1/ajax/basics.html It's all covered in excruciating detail. The gist of it is that you do this: public void renderSomething(){ super.renderIdAttribute(writer, cycle); } an

Re: [T4] about component id

2007-07-25 Thread Jesse Kuhnert
Look at the "How client ids are generated" section here: http://tapestry.apache.org/tapestry4.1/ajax/basics.html It's all covered in excruciating detail. The gist of it is that you do this: public void renderSomething(){ super.renderIdAttribute(writer, cycle); } and everything else gets ha

Re: [T4] about component id

2007-07-25 Thread #Cyrille37#
Igor Drobiazko a écrit : Well, your component looks somehow strange to me. I don't see what it should do. However id="checkbox" is written when your contained checkbox is rendered. That's expected behavior. Your own component does nothing except registering to the group. So why do you expect

Re: [T4] about component id

2007-07-25 Thread Igor Drobiazko
Well, your component looks somehow strange to me. I don't see what it should do. However id="checkbox" is written when your contained checkbox is rendered. That's expected behavior. Your own component does nothing except registering to the group. So why do you expect id="ckL1"? On 7/25/07, #Cyril

Re: [T4] about component id

2007-07-25 Thread #Cyrille37#
Igor Drobiazko a écrit : It is inpossible to help you without having a look into your GroupableCheckbox.java and GroupableCheckbox.html Please post it. Ha! That's another story, a more complex problem ;-) After relearned Ids concept, I can talk to you about the component GroupableCheckbox which

Re: [T4] about component id

2007-07-25 Thread Igor Drobiazko
ps there are not same ids : clientId <> tapestryId ? Is that >> right ? >> >> cyrille >> >> > >> > Hope this helps. >> > >> > kiuma >> > >> > On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: >> >>

Re: [T4] about component id

2007-07-25 Thread #Cyrille37#
are not same ids : clientId <> tapestryId ? Is that right ? cyrille > > Hope this helps. > > kiuma > > On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: >> >> Hello >> I'm writing my first "complex" component : GroupableCheckbox (

Re: [T4] about component id

2007-07-25 Thread Igor Drobiazko
cyrille > > Hope this helps. > > kiuma > > On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: >> >> Hello >> I'm writing my first "complex" component : GroupableCheckbox (not same >> behaviors as CheckboxGroup). >> >> The que

Re: [T4] about component id

2007-07-25 Thread Andrea Chiumenti
; > kiuma > > On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: >> >> Hello >> I'm writing my first "complex" component : GroupableCheckbox (not same >> behaviors as CheckboxGroup). >> >> The question is about the componen

Re: [T4] about component id

2007-07-25 Thread #Cyrille37#
bleCheckbox (not same behaviors as CheckboxGroup). The question is about the component id. To define the id of the component I think to use the text before the @ in the jwcid but it does work, I had to add an id attribute : does not write my defined id : render is : does works :

Re: [T4] about component id

2007-07-25 Thread Andrea Chiumenti
ng my first "complex" component : GroupableCheckbox (not same behaviors as CheckboxGroup). The question is about the component id. To define the id of the component I think to use the text before the @ in the jwcid but it does work, I had to add an id attribute : does not write my defin

[T4] about component id

2007-07-25 Thread #Cyrille37#
Hello I'm writing my first "complex" component : GroupableCheckbox (not same behaviors as CheckboxGroup). The question is about the component id. To define the id of the component I think to use the text before the @ in the jwcid but it does work, I had to add an id attribu

Re: T4: Can I have dynamic component id or how do I solve this?

2007-07-12 Thread Jesse Kuhnert
> > > > > > /Malin - I'm a she btw ;) > > > > > > > > > > > > > > > > On 7/6/07, Andreas Andreou <[EMAIL PROTECTED] > wrote: > > > > > > > > > > But he can set the id parameter to whatever he li

Re: T4: Can I have dynamic component id or how do I solve this?

2007-07-07 Thread Marcus Schulte
data > > > > > > > > On 7/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > > > > As there are no dynamic component instances in Tapestry, there are > > no > > > > > dynamic component-ids. What you are

Re: T4: Can I have dynamic component id or how do I solve this?

2007-07-06 Thread Malin Ljungh
D] > wrote: > > > > > > But he can set the id parameter to whatever he likes, i.e. > > > data > > > > > > On 7/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > > As there are no dynamic component in

Re: T4: Can I have dynamic component id or how do I solve this?

2007-07-06 Thread Marcus Schulte
gt; dynamic component-ids. What you are seeing (loopContacts_i, i=1 ...) > > are > > > multiple clientId's (Element id's on the client side) rendere by one > > and > > > the same component instance, whose id, the component-id on the server, > > > &

Re: T4: Can I have dynamic component id or how do I solve this?

2007-07-06 Thread Malin Ljungh
7/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > As there are no dynamic component instances in Tapestry, there are no > > dynamic component-ids. What you are seeing (loopContacts_i, i=1 ...) > are > > multiple clientId's (Element id's on the clien

Re: T4: Can I have dynamic component id or how do I solve this?

2007-07-06 Thread Malin Ljungh
ement id's on the client side) rendere by one and > the same component instance, whose id, the component-id on the server, > is "loopContacts". So, tapestry wouldn't recognise loopContact_0 as a > valid component-id anyway. > > So, I'd just try to refre

Re: T4: Can I have dynamic component id or how do I solve this?

2007-07-06 Thread Andreas Andreou
;s (Element id's on the client side) rendere by one and the same component instance, whose id, the component-id on the server, is "loopContacts". So, tapestry wouldn't recognise loopContact_0 as a valid component-id anyway. So, I'd just try to refresh "loopContacts"

RE: T4: Can I have dynamic component id or how do I solve this?

2007-07-06 Thread Marcus.Schulte
As there are no dynamic component instances in Tapestry, there are no dynamic component-ids. What you are seeing (loopContacts_i, i=1 ...) are multiple clientId's (Element id's on the client side) rendere by one and the same component instance, whose id, the component-id on the

T4: Can I have dynamic component id or how do I solve this?

2007-07-06 Thread Malin Ljungh
I have a loop - a component of type="For", displaying contacts. I'd like to have a component inside the loop with component id equals something with the database key in it, the contact ID. Is that possible? Or is there a smarter way to solve my issue? The reason I want it this way

Re: T5: Customizing generation of client id from component id

2007-03-24 Thread Howard Lewis Ship
problem is that (1) can easily lead to a case where multiple components specify the same component id for their children, because the component writer has no knowledge of what other components may be placed in the page, and in order to keep the component id simple we don't want to require the comp

RE: T5: Customizing generation of client id from component id

2007-03-23 Thread Doug Hauge
components in order to construct unique identifiers. The problem is that (1) can easily lead to a case where multiple components specify the same component id for their children, because the component writer has no knowledge of what other components may be placed in the page, and in order to keep the

Re: T5: Customizing generation of client id from component id

2007-03-23 Thread Howard Lewis Ship
you towards this kind of solution? On 3/23/07, Doug Hauge <[EMAIL PROTECTED]> wrote: Is there a way to customize the generation of a unique client id from a component id? We would like to generate the unique id in such a way that it would not change across most modifications to a page,

T5: Customizing generation of client id from component id

2007-03-23 Thread Doug Hauge
Is there a way to customize the generation of a unique client id from a component id? We would like to generate the unique id in such a way that it would not change across most modifications to a page, mainly so Selenium tests can be written that will work across page redesign. The current method

Re: help with component id

2007-01-31 Thread andyhot
Hi, http://tapestry.apache.org/tapestry4.1/usersguide/bindings.html see the clientId binding Andrea Chiumenti wrote: Hi, I'm trying to get a component id: The component is: and I try to bind its id to another component The component is rendere

help with component id

2007-01-31 Thread Andrea Chiumenti
Hi, I'm trying to get a component id: The component is: and I try to bind its id to another component The component is rendere into the page with id="Submit_0" I wonder why it is rendered capitalized and why components.submit.id value i

Re: Get component id in EventListener with multiple targets

2006-12-20 Thread Cyrille37
Jesse Kuhnert a écrit : Just add a BrowserEvent parameter to your method and it will be automatically populated for you. Once added you should be able to do something along the lines of this to figure out which component fired the event (maybe I should enhance this part to provide a more direct r

Re: Get component id in EventListener with multiple targets

2006-12-20 Thread Jesse Kuhnert
Just add a BrowserEvent parameter to your method and it will be automatically populated for you. Once added you should be able to do something along the lines of this to figure out which component fired the event (maybe I should enhance this part to provide a more direct route): void someButtonCl

Get component id in EventListener with multiple targets

2006-12-20 Thread Peter Beshai
I would like to have multiple targets hooked into a single EventListener, but I cannot figure out how to distinguish which component fired the event within the listener itself. For example, if I have an event listener: @EventListener(targets = {"button1","button2","button3","button4"}, events=

Re: Dynamic assigning component id

2006-05-30 Thread Pratibha Gopalam
Great! Thanks a lot! Mike Snare wrote: thanks! -Mike On 5/30/06, Nick Westgate <[EMAIL PROTECTED]> wrote: A tip: note that you don't need the element attribute for components that default it to templateTag (check the .jwc file). DRY ;-) So just is fine. Cheers, Nick. Mike Snare wrote:

Re: Dynamic assigning component id

2006-05-30 Thread Mike Snare
thanks! -Mike On 5/30/06, Nick Westgate <[EMAIL PROTECTED]> wrote: A tip: note that you don't need the element attribute for components that default it to templateTag (check the .jwc file). DRY ;-) So just is fine. Cheers, Nick. Mike Snare wrote: > Right. You have to use jwcid otherwise i

Re: Dynamic assigning component id

2006-05-30 Thread Nick Westgate
A tip: note that you don't need the element attribute for components that default it to templateTag (check the .jwc file). DRY ;-) So just is fine. Cheers, Nick. Mike Snare wrote: Right. You have to use jwcid otherwise it's not a tapestry component. Keep using jwcid, but also use plain old

Re: Dynamic assigning component id

2006-05-30 Thread Mike Snare
Right. You have to use jwcid otherwise it's not a tapestry component. Keep using jwcid, but also use plain old id. For an implicit component, it would look something like this: -Mike On 5/30/06, Andreas Bulling <[EMAIL PROTECTED]> wrote: On 30. Mai 2006 - 16:19:37, Pratibha Gopalam wrote: |

Re: Dynamic assigning component id

2006-05-30 Thread Andreas Bulling
On 30. Mai 2006 - 16:19:37, Pratibha Gopalam wrote: | Thanks for the reply. | | In the template (.html) we normally use the jwcid to give a id and tell | tapestry what type of component to instantiate. How do I do the same | thing with id? | | -- -- this works, but the id | 'someid' is stat

Re: Dynamic assigning component id

2006-05-30 Thread Pratibha Gopalam
. Give it a shot. On 5/30/06, Pratibha Gopalam <[EMAIL PROTECTED]> wrote: Hello, Is there a way of dynamically assigning a component id at runtime? For example if I creating components in a for loop and I want to assign the component ids at runtime, is that possible? Tapestery doesn

Re: Dynamic assigning component id

2006-05-30 Thread Mike Snare
ut I don't know. Give it a shot. On 5/30/06, Pratibha Gopalam <[EMAIL PROTECTED]> wrote: Hello, Is there a way of dynamically assigning a component id at runtime? For example if I creating components in a for loop and I want to assign the component ids at runtime, is that possibl

Dynamic assigning component id

2006-05-29 Thread Pratibha Gopalam
Hello, Is there a way of dynamically assigning a component id at runtime? For example if I creating components in a for loop and I want to assign the component ids at runtime, is that possible? Tapestery doesn't allow me to use a ognl expression for jwcid like jwcid="ognl:category