Great, many thanks again for the information. I bet others will find
it pretty handy too!
On Mon, Jul 13, 2009 at 9:23 PM, Musachy Barroso wrote:
> you can sue that notation anywhere. A tip that will save you a lot of
> time, always wrap the OGNl expressions with %{}, that's why the first
> hidden
you can sue that notation anywhere. A tip that will save you a lot of
time, always wrap the OGNl expressions with %{}, that's why the first
hidden is not getting evaluated. The second one has an empty value
because "goalToAchieve" is probably not pointing to anything.
btw what #attr does is search
Thanks again for helping out Musachy,
I was wondering if there are any rules regarding when the notation you
suggested below can be used. it works perfectly for setting url
params.
I was trying to use it (with struts2 tags) within a form (which is
within the display:column tag) to pass the value t
Hey, this worked! Thanks Musachy, the tip you provided solved the
problem I was facing for the last 3 days.
I really appreciate your time to post this information. It looks like
the display tag packs much more functionality than it seems.
On Mon, Jul 13, 2009 at 2:03 PM, Musachy Barroso wrote:
>
The current row used by displaytag is pushed under the name set in
uid, so you could do this:
">Remove
musachy
On Mon, Jul 13, 2009 at 11:17 AM, Dimitrios
Christodoulakis wrote:
> Thanks. So, if I wanted to access a particular property (say this
> property is called mark) of an "entry" o
Thanks. So, if I wanted to access a particular property (say this
property is called mark) of an "entry" object which I am iterating
over, I would do something like the following:
">Remove
So
Assuming that each entry is named "entry" by displayTag, you can
access it using "#attr.entry" (or "#attr['entry']") to access it from
the S2 tags.
musachy
On Mon, Jul 13, 2009 at 10:27 AM, Dimitrios
Christodoulakis wrote:
> Yes, that is exactly the case, hmm.. Although, how is the
> display:tab
Yes, that is exactly the case, hmm.. Although, how is the
display:table tag finds the collection in the first place?
Supposedly the display has some way of reaching the valuestack, it can
even resolve the deeper notation wrote:
> OK, I see the problem now... you are not using to go thru the
> e
OK, I see the problem now... you are not using to go thru the
entries, you are using .
The syntax suggested will not work since does not know
anything about the value stack.The
uses the value stack to resolve 'mark' which will not work here, you will
need to replace %{mark} with the right synt
I made the changes, but the view source indicates that the param
"mark" is not passed.
The url linked is formed like this:
/secure/DeleteEntryForm.action?name=firstName+lastName&id=1
The name and id params are fields of the parent object, the one
containing the collection.
Actually, I tried wit
Looks like you need to change entry.mark to just mark and remove the
. Also you probably don't need to pass both
the name and id of the parent object.
">Remove
On Mon, Jul 13, 2009 at 10:48 AM, Dimitrios Christodoulakis <
dimi@gmail.com> wrote:
> Thanks for letting me k
nger
> sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung
> oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich
> dem Austausch von Informationen und entfaltet keine rechtliche
> Bindungswirkung. Aufgrund der leichten Manipulierbarkei
Thanks for letting me know. Alright, so:
This is the parent class:
@Entity
public class GoalToAchieve {
@Id @GeneratedValue
private Long id;
@org.hibernate.annotations.CollectionOfElements
@JoinTable (name="GoalToAchieve_entry",
joincolum...@joincolumn(name="goalToAchieve_id"))
private S
sch von Informationen und entfaltet keine rechtliche Bindungswirkung.
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung
fuer den Inhalt uebernehmen.
> Date: Mon, 13 Jul 2009 09:43:15 -0400
> Subject: Re: updating or deleting a component from a collection throug
You are not providing enough information for anyone to help you. Since you
have changed your object and the jsp you had better include them with any
request.
On Mon, Jul 13, 2009 at 9:51 AM, Dimitrios Christodoulakis <
dimi@gmail.com> wrote:
> Yes, that is a great suggestion actually. What I
Yes, that is a great suggestion actually. What I did was to add a new
field based
System.currentTimeMillis(), but the problem is adding it as a url parameter.
For example, I am trying to add it as a url parameter below:
">Edit
But, the only param passed is the fullName. The mark is not added
>
> Thanks for the reply. Well, entry is an instance of a separate class:
>
> @Embeddable
> public class JournalEntry {
> @org.hibernate.annotations.Parent
>private GoalToAchieve goalToAchieve;
> @Column(length = 255, nullable = false)
>private String entry;
>
>@Temporal(Tem
Thanks for the reply. Well, entry is an instance of a separate class:
@Embeddable
public class JournalEntry {
@org.hibernate.annotations.Parent
private GoalToAchieve goalToAchieve;
@Column(length = 255, nullable = false)
private String entry;
@Temporal(TemporalType
>
>
> I have successfully used the display tag to iterate over a collection
> which is exposed in an action class. On each row in addition to the
> columns displaying the fields of each object in the collection, I
> embed two more struts-tag urls: Update and Remove.
>
> The objective is to have an
Hello list,
I have successfully used the display tag to iterate over a collection
which is exposed in an action class. On each row in addition to the
columns displaying the fields of each object in the collection, I
embed two more struts-tag urls: Update and Remove.
The objective is to have an ex
20 matches
Mail list logo