Osagie,

You're right, the stripes/pom.xml is not included in the source distribution, but it is in subversion. You can tweak the build.xml file or check-out the source from subversion:

http://sourceforge.net/svn/?group_id=145476

You can use the 1.5 release tag if you want a stable version.

The stripes build does not use Maven at all. The pom.xml file is there so that the Stripes build can create a Maven bundle jar which gets uploaded to the central Maven repository after each release. This keeps Maven users happy and presumably helps Stripes adoption.

I've added Jira issue STS-623 suggesting that the build be updated to include stripes/pom.xml in the source distribution.

Chris.

On Nov 20, 2008, at 10:27 PM, osagie uwaifo wrote:

Hello All,
I am trying to build stripes from source. In the build.xml file, when i call ant dist, ant tries to build a maven bundle but an error is thrown because the pom.xml file is not in the stripes-1.5/stripes/ directory. The pom.xml file does not come with the distribution. Am i surpose to include a blank pom.xml file? I really do not care for maven. I can always take the maven call out of the build.xml, i was just curious. I appreciate yout time

Thanks,
Osagie Uwaifo

On Thu, Nov 20, 2008 at 4:15 PM, <[EMAIL PROTECTED] > wrote:
Send Stripes-users mailing list submissions to
       [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
       https://lists.sourceforge.net/lists/listinfo/stripes-users
or, via email, send a message with subject or body 'help' to
       [EMAIL PROTECTED]

You can reach the person managing the list at
       [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Stripes-users digest..."


Today's Topics:

  1. Re: Radio buttons and null strings (Mike McNally)
  2. Re: Fresh Eyes Needed (Poitras Christian)
  3. Re: Radio buttons and null strings (Iwao AVE!)
  4. issues with stripes indexed check box (ping lu)


----------------------------------------------------------------------

Message: 1
Date: Wed, 19 Nov 2008 11:11:27 -0600
From: "Mike McNally" <[EMAIL PROTECTED]>
Subject: Re: [Stripes-users] Radio buttons and null strings
To: "Stripes Users List" <[email protected]>
Message-ID:
       <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

As far as I can tell the InputRadioButtonTag code doesn't think that "null"
is a real value.

--
Turtle, turtle, on the ground,
Pink and shiny, turn around.
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Wed, 19 Nov 2008 12:31:25 -0500
From: Poitras Christian <[EMAIL PROTECTED]>
Subject: Re: [Stripes-users] Fresh Eyes Needed
To: 'Stripes Users List' <[email protected]>
Message-ID:
       <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

If you use @StrictBinding, check if you have a @Validate tag for values field.

You can also check if you have a setter for values.

Christian

________________________________
From: Gregg Bolinger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2008 10:11 AM
To: Stripes Users List
Subject: Re: [Stripes-users] Fresh Eyes Needed

Well, they aren't maps, they are lists. I'm not sure if that makes a difference with regards to your argument though. Anyone else?

Gregg

On Wed, Nov 19, 2008 at 12:30 AM, Morten Matras <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: storedReportGlobalItems is a Map of some kind. In the first 3 cases you assign a value to a key (displayOnReport, useNonDisplayedSearchCriteria,searchFilter) in the latter you assign a value to a property with a name taken from the value.


storedReportGlobalItems[0].values[0] could be anything. So when Stripes receives it back the parameter pair is: ? whatevertheValueWasLastTimeForObjectNumberZeroInTheMap=TheNewValue

Maybe:

storedReportGlobalItems[0].keys[0] would work

Morten Matras



2008/11/18 Gregg Bolinger <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED] >> I'm wondering if anyone sees anything wrong with this code. I'm not getting the values[] back into the storedReportGlobalItems[]. They are always null and not sure why. I've ripped out the surrounding HTML for easier reading:

<s:checkbox name="report.storedReportGlobalItems[0].displayOnReport" /> // works <s:checkbox name ="report.storedReportGlobalItems[0].useNonDisplayedSearchCriteria" / > // works

<s:select name="report.storedReportGlobalItems[0].searchFilter">
<s:option value="CONTAINS" label="Contains" / > // works
</s:select>

<s:text name="report.storedReportGlobalItems[0].values[0]" size="30" /> // Doesn't work

Thanks

Gregg




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]<mailto:[email protected] >
https://lists.sourceforge.net/lists/listinfo/stripes-users




--
 Morten Matras
 Consultant
 Blob Communication ApS
 Svendsagervej 42
 DK-5240 Odense N?
 P: (+45) 76 6-5-4-3-2-1
 W: www.blobcom.com<http://www.blobcom.com>
 E: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]<mailto:[email protected] >
https://lists.sourceforge.net/lists/listinfo/stripes-users


-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Thu, 20 Nov 2008 12:58:20 +0900
From: "Iwao AVE!" <[EMAIL PROTECTED]>
Subject: Re: [Stripes-users] Radio buttons and null strings
To: Stripes Users List <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

The following should work.

<stripes:radio name="str" value="" checked="${actionBean.str}" />

// Iwao AVE!

Nathan Maves wrote on 08.11.20 2:05 AM:
> well it is not being selected on my end. I even tried checked="" to no avail.
>
> On Wed, Nov 19, 2008 at 9:48 AM, Oscar Westra van Holthe - Kind
> <[EMAIL PROTECTED]> wrote:
>> On 19-11-2008 at 09:34, Nathan Maves wrote:
>>> When using the stripes radio button should a null string mark a radio
>>> button with the value set to "" as checked?
>> I think it should, because "" is parsed to null. I don't know what the
>> actual behaviour is though.
>>
>> Oscar




------------------------------

Message: 4
Date: Thu, 20 Nov 2008 22:15:52 +0000
From: ping lu <[EMAIL PROTECTED]>
Subject: [Stripes-users] issues with stripes indexed check box
To: <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"


Hi, all,

while playing with Stripes indexed check box, I hit a wall.

The scenario is straight forward:
1. step one, retrieve a list of object called "candidates" from the database, and put this in flash scope (Attribute name = "candidateListInFlash"). 2. step two, display the contents of the candidate list in a table, such as id and lastName, plus an indexed checkbox for each row. 3. step three, try to capture the checkboxes (the id of the candidates) the user clicked. And those values are defined as a list of Long in the action class with property name of "selectedCandidates".

   private List<Long> selectedCandidates;
   public List<Long> getSelectedCandidates() {
       return selectedCandidates;
   }
   public void setSelectedCandidates(List<Long> selectedCandidates) {
       this.selectedCandidates = selectedCandidates;
   }

The problem is in step two, in the displaying jsp, with code of:

<s:form beanclass="com.bla.mvc.checkBoxActionBean">
  <table>
     <tr>
       <th>ID</th>
       <th>First name</th>
       <th>Last name</th>
       <th>checkbox</th>
     </tr>
<c:forEach var="candidate" items="${candidateListInFlash}" varStatus="loop">
       <tr>
         <td>
              <c:out value="${candidate.id}"/>
         </td>
         <td><c:out value='${candidate.firstName}'/> </td>
         <td><c:out value='${candidate.lastName}'/> </td>
         <td>
<s:checkbox name="selectedCandidates" value="$ {candidate.id}" />
         </td>
       </tr>
     </c:forEach>
   </table>
 <s:submit name="checkBox2"/>
</s:form>

Somhow, in the <s:checkbox name="selectedCandidates" value="$ {candidate.id}" /> statement, the value="${candidate.id}" is never rendered in the jsp. For example, in the html source of the jsp, the value for a row of data looks like that:
      <tr>
         <td>110796</td>
         <td>Dave</td>
         <td>BROWN </td>
         <td>
<input value="${candidate.id}" type="checkbox" name="selectedCandidates" />
         </td>
       </tr>

See, the ${candidate.id}
value is never rendered in the checkbox field. I have tried various way, nothing is working. By the way, if I put a hard code value such as <s:checkbox name="selectedCandidates" value="4" />, the whole things works in hard way.

So value="${candidate.id}"
renders fine in regular jstl tag, but doesn't work inside the stripes checkbox tag in indexed property scenario. Is there anything I am missing or should do differently?

Your helps are greatly appreciated.

Lu



_________________________________________________________________
Windows Live Hotmail now works up to 70% faster.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_faster_112008
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

------------------------------

_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users


End of Stripes-users Digest, Vol 30, Issue 50
*********************************************

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to