)
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
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
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
(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
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
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
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
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
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
different ASO's os same type?
Thanks!
Anjana Gopinath
[EMAIL PROTECTED]
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
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
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
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
] 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
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
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
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
()
{
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
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
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
component. can someone provide some hints please? Thanks!!!
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
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
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
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
26 matches
Mail list logo