Re: [OS-webwork] How to get access to jsp variable from ww:iterator tag.

2004-01-25 Thread Francisco Hernandez
should be remigijus wrote: Hi Can anyone suggest how to get value of the basket object in the ww:iterator tag. I tyed to user ww:set, ww:push, but there is no documentation and it's very hard to figure out, how to solve it. <% OgnlValueStack stack = ActionContext.getContext().getValueSt

Re: [OS-webwork] How to get access to jsp variable from ww:iterator tag.

2004-01-25 Thread Francisco Hernandez
try some of these, im not exactly sure on the syntax.. remigijus wrote: Hi Can anyone suggest how to get value of the basket object in the ww:iterator tag. I tyed to user ww:set, ww:push, but there is no documentation and it's very hard to figure out, how to solve it. <% OgnlValueS

[OS-webwork] Is it just me or are multiple-select fields still broken?

2004-01-25 Thread Peter White
Title: Is it just me or are multiple-select fields still broken? Hi Gang, I just built the current snapshot of WebWork2 from CVS and have deployed webwork-example.jar in tomcat. As a test, I've edited select.jsp by adding multiple="true" to the ww:select tag and have tested with multiple se

Re: [OS-webwork] select tag

2004-01-25 Thread Dag Liodden
Hi, I just did something like this and found it to be somewhat cumbersome. :) To create a type converter that does primary key -> entity lookups, the converter needs to have access to a Hibernate session - preferrably the same session that the action will use. Also, to set the location on the

RE: [OS-webwork] select tag

2004-01-25 Thread Jason Carreira
You're going to need a type converter which can convert from a String to a Location object... Location could possibly be implemented usnig the PersistentEnum pattern in Hibernate, otherwise you'll have to either: A) do a lookup to the database to load the Location object for the city (you seem to

[OS-webwork] select tag

2004-01-25 Thread Donnerstag, Juergen
I'm using webwork2 and hibernate and I have a question regarding the select tag. I checked the archives already, but did not find an answer, which is why I send this request for help. I have a class Employee and a class Location. Both classes are defined in *.hbm.xml files and I can read and w

[OS-webwork] How to get access to jsp variable from ww:iterator tag.

2004-01-25 Thread remigijus
Hi   Can anyone suggest how to get value of the basket object in the ww:iterator tag. I tyed to user ww:set, ww:push, but there is no documentation and it's very hard to figure out, how to solve it.   <%    OgnlValueStack stack = ActionContext.getContext().getValueStack();    User user = (