T5 and jboss

2007-05-22 Thread Anjana Gopinath
) org.apache.tapestry.corelib.components.Loop._ $environment_read_formSupport(Loop.java) org.apache.tapestry.corelib.components.Loop.setup(Loop.java:229) Did any one have this issue before? Thanks for helping me. Anjana Gopinath True North Technology

Re: Layout Component

2007-04-06 Thread Anjana Gopinath
Your Layout.html should be in src/main/resources/org/example/myapp/components/MyComponent.html. and your Layout.java should be in src/main/java/org/example/myapp/ components/MyComponent.java http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html Anjana Gopinath True North

T5 Loop

2007-04-05 Thread Anjana Gopinath
source=values value=value span t:type=textfield value=value/ /span span t:type=submit/ /span Is this possible ? i searched in the mailing lists, but couldnt find any information. Thanks Anjana Gopinath True North Technology

Re: T5 Loop

2007-04-05 Thread Anjana Gopinath
(this.getValues().get(0)); return null; } } Anjana Gopinath True North Technology On Apr 5, 2007, at 10:18 AM, Howard Lewis Ship wrote: This should work, but it looks like you simplified your example. The Loop component records into the form (as hidden fields

Re: t:layout

2007-04-02 Thread Anjana Gopinath
i had a similar issue when i forgot to include html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; Anjana Gopinath True North Technology 11465 John's Creek Parkway, Suite 300 Duluth, GA 30097 [EMAIL PROTECTED] On Apr 2, 2007, at 10:54 AM, Chris Chiappone wrote: Where

Re: t:layout

2007-04-02 Thread Anjana Gopinath
Where do you have your Layout.html? is it in under resources? this should be the typical structure src/main/java/org/example/myapp/components/MyComponent.java src/main/resources/org/example/myapp/components/MyComponent.html. Anjana Gopinath True North Technology 11465 John's Creek Parkway

T5 action link

2007-04-02 Thread Anjana Gopinath
Hey is there a way we can pass multiple parameters in the action link context? i tried passing parameters line context=value1,value2 and context={value1,value2} etc. is this possible in T5? Anjana Gopinath True North Technology

Re: Page Seperation\Folders

2007-03-30 Thread Anjana Gopinath
You can store the images, css file etc src/main/webapp directory. you can refer the css like this link href=css/nsGeneral.css rel=stylesheet type=text/css / and for images images/mainBod.jpg . i have images in my src/main/webapp/images dir and css in my src/main/webapp/css. Anjana

Re: T5 - ASO cannot be in the same package as the page?

2007-03-22 Thread Anjana Gopinath
I beleive you are supposed to put only your page classes in the page folder. Refer tapestry 5 tutorial, page 19. Anjana Gopinath On Mar 22, 2007, at 10:07 AM, Bogdan Calmac wrote: After creating my own ASO object, I kept getting the ClassCastExeception below when accessing

T5 ASO

2007-03-20 Thread Anjana Gopinath
different ASO's os same type? Thanks! Anjana Gopinath [EMAIL PROTECTED]

Re: T5 ASO

2007-03-20 Thread Anjana Gopinath
Thanks Robert for responding. I can do that, but was wondering why there is a restriction like this? Anjana Gopinath True North Technology 11465 John's Creek Parkway, Suite 300 Duluth, GA 30079 [EMAIL PROTECTED] On Mar 20, 2007, at 4:29 PM, Robert Zeigler wrote: Correct. Why not create

Re: T5 ASO

2007-03-20 Thread Anjana Gopinath
Robert Thanks for explaining and i perfectly understand your point. But i still feel this is a restriction as i cant have ASOs of same type. Anyway, right now i can continue with the way you suggested. Thanks! Anjana Gopinath True North Technology 11465 John's Creek Parkway, Suite 300 Duluth

Re: T5 ASO

2007-03-20 Thread Anjana Gopinath
Thanks Howard for explaining. It makes sense. But what if i want to store a list of objects as a ASO? For example public ArrayListApplication appList; public ArrayListNetwork networkList; Both the above are of type List, but list of two objects. Will this be an issue? Anjana Gopinath

Re: T5 ASO

2007-03-20 Thread Anjana Gopinath
Thanks Robert! Anjana Gopinath True North Technology 11465 John's Creek Parkway, Suite 300 Duluth, GA 30079 [EMAIL PROTECTED] On Mar 20, 2007, at 5:47 PM, Robert Zeigler wrote: Tapestry works its magic using runtime type information, and since generics in java were implemented using

Re: T5 submit

2007-03-19 Thread Anjana Gopinath
] action=listener:doHelp value=Help/ Anjana Gopinath True North Technology 11465 John's Creek Parkway, Suite 300 Duluth, GA 30079 [EMAIL PROTECTED] On Mar 16, 2007, at 11:30 PM, Pablo Ruggia wrote: The Form fire this this events: submit, success, prepare, validate and failure. The Submit

Re: T5 submit

2007-03-19 Thread Anjana Gopinath
Thanks a lot for helping me out, howard. It works now. Anjana Gopinath True North Technology 11465 John's Creek Parkway, Suite 300 Duluth, GA 30079 [EMAIL PROTECTED] On Mar 19, 2007, at 10:22 AM, Howard Lewis Ship wrote: onSelectFromLogin() { ... } onSelectFromHelp() { ... } Store

Re: T5 Select component

2007-03-16 Thread Anjana Gopinath
Thanks a lot Weisu, will try this now. Anjana Gopinath On Mar 15, 2007, at 8:23 PM, Weisu wrote: In 5.0.3, you can use a List to display the dropdown. The html template looks like: select t:type=select t:model=supplierName t:value=nameValue/ And the component class looks like

Re: T5 javascript

2007-03-16 Thread Anjana Gopinath
Hey Thats right, sorry my bad. i blindly copied all the htmls and dojo folders from my T4 app's context directory and dropped it to my T5s WEB-INF directory. Thanks a lo for helping me, Pablo and Jesse! Anjana Gopinath True North Technology 11465 John's Creek Parkway, Suite 300

T5 submit

2007-03-16 Thread Anjana Gopinath
() { System.out.println(deleteApp); return AddService; } but got an exception This type of event does not support return values from event handler methods cant find the listener parameter for submit component. Can some one please help me out? Thanks! Anjana Gopinath True North

Re: T5 submit

2007-03-16 Thread Anjana Gopinath
viewSummary; } This is not getting invoked at all!. if i just give onEvent (component=addApps) , it is invoked , but wont take a returntype. Also tried public String onSubmitFromAddApps() { return ViewSummary; } That too didnt work Thanks Anjana Gopinath True North Technology

Re: T5 submit

2007-03-16 Thread Anjana Gopinath
wrote:Can you send us your page template and class ?On 3/16/07, Anjana Gopinath [EMAIL PROTECTED] wrote: Thanks Peter and PabloI tried giving both options suggested by Pabloinput t:type="Submit" value="Select applications" t:id="addApps" /  @OnEvent(value = "submit&q

T5 javascript

2007-03-15 Thread Anjana Gopinath
component. can someone provide some hints please? Thanks!!! Anjana Gopinath

Re: T5 javascript

2007-03-15 Thread Anjana Gopinath
Thanks for responding , Howard. switched to ordinary html table with loop component. Anjana Gopinath On Mar 15, 2007, at 7:40 PM, Howard Lewis Ship wrote: It may be a conflict between the Prototype.js library and the Dojo libraries. I haven't tried this yet. On 3/15/07, Anjana

T5 Select component

2007-03-15 Thread Anjana Gopinath
is a part of beanform. Can some one please help me out? i couldnt find any thing related to this in the tapestry 5 website Anjana Gopinath

Re: Tapestry - Multiple File Upload

2007-01-18 Thread Anjana Gopinath
Unfortunately requirement is that users should be able to select multiple files or folders. I think the only option thatll work out is a signed applet. Thanks for responding, Sunil. Anjana Gopinath True North Technology On Jan 18, 2007, at 2:06 PM, sunilmanu wrote: (you might

dojo error

2006-12-12 Thread Anjana Gopinath
component. But with this snapshot, my model dialog seems to be working, but get this dojo error. Can some one help me out please? Thanks a lot! Anjana Gopinath